/* =========================================================
   ARCHITECT PERSONAL PORTFOLIO
   Responsive CSS
   Mobile / Tablet / Laptop / Desktop
   ========================================================= */


/* =========================================================
   01. RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;

  background: #f4f0e8;
  color: #292724;

  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #b86f52;
  color: #ffffff;
}


/* =========================================================
   02. GLOBAL CONTAINER
   ========================================================= */

.section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;

  padding: 110px 7vw;
}


/* =========================================================
   03. HEADER
   ========================================================= */

.site-header {
  width: 100%;
  height: 78px;

  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #bab8b2;

  position: relative;
  z-index: 1000;
}

.brand {
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;

  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand span {
  color: #b86f52;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header nav a {
  position: relative;

  font-size: 0.75rem;
  font-weight: 500;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  opacity: 0.6;

  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.site-header nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: #b86f52;

  transition: width 0.3s ease;
}

.site-header nav a:hover,
.site-header nav a.active {
  opacity: 1;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  color: #292724;

  font-size: 1.6rem;

  padding: 5px;
}


/* =========================================================
   04. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h2 {
  font-family: "Playfair Display", serif;
}

.eyebrow {
  margin-bottom: 18px;

  font-size: 0.9rem;
  font-weight: 500;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.7;
  
}


/* =========================================================
   05. BUTTON
   ========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  min-height: 48px;

  padding: 13px 20px;

  border: 1px solid #292724;

  font-size: 0.7rem;
  font-weight: 500;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.dark {
  background: #292724;
  color: #ffffff;
}

.button.dark:hover {
  background: #b86f52;
  border-color: #b86f52;
}

.button.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.button.light:hover {
  background: #ffffff;
  color: #292724;
}


/* =========================================================
   06. TEXT LINK
   ========================================================= */

.text-link {
  display: inline-block;

  padding-bottom: 5px;

  border-bottom: 1px solid #292724;

  font-size: 0.72rem;
  font-weight: 500;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.text-link:hover {
  color: #b86f52;
  border-color: #b86f52;
}


/* =========================================================
   07. HOME HERO
   ========================================================= */

.hero {
  width: 100%;
  min-height: calc(100svh - 78px);

  position: relative;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(35, 30, 24, 0.38),
      rgba(35, 30, 24, 0.38)
    ),
    url("../images/anh-bia.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(255,255,255,0.18),
      transparent 30%
    );
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(20,18,15,0.58),
      rgba(20,18,15,0.1) 70%
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(850px, 100%);

  padding:
    clamp(60px, 9vw, 140px)
    7vw;
    text-align: center;
    line-height: 1.35 !important;
  letter-spacing: -0.02em;
  text-align: center;
}

.hero-content .eyebrow {
  color: #ffffff;
}

.hero h1 {
  margin-bottom: 28px;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    3.2rem,
    7vw,
    7rem
  );

  line-height: 0.98;

  color: #ffffff;
}

.hero h1 em {
  font-style: italic;
}

.hero-text {
  max-width: 560px;

  margin-bottom: 34px;

  color: #ffffff;

  font-size: clamp(
    0.95rem,
    1.5vw,
    1.08rem
  );
   text-align: center;
}

.hero-scroll {
  position: absolute;
  right: 5vw;
  bottom: 35px;

  z-index: 3;

  color: #ffffff;

  font-size: 0.62rem;

  letter-spacing: 0.15em;
}


/* =========================================================
   08. INTRO
   ========================================================= */

.intro {
  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(280px, 0.8fr);

  gap: clamp(50px, 10vw, 150px);
}

.intro h2 {
  margin-bottom: 0;

  font-size: clamp(
    2.3rem,
    4vw,
    4.5rem
  );

  line-height: 1.1;
}

.intro-copy {
  padding-top: 40px;
}

.intro-copy p {
  max-width: 540px;

  font-size: 1rem;
}


/* =========================================================
   09. SECTION HEADER
   ========================================================= */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 50px;
}

.section-head h2 {
  margin-bottom: 0;

  font-size: clamp(
    2.2rem,
    4vw,
    4rem
  );

  line-height: 1.1;
}


/* =========================================================
   10. PROJECT CARDS
   ========================================================= */

.project-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(260px, 0.8fr);

  gap: 50px 28px;
}

.project-card {
  display: block;

  overflow: hidden;
}

.project-card.large {
  grid-row: span 2;
}

.image {
  width: 100%;
  min-height: 380px;

  background-size: cover;
  background-position: center;

  transition:
    transform 0.7s ease;
}

.project-card:hover .image,
.portfolio-card:hover .image,
.academic-card:hover .image {
  transform: scale(1.025);
}

.project-card.large .image {
  min-height: 700px;
}

.image-1 {
  background-image:
    linear-gradient(
      135deg,
      #6b6255,
      #c9b79c 55%,
      #8d775e
    );
}

.image-2 {
  background-image:
    linear-gradient(
      135deg,
      #d6c6aa,
      #9c856c 55%,
      #51493f
    );
}

.image-3 {
  background-image:
    linear-gradient(
      135deg,
      #7b8063,
      #d3c4a7 55%,
      #9b6f51
    );
}

.image-4 {
  background-image:
    linear-gradient(
      135deg,
      #9c7054,
      #d8c9b0 55%,
      #6d6658
    );
}

.project-info {
  padding: 18px 0;
}

.project-info span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

.project-info h3 {
  margin: 5px 0;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    1.5rem,
    2vw,
    2rem
  );
}

.project-info p {
  margin-bottom: 0;

  opacity: 0.7;
}


/* =========================================================
   11. STATEMENT
   ========================================================= */

.statement {
  padding: clamp(90px, 12vw, 170px) 7vw;

  background: #7c8063;

  color: #f4f0e8;

  text-align: center;

  font-family: "Playfair Display", serif;

  font-size: clamp(2rem, 4vw, 4.2rem);

  line-height: 1.25;
}
/* =========================================================
   12. MATERIALS
   ========================================================= */

.materials {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(50px, 8vw, 130px);

  align-items: center;
}

.materials h2 {
  margin-bottom: 30px;

  font-size: clamp(
    2.3rem,
    4vw,
    4.2rem
  );

  line-height: 1.1;
}

.materials-text p:not(.eyebrow) {
  max-width: 540px;

  margin-bottom: 35px;
}

.material-image {
  width: 100%;
  min-height: 600px;

  background:
    linear-gradient(
      145deg,
      #b86f52,
      #d7c4a4 55%,
      #777d61
    );
}


/* =========================================================
   13. CTA
   ========================================================= */

.contact-cta {
  padding:
    clamp(90px, 12vw, 160px)
    7vw;

  text-align: center;

  background: #d8c7ad;
}

.contact-cta h2 {
  margin-bottom: 35px;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    2.5rem,
    5vw,
    5rem
  );

  line-height: 1.1;
}


/* =========================================================
   14. PAGE HERO
   ========================================================= */

.page-hero {
  width: 100%;
  max-width: 1600px;

  margin: 0 auto;

  padding:
    clamp(80px, 10vw, 140px)
    7vw
    70px;
}

.page-hero h1 {
  margin: 0;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    3.2rem,
    7vw,
    6.5rem
  );

  line-height: 1;

  max-width: 1100px;
}

.page-hero.compact {
  padding-bottom: 60px;
}

.page-lead {
  max-width: 650px;

  margin-top: 30px;

  font-size: 1rem;

  opacity: 0.75;
}


/* =========================================================
   15. ABOUT
   ========================================================= */

.about-layout {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(0, 1fr);

  gap: clamp(50px, 9vw, 140px);

  align-items: start;
}

.portrait {
  width: 100%;
  min-height: 650px;

  background:
    linear-gradient(
      145deg,
      #a18c73,
      #d7c7ae 60%,
      #73745e
    );
}

.about-layout h2 {
  margin-bottom: 30px;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    2.4rem,
    4vw,
    4rem
  );

  line-height: 1.1;
}

.about-layout p {
  max-width: 650px;
}

.about-layout strong {
  font-weight: 600;
}

.stats {
  display: flex;

  flex-wrap: wrap;

  gap: 35px;

  margin-top: 50px;
}

.stats > div {
  min-width: 120px;
}

.stats strong {
  display: block;

  font-family: "Playfair Display", serif;

  font-size: 2rem;
  font-weight: 400;
}

.stats span {
  display: block;

  font-size: 0.65rem;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  opacity: 0.65;
}


/* =========================================================
   16. STUDENT PROJECTS
   ========================================================= */

.academic-projects {
  background: #e5dccb;
}

.academic-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 28px;

  margin-top: 40px;
}

.academic-card {
  display: block;

  background: #f4f0e8;

  overflow: hidden;
}

.academic-card .image {
  min-height: 390px;
}

.academic-info {
  padding: 22px;
}

.academic-info span {
  font-size: 0.65rem;

  letter-spacing: 0.15em;

  opacity: 0.6;
}

.academic-info h3 {
  margin: 7px 0;

  font-family: "Playfair Display", serif;

  font-size: 1.8rem;
}

.academic-info p {
  margin: 0;

  font-size: 0.9rem;

  opacity: 0.7;
}

.upload-note {
  margin-top: 35px;

  padding: 20px;

  border-left: 2px solid #b86f52;

  background: #f0e8da;

  font-size: 0.85rem;
}

.upload-note code {
  padding: 2px 5px;

  background: #e2d6c3;
}


/* =========================================================
   17. VALUES
   ========================================================= */

.values {
  background: #e5dccb;
}

.value-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 30px;

  margin-top: 45px;
}

.value-grid article {
  padding-top: 20px;

  border-top: 1px solid #8d8372;
}

.value-grid b {
  font-size: 0.7rem;
}

.value-grid h3 {
  margin: 18px 0 5px;

  font-family: "Playfair Display", serif;

  font-size: 2rem;
}

.value-grid p {
  max-width: 400px;

  margin-bottom: 0;
}


/* =========================================================
   18. PORTFOLIO
   ========================================================= */

.filters {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 50px;
}

.filter {
  padding: 10px 18px;

  border: 1px solid #aaa08e;

  background: transparent;

  color: #292724;

  font-size: 0.68rem;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.filter:hover,
.filter.active {
  background: #292724;
  color: #ffffff;
}

.portfolio-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 65px 30px;
}

.portfolio-card {
  display: block;

  overflow: hidden;
}

.portfolio-card .image {
  min-height: 470px;
}

.portfolio-card h3 {
  margin: 5px 0;

  font-family: "Playfair Display", serif;

  font-size: 2rem;
}

.portfolio-card p {
  margin: 0;

  opacity: 0.7;
}

.portfolio-card small {
  font-size: 0.65rem;

  letter-spacing: 0.15em;

  opacity: 0.6;
}


/* =========================================================
   19. PROJECT DETAIL
   ========================================================= */

.detail-hero {
  width: 100%;
  min-height: 75svh;

  display: flex;
  align-items: flex-end;

  position: relative;

  padding: clamp(50px, 8vw, 120px) 7vw;

  color: #ffffff;

  overflow: hidden;

  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      transparent 20%,
      rgba(20,15,10,0.7)
    );
}

.detail-hero > div {
  position: relative;

  z-index: 2;
}

.detail-hero h1 {
  margin: 0;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    4rem,
    9vw,
    9rem
  );

  line-height: 0.95;
}

.detail-intro {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(50px, 10vw, 150px);
}

.detail-intro h2 {
  font-family: "Playfair Display", serif;

  font-size: clamp(
    2.4rem,
    4vw,
    4rem
  );

  line-height: 1.1;
}

.detail-gallery {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 25px;
}

.detail-gallery .image {
  min-height: 500px;
}

.detail-gallery .image:first-child {
  grid-column: span 2;

  min-height: 650px;
}

.specs {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 25px;

  border-top: 1px solid #aaa08e;
}

.specs div {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.specs span {
  font-size: 0.65rem;

  letter-spacing: 0.14em;

  opacity: 0.6;
}

.specs strong {
  font-family: "Playfair Display", serif;

  font-size: 1.25rem;

  font-weight: 400;
}


/* =========================================================
   20. DOCUMENTS
   ========================================================= */

.doc-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 25px;
}

.doc-card {
  min-height: 280px;

  display: flex;
  flex-direction: column;

  padding: 35px;

  border: 1px solid #b8ad9b;

  background: rgba(255,255,255,0.08);
}

.doc-card span {
  font-size: 0.65rem;

  letter-spacing: 0.15em;

  opacity: 0.6;
}

.doc-card h3 {
  margin: 25px 0 10px;

  font-family: "Playfair Display", serif;

  font-size: 1.8rem;
}

.doc-card p {
  opacity: 0.7;
}

.doc-card a {
  width: max-content;

  margin-top: auto;

  padding-bottom: 4px;

  border-bottom: 1px solid #292724;

  font-size: 0.7rem;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.doc-card a:hover {
  color: #b86f52;

  border-color: #b86f52;
}

.notice {
  margin-top: 40px;

  padding: 20px;

  background: #e5dccb;

  font-size: 0.85rem;
}


/* =========================================================
   21. CONTACT
   ========================================================= */

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(50px, 10vw, 150px);
}

.contact-layout h2 {
  margin-bottom: 0;

  font-family: "Playfair Display", serif;

  font-size: clamp(
    2.4rem,
    4vw,
    4.2rem
  );

  line-height: 1.1;
}

.contact-info {
  margin-top: 60px;
}

.contact-info p {
  margin: 25px 0;
}

.contact-info span {
  display: block;

  margin-bottom: 5px;

  font-size: 0.65rem;

  letter-spacing: 0.15em;

  opacity: 0.55;
}

.contact-layout form {
  display: flex;
  flex-direction: column;

  gap: 25px;
}

.contact-layout label {
  font-size: 0.72rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.contact-layout input,
.contact-layout textarea {
  width: 100%;

  display: block;

  margin-top: 8px;

  padding: 14px 0;

  border: 0;
  border-bottom: 1px solid #9d9485;

  outline: none;

  background: transparent;

  color: #292724;

  font-size: 1rem;
}

.contact-layout textarea {
  min-height: 120px;

  resize: vertical;
}

.contact-layout input:focus,
.contact-layout textarea:focus {
  border-color: #b86f52;
}


/* =========================================================
   22. FOOTER
   ========================================================= */

footer {
  width: 100%;

  padding:
    50px 5vw;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  background: #292724;

  color: #f4f0e8;

  font-size: 0.75rem;
}

footer strong {
  font-size: 1.2rem;

  letter-spacing: 0.08em;
}

footer strong span {
  color: #b86f52;
}

footer p {
  margin: 8px 0 0;

  opacity: 0.55;
}

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 25px;
}

.footer-links a {
  opacity: 0.75;

  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;

  color: #d8c7ad;
}


/* =========================================================
   23. LARGE DESKTOP
   1600px+
   ========================================================= */

@media (min-width: 1600px) {

  .site-header {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .section,
  .page-hero {
    padding-left: 8vw;
    padding-right: 8vw;
  }

  .hero-content {
    padding-left: 8vw;
  }

}


/* =========================================================
   24. LAPTOP
   1024px - 1199px
   ========================================================= */

@media (max-width: 1199px) {

  .site-header nav {
    gap: 22px;
  }

  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .project-card.large .image {
    min-height: 600px;
  }

  .materials {
    gap: 50px;
  }

  .material-image {
    min-height: 520px;
  }

}


/* =========================================================
   25. TABLET
   768px - 1023px
   ========================================================= */

@media (max-width: 1023px) {

  .site-header {
    height: 72px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a {
    font-size: 0.68rem;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero h1 {
    font-size: clamp(
      3rem,
      8vw,
      5.5rem
    );
  }

  .section {
    padding:
      80px 6vw;
  }

  .intro {
    grid-template-columns: 1fr 1fr;

    gap: 50px;
  }

  .project-grid {
    gap: 30px 20px;
  }

  .project-card.large .image {
    min-height: 520px;
  }

  .image {
    min-height: 330px;
  }

  .materials {
    grid-template-columns: 1fr 1fr;
  }

  .material-image {
    min-height: 450px;
  }

  .about-layout {
    grid-template-columns: 0.8fr 1fr;

    gap: 50px;
  }

  .portrait {
    min-height: 520px;
  }

  .academic-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 20px;
  }

  .portfolio-grid {
    gap: 45px 20px;
  }

  .portfolio-card .image {
    min-height: 400px;
  }

  .doc-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .detail-gallery .image {
    min-height: 400px;
  }

}


/* =========================================================
   26. MOBILE
   <= 767px
   ========================================================= */

@media (max-width: 767px) {

  /* HEADER */

  .site-header {
    height: 68px;

    padding:
      0 6vw;
  }

  .brand {
    font-size: 1.05rem;
  }

  @media (max-width: 767px) {

  .site-header {
    height: 68px;
    padding: 0 4vw;
  }

  .brand {
    font-size: 0.9rem;
  }

  /* ẨN NÚT 3 GẠCH */
  .menu-toggle {
    display: none;
  }

  /* HIỆN MENU RA NGOÀI */
  .site-header nav {
    display: flex;

    position: static;

    flex-direction: row;

    align-items: center;

    justify-content: flex-end;

    gap: 14px;

    padding: 0;

    background: transparent;

    border: none;

    box-shadow: none;

    white-space: nowrap;
  }

  .site-header nav a {
    font-size: 0.55rem;

    letter-spacing: 0.04em;

    opacity: 0.7;
  }

  .site-header nav a::after {
    bottom: -4px;
  }
}

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    font-size: 0.72rem;
  }


  /* GLOBAL */

  .section {
    padding:
      65px 6vw;
  }


  /* HERO */

  .hero {
    min-height:
      calc(100svh - 68px);

    align-items: flex-end;
  }

  .hero-content {
    padding:
      70px 6vw 90px;
  }

  .hero h1 {
    margin-bottom: 22px;

    font-size:
      clamp(2.8rem, 14vw, 4.2rem);

    line-height: 0.98;
  }

  .hero-text {
    margin-bottom: 28px;

    font-size: 0.92rem;
  }

  .hero-scroll {
    display: none;
  }

  .button {
    width: auto;

    min-height: 48px;

    padding:
      13px 17px;

    font-size: 0.65rem;
  }


  /* INTRO */

  .intro {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .intro h2 {
    font-size:
      clamp(2.2rem, 11vw, 3.2rem);
  }

  .intro-copy {
    padding-top: 10px;
  }


  /* SECTION HEADER */

  .section-head {
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 35px;
  }

  .section-head h2 {
    font-size:
      clamp(2rem, 10vw, 3rem);
  }


  /* PROJECT GRID */

  .project-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .project-card.large {
    grid-row: auto;
  }

  .project-card .image,
  .project-card.large .image {
    min-height:
      70vw;

    max-height: 520px;
  }


  /* STATEMENT */

  .statement {
    padding:
      85px 6vw;

    font-size:
      clamp(1.8rem, 9vw, 2.8rem);
  }


  /* MATERIALS */

  .materials {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .materials h2 {
    font-size:
      clamp(2.2rem, 10vw, 3.2rem);
  }

  .material-image {
    min-height:
      75vw;

    max-height: 500px;
  }


  /* CTA */

  .contact-cta {
    padding:
      85px 6vw;
  }

  .contact-cta h2 {
    font-size:
      clamp(2.2rem, 10vw, 3.3rem);
  }


  /* PAGE HERO */

  .page-hero {
    padding:
      75px 6vw 50px;
  }

  .page-hero h1 {
    font-size:
      clamp(2.8rem, 13vw, 4.2rem);
  }

  .page-lead {
    font-size: 0.92rem;
  }


  /* ABOUT */

  .about-layout {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .portrait {
    min-height:
      100vw;

    max-height: 600px;
  }

  .about-layout h2 {
    font-size:
      clamp(2.2rem, 10vw, 3.2rem);
  }

  .about-layout p {
    font-size: 0.94rem;
  }

  .stats {
    gap: 25px;

    margin-top: 35px;
  }

  .stats > div {
    min-width: 100px;
  }

  .stats strong {
    font-size: 1.8rem;
  }


  /* STUDENT PROJECTS */

  .academic-grid {
    grid-template-columns: 1fr;

    gap: 25px;
  }

 .academic-card .image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}
  .academic-info {
    padding: 18px;
  }

  .academic-info h3 {
    font-size: 1.55rem;
  }


  /* VALUES */

  .value-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .value-grid h3 {
    font-size: 1.7rem;
  }


  /* FILTERS */

  .filters {
    gap: 7px;

    margin-bottom: 35px;
  }

  .filter {
    padding:
      9px 12px;

    font-size: 0.61rem;
  }


  /* PORTFOLIO */

  .portfolio-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .portfolio-card .image {
    min-height:
      70vw;

    max-height: 520px;
  }

  .portfolio-card h3 {
    font-size: 1.7rem;
  }


  /* DETAIL HERO */

  .detail-hero {
    min-height:
      70svh;

    padding:
      50px 6vw 70px;
  }

  .detail-hero h1 {
    font-size:
      clamp(3.5rem, 17vw, 5.5rem);
  }


  /* DETAIL INTRO */

  .detail-intro {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .detail-intro h2 {
    font-size:
      clamp(2.2rem, 10vw, 3.2rem);
  }


  /* DETAIL GALLERY */

  .detail-gallery {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .detail-gallery .image,
  .detail-gallery .image:first-child {
    grid-column: auto;

    min-height:
      75vw;

    max-height: 600px;
  }


  /* SPECS */

  .specs {
    grid-template-columns:
      1fr 1fr;

    gap: 30px 20px;
  }

  .specs strong {
    font-size: 1.05rem;
  }


  /* DOCUMENTS */

  .doc-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .doc-card {
    min-height: 250px;

    padding: 25px;
  }

  .doc-card h3 {
    font-size: 1.6rem;
  }


  /* CONTACT */

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .contact-layout h2 {
    font-size:
      clamp(2.2rem, 10vw, 3.2rem);
  }

  .contact-info {
    margin-top: 40px;
  }


  /* FOOTER */

  footer {
    flex-direction: column;

    align-items: flex-start;

    padding:
      45px 6vw;

    gap: 25px;
  }

  .footer-links {
    gap: 15px 22px;
  }

}


/* =========================================================
   27. SMALL PHONE
   <= 400px
   ========================================================= */

@media (max-width: 400px) {

  body {
    font-size: 15px;
  }

  .hero-content {
    padding:
      55px 6vw 70px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 0.88rem;
  }

  .button {
    width: 100%;

    justify-content: space-between;
  }

  .stats {
    display: grid;

    grid-template-columns:
      1fr 1fr;

    gap: 25px 15px;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.75rem;
  }

}


/* =========================================================
   28. TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

  .project-card:hover .image,
  .portfolio-card:hover .image,
  .academic-card:hover .image {
    transform: none;
  }

}


/* =========================================================
   29. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

}/* ================================
   HERO TITLE - GIÃN DÒNG
================================ */

.hero-content h1 {
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  text-align: center;
/* ==========================================
   ẢNH TRANG CHI TIẾT CÔNG TRÌNH
========================================== */

.detail-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-gallery .image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f5f3ef;
}

.detail-gallery .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* Ảnh cuối chiếm toàn bộ chiều rộng */

.detail-gallery .image:last-child {
    grid-column: 1 / -1;
}


/* ĐIỆN THOẠI */

@media (max-width: 768px) {

    .detail-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-gallery .image {
        height: auto;
    }

    .detail-gallery .image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .detail-gallery .image:last-child {
        grid-column: auto;
    }

```css
/* =====================================================
   SOCIAL ICON - FIX SIZE
   ===================================================== */

.contact-info + .social-contact {
    display: block !important;
    width: 100% !important;
    margin-top: 35px !important;
}


/* CHỮ SOCIAL */
.contact-info + .social-contact .social-title {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 0 16px 0 !important;
    padding: 0 !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.2 !important;

    letter-spacing: 0.18em !important;

    color: #99948c !important;
}


/* KHUNG 3 ICON */
.contact-info + .social-contact .social-icons {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 16px !important;

    width: 120px !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* TỪNG NÚT */
.contact-info + .social-contact .social-icon {
    display: flex !important;

    flex: 0 0 32px !important;

    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;

    max-width: 32px !important;
    max-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    align-items: center !important;
    justify-content: center !important;

    background: none !important;

    overflow: hidden !important;

    text-decoration: none !important;
}


/* SVG - ÉP CỨNG 32PX */
.contact-info + .social-contact .social-icon svg {
    display: block !important;

    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    min-height: 32px !important;

    max-width: 32px !important;
    max-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    fill: currentColor !important;
}


/* =========================================================
   MÀU ICON SOCIAL
   ========================================================= */

.social-contact .social-icons .social-icon:nth-child(1) {
    color: #1877F2 !important;
}

.social-contact .social-icons .social-icon:nth-child(2) {
    color: #000000 !important;
}

.social-contact .social-icons .social-icon:nth-child(3) {
    color: #E4405F !important;
}color: #E4405F !important;
}


/* HOVER */
.contact-info + .social-contact .social-icon:hover {
    transform: translateY(-3px) !important;
    opacity: 0.7 !important;
}


/* MOBILE */
@media (max-width: 768px) {

    .contact-info + .social-contact .social-icons {
        gap: 12px !important;
        width: 102px !important;
        height: 32px !important;
    }

    .contact-info + .social-contact .social-icon {
        width: 28px !important;
        height: 28px !important;

        min-width: 28px !important;
        min-height: 28px !important;

        max-width: 28px !important;
        max-height: 28px !important;

        flex-basis: 28px !important;
    }

    .contact-info + .social-contact .social-icon svg {
        width: 28px !important;
        height: 28px !important;

        min-width: 28px !important;
        min-height: 28px !important;

        max-width: 28px !important;
        max-height: 28px !important;
    }
/* =========================================================
   RESOURCE LIBRARY
   ========================================================= */

.resource-section {
    padding-top: 20px !important;
}


/* GRID */

.resource-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    width: 100%;

}


/* RESOURCE CARD */

.resource-card {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 180px;

    padding: 28px;

    background: #ebe7df;

    border: 1px solid #d8d2c8;

    border-radius: 12px;

    text-decoration: none;

    color: #292724;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;

}


/* NUMBER */

.resource-card span {

    display: block;

    margin-bottom: 30px;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    letter-spacing: 0.15em;

    color: #99948c;

}


/* TITLE */

.resource-card h3 {

    margin: 0;

    font-family: "DM Sans", sans-serif;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: 0.03em;

    color: #292724;

}


/* DESCRIPTION */

.resource-card p {

    margin: 10px 0 0;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    line-height: 1.6;

    color: #77736d;

}


/* HOVER */

.resource-card:hover {

    transform: translateY(-4px);

    background: #e3ded5;

    border-color: #bcb5aa;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .resource-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .resource-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }


    .resource-card {

        min-height: 150px;

        padding: 22px;

    }


    .resource-card h3 {

        font-size: 17px;

    }

}.doc-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    justify-content: center;
}

.doc-card {
    text-align: center !important;
    padding: 40px 25px;
    border-radius: 12px;
    box-sizing: border-box;
}

.doc-card > span,
.doc-card h3,
.doc-card p,
.doc-card a {
    text-align: center !important;
}.doc-card h3 {
    text-align: center !important;
}/* =====================================================
   HIỆU ỨNG ẢNH KHI LƯỚT XUỐNG
   ===================================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

/* Khi ảnh đi vào màn hình */
.scroll-reveal.show {
    opacity: 1;
    transform: translateY(0);
}/* =====================================================
   SCROLL IMAGE REVEAL
   CHỈ ÁP DỤNG CHO ẢNH TRANG CHỦ
   ===================================================== */

.index-page .scroll-image,
.scroll-image {
    opacity: 0 !important;

    transform: translateY(45px) !important;

    transition:
        opacity 1.2s ease,
        transform 1.2s ease !important;
}


/* ẢNH ĐÃ HIỆN */

.index-page .scroll-image.is-visible,
.scroll-image.is-visible {
    opacity: 1 !important;

    transform: translateY(0) !important;
/* =====================================================
   STATEMENT - CĂN GIỮA TUYỆT ĐỐI
   ===================================================== */

.statement {
    width: 100% !important;

    min-height: 300px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    text-align: center !important;

    padding: 80px 30px !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


.statement p {
    width: 100% !important;

    max-width: 1000px !important;

    margin: 0 auto !important;

    padding: 0 !important;

    text-align: center !important;

    font-family: "Playfair Display", serif !important;

    font-size: 38px !important;

    font-weight: 400 !important;

    line-height: 1.4 !important;

    color: #222 !important;

    display: block !important;
}


.statement p em {
    font-style: italic !important;
}