/* ================================================================
   Svay Studio — design tokens
   ================================================================ */
:root {
  --ivory:    #F4EFE6;
  --sand:     #E7DFD0;
  --teak:     #A98963;
  --umber:    #46392C;
  --espresso: #26201A;
  --olive:    #7C6C4E;
  --line:     rgba(70, 57, 44, 0.18);
  --line-light: rgba(244, 239, 230, 0.25);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --devanagari: "Noto Serif Devanagari", serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-gap: clamp(5rem, 12vh, 9rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ivory);
  color: var(--umber);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* ================================================================
   Shared type
   ================================================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow em { font-style: italic; text-transform: none; letter-spacing: 0.08em; }
.eyebrow--light { color: rgba(244, 239, 230, 0.65); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-top: 1rem;
}
.section-title em { font-style: italic; }

.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.12;
  max-width: 18em;
  margin-inline: auto;
}
.statement em { font-style: italic; }

.section-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section-note { margin-top: 1rem; font-size: 0.85rem; color: var(--olive); }
.section-note a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(6rem, 24.5vw, 24rem);
  line-height: 0.78;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  user-select: none;
}

/* Links & buttons */
.link-arrow {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
}
.link-arrow::after { content: "\2192"; margin-left: 0.6em; }
.link-arrow--light { color: var(--ivory); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  background: var(--umber);
  border: 0;
  border-radius: 999px;
  padding: 1.05rem 2.4rem;
  cursor: pointer;
  transition: background 0.25s ease;
}
.btn:hover { background: var(--espresso); }

/* ================================================================
   Header
   ================================================================ */
.site-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 2.1rem var(--gutter) 0;
  color: var(--ivory);
}
.page-light .site-head {
  position: static;
  color: var(--umber);
  padding-bottom: 1rem;
}
.site-head__brand { display: block; }
.site-head__brand img {
  display: block;
  height: clamp(48px, 5.5vw, 64px);
  width: auto;
}
.nav-toggle { display: none; }
.nav-backdrop { display: none; }
.site-head__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}
.site-head__nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-head__nav a:hover { border-color: currentColor; }

/* ================================================================
   Hero
   ================================================================ */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero__media {
  position: relative;
  height: clamp(620px, 96vh, 1000px);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12rem;
  background: linear-gradient(rgba(38, 32, 26, 0.42), rgba(38, 32, 26, 0));
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(rgba(38, 32, 26, 0), rgba(38, 32, 26, 0.28) 55%, rgba(38, 32, 26, 0.6));
}
.hero__tag {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: max-content;
  max-width: min(34em, 84vw);
  color: var(--espresso);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.8;
  text-shadow: 0 0 4px rgba(244, 239, 230, 0.6), 0 0 22px rgba(244, 239, 230, 0.5);
}
.hero__word {
  position: absolute;
  bottom: -0.045em;
  left: 0;
  right: 0;
  z-index: 2;
  color: var(--ivory);
}

/* Hero load animation */
.hero__word span {
  display: inline-block;
  transform: translateY(0.35em);
  opacity: 0;
  animation: word-rise 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.hero__word span:nth-child(1) { animation-delay: 0.1s; }
.hero__word span:nth-child(2) { animation-delay: 0.25s; }
.hero__word span:nth-child(3) { animation-delay: 0.4s; }
.hero__word span:nth-child(4) { animation-delay: 0.55s; }
@keyframes word-rise {
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__word span { animation: none; transform: none; opacity: 1; }
}

/* ================================================================
   Philosophy
   ================================================================ */
.philosophy {
  position: relative;
  text-align: center;
  padding: var(--section-gap) var(--gutter);
  overflow: hidden;
}
.philosophy__ghost {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--devanagari);
  font-size: clamp(11rem, 30vw, 26rem);
  line-height: 1;
  color: #EDE7DA;
  z-index: -1;
  pointer-events: none;
}
.philosophy .statement { margin-top: 1.75rem; }
.philosophy__body {
  max-width: 34em;
  margin: 2rem auto 0;
  color: rgba(70, 57, 44, 0.8);
}

/* ================================================================
   Services
   ================================================================ */
.services {
  padding: var(--section-gap) var(--gutter);
  border-top: 1px solid var(--line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--ivory);
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.service__icon {
  width: 56px;
  height: 56px;
  stroke: var(--umber);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.5rem;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.service p { font-size: 0.92rem; color: rgba(70, 57, 44, 0.8); }

.services__list {
  margin-top: 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: center;
}

/* ================================================================
   Projects
   ================================================================ */
.projects {
  padding: var(--section-gap) var(--gutter);
  border-top: 1px solid var(--line);
}
.project-set { margin-top: clamp(3.5rem, 8vh, 6rem); }
.project-set:first-of-type { margin-top: 0; }
.project-set__head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.5rem);
}
.project-set__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--teak);
}
.project-set__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
}
.project-set__desc {
  margin-left: auto;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--olive);
  text-align: right;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: end;
}
.tile { position: relative; }
.tile:nth-child(4n+2) { transform: translateY(clamp(1.5rem, 4vw, 3.5rem)); }
.tile:nth-child(4n+4) { transform: translateY(clamp(1rem, 3vw, 2.5rem)); }
.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.tile--arch img { border-radius: 999px 999px 0 0; }
.tile:hover img { transform: scale(1.025); }
.tile figcaption {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}

/* Portfolio cards */
.portfolio {
  padding: var(--section-gap) var(--gutter);
  border-top: 1px solid var(--line);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.45s ease;
}
.pcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(38, 32, 26, 0.1);
}
.pcard__media { overflow: hidden; }
.pcard__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.6rem 1.8rem;
}
.pcard__meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
}
.pcard__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
}
.pcard__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(70, 57, 44, 0.8);
  margin-bottom: 1.1rem;
}
.pcard__btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--umber);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--umber);
  transition: background 0.3s ease, color 0.3s ease;
}
.pcard:hover .pcard__btn { background: var(--umber); color: var(--ivory); }
.portfolio__cta {
  margin-top: clamp(2.75rem, 6vh, 4.5rem);
  text-align: center;
}
.portfolio--page { border-top: none; padding-top: clamp(2.5rem, 6vh, 4.5rem); }

/* Project detail pages */
.pdetail {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) var(--gutter) var(--section-gap);
}
.pdetail__intro {
  margin-top: 1.4rem;
  max-width: 36em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(70, 57, 44, 0.85);
}
.pdetail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}
.pdetail__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.pdetail__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  margin-bottom: 2.4rem;
}
.pdetail__facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}
.pdetail__facts dt {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.4rem;
}
.pdetail__facts dd {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
}
.pdetail__story p {
  margin-bottom: 1.15rem;
  line-height: 1.75;
  color: rgba(70, 57, 44, 0.85);
}
.pdetail__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.9rem;
  margin-top: 2.4rem;
}
.pgallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(3rem, 8vh, 5rem);
}
.pgallery figure:first-child { grid-column: 1 / -1; }
.pgallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.pgallery figure:first-child img { aspect-ratio: 16 / 9; }

/* ================================================================
   Design to reality (dark band)
   ================================================================ */
.reality {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  background: var(--espresso);
  color: var(--ivory);
  padding: var(--section-gap) var(--gutter);
}
.reality .section-title { color: var(--ivory); }
.reality__text > p:not(.eyebrow) {
  margin-top: 1.5rem;
  max-width: 30em;
  color: rgba(244, 239, 230, 0.78);
}
.reality__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.reality__media figure:nth-child(2) { transform: translateY(clamp(1.5rem, 3vw, 3rem)); }
.reality__media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.reality__media figure:first-child img { border-radius: 999px 999px 0 0; }

/* ================================================================
   Journey
   ================================================================ */
.journey {
  padding: var(--section-gap) var(--gutter);
}
.journey .section-head { text-align: center; }
.journey__list {
  list-style: none;
  max-width: 60rem;
  margin-inline: auto;
}
.stage {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(1.5rem, 3vh, 2.25rem) 0;
  border-top: 1px solid var(--line);
}
.journey__list .stage:last-child { border-bottom: 1px solid var(--line); }
.stage__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--teak);
}
.stage__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
}
.stage__body p {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: rgba(70, 57, 44, 0.75);
}
.stage__time {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}
.journey__note {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--olive);
}

/* ================================================================
   Founder (teak band)
   ================================================================ */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  background: var(--teak);
  color: var(--ivory);
  padding: var(--section-gap) var(--gutter);
}
.founder .section-title { color: var(--ivory); }
.founder__media {
  width: min(420px, 100%);
  justify-self: end;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.founder__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.founder__text > p:not(.eyebrow) {
  margin-top: 1.5rem;
  max-width: 32em;
  color: rgba(244, 239, 230, 0.85);
}
.founder__sig {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}

/* ================================================================
   Contact
   ================================================================ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  background: var(--espresso);
  color: var(--ivory);
  padding: var(--section-gap) var(--gutter);
}
.contact .section-title { color: var(--ivory); }
.contact__note {
  margin-top: 1.5rem;
  max-width: 30em;
  color: rgba(244, 239, 230, 0.75);
}
.contact__info {
  list-style: none;
  margin-top: 2.75rem;
  max-width: 30em;
}
.contact__info li {
  border-top: 1px solid var(--line-light);
  padding: 1.35rem 0;
}
.contact__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teak);
  margin-bottom: 0.55rem;
}
.contact__label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--teak);
  transform: rotate(45deg);
  margin-right: 0.7rem;
  vertical-align: 1px;
}
.contact__info p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
}
.contact__info a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Enquiry panel */
.contact__panel {
  background: rgba(244, 239, 230, 0.035);
  border: 1px solid var(--line-light);
  padding: clamp(1.75rem, 3.5vw, 3rem);
}
.contact__panel-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
}
.contact__panel-sub {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.65);
}
.form {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.4rem;
  text-align: left;
}
.form__honey { display: none; }
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
}
.field .req { color: var(--teak); margin-left: 0.2em; }
.field input,
.field select,
.field textarea {
  border: 1px solid rgba(244, 239, 230, 0.22);
  border-radius: 2px;
  background: rgba(244, 239, 230, 0.05);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ivory);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teak);
}
.field ::placeholder { color: rgba(244, 239, 230, 0.35); }
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A98963' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field--wide { grid-column: 1 / -1; }
.form__submit {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
}
.btn--panel {
  width: 100%;
  border-radius: 2px;
  background: var(--teak);
  color: var(--espresso);
  letter-spacing: 0.2em;
}
.btn--panel:hover { background: #BA9C74; }
.form__privacy {
  margin-top: 1rem;
  font-size: 0.72rem;
  text-align: center;
  color: rgba(244, 239, 230, 0.45);
}

/* Thanks page */
.thanks {
  text-align: center;
  padding: clamp(9rem, 22vh, 13rem) var(--gutter) var(--section-gap);
  min-height: 60vh;
}
.thanks__mark {
  height: 64px;
  width: auto;
  margin: 0 auto 1.5rem;
}
.thanks__note {
  margin-top: 1.75rem;
  color: rgba(70, 57, 44, 0.75);
}
.thanks .btn { margin-top: 2.5rem; }

/* ================================================================
   Footer
   ================================================================ */
.site-foot {
  background: var(--espresso);
  color: var(--ivory);
  padding: var(--section-gap) var(--gutter) 0;
  overflow: hidden;
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 60rem;
  margin-inline: auto;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.8);
}
.site-foot__cols .eyebrow { margin-bottom: 0.75rem; }
.site-foot__cols a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.site-foot__legal {
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 230, 0.45);
}
.site-foot__word {
  color: var(--ivory);
  margin-top: 1.5rem;
  margin-bottom: -0.34em;
  opacity: 0.92;
}
.site-foot__mark {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

/* ================================================================
   WhatsApp float
   ================================================================ */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(38, 32, 26, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(38, 32, 26, 0.34);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ================================================================
   Reveal on scroll
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
  .tile[data-reveal].is-visible:nth-child(4n+2) { transform: translateY(clamp(1.5rem, 4vw, 3.5rem)); }
  .tile[data-reveal].is-visible:nth-child(4n+4) { transform: translateY(clamp(1rem, 3vw, 2.5rem)); }
  .tile[data-reveal]:nth-child(4n+2) { transform: translateY(calc(clamp(1.5rem, 4vw, 3.5rem) + 24px)); }
  .tile[data-reveal]:nth-child(4n+4) { transform: translateY(calc(clamp(1rem, 3vw, 2.5rem) + 24px)); }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .pdetail__grid { grid-template-columns: 1fr; }
  .pgallery { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .reality { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__media { justify-self: center; }
  .contact { grid-template-columns: 1fr; }
}

/* Mobile drawer navigation */
@media (max-width: 700px) {
  .site-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.25rem 0;
  }
  .site-head__brand img { height: 44px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    position: fixed;
    top: 1.1rem;
    right: 1.25rem;
    z-index: 80;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 50%;
    background: var(--espresso);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(38, 32, 26, 0.25);
    transition: background 0.25s ease;
  }
  .nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ivory);
    transition: transform 0.3s ease;
  }
  .nav-toggle.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle.open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-head__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 70;
    width: min(19rem, 80vw);
    background: var(--espresso);
    color: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 6.5rem 2.5rem;
    transform: translateX(102%);
    transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
    box-shadow: -12px 0 40px rgba(38, 32, 26, 0.3);
  }
  .site-head__nav.open { transform: none; }
  .site-head__nav a {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(38, 32, 26, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    .site-head__nav { transition: none; }
    .nav-backdrop { transition: none; }
  }
}

@media (max-width: 560px) {
  .hero__media { height: min(84vh, 680px); }
  .hero__tag { font-size: 0.74rem; top: 42%; width: 86vw; max-width: none; }
  .hero__tag br { display: none; }
  .form { grid-template-columns: 1fr; gap: 1.9rem; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .project-set__head { flex-wrap: wrap; gap: 0.6rem 1.25rem; }
  .project-set__desc { margin-left: 0; width: 100%; text-align: left; }
  .stage { grid-template-columns: 3rem 1fr; }
  .stage__time { grid-column: 2; }
  .site-foot__cols { grid-template-columns: 1fr; }
  .tile:nth-child(4n+2), .tile:nth-child(4n+4) { transform: none; }
  @media (prefers-reduced-motion: no-preference) {
    .tile[data-reveal]:nth-child(4n+2), .tile[data-reveal]:nth-child(4n+4) { transform: translateY(24px); }
    .tile[data-reveal].is-visible:nth-child(4n+2), .tile[data-reveal].is-visible:nth-child(4n+4) { transform: none; }
  }
}
