/* ===== Fudai 福戴 — Stylesheet ===== */

:root {
  --ink: #14110d;
  --ink-soft: #2a241d;
  --bone: #f6f2eb;
  --bone-soft: #ece5d8;
  --cream: #faf6ef;
  --paper: #ffffff;
  --line: #d8cfbf;
  --line-soft: #e9e2d4;
  --muted: #6b6358;
  --gold: #b8895a;
  --gold-soft: #d4a774;
  --rust: #a04a2a;
  --accent: var(--gold);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20,17,13,.05), 0 2px 8px rgba(20,17,13,.04);
  --shadow-md: 0 6px 20px rgba(20,17,13,.08), 0 2px 6px rgba(20,17,13,.05);
  --shadow-lg: 0 30px 60px -20px rgba(20,17,13,.25), 0 12px 24px rgba(20,17,13,.08);
  --serif: 'Fraunces', 'Noto Serif SC', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tr: 220ms cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--gold); }
em { font-style: italic; color: var(--ink); }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--ink); }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.btn .arrow { width: 16px; height: 16px; transition: transform var(--tr); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--ink-soft); color: var(--bone); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
  padding: 16px 28px;
}
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-gold strong { font-weight: 700; margin-left: 6px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,242,235,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--tr), border-color var(--tr);
}
.nav.is-scrolled {
  background: rgba(246,242,235,0.95);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--ink); color: var(--bone);
  border-radius: 10px;
  font-family: var(--serif); font-size: 20px; font-weight: 500;
}
.brand-name { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink); color: var(--bone);
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--ink-soft); color: var(--bone); }
.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  transition: all var(--tr);
}
.lang-toggle:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ===== Hero ===== */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,17,13,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,17,13,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,.6), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  margin-bottom: 22px;
}
.kicker {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 17px; line-height: 1.6;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  border-top: 1px solid var(--line); padding-top: 28px;
  max-width: 560px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-label {
  font-size: 12px; font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Hero visual photo */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.hv-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hv-photo.hv-photo-active { opacity: 1; }
.hv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,.05) 0%, rgba(20,17,13,.1) 50%, rgba(20,17,13,.55) 100%);
  pointer-events: none;
}
.hv-card {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(246,242,235,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  max-width: 70%;
}
.hv-card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ca97a;
  box-shadow: 0 0 0 4px rgba(76,169,122,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76,169,122,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(76,169,122,0.05); }
}
.hv-card-text { display: flex; flex-direction: column; line-height: 1.25; }
.hv-card-text strong { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.hv-card-text span { font-size: 14px; font-weight: 500; color: var(--ink); }
.hv-card-2 {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--gold); color: var(--ink);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  box-shadow: var(--shadow-md);
}
.hv-card-2 span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.hv-card-2 strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.hv-meta {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; justify-content: space-between;
  color: var(--bone);
  z-index: 2;
}
.hv-meta-block { display: flex; flex-direction: column; line-height: 1.2; }
.hv-meta-block span { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.hv-meta-block strong { font-family: var(--serif); font-size: 17px; font-weight: 500; margin-top: 4px; }

/* Hero thumbnail strip — tablet + mobile only */
.hero-thumbs {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hero-thumbs:hover { border-color: var(--gold); transform: translateY(-2px); }
.hero-thumb {
  flex: 1 1 0;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  min-width: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  box-shadow: 0 1px 3px rgba(20,17,13,0.08);
}
.hero-thumb-bath { background: linear-gradient(135deg, #c9a07a 0%, #8c6749 100%); }
.hero-thumb-spa  { background: linear-gradient(135deg, #a8b3b8 0%, #5c6d75 100%); }
.hero-thumb-ext  { background: linear-gradient(135deg, #b89a76 0%, #6a5236 100%); }
.hero-thumb-deck { background: linear-gradient(135deg, #2f3a3f 0%, #14110d 100%); }
.hero-thumb span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-thumbs-label {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 6px 0 4px;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-bone { background: var(--bone); }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--bone); }
.section-dark h2, .section-dark .stat-num, .section-dark .kicker { color: inherit; }
.section-dark .kicker { color: var(--gold-soft); }
.section-dark h2 em { color: var(--gold-soft); }
.section-dark .lede, .section-dark p { color: rgba(246,242,235,0.78); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 50px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-head .lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px; margin: 0 auto;
}

/* ===== Why Us pillars ===== */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.pillar:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.pillar-num {
  font-family: var(--serif);
  font-size: 14px; font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--muted); margin: 0; }

/* "20+" highlight inside the pillar title */
.hi-num {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.25em;
  letter-spacing: -0.02em;
  margin-right: 4px;
}

/* Pillars on a dark section */
.section-dark .pillar {
  background: rgba(246,242,235,0.05);
  border-color: rgba(246,242,235,0.12);
}
.section-dark .pillar h3 { color: var(--bone); }
.section-dark .pillar p { color: rgba(246,242,235,0.75); }
.section-dark .pillar:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.section-dark .pillar-num { color: var(--gold-soft); }
.section-dark .hi-num { color: var(--gold-soft); }

/* ===== Cases (Recent Work) ===== */
.section-cases { background: var(--bone); position: relative; }
.carousel {
  position: relative;
  margin: 0 -8px;
}
.carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 8px 24px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.case-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 320px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform var(--tr), box-shadow var(--tr);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink);
}
.case-img {
  margin: 0; position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.case-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.case-card:hover .case-img img { transform: scale(1.04); }
.case-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(20,17,13,0.78); color: var(--bone);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.case-tag-after { background: var(--gold); color: var(--ink); }
.case-meta { padding: 24px 26px 28px; }
.case-loc { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.case-meta h3 { font-size: 22px; margin-bottom: 10px; }
.case-meta p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.carousel-arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--tr);
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }
.carousel-arrow:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.carousel-arrow[disabled] { opacity: 0.3; cursor: default; pointer-events: none; }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: all var(--tr);
}
.carousel-dots button.is-active { background: var(--ink); width: 26px; border-radius: 999px; }

.cases-cta {
  text-align: center;
  margin-top: 36px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonials-carousel .carousel-track {
  align-items: stretch;
}
.testimonials-carousel .testimonial {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 280px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.testimonials-carousel .carousel-arrow {
  top: 50%;
  background: rgba(20,17,13,0.78);
  border-color: rgba(246,242,235,0.18);
  color: var(--bone);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.testimonials-carousel .carousel-arrow:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.testimonials-progress {
  margin-top: 22px;
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246,242,235,0.55);
}
.testimonials-progress strong {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
}
.testimonials-progress-sep { margin: 0 4px; opacity: 0.6; }
.testimonial {
  background: rgba(246,242,235,0.05);
  border: 1px solid rgba(246,242,235,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  position: relative;
  transition: transform var(--tr), border-color var(--tr);
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--gold); }
.testimonial-quote-mark {
  position: absolute;
  top: 14px; left: 24px;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--gold-soft);
  opacity: 0.45;
  line-height: 1;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--bone);
  margin: 18px 0 22px;
  position: relative; z-index: 1;
}
.testimonial-stars {
  display: flex; gap: 4px;
  margin-bottom: 22px;
}
.testimonial-stars span {
  width: 14px; height: 14px;
  background: var(--gold-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><polygon points='12,2 15,9 22,9.5 17,14.5 18.5,22 12,18 5.5,22 7,14.5 2,9.5 9,9'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><polygon points='12,2 15,9 22,9.5 17,14.5 18.5,22 12,18 5.5,22 7,14.5 2,9.5 9,9'/></svg>") center/contain no-repeat;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500;
  font-size: 15px;
}
.testimonial-name { font-weight: 600; color: var(--bone); font-size: 15px; }
.testimonial-role { font-size: 12px; color: rgba(246,242,235,0.65); margin-top: 2px; }

/* ===== 24/7 CTA Banner ===== */
.cta-banner {
  background: var(--gold);
  color: var(--ink);
  padding: 52px 0;
  position: relative;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-banner-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 8px;
}
.cta-banner h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0;
  color: var(--ink);
}
.cta-banner p { font-size: 15px; color: rgba(20,17,13,0.75); margin: 8px 0 0; }
.cta-banner .btn-gold {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.cta-banner .btn-gold:hover { background: var(--ink-soft); color: var(--bone); }

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 26px; margin-bottom: 10px; }
.svc-card > p { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.svc-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-card li {
  padding-left: 22px;
  position: relative;
  font-size: 14px; color: var(--ink-soft);
}
.svc-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.svc-card li strong { font-weight: 600; color: var(--ink); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--ink);
  padding-right: 30px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 0;
  font-family: var(--sans);
  font-size: 22px; font-weight: 300;
  color: var(--gold);
  transition: transform var(--tr);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

/* ===== Contact ===== */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 14px 0 18px; color: var(--bone); }
.contact-copy h2 em { color: var(--gold-soft); }
.contact-copy > p { color: rgba(246,242,235,0.75); font-size: 16px; margin-bottom: 26px; }
.contact-promises { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-promises li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--bone);
}
.contact-promises li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold-soft);
  font-weight: 700;
}
.contact-direct {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(246,242,235,0.15);
}
.contact-direct-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(246,242,235,0.15);
  transition: padding-left var(--tr);
}
.contact-direct-row:hover { padding-left: 6px; color: var(--gold-soft); }
.contact-direct-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(246,242,235,0.65); }
.contact-direct-value { font-family: var(--serif); font-size: 17px; color: var(--bone); }

.contact-form {
  background: rgba(246,242,235,0.04);
  border: 1px solid rgba(246,242,235,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.contact-form .field { display: flex; flex-direction: column; }
.contact-form .field-wide { grid-column: 1 / -1; }
.contact-form label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(246,242,235,0.75);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(246,242,235,0.05);
  border: 1px solid rgba(246,242,235,0.18);
  border-radius: 10px;
  color: var(--bone);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(212,167,116,0.18);
  background: rgba(246,242,235,0.08);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4a774' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.contact-form select option { color: var(--ink); background: var(--bone); }
.contact-form button[type=submit] {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--tr), transform var(--tr);
}
.contact-form button[type=submit]:hover { background: var(--gold-soft); transform: translateY(-1px); }
.contact-form button[type=submit][disabled] { opacity: 0.7; cursor: wait; transform: none; }
.contact-form button .arrow { width: 16px; height: 16px; }
.form-status {
  grid-column: 1 / -1;
  font-size: 13px;
  min-height: 18px;
  color: rgba(246,242,235,0.85);
}
.form-status.is-success { color: #8fd6a7; }
.form-status.is-error { color: #f08d7a; }

/* ===== Footer ===== */
.footer {
  background: #0e0c08;
  color: rgba(246,242,235,0.7);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(246,242,235,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 46px; height: 46px; background: var(--gold); color: var(--ink); }
.footer-name { font-family: var(--serif); font-size: 22px; color: var(--bone); }
.footer-tag { font-size: 13px; margin-top: 2px; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 4px; }
.footer-contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(246,242,235,0.5); }
.footer-contact-item a { color: var(--bone); font-size: 14px; }
.footer-contact-item a:hover { color: var(--gold-soft); }
.footer-meta {
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(246,242,235,0.55);
}
.footer-legal { display: flex; gap: 16px; }

/* ===== Cases page-specific ===== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex; align-items: flex-end;
  padding: 64px 0 56px;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.45) 0%, rgba(20,17,13,0.78) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--bone); font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero .lede { color: rgba(246,242,235,0.78); max-width: 640px; font-size: 17px; }

.case-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 80px;
}
.case-index-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.case-index-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.case-index-num { font-family: var(--serif); font-size: 14px; color: var(--gold); }
.case-index-card h3 { font-size: 19px; }
.case-index-card span { font-size: 13px; color: var(--muted); }

.case-study {
  scroll-margin-top: 80px;
  margin-bottom: 96px;
}
.case-study-head { margin-bottom: 30px; }
.case-study-loc { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.case-study-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.case-study-head p { color: var(--muted); max-width: 720px; font-size: 16px; }
.case-big-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 36px;
}
.case-big-pair figure {
  margin: 0; position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-big-pair img { width: 100%; height: 100%; object-fit: cover; }
.case-big-pair .case-tag { top: 16px; left: 16px; }

.journey-title {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 18px;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.journey-grid figure {
  margin: 0; position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line-soft);
}
.journey-grid img { width: 100%; height: 100%; object-fit: cover; }
.journey-grid figcaption {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(20,17,13,0.78); color: var(--bone);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

.highlights-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
.highlights-list li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
}
.highlights-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 700;
}

.case-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 96px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 64px; }
  .hero-visual { max-width: 420px; aspect-ratio: 4 / 4; margin: 0 auto; }
  .hv-card { top: 16px; left: 16px; padding: 10px 14px; max-width: 60%; }
  .hv-card-text strong { font-size: 10px; }
  .hv-card-text span { font-size: 13px; }
  .hv-card-2 { top: 16px; right: 16px; padding: 9px 12px; }
  .hv-card-2 strong { font-size: 18px; }
  .hv-meta { left: 16px; right: 16px; bottom: 16px; }
  .hv-meta-block strong { font-size: 15px; }
  .hero-thumbs { display: flex; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 10px; }
  .case-card { flex: 0 0 88%; min-width: 280px; }
  .testimonials-carousel .testimonial { flex: 0 0 88%; min-width: 260px; }
  .carousel-arrow { display: none; }
  .case-big-pair { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links a.nav-cta { display: inline-flex; }
  .nav-links { display: flex; gap: 12px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-visual { max-width: 340px; }
  .hero-thumbs { gap: 8px; padding: 10px; margin-top: 24px; }
  .hero-thumb { border-radius: 6px; }
  .hero-thumbs-label { display: none; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .container { padding: 0 20px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; align-items: center; }
  .testimonial-quote { font-size: 17px; }
  .case-pair { grid-template-columns: 1fr 1fr; }
  .journey-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-index { grid-template-columns: 1fr; }
}

/* ===== Privacy modal ===== */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 22, 28, 0.6);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  max-width: 560px; width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  color: #1c1f24;
  border-radius: 14px;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  font-size: 15px;
  line-height: 1.65;
}
.modal-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.modal-card p { margin: 0 0 12px; }
.modal-card a { color: inherit; text-decoration: underline; }
.modal-meta {
  margin-top: 18px !important;
  font-size: 13px;
  color: #6b7280;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px;
  border: none; background: transparent;
  font-size: 26px; line-height: 1; cursor: pointer;
  color: #6b7280;
}
.modal-close:hover { color: #1c1f24; }
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .modal { padding: 16px; }
  .modal-card { padding: 28px 22px 22px; font-size: 14.5px; }
  .modal-card h2 { font-size: 20px; }
}
