/* Figlane — brand blues from the logo artwork, laid out on a deep navy base */
:root {
  --night: #03163F;      /* page base, darkest lane navy */
  --lane-navy: #042876;  /* navy from the filled logo */
  --fig-blue: #033E8C;   /* logo line blue */
  --seed-blue: #1167DE;  /* actions */
  --sky: #9CC0F5;        /* line art on navy */
  --paper: #F3F6FC;      /* primary text */
  --muted: #A3B4D6;      /* secondary text */
  --rule: rgba(243, 246, 252, .16);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
a { color: var(--paper); text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; background: var(--seed-blue); color: #fff; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Top: the designer's logo, exactly as drawn (blue on white) ---------- */
.top {
  position: relative; z-index: 2;
  /* soft, shaded light blue instead of flat white; the logo itself is unchanged */
  background:
    radial-gradient(45% 120% at 12% 30%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(50% 140% at 95% 0%, rgba(156, 192, 245, .45), transparent 70%),
    linear-gradient(180deg, #EEF3FB 0%, #DFE8F6 70%, #D3DFF2 100%);
  color: var(--lane-navy);
  padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) 0;
}
.top::after {
  /* gentle shadow where the light band meets the navy page */
  content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px; pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 16, 50, .45), transparent);
}
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { line-height: 0; }
.logo a { display: inline-block; line-height: 0; }
.logo svg { display: block; height: clamp(4.5rem, 11vw, 9.5rem); width: auto; max-width: 100%; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: clamp(1rem, 2.5vw, 2rem);
  padding: 1rem 0;
  border-top: 1px solid rgba(3, 62, 140, .16);
}
.nav a { text-decoration: none; color: var(--lane-navy); font-size: 1rem; font-weight: 500; }
.nav a:hover { color: var(--seed-blue); }
.top :focus-visible { outline-color: var(--seed-blue); }

/* ---------- Hero: copy left, fig tree right ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: end;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule);
}
.hero-copy { padding-bottom: clamp(1rem, 4vw, 4rem); }
.hero h2 { font-size: clamp(2.4rem, 4.4vw + .5rem, 4.6rem); max-width: 12ch; }
.hero p { color: var(--muted); max-width: 36rem; margin: 1.75rem 0 2.25rem; font-size: 1.125rem; }

.pill {
  display: inline-block; text-decoration: none;
  background: var(--seed-blue); color: #fff;
  padding: .7rem 1.4rem; border-radius: 999px; font-weight: 500;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.pill:hover { background: #2C7BF0; color: #fff; transform: translateY(-1px); }

.orchard { margin: 0; position: relative; }
#figtree {
  display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 78vh;
  touch-action: pan-y; cursor: grab;
  border-radius: 6px;
  background:
    radial-gradient(60% 55% at 50% 40%, rgba(17, 103, 222, .28), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(156, 192, 245, .10), transparent 70%),
    linear-gradient(180deg, #05205A, var(--night));
}
.orchard figcaption { color: var(--muted); font-size: .875rem; margin-top: .75rem; }

/* ---------- Statement ---------- */
.statement {
  text-align: center; padding: clamp(4rem, 9vw, 7.5rem) var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.statement h2 { font-size: clamp(1.6rem, 2.4vw + .75rem, 2.75rem); }
.statement p { color: var(--muted); max-width: 46rem; margin: 1.25rem auto 2rem; }

/* ---------- Expertise rows ---------- */
.expertise { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.expertise h2, .approach h2 { font-size: clamp(1.6rem, 2.4vw + .75rem, 2.75rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.rows { border-top: 1px solid var(--rule); }
.row { border-bottom: 1px solid var(--rule); }
.row summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--display); font-stretch: 112%; font-size: clamp(1.15rem, 1.2vw + .8rem, 1.6rem);
}
.row summary::-webkit-details-marker { display: none; }
.row-more { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--body); font-size: 1rem; color: var(--muted); white-space: nowrap; }
.plus { position: relative; width: 1.9rem; height: 1.9rem; border: 1px solid var(--paper); border-radius: 50%; flex: none; transition: background .3s var(--ease), transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 1px; background: var(--paper); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.row summary:hover .plus { background: var(--seed-blue); border-color: var(--seed-blue); }
.row[open] .plus { transform: rotate(45deg); }
.row p { color: var(--muted); max-width: 44rem; margin: -0.25rem 0 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .row[open] p { animation: open .45s var(--ease); }
}
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--rule); padding: clamp(1.25rem, 3vw, 2.25rem) 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track span {
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--sky);
  padding-right: .6em;
}
.marquee-track span:nth-child(odd) { color: var(--paper); -webkit-text-stroke: 0; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Approach ---------- */
.approach { padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.steps li { padding: 1.5rem 1.5rem 0 0; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.step-num { display: block; font-family: var(--display); font-stretch: 125%; color: var(--sky); font-size: .95rem; margin-bottom: 2.5rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; max-width: 28ch; }

/* ---------- Contact ---------- */
.contact {
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  border-top: 1px solid var(--rule);
  background: radial-gradient(50% 80% at 50% 100%, rgba(17, 103, 222, .25), transparent 70%);
  text-align: center;
}
.contact h2 { font-size: clamp(1.6rem, 2.4vw + .75rem, 2.75rem); color: var(--muted); }
.contact-email {
  display: inline-block; margin-top: 1.25rem;
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: clamp(1.9rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em;
  text-decoration: none; overflow-wrap: anywhere;
  border-bottom: 2px solid var(--seed-blue); padding-bottom: .1em;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.contact-email:hover { color: var(--sky); border-color: var(--sky); }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }
.footer a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .masthead-cta { display: none; }
  .nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 1.25rem; }
  .row-more { font-size: 0; gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding-left: 0; }
  .step-num { margin-bottom: .75rem; }
}
