/* ==========================================================================
   AIKS Interior Designing
   Breakpoints (same as the original Framer site):
     desktop  >= 1200px
     tablet   810px – 1199.98px
     phone    <= 809.98px
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+100-24F, U+259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-600-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+100-24F, U+259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("../assets/fonts/inter-display-700-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+100-24F, U+259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+100-24F, U+259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --cream: #fffdf5;
  --ink: #262324;
  --black: #000;
  --white: #fff;
  --pad: 40px;
  --font: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.25, 1.25, 0.5, 1);
}
@media (max-width: 809.98px) { :root { --pad: 20px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; outline: none; }
button { cursor: pointer; }
ul { list-style: none; }

/* ---------- Type ---------- */
.t-display { font-size: 100px; line-height: 0.9; font-weight: 700; letter-spacing: -0.03em; }
.t-h1      { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.t-h2      { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.t-h3      { font-size: 36px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.t-body    { font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.t-body-m  { font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.t-label   { font-size: 16px; line-height: 1; font-weight: 700; }
.t-small   { font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.t-upper   { text-transform: uppercase; }

@media (max-width: 1199.98px) {
  .t-display { font-size: 80px; }
  .t-h1 { font-size: 52px; }
}
@media (max-width: 809.98px) {
  .t-display { font-size: 54px; }
  .t-h1 { font-size: 36px; }
}

/* Underline-grow link (nav, "Read more", footer links...) */
.u-link { position: relative; display: inline-block; }
.u-link::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right center;
  transition: transform 0.45s var(--ease-out);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left center; }
.u-link--thick::after { height: 4px; bottom: -8px; }

.cta-link { display: block; width: max-content; margin: 0 auto; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 1000;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; background: var(--white);
  mix-blend-mode: difference; pointer-events: none;
  opacity: 0; transition: opacity 0.3s, width 0.3s var(--ease-out), height 0.3s var(--ease-out), margin 0.3s var(--ease-out);
}
.cursor.is-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Preloader (every page load) ---------- */
/* Mirrors the original: the word shrinks from 3x while its letters pop in,
   then zooms to 4x and flies off the top as the cream panel lifts away. */
.loader {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; pointer-events: none;
}
.loader__bg {
  position: absolute; inset: 0; background: var(--cream);
  transform-origin: top;
  transition: transform 1s cubic-bezier(0.96, -0.04, 0.38, 1);
}
.loader__word {
  position: relative; z-index: 1; display: flex;
  font-size: 78px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  transform: translateY(24px) scale(3);
  transition: transform 1s cubic-bezier(0.96, -0.02, 0.38, 1.01);
}
.loader__word span { display: inline-block; transform: translateY(14px); opacity: 0; transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.45s ease-out; }
.loader.is-in .loader__word { transform: none; }
.loader.is-in .loader__word span { transform: none; opacity: 1; }
.loader.is-out .loader__word { transform: translateY(-800px) scale(4); transition-timing-function: cubic-bezier(0.96, -0.04, 0.38, 1); }
.loader.is-out .loader__bg { transform: scaleY(0); }
.loader.is-done { display: none; }
html.no-loader .loader { display: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 64px; padding: 20px;
  color: var(--cream);
  transition: color 0.35s ease;
}
.nav__bg {
  position: absolute; inset: 0; background: var(--cream);
  opacity: 0; transition: opacity 0.35s ease;
}
.nav.is-solid { color: var(--ink); }
.nav.is-solid .nav__bg { opacity: 1; }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 24px; }
.nav__logo { font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.nav__links { position: absolute; top: 1px; left: calc(75% - 159px); display: flex; gap: 24px; }
.nav__links a, .nav__contact { font-size: 16px; line-height: 1; font-weight: 700; }
.nav__toggle { display: none; font-size: 16px; line-height: 1; font-weight: 700; }

.menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 499;
  background: var(--ink); color: var(--cream);
  padding: 124px 20px 20px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a {
  display: block; padding: 0 0 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 253, 245, 0.9);
  font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.03em;
}
.menu__socials { margin-top: 64px; display: flex; flex-direction: column; color: var(--white); }
.menu__socials a { font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
body.menu-open .nav { color: var(--cream); }
body.menu-open .nav .nav__bg { opacity: 0; }

@media (max-width: 809.98px) {
  .nav__links, .nav__contact { display: none; }
  .nav__toggle { display: block; }
}
@media (min-width: 810px) { .menu { display: none; } }

/* ---------- Page wrapper / sticky hero ---------- */
.page { position: relative; }
.page > section:not(.hero) { position: relative; z-index: 1; }

.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  color: var(--cream);
  background: var(--black);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0.4; }
.hero__inner {
  position: relative; height: 100%;
  padding: 120px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__title { max-width: 700px; }
.hero__title--narrow { max-width: 550px; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__aside { width: 440px; flex-shrink: 0; }
.hero__aside--wide { width: 550px; }
.hero__aside--muted { color: rgba(255, 253, 245, 0.7); }
.hero__aside.t-body-m { line-height: 1; }

/* Home hero: the photo is bright, so a warm wash over everything plus deeper shade in the text zones (top + bottom) */
.hero--home .hero__bg::after {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(20, 12, 6, 0.55) 0%, rgba(20, 12, 6, 0) 38%, rgba(20, 12, 6, 0) 55%, rgba(20, 12, 6, 0.7) 100%),
    rgba(30, 18, 8, 0.28);
}

/* Home hero: title at the top, meta row at the bottom */
.hero--home .hero__inner { justify-content: space-between; padding-bottom: 24px; }
.hero--home .hero__meta { position: relative; display: flex; align-items: flex-end; justify-content: space-between; }
.hero--home .hero__lead { position: absolute; left: calc(50% - 82px); bottom: 0; width: 440px; }

/* Hero entrance (spring up 250px) */
.appear-up { transform: translateY(250px); }
.is-ready .appear-up { transform: none; transition: transform 1s var(--spring) 0.1s; }

@media (max-width: 1199.98px) {
  .hero { height: 810px; min-height: 0; }
  .hero--home .hero__lead { left: auto; right: 0; }
  .hero--home .hero__scroll { display: none; }
  .hero__aside--wide { width: 460px; text-align: right; }
  .hero__row--split .hero__title { max-width: 460px; }
  .hero__row--stack-tablet { flex-direction: column; align-items: flex-start; }
  .hero__row--stack-tablet .hero__title { max-width: 700px; }
}
@media (max-width: 809.98px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__aside, .hero__aside--wide { width: 100%; }
  .hero--home .hero__meta { flex-direction: column; align-items: stretch; gap: 24px; }
  .hero--home .hero__lead { position: static; width: 100%; }
  .hero--home .hero__copy { order: 2; text-align: right; }
}

/* ---------- Generic section helpers ---------- */
.section { background: var(--cream); padding-left: var(--pad); padding-right: var(--pad); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.section-head .t-h1 { max-width: 670px; }
.split-head { display: grid; grid-template-columns: 1fr 785px; gap: 24px; }
.label { color: var(--black); }

@media (max-width: 1199.98px) {
  .split-head { grid-template-columns: 1fr; }
  .split-head .t-h1 { max-width: 785px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transition: opacity 1s var(--ease-out); }
.reveal.is-in { opacity: 1; }

/* ---------- Full-bleed zoom image ---------- */
.zoom {
  position: relative; z-index: 1; height: 100vh; overflow: hidden; background: var(--cream);
}
.zoom img { transform: scale(1.2); will-change: transform; }
@media (max-width: 809.98px) { .zoom { height: 80vh; } }

/* ---------- Home: introduction ---------- */
.intro { padding-top: 120px; padding-bottom: 134px; display: flex; flex-direction: column; gap: 124px; }
.intro__gallery { position: relative; display: flex; justify-content: space-between; height: 728px; }
.intro__tag { width: 165px; }
.intro__small { position: absolute; left: 0; bottom: 0; width: 210px; height: 279px; }
.intro__big { width: 555px; height: 728px; }

@media (max-width: 1199.98px) {
  .intro__small { width: 151px; height: 201px; }
}
@media (max-width: 809.98px) {
  .intro { gap: 124px; }
  .intro__gallery { height: auto; flex-wrap: wrap; gap: 24px; }
  .intro__tag { width: calc(50% - 12px); }
  .intro__small { position: static; width: calc(50% - 12px); height: 215px; }
  .intro__big { width: 100%; height: 415px; }
}

/* ---------- Project cards ---------- */
.work { padding-top: 60px; padding-bottom: 74px; display: flex; flex-direction: column; gap: 124px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 220px; row-gap: 20px; }
.card { display: flex; flex-direction: column; gap: 24px; }
.card__img { height: 680px; overflow: hidden; }
.card__img img { transition: transform 0.8s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.03); }
.card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.card__title { max-width: 200px; }
.card__cta { flex-shrink: 0; }
.card:hover .u-link::after { transform: scaleX(1); transform-origin: left center; }

/* Projects page variant */
.cards--page { column-gap: 20px; row-gap: 80px; }
.cards--page .card__img { height: 800px; }
.cards--page .card__title { max-width: none; }
.cards--page .card__meta { align-items: flex-end; }
.card__cta--plain { font-family: "Inter", sans-serif; font-weight: 400; color: var(--black); padding-bottom: 2px; }

@media (max-width: 1199.98px) {
  .cards, .cards--page { grid-template-columns: 1fr; row-gap: 20px; }
  .cards--page { row-gap: 80px; }
  .card__img { height: 680px; }
  .cards--page .card__img { height: 545px; }
  .card .t-h2 { font-size: 28px; }
}
@media (max-width: 809.98px) {
  .cards, .cards--page { row-gap: 20px; }
  .cards--page { row-gap: 24px; }
  .card__img { height: 387px; }
  .cards--page .card__img { height: 300px; }
  .card .t-h2 { font-size: 22px; }
}

/* ---------- Services (accordion on home, list on services page) ---------- */
.services { padding-top: 120px; padding-bottom: 74px; display: flex; flex-direction: column; gap: 124px; }
.svc-list { display: flex; flex-direction: column; gap: 64px; }
.svc {
  position: relative; display: grid;
  grid-template-columns: 206px 464px 555px 1fr;
  padding: 24px 0 40px;
}
.svc__num { grid-column: 1; }
.svc__body { grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.svc__title { max-width: 325px; cursor: pointer; }
.svc__desc { max-width: 354px; }
.svc__media { grid-column: 3; height: 418px; overflow: hidden; }
.svc__toggle { grid-column: 4; justify-self: end; width: 20px; height: 20px; position: relative; color: var(--ink); }
.svc__toggle::before, .svc__toggle::after,
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out);
}
.svc__toggle::after, .faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open > .svc__toggle::after, .faq__item.is-open .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

/* collapsed state (home accordion) */
.svc--acc { transition: padding 0.6s var(--ease-out); }
.svc--acc .svc__media img { opacity: 0; transform: translateX(-50%); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.svc--acc .svc__desc { opacity: 0; transition: opacity 0.5s var(--ease-out); }
.svc--acc:not(.is-open) .svc__media { height: 128px; }
.svc--acc:not(.is-open) .svc__desc { position: absolute; pointer-events: none; }
.svc--acc.is-open.is-in .svc__media img { opacity: 1; transform: none; }
.svc--acc.is-open .svc__desc { opacity: 1; }
.svc--acc .svc__media { transition: height 0.6s var(--ease-out); }

/* services page list */
.svc-page { padding-top: 180px; padding-bottom: 80px; }
.svc-page .svc-list { gap: 0; }
.svc-page .svc {
  grid-template-columns: 276px 529px 1fr;
  padding: 60px 0 59px; border-bottom: 1px solid var(--ink);
}
.svc-page .svc:first-child { padding-top: 0; }
.svc-page .svc__body { gap: 24px; }
.svc-page .svc__desc { max-width: 349px; }
.svc-page .svc__media { height: 416px; }
.svc-page .svc__media img { opacity: 0; transform: translateX(-30%); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); }
.svc-page .svc.is-in .svc__media img { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
  .svc { grid-template-columns: 181px 440px 189px 1fr; }
  .svc__media { height: 142px; }
  .svc--acc:not(.is-open) .svc__media { height: 96px; }
  .svc .svc__title { font-size: 48px; }
  .svc .svc__desc { font-size: 20px; }
  .svc .svc__num { font-size: 52px; }
  .svc-page .svc { grid-template-columns: 95px 349px 1fr; }
  .svc-page .svc .svc__title { font-size: 52px; }
  .svc-page .svc .svc__desc { font-size: 24px; }
  .svc-page .svc__media { height: 357px; }
  .services .split-head { text-align: center; justify-items: center; gap: 0; }
  .svc-list { gap: 32px; }
  .svc__body { justify-content: flex-start; gap: 64px; }
  .svc--acc:not(.is-open) .svc__body { height: 52px; }
  .svc--acc:not(.is-open) .svc__media { height: 52px; }
  .services > .cta-link { margin-top: 44px; }
  .svc-page .svc__body { min-height: 416px; justify-content: space-between; gap: 24px; }
}
@media (max-width: 809.98px) {
  .services { gap: 128px; }
  .svc, .svc-page .svc { grid-template-columns: 1fr; gap: 24px; padding: 0; }
  .svc-list { gap: 37px; }
  .svc__toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .svc__num, .svc__body, .svc__media { grid-column: 1; }
  .svc .svc__num { font-size: 36px; }
  .svc .svc__title { font-size: 38px; max-width: none; }
  .svc .svc__desc { font-size: 20px; }
  .svc__media { width: 189px; height: 142px; }
  .svc--acc:not(.is-open) .svc__media { display: none; }
  .svc--acc:not(.is-open) .svc__desc { display: none; }
  .svc-page .svc-list { gap: 60px; }
  .svc-page .svc { padding: 0 0 60px; }
  .svc-page .svc .svc__title { font-size: 36px; }
  .svc-page .svc__media { width: 100%; height: 262px; }
}

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 80px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 80px; }
.testimonial { display: grid; grid-template-columns: 670px 1fr 440px; }
.testimonial__img { grid-column: 1; height: 747px; }
.testimonial__content { grid-column: 3; display: flex; flex-direction: column; gap: 72px; }
.review { display: flex; flex-direction: column; gap: 24px; }
.review__avatar { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; }
.review__name { display: flex; flex-direction: column; gap: 5px; }

@media (max-width: 1199.98px) {
  .testimonial { grid-template-columns: 1fr; gap: 24px; }
  .testimonial__img { height: 460px; }
  .testimonial__content { grid-column: 1; gap: 24px; }
  .testimonial__content .t-h2 { font-size: 28px; }
  .review { align-items: center; text-align: center; }
  .review__avatar { width: 120px; height: 120px; }
}
@media (max-width: 809.98px) {
  .testimonial__content .t-h2 { font-size: 22px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--ink); color: var(--cream); padding: 120px var(--pad) 400px; }
.page > section.faq { background: var(--ink); }
.faq__grid { display: grid; grid-template-columns: 1fr 668px; gap: 24px; }
.faq__head { display: flex; flex-direction: column; gap: 24px; }
.faq__head .t-h1 { max-width: 440px; }
.faq__list { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.faq__item { border-bottom: 1px solid rgba(255, 253, 245, 0.9); padding-bottom: 43px; }
.faq__q { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; text-align: left; gap: 24px; cursor: pointer; }
.faq__q .t-h2 { max-width: 620px; }
.faq__toggle { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 620px; padding-top: 38px; opacity: 0; transition: opacity 0.4s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; }

@media (max-width: 1199.98px) {
  .faq__grid { grid-template-columns: 1fr; gap: 88px; }
  .faq__list { padding-top: 0; }
  .faq { padding-bottom: 220px; }
  .faq__q .t-h2 { font-size: 28px; max-width: 872px; }
  .faq__toggle { margin-right: 0; }
}
@media (max-width: 809.98px) {
  .faq__q .t-h2 { font-size: 24px; letter-spacing: -0.02em; color: var(--white); max-width: 302px; }
  .faq__a p { font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--white); max-width: 302px; padding-top: 38px; }
}

/* ---------- CTA ---------- */
.cta { position: relative; height: 800px; overflow: hidden; background: var(--ink); color: var(--cream); }
.page > section.cta { background: var(--ink); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { transform: scale(1.1); will-change: transform; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0.5; }
.cta__inner { position: relative; height: 100%; padding: 80px var(--pad) 314px; display: flex; flex-direction: column; justify-content: space-between; }
.cta__top { display: flex; justify-content: space-between; gap: 24px; }
.cta__title { max-width: 700px; }
.cta__text { width: 440px; flex-shrink: 0; }
.cta__btn { align-self: flex-start; }

@media (max-width: 1199.98px) {
  .cta { height: 724px; }
  .cta__inner { padding-bottom: 220px; }
  .cta__title { max-width: 480px; }
}
@media (max-width: 809.98px) {
  .cta { height: auto; min-height: 640px; }
  .cta__inner { padding: 120px var(--pad) 180px; justify-content: flex-start; gap: 100px; }
  .cta__top { flex-direction: column; }
  .cta__text { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--cream); padding: 30px var(--pad) 30px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); }
.footer__col { display: flex; flex-direction: column; gap: 24px; }
.footer__list { display: flex; flex-direction: column; gap: 11px; }
.footer__list--tight { gap: 0; }
.newsletter { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 10px 0 18px; }
.newsletter input { flex: 1; font-size: 16px; line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.newsletter input::placeholder { color: var(--ink); opacity: 1; }
.newsletter button { width: 36px; height: 15px; display: flex; align-items: center; justify-content: flex-end; }
.newsletter button svg { width: 36px; height: 15px; transition: transform 0.4s var(--ease-out); }
.newsletter button:hover svg { transform: translateX(4px); }
.newsletter.is-sent input::placeholder { opacity: 0.6; }
.footer__wordmark {
  margin-top: 206px;
  font-size: calc((100vw - 2 * var(--pad)) * 0.2583);
  line-height: 0.8; font-weight: 700; letter-spacing: -0.03em;
  white-space: nowrap;
}
.footer__bottom { display: flex; justify-content: space-between; margin-top: 24px; }

@media (max-width: 1199.98px) {
  .footer__cols { grid-template-columns: 1fr; gap: 38px; }
  .footer__col { gap: 24px; }
  .footer__list { gap: 5px; }
  .footer__wordmark { margin-top: 50px; }
  .newsletter { max-width: 100%; }
}
@media (max-width: 809.98px) {
  .footer__bottom { flex-direction: column; gap: 0; margin-top: 24px; }
  .footer__wordmark { margin-top: 50px; }
}

/* ---------- About ---------- */
.about-intro { padding-top: 120px; padding-bottom: 124px; display: flex; flex-direction: column; gap: 124px; }
.about-intro .t-h1 { color: var(--black); }
.split-letters .w { display: inline-block; white-space: nowrap; }
.split-letters .l { display: inline-block; opacity: 0; transform: translateY(50px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--spring); }
.split-letters.is-in .l { opacity: 1; transform: none; }
/* hero texts wait for the preloader / page entrance */
html:not(.is-ready) .hero .split-letters.is-in .l { opacity: 0; transform: translateY(50px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat__num { font-size: 100px; line-height: 1.21; font-weight: 700; letter-spacing: -0.07em; color: var(--black); }
.stat p { max-width: 322px; }

.about-gallery { padding-bottom: 120px; display: flex; flex-direction: column; gap: 96px; }
.ag-row1 { display: grid; grid-template-columns: 175px 1fr 555px; gap: 24px; }
.ag-row1 .ag-small { width: 175px; height: 205px; }
.ag-row1 .ag-text { padding-left: 119px; max-width: 464px; }
.ag-row1 .ag-big { height: 650px; }
.ag-row2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ag-row2 .ag-text { max-width: 555px; }
.ag-row2 .ag-small { width: 210px; height: 246px; flex-shrink: 0; }
.ag-row3 { width: 785px; height: 494px; }

.team { padding-bottom: 120px; display: flex; flex-direction: column; gap: 80px; }
.team .section-head .t-h1 { max-width: 490px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 80px; }
.member__img { height: 500px; margin-bottom: 18px; }
.member p + p { margin-top: 0; }

@media (max-width: 1199.98px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat__num { font-size: 90px; }
  .stat p { max-width: none; }
  .zoom--short { height: 80vh; }
  .ag-row1 { grid-template-columns: 1fr; }
  .ag-row1 .ag-small { width: 333px; height: 390px; }
  .ag-row1 .ag-text { padding-left: 0; max-width: 555px; }
  .ag-row1 .ag-big { width: 555px; }
  .ag-row2 .ag-text { max-width: 400px; }
  .ag-row3 { width: 100%; }
  .member__img { height: 444px; }
}
@media (max-width: 809.98px) {
  .about-intro .t-h1 { font-size: 24px; letter-spacing: -0.02em; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .about-intro { padding-top: 80px; padding-bottom: 64px; gap: 64px; }
  .stat__num { font-size: 80px; }
  .about-gallery { gap: 64px; }
  .ag-row1 { gap: 64px; }
  .ag-row1 .ag-small { width: 210px; height: 246px; }
  .ag-row1 .ag-big { width: 100%; height: 450px; }
  .ag-text.t-h3 { font-size: 24px; letter-spacing: -0.02em; }
  .ag-row2 { flex-direction: column; align-items: flex-end; gap: 64px; }
  .ag-row3 { height: 450px; }
  .team__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .member__img { height: 400px; }
}

/* ---------- Projects page ---------- */
.projects-page { padding-top: 120px; padding-bottom: 240px; }

/* ---------- Contact ---------- */
.contact { padding-top: 120px; padding-bottom: 280px; display: grid; grid-template-columns: 325px 1fr 680px; }
.contact__info { grid-column: 1; display: flex; flex-direction: column; gap: 24px; }
.contact__form { grid-column: 3; display: flex; flex-direction: column; gap: 40px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { color: var(--black); }
.field input, .field textarea {
  height: 70px; border-bottom: 1px solid var(--ink);
  font-size: 24px; line-height: 1.2; font-weight: 400; color: var(--ink);
}
.field textarea { height: 100px; resize: vertical; padding-top: 4px; }
.contact__submit { align-self: flex-start; color: var(--black); }
.form-status:empty { display: none; }

@media (max-width: 1199.98px) {
  .contact { grid-template-columns: 1fr; gap: 100px; }
  .contact__info, .contact__form { grid-column: 1; }
}

/* ---------- Project detail ---------- */
.detail-info { padding-top: 60px; padding-bottom: 80px; display: grid; grid-template-columns: 440px 1fr 640px; }
.detail-info__desc { grid-column: 1; display: flex; flex-direction: column; gap: 24px; }
.detail-info__desc p:last-child { color: var(--black); }
.detail-info__facts { grid-column: 3; padding-top: 72px; display: grid; grid-template-columns: 217px 218px 1fr; row-gap: 48px; align-content: start; }
.fact { display: flex; flex-direction: column; gap: 12px; }
.gallery { padding-bottom: 180px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery__item { height: 800px; overflow: hidden; }
.gallery__item--full { grid-column: 1 / -1; }
.others { padding-bottom: 120px; display: flex; flex-direction: column; gap: 64px; }
.others .t-h1 { color: var(--black); max-width: 325px; }
.others .card__img { height: 800px; }
.others .card__title { max-width: none; }
.others .card__meta { align-items: flex-end; }

@media (max-width: 1199.98px) {
  .detail-info { grid-template-columns: 1fr; gap: 64px; }
  .detail-info__desc, .detail-info__facts { grid-column: 1; }
  .detail-info__facts { padding-top: 0; grid-template-columns: repeat(3, 1fr); }
  .gallery__item { height: 500px; }
  .others .card__img { height: 545px; }
}
@media (max-width: 809.98px) {
  .detail-info__facts { grid-template-columns: 1fr; row-gap: 12px; }
  .detail-info__facts .fact { gap: 0; }
  .gallery { grid-template-columns: 1fr; gap: 12px; padding-bottom: 128px; }
  .gallery__item { height: 400px; }
  .others { gap: 24px; }
  .others .card__img { height: 300px; }
}

/* ---------- Tablet section rhythm (kept last so it wins over base rules) ---------- */
@media (max-width: 1199.98px) {
  .intro, .work, .services { padding-bottom: 60px; }
  .faq { padding-bottom: 196px; }
  .footer__wordmark { margin-top: 40px; }
}
@media (max-width: 809.98px) {
  .intro, .projects-page, .contact { padding-top: 80px; }
  .work { padding-top: 80px; padding-bottom: 60px; gap: 80px; }
  .services { padding-top: 80px; gap: 84px; }
  .services > .cta-link { margin-top: 40px; }
  .testimonials { padding-top: 80px; }
  .faq { padding-top: 80px; padding-bottom: 220px; }
  .cta__inner { padding-top: 80px; }
  .about-gallery { padding-bottom: 80px; }
  .team { gap: 24px; }
  .projects-page { padding-bottom: 60px; }
  .svc-page { padding-top: 140px; }
  .svc-page .svc__body { min-height: 0; }
  .svc-page .svc .svc__title { max-width: 325px; }
  .contact { gap: 100px; padding-bottom: 80px; }
  .services .split-head { gap: 24px; }
  .svc__body { gap: 24px; }
  .svc--acc:not(.is-open) .svc__body { height: auto; }
  .detail-info__facts .fact:nth-child(4) { margin-top: 36px; }
  .gallery { padding-bottom: 80px; }
  .others { padding-bottom: 80px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .split-letters .l { opacity: 1; transform: none; }
}
