:root {
  --bg: #11100e;
  --panel: #191713;
  --panel-soft: #211e19;
  --ink: #f4eee3;
  --muted: #c9bfae;
  --quiet: #9b907f;
  --gold: #b58a4b;
  --gold-soft: #d2ad72;
  --line: rgba(210, 173, 114, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(181, 138, 75, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(210, 173, 114, 0.10), transparent 28rem),
    linear-gradient(135deg, #0d0c0b 0%, var(--bg) 56%, #17130f 100%);
  color: var(--ink);
  line-height: 1.55;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(45deg, transparent 0 46%, rgba(210,173,114,0.18) 46% 48%, transparent 48% 100%),
    radial-gradient(circle, rgba(210,173,114,0.18) 1px, transparent 1px);
  background-size: 54px 54px, 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #111;
  padding: .75rem 1rem;
  z-index: 10;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
  background: rgba(17, 16, 14, 0.82);
  border-bottom: 1px solid rgba(210,173,114,0.16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: .03em;
}

.brand strong { font-size: 1.15rem; font-weight: 600; }
.brand span { font-size: .72rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .14em; }

.nav-links { display: flex; flex-wrap: wrap; gap: .35rem .75rem; justify-content: flex-end; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  padding: .45rem .35rem;
}
.nav-links a:hover, .nav-links a:focus { color: var(--ink); }

.hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kicker { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin: 0 0 1rem; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); line-height: .92; margin: 0 0 1.2rem; letter-spacing: -.06em; }
.lead { font-size: clamp(1.25rem, 2.4vw, 1.75rem); max-width: 760px; color: var(--ink); margin: 0 0 1rem; }
.sublead { max-width: 760px; color: var(--muted); font-size: 1.05rem; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; padding: .84rem 1.05rem;
  color: var(--ink); text-decoration: none; background: rgba(210,173,114,.10);
}
.button.secondary { background: transparent; color: var(--muted); }
.button:hover, .button:focus { border-color: rgba(210,173,114,.55); color: var(--ink); }

.identity-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 2rem);
  position: relative;
  overflow: hidden;
}
.identity-card::before {
  content: '';
  position: absolute;
  inset: -60% -30% auto auto;
  width: 240px; height: 240px;
  border: 1px solid rgba(210,173,114,.26);
  border-radius: 50%;
}
.identity-card p { margin: .8rem 0; color: var(--muted); }
.identity-card .statement { color: var(--ink); font-size: 1.1rem; }
.identity-card .tag { color: var(--gold-soft); font-size: .88rem; text-transform: uppercase; letter-spacing: .12em; }

section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 4vw, 2.4rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: .98; margin: .35rem 0 1rem; letter-spacing: -.04em; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; margin: 0; }

/* Fixed card layout for “What Laga B. does”: stable across wide/narrow viewports. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.35rem);
  align-items: stretch;
}
.card {
  min-width: 0;
  border: 1px solid rgba(210,173,114,.18);
  background: rgba(25,23,19,.72);
  border-radius: 20px;
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.card h3 { margin: 0; font-size: 1.18rem; color: var(--ink); }
.card p { margin: 0; color: var(--muted); }
.card .num { color: var(--gold-soft); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
ul.clean { padding-left: 1.1rem; color: var(--muted); margin: 0; }
ul.clean li { margin: .55rem 0; }
.deliverables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }

.notice {
  border-left: 2px solid var(--gold);
  background: rgba(210,173,114,.08);
  padding: 1rem 1.1rem;
  border-radius: 0 16px 16px 0;
  color: var(--muted);
}

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1rem; }
.email-link { font-size: 1.08rem; color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .22em; word-break: break-word; }

.site-footer {
  border-top: 1px solid rgba(210,173,114,.16);
  padding: 2rem 0;
  color: var(--quiet);
  font-size: .9rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: var(--ink); }

.legal-page main { max-width: 860px; }
.legal-page h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
.legal-box {
  border: 1px solid rgba(210,173,114,.22);
  border-radius: 18px;
  padding: 1.2rem;
  background: rgba(25,23,19,.68);
  margin: 1rem 0;
}
.placeholder { color: #ffdf95; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; padding: .95rem 0; }
  .nav-links { justify-content: flex-start; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero { padding-top: 2.8rem; }
}


/* v5.1 deploy-only refinements: balanced typography, accessibility, cautious wording support */
:root {
  --max: 1080px;
}

body {
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

.nav {
  min-height: 68px;
}

.nav-links a,
.button,
.kicker,
.eyebrow,
.brand span,
.card .num {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.85rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  max-width: 820px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.lead {
  font-size: clamp(1.1rem, 1.9vw, 1.38rem);
  line-height: 1.5;
  max-width: 720px;
}

.sublead {
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

.hero {
  padding: clamp(3.1rem, 6vw, 5.7rem) 0 clamp(2.2rem, 5vw, 4rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .72fr);
  gap: clamp(1.6rem, 4.2vw, 3.4rem);
}

.logo-panel {
  border: 1px solid var(--line);
  background: rgba(25,23,19,.72);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 430px;
  justify-self: end;
}

.logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-caption {
  padding: .9rem 1rem 1rem;
  color: var(--quiet);
  font-size: .92rem;
  line-height: 1.45;
}

.status-note {
  border: 1px solid rgba(210,173,114,.22);
  border-left: 3px solid var(--gold);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: rgba(210,173,114,.07);
  color: var(--muted);
  margin: 1.1rem 0 0;
  max-width: 760px;
}

.details-card {
  border: 1px solid rgba(210,173,114,.22);
  background: rgba(25,23,19,.74);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.2rem;
}

.details-card summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  list-style-position: outside;
}

.details-card summary::marker {
  color: var(--gold-soft);
}

.details-card summary:focus-visible,
.button:focus-visible,
.nav-links a:focus-visible,
.email-link:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
  border-radius: 8px;
}

.details-card-body {
  margin-top: .85rem;
  color: var(--muted);
}

.details-card-body ul {
  margin: .75rem 0;
  padding-left: 1.2rem;
}

.details-card-body li {
  margin: .42rem 0;
}

.work-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  gap: .55rem;
}

.card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.card p,
ul.clean,
.notice,
.boundary-item,
.details-card-body {
  font-size: .99rem;
}

.boundary-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.boundary-item {
  border: 1px solid rgba(210,173,114,.16);
  background: rgba(255,255,255,.025);
  border-radius: 16px;
  padding: .9rem 1rem;
  color: var(--muted);
}

.boundary-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: .25rem;
}

.contact-grid {
  align-items: stretch;
}

.small-note,
.legal-hold {
  color: var(--quiet);
  font-size: .92rem;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .logo-panel {
    justify-self: start;
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { min-height: auto; }
  .hero { padding-top: 2.3rem; }
  h1 { font-size: clamp(2.18rem, 12vw, 3.25rem); }
  .section-head h2 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .logo-panel { max-width: 310px; margin-inline: auto; justify-self: center; }
  .actions { gap: .65rem; }
  .button { width: 100%; }
}


/* v5.2 typography correction — calmer scale across browsers */

body {
  font-size: 16.5px;
  line-height: 1.65;
}

h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 1.15rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.lead {
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.sublead {
  font-size: 1rem;
  line-height: 1.65;
}

.card h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.card p,
.details-card-body,
.boundary-item,
.notice,
.status-note {
  font-size: 1rem;
  line-height: 1.62;
}

.kicker,
.eyebrow {
  font-size: .76rem;
}

.brand strong {
  font-size: 1.08rem;
}

.brand span {
  font-size: .7rem;
}

.logo-caption,
.small-note,
.legal-hold {
  font-size: .92rem;
}

.hero {
  padding: clamp(3rem, 6vw, 5.25rem) 0 clamp(2.5rem, 5vw, 4rem);
}

section {
  padding: clamp(2.25rem, 5vw, 4.25rem) 0;
}

.hero-grid {
  align-items: center;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 2.65rem);
    line-height: 1.06;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.95rem);
  }

  .lead {
    font-size: 1.06rem;
  }

  .sublead,
  .card p,
  .details-card-body,
  .boundary-item,
  .notice,
  .status-note {
    font-size: 1rem;
  }
}
