/* SasoMor v3: The Clickwebsite language in SasoMor colours.
   Paper + deep-forest ink + one gold accent. Inter set heavy and uppercase for voice.
   Tactile buttons: offset ink shadow that collapses on press. 2px ink rules, no hairlines. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --paper: #f5f3ee;
  --paper-2: #ebe6dc;
  --card: #fdfcf9;
  --ink: #082e1d;          /* deep forest: text on paper, borders, offset shadows */
  --ink-2: #3e4c45;
  --ink-3: #5c6862;
  --forest: #0c5635;
  --gold: #b08d57;         /* fills, large type */
  --gold-deep: #7a5a2b;    /* gold for small text on paper (AA) */
  --gold-soft: #efe3cf;
  --line: rgba(8, 46, 29, 0.16);

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display, .h-lg, .page-hero h1, .detail h2 { font-family: var(--font); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.9; font-variation-settings: "opsz" 32; }
.h-lg { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem); }
h1 em, h2 em, .display em { font-style: normal; color: var(--gold); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow::before, .kicker::before { content: ""; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }
.lede { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--card); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--bg); color: var(--fg); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s; white-space: nowrap; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); transition-duration: .06s; }
.btn-gold, .btn-primary { --bg: var(--gold); --fg: var(--ink); }
.btn-ghost { --bg: var(--card); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .94rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.link, .more-link { font-weight: 700; color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: color .2s; display: inline-flex; gap: 8px; align-items: center; }
.link:hover, .more-link:hover { color: var(--gold-deep); }

/* ---------- Header (no divider line) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .97rem; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; position: relative; z-index: 60; padding: 0; }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform .3s var(--ease), opacity .2s; }
  .menu-open .menu-btn { background: var(--gold); }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 96px var(--gutter) 48px; background: var(--ink); color: var(--paper); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
  .menu-open .nav { visibility: visible; opacity: 1; }
  .menu-open { overflow: hidden; }
  .nav a { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(2.6rem, 12vw, 4.2rem); line-height: 1; }
  .nav a::after { height: 4px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 128px); }
.hero-grid { display: grid; gap: clamp(48px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }
.hero h1 { font-size: clamp(3.6rem, 1rem + 11vw, 6.4rem); }
@media (min-width: 1000px) { .hero h1 { font-size: clamp(5.6rem, 0.5rem + 7.6vw, 8.6rem); } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.hero .lede { margin: 28px 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* Scope document mock (CSS only) */
.hero-visual { position: relative; padding: 0 14px 14px 0; }
.doc { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.doc-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.doc-dots { display: flex; gap: 6px; }
.doc-dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); }
.doc-dots i:first-child { background: var(--gold); }
.doc-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.doc-body { padding: clamp(20px, 3vw, 30px); }
.doc-h { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: .92; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.8rem); margin-bottom: 22px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--line); font-size: .95rem; }
.doc-list li::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--ink); flex: none; background: var(--card) no-repeat center / 12px; transition: background-color .3s; }
.doc-list li.done::before { background-color: var(--forest); border-color: var(--forest); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.doc-list b { font-weight: 600; }
.doc-list span { margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }
.doc-foot { display: flex; gap: 10px; margin-top: 22px; }
.doc-foot i { height: 8px; border-radius: 3px; background: var(--line); flex: 1; }
.doc-foot i:last-child { flex: .5; }
.stamp { position: absolute; right: clamp(-6px, -1vw, 4px); bottom: clamp(-18px, -1.5vw, -10px); padding: 12px 22px; background: var(--ink); color: var(--paper); border-radius: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; box-shadow: 5px 5px 0 var(--gold); transform: rotate(-4deg); }
@media (max-width: 520px) { .stamp { right: 6px; } .doc-list span { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section.pt-0 { padding-top: 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.7fr 1fr; align-items: end; } }
.section-head p { color: var(--ink-2); max-width: 44ch; margin: 0; }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink .eyebrow, .on-ink .section-head p { color: #c9d3cd; }

/* Practice areas: big rows that fill with ink on hover */
.svc-list { border-top: 2px solid var(--ink); list-style: none; margin: 0; padding: 0; }
.svc-list li { border-bottom: 2px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: center; padding: clamp(18px, 2.6vw, 30px) clamp(4px, 1.5vw, 20px); text-decoration: none; position: relative; isolation: isolate; transition: color .3s var(--ease); }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.svc-row:hover, .svc-row:focus-visible { color: var(--paper); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-num { font-weight: 800; font-size: 1rem; color: var(--gold-deep); align-self: start; padding-top: .55em; font-variant-numeric: tabular-nums; }
.svc-row:hover .svc-num, .svc-row:focus-visible .svc-num { color: var(--gold); }
.svc-name { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .95; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); transition: transform .45s var(--ease); }
.svc-row:hover .svc-name { transform: translateX(clamp(6px, 1.5vw, 20px)); }
.svc-desc { grid-column: 2; opacity: .8; max-width: 56ch; margin: 0; font-size: 1rem; }
.svc-go { grid-row: 1 / span 2; grid-column: 3; width: 56px; height: 56px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .45s var(--ease); }
.svc-row:hover .svc-go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 640px) { .svc-row { grid-template-columns: auto 1fr; } .svc-go { display: none; } }

/* Engagement modes on ink: tactile cards */
.modes { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, 1fr); } .mode:nth-child(2) { transform: translateY(32px); } }
.mode { padding: clamp(26px, 3vw, 36px); border: 2px solid var(--paper); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--gold); background: var(--ink); }
.mode .n { font-weight: 800; font-size: 3.2rem; line-height: .8; color: var(--gold); letter-spacing: -0.04em; display: block; margin-bottom: 28px; }
.mode h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: .95; margin-bottom: 14px; }
.mode p { color: #c9d3cd; margin: 0; }

/* Principles */
.principles { display: grid; gap: clamp(32px, 6vw, 96px); }
@media (min-width: 900px) { .principles { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.principle-list { margin: 0; border-top: 2px solid var(--ink); }
.principle-list > div { display: grid; grid-template-columns: 1fr; gap: 6px 24px; padding: 24px 0; border-bottom: 2px solid var(--ink); }
@media (min-width: 640px) { .principle-list > div { grid-template-columns: 1fr 1.1fr; align-items: baseline; } }
.principle-list dt { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1; }
.principle-list dd { margin: 0; color: var(--ink-2); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(3rem, 1.6rem + 6vw, 7rem); max-width: 14ch; }
.page-hero p { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); color: var(--ink-2); max-width: 46ch; margin: 28px 0 0; }
.page-hero.tall { padding-bottom: clamp(80px, 12vw, 160px); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { font-size: .9rem; font-weight: 700; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; background: var(--card); transition: background-color .2s, color .2s; }
.jump a:hover { background: var(--ink); color: var(--paper); }
.pb-lg { padding-bottom: clamp(72px, 10vw, 128px); }
.pb-xl { padding-bottom: clamp(80px, 10vw, 140px); }

/* Services detail: alternating bands with tick lists */
.details { border-top: 2px solid var(--ink); }
.detail { display: grid; gap: clamp(24px, 5vw, 72px); padding: clamp(48px, 7vw, 96px) 0; border-bottom: 2px solid var(--ink); scroll-margin-top: 90px; }
@media (min-width: 960px) { .detail { grid-template-columns: 1fr 1.25fr; } }
.detail .num { font-weight: 800; color: var(--gold-deep); font-size: 1rem; letter-spacing: .06em; display: block; margin-bottom: 12px; }
.detail h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); }
.detail .body > p { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.detail ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px 28px; }
@media (min-width: 640px) { .detail ul { grid-template-columns: 1fr 1fr; } }
.detail li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.5; }
.detail li::before { content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 14px; border-radius: 4px; background: var(--gold); }
.detail .fine { font-size: .9rem; color: var(--ink-3); margin: 24px 0 0; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 10px; }

/* About */
.split { display: grid; gap: clamp(28px, 6vw, 96px); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.3fr; } }
.split h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .92; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.prose p { color: var(--ink-2); font-size: 1.1rem; }
.prose p.big { color: var(--ink); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.section-head h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .92; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.values { display: grid; gap: 20px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: 6px 6px 0 var(--ink); }
.value h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.value p { color: var(--ink-2); margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 20px 0; border-bottom: 2px solid var(--ink); }
.facts dt { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.facts dd { margin: 0; font-size: 1.2rem; font-weight: 600; }
.facts dd a { text-decoration: none; border-bottom: 3px solid var(--gold); }
.facts dd a:hover { color: var(--gold-deep); }
.note-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 10px 10px 0 var(--ink); }
.note-card h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: 1.9rem; line-height: 1; margin-bottom: 16px; }
.note-card p { color: var(--ink-2); }
.note-card p:last-child { margin: 0; }

/* Legal */
.legal { max-width: 780px; padding-bottom: 120px; }
.legal h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: 1.7rem; line-height: 1; margin: 48px 0 14px; }
.legal h3 { font-size: 1.1rem; font-weight: 700; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal .updated { font-size: .95rem; color: var(--ink-3); }
.legal .table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 2px solid var(--ink); border-radius: 10px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 700; background: var(--paper-2); }

/* ---------- Footer (no divider lines; Contact us under the tagline) ---------- */
.footer { background: var(--ink); color: #c9d3cd; padding: 64px 0 32px; font-size: .95rem; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (max-width: 899px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
.footer .logo img { height: 54px; }
.footer .logo { margin-bottom: 16px; }
.footer p { margin: 0; }
.footer-cta { margin-top: 24px; --bg: var(--gold); --fg: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.footer-cta:hover { box-shadow: 6px 6px 0 var(--paper); }
.footer-cta:active { box-shadow: 0 0 0 var(--paper); }
.footer-head { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:not(.btn) { text-decoration: none; transition: color .15s; }
.footer a:not(.btn):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8fa499; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Motion hooks ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.motion [data-hero], .motion [data-split], .motion [data-fade], .motion [data-cta] { visibility: hidden; }
.motion [data-split] > * { padding-bottom: .1em; margin-bottom: -.1em; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity .4s ease; }
  .btn, .btn:hover, .btn:active, .svc-row:hover .svc-name, .svc-row:hover .svc-go { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-contrast: more) { :root { --ink-2: #1f2a25; --ink-3: #39443e; --line: rgba(8,46,29,.4); } }

/* Bigger logo so "Consulting" reads (user request) */
.header .wrap { height: 96px; }
.logo img { height: 66px; }
.footer .logo img { height: 76px; }
html { scroll-padding-top: 110px; }
@media (max-width: 900px) {
  .header .wrap { height: 80px; }
  .logo img { height: 54px; }
}
@media (max-width: 640px) { .stamp { right: 20px; } }
