/* Loader, WhatsApp FAB, 3D tilt, sub-page chrome */

/* ============== loader ============== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
  will-change: opacity;
  animation: loaderAutoHide .7s ease 4.8s forwards;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
@keyframes loaderAutoHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-inner {
  text-align: center;
  color: var(--warm-white);
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.loader.gone .loader-inner {
  opacity: 0;
  transform: translateY(-10px) scale(.98);
}
.loader-mark {
  width: auto; height: auto;
  border-radius: 0;
  border: 0;
  display: block;
  margin: 0 auto 28px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}
.loader-mark::before {
  content: none;
}
.loader-tag {
  font-family: var(--display); font-style: italic; font-size: 22px;
  color: var(--brass-soft); margin-bottom: 18px;
}
.loader-bar {
  width: 220px; height: 1px; margin: 0 auto;
  background: rgba(255,255,255,.1); position: relative; overflow: hidden;
}
.loader-bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--terra), transparent);
  animation: shimmer 1.6s linear infinite;
}
.loader-pct {
  margin-top: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone-soft);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Loader logo — image on white badge over dark background */
.brand-mark { overflow: hidden; }
.loader-mark {
  overflow: visible;
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  display: inline-block;
  box-shadow: none;
}
.loader-logo-img {
  width: min(220px, 58vw);
  height: auto;
  display: block;
}
.loader-mark .brand-logo-img {
  width: min(220px, 58vw);
  height: auto;
  object-fit: contain;
}
.loader-mark .sr-text-logo {
  color: var(--ink);
  font-size: 20px;
}

/* smooth scroll site-wide for in-page anchors / hash nav */
html { scroll-behavior: smooth; }

/* ============== whatsapp FAB ============== */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px;
  z-index: 80;
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.wa-fab .btn-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .45), 0 0 0 6px rgba(37, 211, 102, .15);
  transition: box-shadow .35s var(--ease);
  position: relative;
}
.wa-fab:hover .btn-circle { box-shadow: 0 14px 36px rgba(37, 211, 102, .45), 0 0 0 6px rgba(37, 211, 102, .15); }
.wa-fab .btn-circle::before {
  content: ""; position: absolute; inset: -2px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .35);
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(.9); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-fab .btn-circle svg { width: 24px; height: 24px; fill: white; }
.wa-fab .label {
  display: none;
}

/* ============== 3D tilt ============== */
.tilt {
  transform-style: preserve-3d;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.tilt > * { transform: translateZ(20px); }
.service.tilt:hover { box-shadow: 0 30px 70px -20px rgba(14,13,11,.5); z-index: 2; }
.tile.tilt:hover    { box-shadow: 0 30px 70px -20px rgba(14,13,11,.5); }

/* ============== page hero (sub-pages) ============== */
.page-hero {
  background: var(--ink); color: var(--warm-white);
  padding: 140px var(--gutter) 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--page-hero-bg) center/cover no-repeat;
  opacity: var(--page-hero-op, .35);
  filter: saturate(1.05);
  animation: kenburns 22s ease-out forwards;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,.5), rgba(14,13,11,.85));
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
.crumb {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--brass-soft); margin-bottom: 28px;
}
.crumb a { color: var(--brass-soft); }
.crumb a:hover { color: var(--terra-soft); }
.crumb .sep { color: var(--stone); }
.page-hero h1 {
  color: var(--warm-white);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.page-hero h1 .italic { color: var(--terra-soft); }
.page-hero p.lead {
  color: rgba(250, 247, 241, .82);
  margin: 28px auto 0;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 60ch;
}

/* page sections */
.page-section { padding: clamp(60px, 8vw, 120px) var(--gutter); }
.page-section.alt { background: var(--paper); }
.page-section.dark { background: var(--ink); color: var(--warm-white); }
.page-section.dark h2 { color: var(--warm-white); }
.page-wrap { max-width: var(--max); margin: 0 auto; }

.split-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.split-grid.flip { grid-template-columns: 1.1fr 1fr; }
.split-grid.flip .split-text { order: 2; }
@media (max-width: 900px) {
  .split-grid, .split-grid.flip { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.flip .split-text { order: 0; }
}
.split-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.split-text h2 { font-size: clamp(36px, 4vw, 60px); margin-bottom: 22px; line-height: 1.05; font-weight: 300; }
.split-text p { color: var(--ink-soft); font-size: 16px; max-width: 56ch; margin-bottom: 16px; }

.about-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); }
.about-intro-img {
  position: relative;
  min-height: clamp(520px, 54vw, 720px);
  background-position: center;
}
.about-intro-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(14,13,11,.62));
  border-radius: inherit;
}
.about-intro-img-tag {
  position: absolute;
  left: clamp(22px, 3vw, 36px);
  bottom: clamp(22px, 3vw, 36px);
  z-index: 1;
  color: var(--warm-white);
  display: grid;
  gap: 6px;
}
.about-intro-img-tag span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250,247,241,.7);
}
.about-intro-img-tag strong {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1;
}
.about-intro-copy { align-self: center; }
.about-intro-copy .about-admin-copy { margin-top: 24px; }
.about-intro-copy .about-admin-copy > :last-child { margin-bottom: 0; }
.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 34px;
}
.about-proof-row div {
  background: var(--bone);
  min-height: 118px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-proof-row strong {
  color: var(--terra);
  font-size: 12px;
  letter-spacing: .18em;
}
.about-proof-row span {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.08;
}
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img {
    min-height: 0;
    aspect-ratio: 4 / 4.75;
    background-position: center 22%;
  }
}
@media (max-width: 620px) {
  .about-proof-row { grid-template-columns: 1fr; }
  .about-proof-row div { min-height: 92px; }
}

/* deliverables / inclusions */
.deliv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: 50px;
}
@media (max-width: 800px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .deliv-grid { grid-template-columns: 1fr; } }
.deliv {
  background: var(--bone); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
}
.deliv .ico {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.deliv h4 { font-family: var(--display); font-size: 24px; font-weight: 400; }
.deliv p { color: var(--ink-soft); font-size: 14.5px; }

/* service detail depth */
.service-depth {
  background: var(--bone);
}
.service-depth-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.service-depth-panel {
  background: var(--warm-white);
  padding: clamp(30px, 4vw, 48px);
  min-height: 380px;
}
.service-depth-panel.dark {
  background: var(--ink);
  color: var(--warm-white);
}
.service-depth-panel .panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terra);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.service-depth-panel .panel-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.service-depth-panel h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 28px;
}
.service-depth-panel.dark h3 {
  color: var(--warm-white);
}
.service-depth-panel ul {
  list-style: none;
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.service-depth-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.service-depth-panel.dark li,
.service-depth-panel.dark p {
  color: rgba(250, 247, 241, .72);
}
.service-depth-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
}
.service-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(250, 247, 241, .14);
}
.service-steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(250, 247, 241, .14);
}
.service-steps span {
  color: var(--terra-soft);
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
}
.service-steps p {
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 1000px) {
  .service-depth-grid { grid-template-columns: 1fr; }
  .service-depth-panel { min-height: 0; }
}

/* pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
@media (max-width: 800px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--warm-white);
  padding: 40px 32px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.tier.featured { background: var(--ink); color: var(--warm-white); border-color: var(--ink); transform: scale(1.02); }
.tier.featured h3 { color: var(--warm-white); }
.tier h3 { font-size: 32px; font-weight: 400; }
.tier .price { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1; color: var(--terra); }
.tier.featured .price { color: var(--terra-soft); }
.tier .price small { font-size: 14px; color: var(--stone); font-family: var(--sans); display: block; margin-top: 4px; }
.tier ul { list-style: none; display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier.featured ul { border-color: #2a2520; }
.tier ul li { font-size: 14.5px; padding-left: 22px; position: relative; }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--terra); font-weight: 700; }
.tier .btn { align-self: flex-start; margin-top: 8px; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-index .blog-feature { margin-bottom: 42px; }
.journal-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.journal-intro .h-section { margin-top: 14px; }
@media (max-width: 800px) {
  .journal-intro { grid-template-columns: 1fr; }
}
.journal-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0 0 42px;
  padding: 12px 8px 26px;
  margin-inline: -8px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.journal-filter::-webkit-scrollbar {
  display: none;
}
.journal-filter :is(a, button) {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.journal-filter :is(a, button):hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--ink), 0 12px 26px rgba(14, 13, 11, .08);
}
.journal-filter :is(a, button).active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}
.journal-filter :is(a, button).active:hover,
.journal-filter :is(a, button).active:focus-visible {
  border-color: var(--terra);
  box-shadow: 0 0 0 2px rgba(200, 100, 44, .78), 0 14px 30px rgba(14, 13, 11, .14);
}
.journal-filter :is(a, button):focus-visible {
  outline: 0;
  border-color: var(--terra);
  box-shadow: 0 0 0 2px rgba(200, 100, 44, .72);
}
.journal-filter button span {
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(200,100,44,.12);
  color: var(--terra);
  font-size: 10px;
  letter-spacing: 0;
}
.journal-filter button.active span {
  background: rgba(250,247,241,.16);
  color: var(--warm-white);
}
[data-journal-card] {
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
[data-journal-card][hidden] {
  display: none !important;
}
.post-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bone);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); }
.post-card .img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.post-card .body { padding: 0 24px 28px; }
.post-card .meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.post-card .meta .cat { color: var(--terra); font-weight: 600; }
.post-card h3 { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.post-card p { color: var(--ink-soft); font-size: 14.5px; }
.post-card .more {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.blog-pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.blog-pagination a,
.blog-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-pagination .current,
.blog-pagination a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}
.related-journal {
  background: var(--paper);
  overflow: hidden;
}
.related-carousel {
  position: relative;
  padding: 0 62px;
}
.related-carousel-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 0 8px;
}
.related-carousel-track::-webkit-scrollbar {
  display: none;
}
.related-carousel-track .post-card {
  flex: 0 0 calc((100% - 64px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.related-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(213, 96, 39, .65);
  background: rgba(250, 247, 241, .88);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  transform: translateY(-50%);
  box-shadow: 0 18px 42px rgba(14, 13, 11, .12);
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}
.related-carousel-btn:hover {
  background: var(--ink);
  color: var(--warm-white);
  transform: translateY(-50%) scale(1.04);
}
.related-carousel-btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.related-prev {
  left: 0;
}
.related-next {
  right: 0;
}
@media (max-width: 1000px) {
  .related-carousel-track .post-card { flex-basis: calc((100% - 32px) / 2); }
}
@media (max-width: 700px) {
  .related-carousel { padding: 0; }
  .related-carousel-track {
    gap: 18px;
    padding-right: 18vw;
  }
  .related-carousel-track .post-card {
    flex-basis: min(82vw, 360px);
  }
  .related-carousel-btn {
    display: none;
  }
}

/* article body (single post) */
.article-body.article-luxury {
  padding: clamp(70px, 8vw, 120px) var(--gutter);
  background:
    linear-gradient(90deg, rgba(216,207,190,.55) 1px, transparent 1px) 0 0/25% 100%,
    var(--bone);
}
.article-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 820px);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 14px;
}
.article-sidebar-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.article-sidebar-card .k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.article-sidebar-card strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.article-back {
  margin-top: 14px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.article {
  max-width: 820px; margin: 0;
  padding: 0;
}
.article > * { margin-bottom: 24px; }
.article-intro {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  color: var(--ink);
  margin: 34px 0 40px;
  text-wrap: balance;
}
.article h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 40px; margin-bottom: 16px; font-weight: 400; }
.article h3 { font-size: 26px; margin-top: 28px; margin-bottom: 12px; font-weight: 500; }
.article p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.article p.dropcap::first-letter {
  font-family: var(--display); font-style: italic; color: var(--terra);
  font-size: 80px; float: left; line-height: .85; padding: 6px 12px 0 0;
}
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.article blockquote {
  border-left: 2px solid var(--terra);
  padding: 16px 0 16px 28px;
  font-family: var(--display); font-style: italic;
  font-size: 26px; line-height: 1.35; color: var(--ink);
  max-width: 60ch;
  margin: 28px 0;
}
.article img { width: 100%; border-radius: 4px; margin: 28px 0; }
.article .byline {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 0; margin-bottom: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article .byline .av {
  width: 52px; height: 52px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.article .byline strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; }
.article .byline span { font-size: 12px; color: var(--stone); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) {
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(3, 1fr);
  }
  .article-sidebar .eyebrow,
  .article-back { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .article-sidebar { grid-template-columns: 1fr; }
}

/* sticky-cta strip */
.cta-strip {
  background: var(--ink); color: var(--warm-white);
  padding: 60px var(--gutter);
  text-align: center;
}
.cta-strip h2 { color: var(--warm-white); font-size: clamp(32px, 4vw, 48px); font-weight: 300; margin-bottom: 14px; }
.cta-strip p { color: rgba(250, 247, 241, .7); margin-bottom: 24px; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ============== sub-page utilities ============== */
.page-wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }

/* portfolio filters & grid */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
#port-filters .chip {
  background: transparent; border: 1px solid var(--line);
  padding: 13px 24px; border-radius: 100px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  position: relative;
  z-index: 1;
  min-height: 50px;
  min-width: 136px;
  white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
#port-filters .chip:hover {
  background: rgba(14,13,11,.04);
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}
#port-filters .chip.active {
  background: var(--ink);
  color: var(--warm-white);
  border-color: var(--ink);
}
#port-filters .chip.active:hover {
  background: var(--ink);
  color: var(--warm-white);
}
#port-filters .chip .count {
  font-size: 10px; opacity: .55;
  font-family: var(--display); font-style: italic;
  letter-spacing: 0;
}
.port-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px;
}
@media (max-width: 900px) { .port-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
@media (max-width: 600px) { .port-grid { grid-template-columns: 1fr; } }
.port-card {
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit;
  transition: transform .45s var(--ease);
}
.port-card .img {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(14,13,11,.06);
  transition: box-shadow .45s var(--ease), filter .45s var(--ease);
}
.port-card:hover { transform: translateY(-6px); }
.port-card:hover .img {
  filter: saturate(1.06) contrast(1.04);
  box-shadow: 0 22px 45px -22px rgba(14,13,11,.42);
}
.port-card .port-body { padding: 0 4px; }
.port-card .cat { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.port-card h3 { font-family: var(--display); font-size: 28px; font-weight: 400; margin: 6px 0 8px; line-height: 1.1; transition: color .25s var(--ease); }
.port-card:hover h3 { color: var(--terra); }
.port-card .port-meta { display: flex; gap: 8px; font-size: 12px; color: var(--stone); letter-spacing: .04em; }
.port-card .port-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .72;
}
.port-card .port-more span {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.port-card:hover .port-more { opacity: 1; color: var(--terra); }
.port-card:hover .port-more span { transform: translateX(4px); }

/* project detail */
.proj-meta-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
@media (max-width: 800px) { .proj-meta-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.proj-meta-row .k { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 6px; }
.proj-meta-row strong { font-family: var(--display); font-size: 19px; font-weight: 400; }
.proj-narrative { max-width: 70ch; margin: 0 auto 60px; }
.proj-narrative p.lead { font-size: 22px; font-family: var(--display); line-height: 1.4; margin-bottom: 24px; color: var(--ink); }
.proj-narrative p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 18px; }
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(220px, 22vw, 340px));
  gap: clamp(10px, 1.2vw, 16px);
  align-items: stretch;
}
.proj-gallery .gimg {
  min-height: 0;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -34px rgba(14,13,11,.55);
}
.proj-gallery .gimg.tall {
  grid-column: span 4;
  grid-row: span 2;
}
.proj-gallery .gimg:not(.tall):not(.wide) {
  grid-column: span 4;
}
.proj-gallery .gimg.wide {
  grid-column: span 8;
  grid-row: span 1;
  height: auto;
}
@media (max-width: 900px) {
  .proj-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(190px, 38vw, 300px);
  }
  .proj-gallery .gimg,
  .proj-gallery .gimg.tall,
  .proj-gallery .gimg:not(.tall):not(.wide),
  .proj-gallery .gimg.wide {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }
  .proj-gallery .gimg.tall,
  .proj-gallery .gimg.wide {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .proj-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .proj-gallery .gimg.tall,
  .proj-gallery .gimg.wide {
    grid-column: auto;
  }
}

/* about page */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-grid .stat { background: var(--bone); padding: 50px 30px; text-align: center; }
.stats-grid .stat .num { font-family: var(--display); font-size: clamp(56px, 7vw, 96px); font-weight: 300; color: var(--terra); line-height: 1; display: inline-block; }
.stats-grid .stat .num .suf { font-size: .55em; vertical-align: top; margin-left: 4px; color: var(--terra-soft); }
.stats-grid .stat .lbl { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-grid .value { background: var(--bone); padding: 40px 36px; min-height: 200px; }
.value-grid .value h3 { font-family: var(--display); font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.value-grid .value p { color: var(--ink-soft); font-size: 15px; }

.about-approach-section { padding-top: clamp(40px, 6vw, 90px); }
.about-editorial {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 60px);
}
.about-editorial-copy {
  display: grid;
  gap: 18px;
  padding-top: 12px;
  max-width: 68ch;
}
.about-editorial-copy p {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.approach-card {
  min-height: 250px;
  padding: clamp(28px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250,247,241,.42);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.approach-card:hover {
  background: var(--warm-white);
  transform: translateY(-4px);
}
.approach-card span,
.workflow-item span {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--terra);
  margin-bottom: 22px;
}
.approach-card h3,
.workflow-item h3 {
  font-family: var(--display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  margin-bottom: 12px;
}
.approach-card p,
.workflow-item p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}
.about-choice-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(200,100,44,.14), transparent 28%),
    linear-gradient(135deg, #11100e 0%, #1a1714 42%, #0e0d0b 100%);
}
.about-choice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250,247,241,.045) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(180deg, rgba(250,247,241,.035) 1px, transparent 1px) 0 0 / 100% 34%;
  pointer-events: none;
}
.about-choice-section .page-wrap {
  position: relative;
  z-index: 1;
}
.choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  counter-reset: choice;
  background:
    linear-gradient(135deg, rgba(250,247,241,.12), rgba(250,247,241,.035));
  border: 1px solid rgba(250,247,241,.16);
  padding: 14px;
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}
.choice-list div {
  position: relative;
  min-height: 240px;
  padding: clamp(26px, 3vw, 38px);
  padding-right: clamp(54px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250,247,241,.075), rgba(250,247,241,.028)),
    rgba(255,255,255,.025);
  border: 1px solid rgba(250,247,241,.12);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  counter-increment: choice;
}
.choice-list div::before {
  content: "0" counter(choice);
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  right: clamp(24px, 3.2vw, 42px);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 1;
  color: rgba(216,152,94,.22);
  pointer-events: none;
}
.choice-list div::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  border-top: 1px solid rgba(216,152,94,.72);
  border-right: 1px solid rgba(216,152,94,.72);
  opacity: .62;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.choice-list div:hover {
  transform: translateY(-4px);
  border-color: rgba(216,152,94,.42);
  background:
    linear-gradient(180deg, rgba(250,247,241,.11), rgba(250,247,241,.04)),
    rgba(255,255,255,.035);
}
.choice-list div:hover::after {
  opacity: 1;
  transform: translate(4px, -4px);
}
.choice-list strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--warm-white);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.05;
  margin-bottom: 14px;
  max-width: 11ch;
}
.choice-list p {
  position: relative;
  z-index: 1;
  color: rgba(250,247,241,.7);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 34ch;
}
.workflow-list {
  border-top: 1px solid var(--line);
}
.workflow-item {
  display: grid;
  grid-template-columns: 90px minmax(220px, .6fr) 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.workflow-item span { margin-bottom: 0; }
.workflow-item h3 { margin-bottom: 0; }
@media (max-width: 1000px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid,
  .about-editorial { grid-template-columns: 1fr; }
  .choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .approach-grid { grid-template-columns: 1fr; }
  .choice-list {
    grid-template-columns: 1fr;
  }
  .choice-list div {
    min-height: 210px;
    padding-right: clamp(26px, 3vw, 38px);
  }
  .choice-list div::before {
    right: clamp(20px, 8vw, 34px);
    opacity: .7;
  }
  .choice-list strong {
    max-width: none;
  }
  .workflow-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { text-align: left; }
.team-card .avatar { aspect-ratio: 1/1; background-size: cover; background-position: center; border-radius: 4px; margin-bottom: 16px; filter: grayscale(.15); transition: filter .4s var(--ease); }
.team-card:hover .avatar { filter: none; }
.team-card h4 { font-family: var(--display); font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.team-card p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); font-weight: 600; }

/* contact page */
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: 40px; } }

/* ============== HOME CONTACT SPLIT ============== */
.home-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .home-contact-split { grid-template-columns: 1fr; gap: 40px; } }

.home-contact-info { display: grid; gap: 0; }

.home-contact-image {
  margin-top: 32px;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.home-contact-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,13,11,.6));
}
.home-contact-image-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  z-index: 1;
  background: rgba(14,13,11,.55);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--warm-white);
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
}

.proj-scope-list {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.proj-scope-list h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  margin-bottom: 16px;
}
.proj-scope-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.proj-scope-list li {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 14px 16px;
}
@media (max-width: 700px) {
  .proj-scope-list ul {
    grid-template-columns: 1fr;
  }
}

.service-visuals {
  background: var(--paper);
  padding: 0 0 clamp(54px, 7vw, 96px);
}
.service-visual-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}
.service-visual-card {
  min-height: 240px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -90px 80px -90px rgba(14,13,11,.75);
}
.service-visual-card.large {
  grid-row: span 2;
  min-height: clamp(420px, 48vw, 620px);
}
@media (max-width: 800px) {
  .service-visual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-visual-card,
  .service-visual-card.large {
    min-height: 280px;
    grid-row: auto;
  }
}

/* ============== FORM ACTIONS ROW ============== */
.form-actions {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media (max-width: 600px) { .form-actions { grid-column: span 1; } }
.form-note {
  font-size: 12px;
  color: var(--stone);
  letter-spacing: .04em;
}
.form-sub {
  color: var(--stone);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.form-error {
  background: rgba(180,50,50,.08) !important;
  border-color: rgba(180,50,50,.3) !important;
  color: #7a2525 !important;
}
.contact-info h2 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 18px; font-weight: 300; }
.contact-info .lead { font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; max-width: 40ch; }
.info-block { padding: 16px 0; border-top: 1px solid var(--line); }
.info-block:last-of-type { border-bottom: 1px solid var(--line); }
.info-block .k { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); display: block; margin-bottom: 6px; font-weight: 600; }
.info-block p { font-size: 16px; line-height: 1.5; color: var(--ink); }
.info-block a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.info-block a:hover { border-color: var(--terra); }

.contact-form-card {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 48px 36px;
}
.contact-form-card h3 { font-family: var(--display); font-size: 32px; font-weight: 400; margin-bottom: 10px; }
.contact-form-card.form p { color: var(--ink); margin-bottom: 30px; }
@media (max-width: 600px) {
  .contact-form-card { padding: 28px 24px 32px; }
}
.full-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.full-form label { display: flex; flex-direction: column; gap: 8px; }
.full-form label.full { grid-column: span 2; }
@media (max-width: 600px) { .full-form { grid-template-columns: 1fr; } .full-form label.full { grid-column: span 1; } }
.full-form label span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.full-form input, .full-form select, .full-form textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); background: var(--warm-white);
  border-radius: 3px; outline: none;
  transition: border-color .2s;
}
.full-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-color: var(--warm-white);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%238C8275' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
.full-form input:focus, .full-form select:focus, .full-form textarea:focus { border-color: var(--ink); }
.full-form textarea { resize: vertical; font-family: var(--sans); }
.form-confirm {
  display: none; align-items: center; gap: 8px; padding: 16px;
  background: rgba(60, 110, 70, .1); border: 1px solid rgba(60, 110, 70, .3);
  color: #2d5a3a; border-radius: 3px;
  font-size: 14px;
}
.form-confirm.show { display: flex; }
.form-confirm-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #2d6a4f;
}

.map-card { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); position: relative; aspect-ratio: 16/7; }
.map-graphic { width: 100%; height: 100%; position: relative; }
.map-pin-label {
  position: absolute; left: 50%; top: 32%; transform: translateX(-50%);
  background: var(--warm-white); color: var(--ink);
  padding: 10px 16px; border-radius: 3px;
  font-family: var(--display); font-size: 16px; font-weight: 500;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  white-space: nowrap;
}
.map-pin-label span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-top: 2px; }

/* blog feature card */
.blog-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  text-decoration: none; color: inherit;
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
}
@media (max-width: 800px) { .blog-feature { grid-template-columns: 1fr; } }
.blog-feature .img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.blog-feature .body { padding: 50px 50px 50px 0; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 800px) { .blog-feature .body { padding: 30px 30px 40px; } }
.blog-feature .meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; }
.blog-feature .meta .cat { color: var(--terra); font-weight: 600; }
.blog-feature h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.1; margin-bottom: 14px; }
.blog-feature p { color: var(--ink-soft); font-size: 16px; max-width: 50ch; margin-bottom: 18px; }
.blog-feature .more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--terra); }

/* article body */
.article-body { padding: clamp(50px, 7vw, 90px) 0; background: var(--bone); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 32px; }
.article-meta .cat { color: var(--terra); font-weight: 600; }
.article-cover { aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: 4px; margin-bottom: 50px; }
.article-prose { max-width: 68ch; margin: 0 auto; }
.article-prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 22px; }
.article-prose h2 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; margin: 44px 0 18px; line-height: 1.15; }
.article-prose p.dropcap::first-letter {
  font-family: var(--display); font-style: italic; color: var(--terra);
  font-size: 78px; float: left; line-height: .82; padding: 8px 14px 0 0;
}
.article-foot { max-width: 68ch; margin: 60px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.article-foot .share { display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.article-foot .share .lbl { color: var(--stone); font-weight: 600; }
.article-foot .share a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.article-foot .share a:hover { border-color: var(--terra); }

/* btn variants used on sub-pages */
.btn.terra { background: var(--terra); color: var(--warm-white); border-color: var(--terra); }
.btn.terra:hover { background: var(--terra-deep, #a85436); border-color: var(--terra-deep, #a85436); }
.btn.lg { padding: 16px 28px; font-size: 13px; }
.btn.light { background: var(--warm-white); color: var(--ink); border-color: var(--warm-white); }
.btn.ghost { background: transparent; }

/* ================================================================
   DRAWER LINKS (mobile nav)
   ================================================================ */
.drawer-links { list-style: none; padding: 0; margin: 0; }
.drawer-links li a {
  display: block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--warm-white);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.drawer-links li a:hover { color: var(--terra-soft); background: rgba(255,255,255,.04); }

/* Portfolio CTA row */
.portfolio-cta-row {
  text-align: center;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  background: var(--bone);
}

/* Site media from supplied SR presentation assets */
.site-media {
  background: var(--paper);
  overflow: hidden;
}
.site-media .wrap {
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(72px, 8vw, 118px);
}
.site-media .section-head {
  margin-bottom: clamp(34px, 5vw, 56px);
}
.media-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250,247,241,.72);
}
.media-tab {
  appearance: none;
  border: 0;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--stone);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}
.media-tab.active {
  background: var(--ink);
  color: var(--warm-white);
}
.media-panel[hidden] {
  display: none;
}
.site-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.media-card,
.founder-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 20px 44px -32px rgba(14,13,11,.45);
}
.media-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--ink);
}
.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: var(--ink);
}
.site-media .media-card a.btn {
  display: none !important;
}
.media-card div,
.founder-card > div {
  padding: clamp(18px, 2vw, 24px);
  min-width: 0;
}
.media-card span,
.founder-card p {
  color: var(--stone);
}
.founder-card p {
  overflow-wrap: anywhere;
}
.media-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.media-card strong,
.founder-card h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.1;
}
.founder-card {
  display: flex;
  flex-direction: column;
}
.founder-card img {
  width: 100%;
  height: clamp(220px, 24vw, 340px);
  object-fit: cover;
  object-position: center 16%;
}
.founder-card h3 {
  margin: 8px 0 14px;
}
.founder-card .btn {
  margin-top: 18px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .site-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .site-media .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .site-media-grid,
  .founder-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-card img,
  .media-card video {
    height: auto;
    max-height: none;
    aspect-ratio: 9 / 16;
    object-fit: contain;
  }
  .founder-card img {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
  .founder-card {
    display: flex;
  }
}
@media (max-width: 420px) {
  .media-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .media-tab {
    padding: 0 12px;
  }
  .site-media-grid,
  .founder-card {
    grid-template-columns: 1fr;
  }
  .site-media .section-head h2 br {
    display: none;
  }
  .media-card div,
  .founder-card > div {
    padding: 18px 16px 20px;
  }
}

.portfolio-media {
  background: var(--paper);
}
.portfolio-media .wrap {
  padding-top: clamp(70px, 8vw, 112px);
}
.portfolio-media .media-tabs {
  margin-bottom: clamp(26px, 4vw, 42px);
}
.portfolio-media-carousel {
  position: relative;
}
.portfolio-media-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (clamp(18px, 2.4vw, 30px) * 2)) / 3);
  gap: clamp(18px, 2.4vw, 30px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.portfolio-media-grid::-webkit-scrollbar {
  display: none;
}
.portfolio-media .media-card {
  width: 100%;
  height: clamp(340px, 34vw, 540px);
  margin: 0;
  background: var(--warm-white);
  scroll-snap-align: start;
}
#portfolio-media-images .portfolio-media-grid {
  grid-auto-columns: calc((100% - (clamp(18px, 2.4vw, 30px) * 2)) / 3);
}
#portfolio-media-images .media-card {
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}
#portfolio-media-images .media-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portfolio-media .media-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(14,13,11,.24);
  border-radius: 50%;
  background: rgba(250,247,241,.9);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.portfolio-media .media-nav.prev {
  left: -28px;
}
.portfolio-media .media-nav.next {
  right: -28px;
}
.portfolio-media .media-nav:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--warm-white);
}
.portfolio-media .media-nav:active {
  transform: translateY(-50%) scale(.96);
}
.portfolio-media .media-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.portfolio-media .media-card video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: var(--ink);
}
.portfolio-media .instagram-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--warm-white);
  text-decoration: none;
  overflow: hidden;
}
.portfolio-media .instagram-media-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,0) 46%, rgba(14,13,11,.82));
  opacity: .92;
  transition: opacity .3s var(--ease);
}
.portfolio-media .instagram-media-link:hover::after {
  opacity: 1;
}
.portfolio-media .portfolio-image-link::after {
  content: none;
}
.portfolio-media .instagram-media-link img {
  transition: transform .55s var(--ease), filter .55s var(--ease);
}
.portfolio-media .instagram-media-link:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}
.portfolio-media .instagram-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: clamp(18px, 2vw, 24px);
  margin: 0;
  color: var(--warm-white);
}
.portfolio-media .instagram-card-caption span {
  color: rgba(250,247,241,.72);
}
.portfolio-media .instagram-card-caption strong {
  color: var(--warm-white);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.portfolio-media .reel-play {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14,13,11,.68);
  color: var(--warm-white);
  border: 1px solid rgba(250,247,241,.32);
  backdrop-filter: blur(10px);
}
.portfolio-media .portfolio-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  background: var(--ink);
  overflow: hidden;
}
.portfolio-media .portfolio-video-frame::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 42%;
  background: linear-gradient(180deg, rgba(14,13,11,.78), rgba(14,13,11,0));
  pointer-events: none;
}
.portfolio-media .portfolio-video-frame .instagram-card-caption {
  top: 0;
  bottom: auto;
  pointer-events: none;
}
.portfolio-media .portfolio-video-frame .instagram-card-caption strong {
  max-width: 12ch;
  display: block;
}
#portfolio-media-videos .portfolio-media-grid {
  grid-auto-columns: calc((100% - (clamp(16px, 2vw, 24px) * 2)) / 3);
}
#portfolio-media-videos .media-card {
  aspect-ratio: 9 / 14;
  height: auto;
}
#portfolio-media-videos .media-card video {
  object-fit: cover;
}
#portfolio-media-videos video::-webkit-media-controls-mute-button,
#portfolio-media-videos video::-webkit-media-controls-volume-slider,
#portfolio-media-videos video::-webkit-media-controls-volume-control-container {
  display: none !important;
}
@media (max-width: 1100px) {
  .portfolio-media-grid {
    grid-auto-columns: calc((100% - (clamp(16px, 2vw, 24px) * 2)) / 3);
  }
  #portfolio-media-images .portfolio-media-grid {
    grid-auto-columns: calc((100% - (clamp(16px, 2vw, 24px) * 2)) / 3);
  }
}
@media (max-width: 900px) {
  #portfolio-media-images .portfolio-media-grid {
    grid-auto-columns: calc((100% - clamp(16px, 2vw, 24px)) / 2);
  }
  #portfolio-media-videos .portfolio-media-grid {
    grid-auto-columns: calc((100% - clamp(16px, 2vw, 24px)) / 2);
  }
  .portfolio-media .media-nav.prev {
    left: -18px;
  }
  .portfolio-media .media-nav.next {
    right: -18px;
  }
}
@media (max-width: 760px) {
  .portfolio-media-grid {
    grid-auto-columns: calc((100% - clamp(16px, 2vw, 24px)) / 2);
  }
  #portfolio-media-images .portfolio-media-grid {
    grid-auto-columns: 76vw;
  }
  .portfolio-media .media-nav {
    width: 48px;
    height: 48px;
  }
  .portfolio-media .media-nav.prev { left: 8px; }
  .portfolio-media .media-nav.next { right: 8px; }
  .portfolio-media .media-card img {
    object-fit: cover;
    background: transparent;
  }
  .portfolio-media .media-card video {
    object-fit: cover;
  }
  #portfolio-media-videos .portfolio-media-grid {
    grid-auto-columns: 82vw;
  }
  #portfolio-media-videos .media-card {
    aspect-ratio: 9 / 14;
    height: auto;
  }
}
@media (max-width: 460px) {
  .portfolio-media-grid {
    grid-auto-columns: 82vw;
  }
  #portfolio-media-images .portfolio-media-grid {
    grid-auto-columns: 82vw;
  }
  .portfolio-media .media-card {
    height: 420px;
  }
  #portfolio-media-images .media-card {
    height: auto;
  }
  #portfolio-media-videos .media-card {
    aspect-ratio: 9 / 14;
    height: auto;
  }
}

/* Founder profile */
.founder-profile {
  background: var(--bone);
}
.about-founder-profile .wrap {
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
}
.founder-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}
.founder-portrait {
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 28px 70px -36px rgba(14,13,11,.55);
}
.founder-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center center;
}
.founder-copy .lead {
  margin-top: 20px;
  max-width: 62ch;
}
.founder-points {
  display: grid;
  gap: 1px;
  margin-top: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--line);
}
.founder-points div {
  background: var(--paper);
  padding: clamp(20px, 2.5vw, 28px);
}
.founder-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
}
.founder-points span {
  display: block;
  color: var(--ink-soft);
  line-height: 1.65;
}
.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 860px) {
  .founder-profile-grid {
    grid-template-columns: 1fr;
  }
  .founder-portrait {
    max-width: 420px;
  }
}

/* ================================================================
   HORIZONTAL SCROLL PORTFOLIO (home page)
   ================================================================ */
/* Sticky horizontal scroll, driven by page scroll on desktop */
.h-scroll-section {
  position: relative;
  z-index: 1;
  background: var(--bone);
  height: calc(100vh + var(--portfolio-scroll-distance, 1200px));
  min-height: 780px;
  overflow: visible;
}
.h-scroll-pin {
  position: sticky;
  top: 0;
  height: min(100vh, 900px);
  min-height: 720px;
  padding: clamp(34px, 3.8vw, 58px) 0 clamp(34px, 3.6vw, 52px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bone);
}
.h-scroll-section .wrap { padding-top: 0; padding-bottom: 0; flex-shrink: 0; }
.h-scroll-section .section-head {
  padding: 0 var(--gutter);
  margin-bottom: 12px;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
/* Compact heading so tiles get maximum height */
.h-scroll-section .h-section {
  font-size: clamp(34px, 4.2vw, 72px);
  line-height: 1.05;
}
.h-scroll-section .eyebrow { margin-bottom: 6px; }

/* Progress bar */
.h-scroll-bar {
  height: 2px;
  background: var(--line);
  margin: 0 var(--gutter) clamp(16px, 2vw, 24px);
  border-radius: 2px;
  overflow: hidden;
}
.h-scroll-bar-fill {
  height: 100%;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
}

/* Outer container — fills all height the flex section gives it */
.h-scroll-outer {
  width: calc(100% - var(--gutter) - var(--gutter));
  margin: 0 var(--gutter);
  flex: 1;
  height: auto;
  min-height: clamp(480px, 52vh, 580px);
  max-height: 585px;
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: grab;
  touch-action: pan-y;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.h-scroll-outer::-webkit-scrollbar { display: none; }
.h-scroll-outer.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* Flex track — inherits full height */
.h-scroll-track {
  display: flex;
  --tile-gap: clamp(18px, 1.45vw, 26px);
  gap: var(--tile-gap);
  padding: 0 0 clamp(16px, 1.8vw, 22px);
  width: max-content;
  height: 100%;
  will-change: transform;
}

/* Individual tile — fills track height, min guard for short viewports */
.h-tile {
  flex: 0 0 max(390px, calc((100vw - var(--gutter) - var(--gutter) - var(--tile-gap) - var(--tile-gap) - 74px) / 3));
  width: max(390px, calc((100vw - var(--gutter) - var(--gutter) - var(--tile-gap) - var(--tile-gap) - 74px) / 3));
  height: 100%;
  min-height: 0;
  border-radius: 9px;
  border: 1px solid rgba(14,13,11,.42);
  overflow: hidden;
  position: relative;
  display: block;
  scroll-snap-align: start;
  cursor: pointer;
  background: var(--ink-2);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 34px -18px rgba(14,13,11,.25);
  transition: border-color .35s var(--ease), box-shadow .5s var(--ease);
}
.h-tile:hover {
  border-color: rgba(200,100,44,.42);
  box-shadow: 0 26px 58px -18px rgba(14,13,11,.42);
}

/* Cover image with overflow for parallax */
.h-tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  transform: scale(1.02);
  transition: transform .7s var(--ease), filter .45s var(--ease);
}
.h-tile:hover .h-tile-img {
  filter: saturate(1.06) contrast(1.04);
}

/* Text overlay */
.h-tile-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  min-height: 48%;
  padding: 48px 28px 34px;
  background: linear-gradient(to top, rgba(14,13,11,.92) 60%, rgba(14,13,11,.3) 85%, transparent);
  color: var(--warm-white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.h-tile-body .cat {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-soft);
  font-weight: 600;
  margin-bottom: 10px;
}
.h-tile-body h4 {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 10px;
  line-height: 1.1;
}
.h-tile-body p {
  font-size: 14px;
  color: rgba(250,247,241,.7);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 36ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h-tile-body .more {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Area badge */
.h-tile-area {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(14,13,11,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--warm-white);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 3;
}

/* ── Mobile swipe carousel ─── */
@media (min-width: 769px) and (max-height: 760px) {
  .h-scroll-pin {
    height: 100vh;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 18px;
  }
  .h-scroll-section .section-head {
    margin-bottom: 6px;
  }
  .h-scroll-section .h-section {
    font-size: clamp(30px, 3.8vw, 58px);
  }
  .h-scroll-section .lead {
    font-size: 16px;
    line-height: 1.35;
  }
  .h-scroll-bar {
    margin-bottom: 14px;
  }
  .h-tile-body {
    padding: 36px 24px 28px;
  }
}

@media (max-width: 768px) {
  .h-scroll-section {
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .h-scroll-pin {
    position: relative;
    height: auto;
    padding: clamp(64px, 14vw, 86px) 0 0;
    display: block;
  }
  .h-scroll-outer {
    flex: none;
    height: auto;
    min-height: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    cursor: grab;
    padding-bottom: 4px;
  }
  .h-scroll-track {
    gap: 16px;
    padding: 0 20px 48px;
    height: auto;
  }
  .h-tile {
    flex: 0 0 min(300px, 80vw);
    width: min(300px, 80vw);
    height: auto;
    min-height: 0;
    aspect-ratio: 3/4;
    scroll-snap-align: start;
  }
  .h-tile-body {
    padding: 20px 20px 24px;
  }
  .h-tile-body h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .h-tile-body p {
    display: none;
  }
  .h-scroll-bar { display: none; }
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section { padding: clamp(60px,8vw,110px) 0; background: var(--bone); }
.faq-wrap { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.faq-head { margin-bottom: 52px; }
.faq-item {
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--terra); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.faq-icon svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .3s var(--ease);
}
.faq-item.open .faq-icon { background: var(--terra); border-color: var(--terra); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { stroke: var(--warm-white); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom .4s var(--ease);
}
.faq-item.open .faq-a-inner { padding-bottom: 24px; }
.faq-a-inner p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 68ch; }

/* Hero CTA stays above scroll-cue (which sits at bottom: 22px + ~54px) */
.hero-inner { padding-bottom: 100px; }

/* ================================================================
   MOBILE GLOBAL POLISH
   ================================================================ */
@media (max-width: 768px) {
  .loader-mark {
    margin-bottom: 18px;
  }

  .loader-logo-img,
  .loader-mark .brand-logo-img {
    width: min(154px, 40vw);
  }

  .loader-tag {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .loader-bar {
    width: min(170px, 46vw);
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip;
    }
  }

  .nav,
  .topbar,
  .hero,
  .stats,
  .process,
  .marquee,
  .cta-banner,
  .cta-strip,
  .page-section,
  footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .journal-filter {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .marquee,
  .h-scroll-section,
  .h-scroll-pin {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }

  .drawer {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
  }

  /* Nav */
  .nav-inner { padding: 10px 20px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 88px; height: 44px; border-radius: 12px; }
  .foot-brand .foot-brand-mark {
    width: 148px;
    height: auto;
    min-width: 0;
    min-height: 0;
    overflow: visible;
  }
  .foot-brand .footer-logo-img {
    width: 148px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
  }
  .nav-brand-mark {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  /* Hero — maintain bottom clearance for scroll-cue on mobile too */
  .h-display { font-size: clamp(40px, 11vw, 72px); }
  .hero-inner { padding: 60px var(--gutter) 90px; }
  .hero-meta .lead { font-size: 15px; }
  .hero-cta-row { flex-wrap: wrap; gap: 12px; }
  .hero-cta-row .btn,
  .cta-banner .btn,
  .cta-strip .btn,
  .portfolio-cta-row .btn,
  .tier .btn {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Sections — ONLY override horizontal padding, preserve vertical breathing room */
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section-head { margin-bottom: 32px; }
  .h-section { font-size: clamp(32px, 8vw, 54px); }

  /* About strip */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img-stack {
    min-height: 0;
    aspect-ratio: 1 / 1.18;
    margin-bottom: 4px;
  }
  .about-img-stack .a {
    inset: 0 12% 10% 0;
  }
  .about-img-stack .b {
    right: 0;
    bottom: 0;
    width: 38%;
    border-width: 6px;
  }
  .about-img-stack .badge {
    top: -18px;
    left: 0;
    width: 108px;
    height: 108px;
    font-size: 13px;
  }
  .about-img-stack .badge strong {
    font-size: 30px;
  }
  .wa-fab {
    right: 14px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .wa-fab .btn-circle {
    width: 46px;
    height: 46px;
  }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 0; }
  .stat { padding: 28px 16px; }

  /* Services carousel */
  .services-grid {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .service { padding: 0 24px 32px; }
  .service-img {
    width: calc(100% + 48px);
    margin: 0 -24px 10px;
  }

  /* Portfolio full grid */
  .filter-row {
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 -20px 34px;
    padding: 0 20px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-row::-webkit-scrollbar {
    display: none;
  }
  #port-filters .chip {
    flex: 0 0 auto;
    min-width: auto;
    min-height: 46px;
    padding: 12px 20px;
    scroll-snap-align: start;
  }
  .port-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .port-card .img { aspect-ratio: 3/4; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr; }
  .article-body.article-luxury {
    background: var(--bone);
  }
  .article h2 {
    position: relative;
    margin-top: 44px;
    padding-top: 34px;
  }
  .article h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,100,44,.72), transparent);
    transform: translateX(-50%);
  }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line-dark); padding: 36px 24px; }
  .step:last-child { border-bottom: none; }

  /* Before/after */
  .ba-stage {
    aspect-ratio: 4 / 4.25;
    min-height: 420px;
    max-height: 540px;
    background: var(--ink);
  }
  .ba-img {
    background-size: cover !important;
    background-position: center center;
  }

  /* Testimonial */
  .testimonial-stage { grid-template-columns: 1fr; }
  .t-image { display: none; }

  /* Footer */
  .foot-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 40px 20px 40px; }
  .foot-brand,
  .foot-cta { grid-column: 1 / -1; }
  .foot-col h4 { margin-bottom: 16px; font-size: 11px; letter-spacing: .18em; }
  .foot-col ul { gap: 12px; }
  .foot-col a { font-size: 14px; line-height: 1.35; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 20px; }

  /* Page hero */
  .page-hero { padding: 110px 20px 60px; }
  .page-hero h1 { font-size: clamp(38px, 10vw, 70px); }

  /* Contact */
  .contact-split { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .full-form { grid-template-columns: 1fr; }
  .full-form label.full { grid-column: span 1; }

  /* Project detail */
  .proj-meta-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .proj-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 240px;
  }
  .proj-gallery .gimg,
  .proj-gallery .gimg.tall,
  .proj-gallery .gimg:not(.tall):not(.wide),
  .proj-gallery .gimg.wide {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  /* Split grid */
  .split-grid { grid-template-columns: 1fr; gap: 28px; }
  .split-img { aspect-ratio: 4/3; }

  /* Value/stats grids */
  .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Deliverables */
  .deliv-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-section.page-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .faq-section .page-wrap {
    max-width: 100%;
  }
  .faq-q { font-size: 17px; padding: 18px 0; }

  /* CTA strip */
  .cta-strip { padding: 48px 20px; }
  .cta-strip h2 { font-size: clamp(26px, 7vw, 40px); }

  /* Marquee */
  .marquee-track { animation-duration: 20s; }
}

@media (max-width: 480px) {
  .port-grid { grid-template-columns: 1fr; }
  #port-filters .chip {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 11px;
    letter-spacing: .12em;
  }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 12px 20px; font-size: 12px; }
  .btn.lg { padding: 14px 22px; }
  .hero-cta-row .btn,
  .cta-banner .btn,
  .cta-strip .btn,
  .portfolio-cta-row .btn,
  .tier .btn {
    max-width: 100%;
    font-size: 11px;
    letter-spacing: .09em;
    padding-left: 14px;
    padding-right: 14px;
  }
}
