/* Orcas Law — tokens taken from the designer's brief (not sampled from the comp,
   which is a generated mockup and renders these values only approximately). */
:root{
  --navy:#18344A;          /* header, buttons, footer, headlines */
  --navy-hover:#22455f;    /* "slightly lighter navy" on hover */
  --forest:#4B6454;        /* icons, accent lines, hover states */
  --sand:#EAE3D6;          /* section backgrounds, cards, content blocks */
  --sand-deep:#e0d8c8;     /* sand borders/dividers */
  --offwhite:#FAF9F7;      /* primary page background */
  --charcoal:#2F2F2F;      /* body copy */
  --gray:#D7D7D7;          /* borders and dividers */
  --muted:#6b6b6b;
  --gold:#cf8b0c;          /* testimonial stars only */

  --maxw:1440px;           /* gutters keep content at ~1316px — inside the brief's 1200–1400 */
  --r-card:10px;           /* brief: 8–12px */
  --r-btn:6px;             /* brief: 6–8px */
  --shadow-card:0 1px 2px rgba(24,52,74,.04), 0 6px 20px -12px rgba(24,52,74,.18);
  --shadow-card-hover:0 2px 4px rgba(24,52,74,.05), 0 18px 40px -18px rgba(24,52,74,.28);
  --ease:cubic-bezier(.22,.61,.36,1);
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* keep the sticky header from covering a section when an anchor link lands on it */
section[id]{scroll-margin-top:clamp(76px,8.6vw,124px)}
body{
  font-family:var(--sans);
  color:var(--charcoal);
  background:var(--offwhite);
  font-size:16px;
  line-height:1.75;              /* brief: generous line spacing */
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,.serif{
  font-family:var(--serif);color:var(--navy);
  font-weight:600;               /* brief: "large, bold, not overly decorative" */
  line-height:1.14;letter-spacing:0;
}

/* gutter tracks the comp: 44px @1024, 62px @1440 */
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,4.3vw,62px)}
.eyebrow{
  font-family:var(--sans);font-size:.75rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--forest);
}
.center{text-align:center}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:16px;top:16px;z-index:200;background:var(--navy);color:#fff;padding:10px 16px;border-radius:var(--r-btn)}

/* ---------- reveal on scroll (brief: subtle fade in) ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
/* gentle stagger across a row */
.grid-4 .p-card:nth-child(2),.grid-3 .t-card:nth-child(2){transition-delay:.08s}
.grid-4 .p-card:nth-child(3),.grid-3 .t-card:nth-child(3){transition-delay:.16s}
.grid-4 .p-card:nth-child(4){transition-delay:.24s}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  padding:.95rem 1.7rem;border:1px solid transparent;border-radius:var(--r-btn);cursor:pointer;white-space:nowrap;
  transition:background 200ms var(--ease),color 200ms var(--ease),border-color 200ms var(--ease),transform 200ms var(--ease);
}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-hover)}
.btn-ghost{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-cream{background:var(--offwhite);color:var(--navy)}
.btn-cream:hover{background:#fff}
.btn svg{width:15px;height:15px;flex:none}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:#fff;                    /* brief: white nav */
  border-bottom:1px solid var(--gray); /* brief: thin bottom border */
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;height:clamp(76px,8.6vw,124px)}
.brand{display:flex;align-items:center;flex:none}
/* the supplied logo is the full lockup — mark + wordmark + tagline in one file */
.brand-logo{height:clamp(38px,3.7vw,54px);width:auto;flex:none}
.nav-links{display:flex;align-items:center;gap:clamp(20px,2.1vw,30px)}
.nav-links a:not(.btn){
  font-size:.9rem;font-weight:400;color:var(--charcoal);position:relative;padding:4px 0;white-space:nowrap;
  display:inline-flex;align-items:center;gap:.3rem;transition:color 200ms var(--ease);
}
.nav-links a:not(.btn)::after{
  content:'';position:absolute;left:0;right:100%;bottom:-2px;height:2px;
  background:var(--navy);transition:right .3s var(--ease);
}
.nav-links a:not(.btn):hover{color:var(--forest)}
.nav-links a:not(.btn):hover::after,.nav-links a.active::after{right:0}
.nav-links a.active::after{background:var(--navy)}
.nav-links a:not(.btn):hover::after{background:var(--forest)}
.nav-links .chev{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2;opacity:.7}
.nav-toggle{display:none;background:none;border:0;padding:8px;color:var(--navy);cursor:pointer}
.nav-toggle svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.6}

/* ---------- hero ---------- */
.hero{position:relative;background:var(--offwhite);overflow:hidden;isolation:isolate}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:right center}
/* off-white scrim so the navy headline holds contrast over the photo */
.hero-media::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,
    var(--offwhite) 0%, var(--offwhite) 20%,
    rgba(250,249,247,.94) 32%,
    rgba(250,249,247,.62) 44%,
    rgba(250,249,247,.18) 56%,
    rgba(250,249,247,0) 66%);
}
.hero .container{position:relative;z-index:1}
.hero-inner{max-width:560px;padding:clamp(48px,5.6vw,80px) 0 clamp(34px,3.3vw,48px)}
.hero h1{font-size:clamp(2.15rem,3.75vw,3.35rem);letter-spacing:-.005em}
.tagline{
  font-family:var(--serif);font-size:clamp(1.2rem,1.6vw,1.45rem);font-weight:500;color:var(--forest);
  margin-top:.9rem;line-height:1.3;
}
.hero-copy{font-size:1rem;color:var(--charcoal);margin-top:1.3rem;max-width:435px;line-height:1.75}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:2rem}

/* ---------- sections (brief: 80–120px vertical rhythm) ---------- */
.practice{padding:clamp(64px,8vw,120px) 0;background:var(--offwhite)}
.section-head{margin-bottom:clamp(34px,3.6vw,52px)}
.section-head h2{font-size:clamp(1.85rem,3.1vw,2.8rem);margin-top:.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(18px,1.8vw,26px)}
.p-card{
  background:var(--sand);border:0;border-radius:var(--r-card);
  box-shadow:var(--shadow-card);
  padding:34px 28px 30px;display:flex;flex-direction:column;
  transition:box-shadow .4s var(--ease),transform .4s var(--ease);
}
.p-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover)}
.p-ic{display:flex;justify-content:center;color:var(--forest);margin-bottom:18px}
.p-ic svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.p-card h3{font-size:1.5rem;text-align:center}
.rule{width:26px;height:1px;background:var(--forest);opacity:.45;border:0;margin:12px auto 20px}
.p-card ul{list-style:none;display:grid;gap:.55rem;margin-bottom:26px}
.p-card li{position:relative;padding-left:1.1rem;font-size:.9rem;color:var(--charcoal)}
.p-card li::before{
  content:'';position:absolute;left:0;top:.66em;width:4px;height:4px;border-radius:50%;background:var(--forest);
}
.learn{
  margin-top:auto;display:inline-flex;align-items:center;gap:.5rem;align-self:flex-start;
  font-size:.72rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--forest);
  transition:color 200ms var(--ease);
}
.learn svg{width:20px;height:9px;stroke:currentColor;fill:none;stroke-width:1.4;transition:transform .3s var(--ease)}
.learn:hover{color:var(--navy)}
.learn:hover svg{transform:translateX(4px)}

/* ---------- why (sand band) ---------- */
.why{background:var(--sand);display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);align-items:stretch}
.why-media{position:relative;min-height:300px;overflow:hidden}
.why-media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  /* the source is a tall portrait but this slot is landscape — bias up so the
     face stays in frame instead of being cropped off the top */
  object-position:50% 46%;
  transition:transform .7s var(--ease);   /* brief: slight image zoom on hover */
}
.why-media:hover img{transform:scale(1.04)}
.why-body{padding:clamp(48px,6vw,96px) 40px clamp(48px,6vw,96px) 56px;max-width:680px}
.why-body h2{font-size:clamp(1.8rem,2.9vw,2.5rem);margin-top:.5rem}
.why-body>p{font-size:1rem;margin-top:1.1rem;line-height:1.8;max-width:440px}
.why-points{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:2.6rem;max-width:480px}
.why-point{text-align:center}
.why-point .circ{
  width:48px;height:48px;margin:0 auto 12px;border:1.5px solid var(--forest);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--forest);
}
.why-point .circ svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.why-point p{font-family:var(--serif);font-size:1.05rem;font-weight:500;color:var(--navy);line-height:1.35}

/* ---------- testimonials ---------- */
.testimonials{padding:clamp(56px,7vw,104px) 0;background:var(--offwhite)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:32px}
.t-card{
  background:var(--sand);border:0;border-radius:var(--r-card);
  box-shadow:var(--shadow-card);
  padding:28px 26px 30px;text-align:center;
}
.stars{display:flex;justify-content:center;gap:5px;margin-bottom:16px}
.stars svg{width:16px;height:16px;fill:var(--gold)}
.t-card blockquote{
  font-family:var(--serif);font-style:italic;font-size:1.15rem;font-weight:500;color:var(--navy);
  line-height:1.45;
}
.t-card cite{display:block;font-style:normal;font-size:.8rem;color:var(--muted);margin-top:16px}

/* ---------- cta ---------- */
.cta{position:relative;background:var(--navy);overflow:hidden;isolation:isolate}
.cta-media{position:absolute;inset:0;z-index:0}
/* this band is a ~10:1 letterbox, so only a thin slice of the photo shows —
   bias down to the islet and waterline rather than empty sky */
.cta-media img{width:100%;height:100%;object-fit:cover;object-position:50% 57%}
.cta-media::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(24,52,74,.9) 0%,rgba(24,52,74,.74) 45%,rgba(24,52,74,.56) 100%);
}
.cta .container{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;
  gap:32px;padding-top:44px;padding-bottom:44px;flex-wrap:wrap;
}
.cta h2{color:#fff;font-size:clamp(1.9rem,3.1vw,2.5rem)}
.cta p{color:rgba(255,255,255,.85);font-size:1rem;margin-top:.35rem}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:rgba(255,255,255,.72);padding:clamp(48px,5.5vw,80px) 0 0}
.footer-top{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px;padding-bottom:clamp(36px,3.6vw,52px);
}
.footer-brand .name{display:flex;align-items:center;gap:.65rem}
.footer-brand .mark{width:38px;height:38px}
.footer-brand .wordmark{
  font-family:var(--serif);font-size:1.5rem;font-weight:600;color:#fff;letter-spacing:.06em;text-transform:uppercase;line-height:1;
}
.footer-brand>p{margin-top:1rem;font-size:.88rem;color:rgba(255,255,255,.62);max-width:230px;line-height:1.7}
.social{display:flex;gap:10px;margin-top:1.2rem}
.social a{
  width:30px;height:30px;border:1px solid rgba(255,255,255,.3);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.8);transition:200ms var(--ease);
}
.social a:hover{background:#fff;color:var(--navy);border-color:#fff}
.social svg{width:14px;height:14px;fill:currentColor}
.footer-col h3{
  font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:#fff;margin-bottom:1.1rem;
}
.footer-col li{list-style:none;margin-bottom:.7rem;font-size:.88rem;color:rgba(255,255,255,.72)}
.footer-col a{transition:color 200ms var(--ease)}
.footer-col a:hover{color:#fff}
.fcontact li{display:flex;gap:.65rem;align-items:flex-start}
.fcontact svg{width:14px;height:14px;flex:none;margin-top:.45em;stroke:currentColor;fill:none;stroke-width:1.6;opacity:.75}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.12);padding:22px 0 26px;
  font-size:.78rem;color:rgba(255,255,255,.5);
}
.footer-bottom nav{display:flex;gap:14px;align-items:center}
.footer-bottom .sep{opacity:.4}
.footer-bottom a:hover{color:#fff}

/* ---------- stub pages ---------- */
.page-head{background:var(--navy);padding:clamp(48px,5vw,76px) 0 clamp(44px,4.5vw,68px)}
.page-head h1{color:#fff;font-size:clamp(2.1rem,4vw,3rem);margin-top:.5rem}
.page-head .eyebrow{color:#9db19a}
.page-body{padding:clamp(56px,6vw,88px) 0 clamp(64px,7vw,104px);background:var(--offwhite)}
.prose{max-width:660px}
/* stub pages: prose left, a supporting island photo alongside */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:clamp(32px,4vw,64px);align-items:start}
.side-figure{position:sticky;top:calc(clamp(76px,8.6vw,124px) + 28px)}
.side-figure img{width:100%;height:auto;border-radius:var(--r-card);box-shadow:var(--shadow-card)}
.side-figure figcaption{
  font-family:var(--serif);font-style:italic;font-size:1rem;color:var(--muted);
  margin-top:.8rem;text-align:center;
}
.prose h2{font-size:1.75rem;margin:2.2rem 0 .7rem}
.prose h2:first-child{margin-top:0}
.prose p{margin-bottom:1rem;font-size:1rem;line-height:1.8}
.prose ul{margin:0 0 1rem 1.1rem}
.prose li{margin-bottom:.4rem;font-size:1rem}
.prose a{color:var(--forest);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--navy)}
.note{
  border-left:2px solid var(--forest);background:var(--sand);border-radius:0 var(--r-card) var(--r-card) 0;
  padding:16px 20px;margin:1.8rem 0;font-size:.92rem;color:var(--muted);
}

/* ---------- responsive ---------- */
@media(max-width:980px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .why-body{padding:56px 28px}
  /* stacked: unstick the figure so it doesn't float oddly against the prose */
  .about-grid{grid-template-columns:1fr;gap:40px}
  .side-figure{position:static;max-width:480px}
}
@media(max-width:900px){
  .nav-links{
    /* top:100% tracks the fluid header height — a fixed px value leaves a gap */
    display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;
    gap:0;background:#fff;border-bottom:1px solid var(--gray);padding:8px 28px 20px;
  }
  .nav-links.open{display:flex}
  .nav-links a:not(.btn){padding:13px 0;border-bottom:1px solid var(--gray)}
  .nav-links a:not(.btn)::after{display:none}
  .nav-links .btn{margin-top:14px}
  .nav-toggle{display:block}
  .why{grid-template-columns:1fr}
  .why-media{min-height:280px}
  .why-body{max-width:none}
  .why-body>p,.why-points{max-width:none}
  .grid-3{grid-template-columns:1fr;max-width:460px;margin-inline:auto}
  .hero-media::after{
    background:linear-gradient(90deg,var(--offwhite) 0%,rgba(250,249,247,.95) 46%,rgba(250,249,247,.7) 72%,rgba(250,249,247,.45) 100%);
  }
}
@media(max-width:680px){
  .hero-inner{padding:52px 0 56px}
  .hero h1{font-size:2.15rem}
  .grid-4{grid-template-columns:1fr;max-width:420px}
  .why-points{grid-template-columns:1fr;gap:22px;text-align:left}
  .why-point{display:flex;align-items:center;gap:14px;text-align:left}
  .why-point .circ{margin:0}
  .cta .container{flex-direction:column;align-items:flex-start;padding-top:48px;padding-bottom:48px}
  .footer-top{grid-template-columns:1fr 1fr;gap:30px}
  .footer-bottom{justify-content:flex-start}
  .btn{width:100%}
  .hero-actions{width:100%;max-width:340px}
}
@media(max-width:420px){
  .footer-top{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
  .why-media:hover img{transform:none}
}
