/* ============================================================
   THIRD HOUSE SOCIALS — per-section layout
   ============================================================ */

/* ---------------- NAV ---------------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  display: flex; align-items: center; gap: 32px;
  padding: 0 56px; height: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: #fff; flex: 1; }
.nav-logo em { color: var(--rose-soft); font-style: italic; }
.nav-links { display: flex; gap: 36px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.nav-status { display: none; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.nav-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,177,76,0.6);} 70%{box-shadow:0 0 0 7px rgba(232,177,76,0);} 100%{box-shadow:0 0 0 0 rgba(232,177,76,0);} }
.nav-cta { background: var(--rose); color: #fff; padding: 11px 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--rose-dark); }
@media (min-width: 1000px) { .nav-status { display: flex; } }

/* ---------------- HERO ---------------- */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; padding: 0; }
.hero .ghost { font-size: 460px; bottom: -90px; left: -30px; }

/* animated backdrop: a single editorial ink flourish that draws itself in
   behind the headline. one refined gesture — no glow, no blur, no clutter. */
.hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-flourish {
  position: absolute; left: 1%; top: 30%; width: 66%; height: auto;
  overflow: visible; opacity: 0.5;
}
.hero-flourish path {
  fill: none; stroke-width: 7;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: flourish-draw 2.6s cubic-bezier(0.62, 0.04, 0.2, 1) 0.35s forwards;
}
@keyframes flourish-draw { to { stroke-dashoffset: 0; } }
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  padding: 76px 56px 88px; align-items: center; min-height: 88vh;
}
.hero-h { font-size: clamp(54px, 7.4vw, 116px); color: #fff; margin: 18px 0 30px; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 500px; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; position: relative; }
.hero-actions .doodle-arrow { width: 78px; height: 48px; margin-left: -6px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

.hero-collage { position: relative; height: 100%; min-height: 520px; }
.hero-collage .photo { position: absolute; }
.hero-collage .photo:nth-child(1) { width: 300px; top: 4%; right: 8%; }
.hero-collage .photo:nth-child(2) { width: 190px; bottom: 6%; right: 46%; z-index: 3; }
.hero-note {
  position: absolute; left: -2%; bottom: 2%; z-index: 4;
  background: var(--gold); color: var(--ink);
  padding: 16px 18px; max-width: 220px;
  box-shadow: 5px 5px 0 rgba(7,24,42,0.5); transform: rotate(-3deg);
}
.hero-note-label { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-bottom: 4px; }
.hero-note-body { font-family: 'Caveat', cursive; font-size: 23px; font-weight: 600; line-height: 1.2; }

/* ---------------- TICKER ---------------- */
.ticker { background: var(--rose); padding: 15px 0; overflow: hidden; white-space: nowrap; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ticker-inner { display: inline-block; animation: ticker-run 32s linear infinite; }
.ticker:hover .ticker-inner { animation-play-state: paused; }
@keyframes ticker-run { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; padding: 0 30px; }
.ticker-item::after { content: '✦'; opacity: 0.5; font-size: 16px; }

/* ---------------- CLIENTS STRIP ---------------- */
.clients { background: var(--cream); padding: 46px 56px; border-bottom: 1px solid var(--cream-200); }
.clients-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.clients-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); max-width: 220px; line-height: 1.5; }
.clients-names { display: flex; flex-wrap: wrap; gap: 14px 40px; flex: 1; }
.clients-names span { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--navy-deep); opacity: 0.4; transition: opacity 0.2s; }
.clients-names span:hover { opacity: 1; }

/* ---------------- SERVICES ---------------- */
.services { background: var(--cream); border-bottom: 2px solid var(--ink); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 54px; padding-bottom: 36px; border-bottom: 1px solid var(--cream-200); }
.services-h { font-size: clamp(38px, 4.6vw, 62px); color: var(--navy-deep); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.svc { background: var(--cream); padding: 44px 38px; display: flex; flex-direction: column; gap: 16px; transition: background 0.25s; }
.svc:hover { background: var(--cream-100); }
.svc.dark { background: var(--navy-deep); }
.svc-num { font-family: 'Playfair Display', serif; font-size: 54px; font-weight: 900; color: var(--rose); opacity: 0.28; line-height: 1; }
.svc.dark .svc-num { opacity: 0.5; }
.svc-title { font-family: 'Playfair Display', serif; font-size: 27px; font-weight: 700; color: var(--navy-deep); line-height: 1.12; }
.svc.dark .svc-title { color: #fff; }
.svc-body { font-size: 14px; color: var(--muted); line-height: 1.72; flex: 1; }
.svc.dark .svc-body { color: rgba(255,255,255,0.5); }
.svc-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); text-decoration: none; align-self: flex-start; }
.svc.dark .svc-tag { color: var(--rose-soft); }

/* ---------------- STATS BAND ---------------- */
.stats { position: relative; background: var(--gold); color: var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.stats-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.stats-h { font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-n { font-family: 'Playfair Display', serif; font-size: clamp(46px, 6vw, 84px); font-weight: 900; line-height: 0.9; color: var(--navy-deep); }
.stat-l { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; opacity: 0.7; }

/* ---------------- ABOUT ---------------- */
.about { position: relative; background: var(--navy-deep); overflow: hidden; padding: 0; }
.about .ghost { font-size: 300px; bottom: -50px; right: -10px; }
.about-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 104px 56px; align-items: center; }
.about-h { font-size: clamp(48px, 5.6vw, 80px); color: #fff; margin-bottom: 28px; }
.about-body { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.85; margin-bottom: 22px; max-width: 440px; }
.about-rule { width: 48px; height: 2px; background: var(--rose); margin-bottom: 24px; }
.about-photo { display: flex; justify-content: center; }
.about-photo .photo { width: 360px; transform: rotate(-3deg); }
.about .btn { margin-top: 12px; }

/* ---------------- PROCESS ---------------- */
.process { background: var(--cream-100); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.process-h { font-size: clamp(38px, 4.6vw, 60px); color: var(--navy-deep); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--cream-200); border: 2px solid var(--ink); position: relative; }
.proc { background: var(--cream-100); padding: 42px 30px; border-right: 1px solid var(--cream-200); display: flex; flex-direction: column; gap: 14px; transition: background 0.2s; }
.proc:last-child { border-right: none; }
.proc:hover { background: var(--cream); }
.proc-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; font-style: italic; color: var(--rose); opacity: 0.5; line-height: 1; }
.proc-title { font-size: 17px; font-weight: 700; color: var(--navy-deep); line-height: 1.3; }
.proc-body { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------------- WORK / COLLAGE ---------------- */
.work { background: var(--cream); border-bottom: 2px solid var(--ink); }
.work-h { font-size: clamp(40px, 5vw, 72px); color: var(--navy-deep); }
.work-grid { columns: 3; column-gap: 30px; }
.work-grid .photo { width: 100%; margin: 0 0 30px; break-inside: avoid; }
@media (max-width: 980px) { .work-grid { columns: 2; } }
@media (max-width: 600px) { .work-grid { columns: 1; } }

/* ---------------- TESTIMONIALS ---------------- */
.testimonials { position: relative; background: var(--navy-deep); overflow: hidden; }
.testimonials .ghost { font-size: 280px; top: 40px; right: -20px; }
.test-h { font-size: clamp(40px, 5vw, 68px); color: #fff; margin-bottom: 56px; position: relative; z-index: 2; }
.test-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.test-card { background: var(--cream); border: 2px solid var(--ink); border-left: 6px solid var(--rose); padding: 32px 30px; box-shadow: 6px 6px 0 rgba(0,0,0,0.35); transition: transform 0.3s; }
.test-card:hover { transform: rotate(0deg) translateY(-4px); }
.test-quote { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 500; font-style: italic; color: var(--navy-deep); line-height: 1.5; margin-bottom: 24px; }
.test-quote::before { content: '\201C'; color: var(--rose); }
.test-attrib { display: flex; align-items: center; gap: 13px; }
.test-attrib img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); background: var(--cream-200); }
.test-name { font-size: 14px; font-weight: 700; color: var(--navy-deep); }
.test-role { font-size: 12px; color: var(--muted); }

/* ---------------- CTA ---------------- */
.cta { position: relative; background: var(--rose); text-align: center; overflow: hidden; border-bottom: 2px solid var(--ink); }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.07); pointer-events: none; }
.cta::before { width: 720px; height: 720px; top: -260px; right: -160px; }
.cta::after { width: 420px; height: 420px; bottom: -160px; left: -90px; }
.cta-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.cta-h { font-size: clamp(46px, 6.2vw, 92px); color: #fff; margin-bottom: 14px; }
.cta-h .em-rose { color: var(--navy-deep); }
.cta-sub { font-family: 'Caveat', cursive; font-size: 26px; font-weight: 600; color: rgba(255,255,255,0.78); margin-bottom: 42px; }

/* ---------------- FOOTER ---------------- */
footer { background: var(--navy-deep); padding: 54px 56px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: #fff; }
.footer-logo em { color: var(--rose-soft); font-style: italic; }
.footer-tagline { font-family: 'Caveat', cursive; font-size: 21px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.footer-col { display: flex; gap: 40px; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-copy { max-width: var(--maxw); margin: 22px auto 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.22); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-collage { min-height: 440px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-inner { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 820px) {
  .section { padding: 76px 28px; }
  nav { padding: 0 24px; gap: 18px; }
  .nav-links { display: none; }
  .hero-inner { padding: 56px 28px 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .clients-inner { gap: 24px; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero-collage .photo:nth-child(2) { display: none; }
}
