/* OSESAME — site styles
   Palette: indigo ink, toasted-sesame gold, cool porcelain. */
:root {
  --ink: #1B2540;
  --ink-2: #263256;
  --gold: #D4A757;
  --gold-soft: #F3D99A;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --slate: #556074;
  --line: #DDE2EA;
  --text: #1E2638;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 37, 64, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 700; letter-spacing: .14em; font-size: 1.02rem; }
.brand img { flex: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .96rem; font-weight: 500; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta { color: var(--ink); background: var(--gold); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--gold-soft); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 85% 40%, var(--ink-2), var(--ink) 60%);
  color: rgba(255,255,255,.86);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.hero h1 { color: var(--white); max-width: 14ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.78); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-mark { display: flex; justify-content: center; }
.lamp { position: relative; width: min(360px, 100%); aspect-ratio: 1; }
.lamp img { position: relative; width: 100%; height: auto; opacity: 0; transform: scale(.96); transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
/* warm light rising from the lamp's orb */
.lamp-glow {
  position: absolute; left: 84%; top: 46%; width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.4); border-radius: 50%;
  background: radial-gradient(circle, rgba(243,217,154,.55) 0%, rgba(212,167,87,.22) 35%, rgba(212,167,87,0) 70%);
  opacity: 0; transition: opacity 1.6s ease .5s, transform 1.8s cubic-bezier(.2,.7,.2,1) .5s;
}
.is-open .lamp img { opacity: 1; transform: none; }
.is-open .lamp-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p, .split-head p { color: var(--slate); font-size: 1.08rem; }

.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.practice { border-top: 2px solid var(--ink); padding-top: 28px; }
.practice:nth-child(2) { border-top-color: var(--gold); }
.practice p { color: var(--slate); max-width: 34ch; margin: 0; }
.practice h3 { font-size: 1.35rem; margin-top: 20px; }
.practice-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; }
.practice-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* About */
.about h2 { max-width: 820px; }
.about p { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 60ch; margin: 0; }

/* Contact */
.contact { background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(72px, 9vw, 112px) 0; }
.contact h2 { color: var(--white); max-width: 18ch; }
.contact p { max-width: 52ch; font-size: 1.08rem; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.contact-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px; display: grid; gap: 10px; justify-items: start; }
.contact-label { margin: 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.contact-email { color: var(--white); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; text-decoration: none; margin-bottom: 14px; word-break: break-word; }
.contact-email:hover { color: var(--gold-soft); }

/* Footer */
.site-footer { background: #151D33; color: rgba(255,255,255,.6); padding: 36px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.copyright { margin: 0; width: 100%; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.brand-light { font-size: .95rem; }

/* Simple content pages (privacy, 404) */
.page { padding: clamp(56px, 8vw, 96px) 0; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page p, .page li { color: var(--slate); }
.page-center { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.page-center p { margin-bottom: 1.6em; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .practices { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .lamp img, .lamp-glow { opacity: 1; }
  .lamp img { transform: none; }
  .lamp-glow { transform: translate(-50%, -50%); }
}
