/* =========================================================
   Exhibit A — imagined Indonesian law firm
   Style DNA borrowed from classic long-scroll litigation
   sites: Franklin-style uppercase display type, tan/blue/
   cream palette, duotone photography, parallax bubbles.
   ========================================================= */

:root {
  /* palette (lifted & tuned from the reference) */
  --ink:        #101424;
  --blue-dark:  #394961;
  --blue:       #4E6483;
  --blue-light: #CFD3D9;
  --red:        #D6322A;
  --tan:        #B39A8B;
  --tan-dark:   #8A6F5D;
  --cream:      #F2ECDF;
  --beige:      #DED4BE;
  --paper:      #F7F6F6;
  --white:      #FFFFFF;

  /* type */
  --font-display: "Libre Franklin", "Arial Narrow", sans-serif;
  --font-body:    "Libre Franklin", sans-serif;
  --font-serif:   "Playfair Display", Georgia, serif;
  --font-num:     "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-mono:    "Courier Prime", "Courier New", monospace;

  --header-h: 88px;
  --container: 1200px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container.narrow { max-width: 860px; }

::selection { background: var(--tan); color: var(--white); }

/* =========================================================
   TYPE SYSTEM
   ========================================================= */

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-dark);
}
.eyebrow.center { text-align: center; }

h1.display-hero,
.display-lg,
.display-md {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.display-hero { font-size: clamp(2.5rem, 7.2vw, 5.9rem); line-height: 1.02; }
.display-lg   { font-size: clamp(1.9rem, 4.6vw, 3.4rem);  line-height: 1.06; }
.display-md   { font-size: clamp(1.55rem, 3.2vw, 2.45rem); line-height: 1.12; }
.display-hero strong,
.display-lg strong, .display-md strong { color: var(--tan-dark); font-weight: 800; }
.display-lg.center, .center { text-align: center; }

.center-cta { text-align: center; padding-bottom: clamp(2rem, 5vw, 3rem); }

/* serif display paragraph inside h2 (mirrors reference markup) */
h2.display-md p { font: inherit; }

.body-lead {
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--blue-dark);
}
.body-lead strong { color: var(--ink); font-weight: 700; }

.body-small {
  font-size: .98rem;
  color: #4a4f60;
  max-width: 56ch;
}

.mono-caption {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--tan-dark);
  margin-top: .9rem;
}
.center-note { text-align: center; max-width: 62ch; margin: 1.6rem auto 0; }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.1rem 2.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--tan);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink); color: var(--white); }

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

.btn-lg { padding: 1.2rem 2.6rem; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

.text-cta.arrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  color: var(--red);
  border-bottom: 2px solid currentColor;
  padding-bottom: .2rem;
  transition: padding-left .2s ease;
}
.text-cta.arrow::after { content: " →"; white-space: pre; transition: margin-left .2s ease; }
.text-cta.arrow:hover { padding-left: .4rem; }

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid #e2ded6;
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16, 20, 36, .08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.brand-dot { color: var(--red); }
.brand-sub {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-top: .3rem;
}

.header-right { display: flex; align-items: center; gap: 1.5rem; }

.header-phone { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.phone-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-bottom: .35rem;
}
.phone-number {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
}
.header-phone:hover .phone-number { color: var(--red); }

.header-cta { padding: .8rem 1.5rem; font-size: .8rem; }

.nav-toggle { display: none; }

.site-nav {
  display: none;
  border-top: 1px solid #e2ded6;
  background: var(--paper);
}
.site-nav a {
  display: block;
  padding: .9rem 1.25rem;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid #eae6dd;
}
.site-nav a:hover { color: var(--tan-dark); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: max(560px, calc(100vh - var(--header-h)));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: clamp(2.5rem, 6vh, 5rem);
}

.hero-content { position: relative; z-index: 3; text-align: center; }

.hero-content .eyebrow { padding-bottom: 1.2rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
}

.hero-trust {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--tan-dark);
  padding-top: 1.3rem;
}

/* --- parallax bubbles --- */
.hero-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  animation: bubble-drift 9s ease-in-out infinite;
  animation-delay: calc(var(--x, 0) * -0.7s);
}
.bubble.tan  { background: var(--tan); }
.bubble.blue { background: var(--blue); }
.bubble.ring { background: transparent; border: 3px solid var(--beige); }

@keyframes bubble-drift {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -16px; }
}

/* --- duotone treatment --- */
.duo {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.98);
  mix-blend-mode: multiply;
}
.duo-shade {
  position: absolute;
  inset: 0;
  background: var(--blue);
  mix-blend-mode: lighten;
  pointer-events: none;
}
.duo.arch { border-radius: 999px 999px 6px 6px / 62% 62% 0 0; }

/* --- hero image --- */
.hero-image {
  position: relative;
  z-index: 2;
  margin-top: auto;
  height: clamp(160px, 34vh, 320px);
  transform: translateY(18%);
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0 0 -20% 0;
  z-index: 2;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(247, 246, 246, 0) 55%);
}
.hero-image .duo-shade { background: var(--blue-dark); }
.hero-image img { object-position: center 38%; }

/* --- "were you there" scroll button --- */
.scroll-next {
  position: relative;
  z-index: 4;
  width: 100%;
  border: 0;
  background: var(--tan);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  cursor: pointer;
  transition: background-color .3s ease;
}
.scroll-next:hover { background: var(--blue); }

.chevrons { display: inline-flex; flex-direction: column; gap: 1px; }
.chev { width: 15px; height: 9px; }
.chev-1 { animation: chev-drop 1.4s ease-in-out infinite; }
.chev-2 { animation: chev-drop 1.4s ease-in-out .15s infinite; opacity: .55; }
@keyframes chev-drop {
  0%   { transform: translateY(-3px); opacity: 0; }
  35%  { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(3px);  opacity: 0; }
}

/* =========================================================
   GENERIC BLOCKS
   ========================================================= */

.block { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.block-cta { padding-top: 2rem; }

.image-text .bordered { border-bottom: 1px solid #e2ded6; padding-bottom: clamp(3rem, 7vw, 5.5rem); }

.image-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.image-text-grid.reverse .image-col { order: 2; }
.image-text-grid.reverse .text-col  { order: 1; }

.image-col .duo.arch {
  aspect-ratio: 4 / 4.6;
  max-width: 440px;
  margin-inline: auto;
}
.text-col > * + * { margin-top: 1.2rem; }
.text-col .display-md { margin-bottom: .4rem; }

/* =========================================================
   RESULTS / FACTS
   ========================================================= */

.results { position: relative; overflow: hidden; }
.results-bg {
  position: absolute;
  inset: 0;
  background: var(--tan);
  opacity: .3;
  z-index: -1;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--blue-dark);
}
.stat-label {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.case-card {
  background: var(--paper);
  border: 1px solid rgba(16, 20, 36, .07);
  border-top: 4px solid var(--blue);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-align: center;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16, 20, 36, .1); }
.case-amount {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}
.case-type {
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tan-dark);
}
.case-card p { font-size: .92rem; color: #4a4f60; margin-top: .4rem; }

/* =========================================================
   TICKER
   ========================================================= */

.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: .95rem 0;
  border-block: 4px solid var(--red);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ticker-track i { font-style: normal; color: var(--tan); }
.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   METHOD — icons & stamp
   ========================================================= */

.icon-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.icon-chip {
  width: 58px;
  height: 58px;
  border: 2px solid var(--beige);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--paper);
}
.icon-chip svg { width: 30px; height: 30px; }

.anim-scales { transform-origin: 50% 18%; animation: scales-tip 5s ease-in-out infinite; }
@keyframes scales-tip {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.anim-doc .doc-line-1 { animation: doc-draw 4s ease-in-out infinite; }
.anim-doc .doc-line-2 { animation: doc-draw 4s ease-in-out .4s infinite; }
.anim-doc .doc-line-3 { animation: doc-draw 4s ease-in-out .8s infinite; }
@keyframes doc-draw {
  0%, 100% { opacity: .25; }
  50%      { opacity: 1; }
}

.anim-shield { transform-origin: 50% 50%; animation: shield-breathe 4s ease-in-out infinite; }
@keyframes shield-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

.anim-gavel { transform-origin: 80% 10%; animation: gavel-tap 3.2s ease-in-out infinite; }
@keyframes gavel-tap {
  0%, 55%, 100% { transform: rotate(0deg); }
  65%           { transform: rotate(-16deg); }
  75%           { transform: rotate(2deg); }
}

/* looping rubber stamp on the evidence photo */
.stamp {
  position: absolute;
  top: 14%;
  right: 8%;
  z-index: 3;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 6px;
  padding: .45rem .9rem .45rem 1.2rem;
  transform: rotate(-12deg);
  opacity: 0;
  animation: stamp-hit 7s ease-in-out infinite;
  text-shadow: 0 0 1px rgba(214, 50, 42, .4);
  box-shadow: inset 0 0 0 1px rgba(214, 50, 42, .25);
}
@keyframes stamp-hit {
  0%, 52%  { opacity: 0; transform: rotate(-12deg) scale(1.9); }
  60%      { opacity: .92; transform: rotate(-12deg) scale(.96); }
  63%      { transform: rotate(-12deg) scale(1); }
  86%      { opacity: .92; }
  96%, 100%{ opacity: 0; transform: rotate(-12deg) scale(1); }
}

/* =========================================================
   TABS
   ========================================================= */

.tabs-block {
  background: var(--cream);
  border-block: 1px solid var(--beige);
}

.tabs { padding-top: 2rem; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 2.4rem;
  border-bottom: 3px solid rgba(16, 20, 36, .12);
  position: relative;
}
.tab {
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--tan-dark);
  padding: .6rem 1.7rem 1.1rem .1rem;
  cursor: pointer;
  position: relative;
  transition: color .2s ease, font-weight .2s ease;
}
.tab::after {
  content: "";
  position: absolute;
  top: .95rem;
  right: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tan);
  transition: all .25s ease;
}
.tab:last-child::after { display: none; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 800; }
.tab.is-active::after { background: var(--red); width: 18px; height: 18px; right: .25rem; top: .85rem; }

.tab-panel { padding-top: 1.8rem; max-width: 62ch; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: .9rem;
}
.tab-panel p { color: var(--blue-dark); font-size: 1.02rem; padding-bottom: 1.4rem; }
.tab-panel.is-active { animation: panel-in .35s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials-head { text-align: center; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.stars { display: flex; justify-content: center; gap: .5rem; padding-bottom: 1.4rem; }
.stars li {
  color: var(--tan);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  transform: translateY(-14px);
  opacity: 0;
  transition: all .5s cubic-bezier(.2, .8, .3, 1.2);
}
.stars.in-view li, [data-reveal].in-view .stars li { transform: none; opacity: 1; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-card {
  background: var(--white);
  border: 1px solid #e7e3da;
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16, 20, 36, .09); }
.quote-card blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
}
.quote-who { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.quote-who .avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.quote-who strong { display: block; font-size: .95rem; line-height: 1.3; }
.quote-who span {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--tan-dark);
  margin-top: .2rem;
}

.quote-banner {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
}
.quote-banner img { position: absolute; inset: 0; height: 100%; }
.quote-banner .duo-shade { background: var(--ink); opacity: .82; }
.quote-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}
.quote-overlay p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  line-height: 1.45;
  color: var(--cream);
}
.quote-overlay cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tan);
  padding-top: 1.4rem;
}

/* =========================================================
   TEAM
   ========================================================= */

.team-list { display: flex; flex-direction: column; gap: 1.1rem; }
.team-member {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: .9rem 1rem;
  border: 1px solid #e7e3da;
  background: var(--white);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-member:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(16, 20, 36, .08); }
.team-member .duo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
}
.team-member strong { display: block; font-size: 1rem; line-height: 1.3; }
.team-member span {
  display: block;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-top: .15rem;
}
.team-member em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .68rem;
  color: #7a7f90;
  margin-top: .15rem;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list { padding-top: 2rem; }
.faq-item {
  border-bottom: 1px solid #e2ded6;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 1.3rem .2rem;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--tan-dark); }
.faq-item[open] summary { color: var(--blue-dark); }

.faq-mark { position: relative; width: 18px; height: 18px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 3px;
  background: var(--tan);
  transition: transform .25s ease;
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }

.faq-item p {
  padding: 0 .2rem 1.4rem;
  color: var(--blue-dark);
  max-width: 70ch;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  background: var(--ink);
  color: var(--paper);
}
.contact .eyebrow { color: var(--tan); }
.contact .display-lg { color: var(--cream); }
.contact .display-lg strong { color: var(--tan); }
.contact .body-lead { color: var(--blue-light); }
.contact .body-lead strong { color: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy > * + * { margin-top: 1.3rem; }

.contact-lines { display: flex; flex-direction: column; gap: 1.15rem; padding-top: .6rem; }
.contact-line { display: flex; flex-direction: column; }
.contact-line .phone-label { color: var(--tan); }
.contact-big {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  transition: color .2s ease;
}
a.contact-line:hover .contact-big { color: var(--red); }
.contact-line > span:not(.phone-label):not(.contact-big) { color: var(--blue-light); font-size: .95rem; }

.contact-side { display: grid; gap: 1.75rem; }
.contact-figure { aspect-ratio: 16 / 8; border-radius: 999px 999px 6px 6px / 42% 42% 0 0; }

.contact-form {
  background: var(--paper);
  color: var(--ink);
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius);
  display: grid;
  gap: 1.05rem;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-dark);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #d9d4c9;
  border-radius: var(--radius);
  padding: .8rem .9rem;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: #8a8fa0;
}
.form-success {
  font-weight: 700;
  color: var(--blue-dark);
  text-align: center;
  background: #e8f0e6;
  border: 1px solid #bcd3b6;
  padding: .9rem 1rem;
  border-radius: var(--radius);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: var(--blue-light);
  border-top: 4px solid var(--tan);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand-word { display: block; color: var(--cream); }
.footer-brand .brand-sub { display: block; color: var(--tan); }
.footer-tag { font-size: .92rem; padding-top: 1.1rem; max-width: 30ch; }

.footer-nav { display: grid; gap: .55rem; align-content: start; }
.footer-nav a {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--tan); }

.footer-contact { display: grid; gap: .55rem; align-content: start; font-size: .95rem; }
.footer-contact a:hover { color: var(--tan); }

.footer-legal {
  border-top: 1px solid rgba(207, 211, 217, .18);
  padding-top: 1.5rem;
  display: grid;
  gap: .6rem;
  font-size: .78rem;
  color: #8d94a6;
}
.footer-legal strong { color: var(--blue-light); }
.footer-legal a { color: var(--tan); text-decoration: underline; }

/* =========================================================
   REVEAL SYSTEM
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s);
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {
  .image-text-grid, .contact-grid { grid-template-columns: 1fr; }
  .image-text-grid.reverse .image-col { order: 0; }
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .header-cta, .phone-label { display: none; }
  .phone-number { font-size: 1.5rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .brand-word { font-size: 1.4rem; }
  .brand-sub { font-size: .52rem; letter-spacing: .26em; }
  .phone-number { font-size: 1.15rem; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav.open { display: block; }

  .hero { min-height: auto; padding-bottom: 0; }
  .hero-image { height: 150px; }
  .scroll-next { font-size: .9rem; letter-spacing: .1em; }

  .tab-list { gap: .1rem 1.6rem; }
  .tab { font-size: 1.05rem; padding-right: 1.5rem; }
  .tab::after { right: .35rem; top: .6rem; width: 11px; height: 11px; }
  .tab.is-active::after { width: 13px; height: 13px; right: .25rem; }

  .contact-figure { display: none; }
}

@media (max-width: 560px) {
  .case-cards { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .stars li { opacity: 1; transform: none; }
  .stamp { opacity: .9; }
}
