/* Hera OSGB · tokens from DESIGN.md */
:root {
  --plum-950: #1E0636;
  --plum-900: #2A0A4A;
  --plum-700: #5A0E91;
  --hera-violet: #7509B5;
  --hera-magenta: #B70CAD;
  --hivis: #D9F22E;
  --ink: #1B1424;
  --ink-soft: #5B5266;
  --paper: #FFFFFF;
  --mist: #F5F1F9;
  --line: #E4DCEC;
  --grad: linear-gradient(135deg, var(--hera-violet), var(--hera-magenta));

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: 2.25rem;
  --fs-2xl: clamp(2.125rem, 4.2vw, 3.25rem);
  --fs-hero: clamp(2.6rem, 6.4vw, 5.25rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section-y: var(--s-10);

  --r-sm: 6px;
  --r-md: 14px;
  --r-pill: 999px;
  --shadow: 0 18px 40px -18px rgba(30, 6, 54, .35);

  --header-h: 76px;
}

@media (max-width: 760px) {
  :root { --section-y: 72px; --header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 760;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-2xl); color: var(--plum-950); }
h3 { font-size: var(--fs-md); line-height: 1.25; font-variation-settings: "wdth" 108; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: var(--hera-violet); text-underline-offset: 3px; }
a:hover { color: var(--hera-magenta); }

:focus-visible {
  outline: 3px solid var(--hivis);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--plum-950);
  border-radius: 4px;
}

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 480px) { .wrap { width: calc(100% - 32px); } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--plum-950); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 650; font-size: 1rem;
  font-variation-settings: "wdth" 106;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-position .4s ease, transform .15s ease, background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background-image: linear-gradient(110deg, var(--hera-violet) 0%, var(--hera-magenta) 50%, var(--hera-violet) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
}
.btn-primary:hover { color: #fff; background-position: 100% 0; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--hera-violet); border-color: var(--hera-violet); background: transparent; }
.btn-ghost:hover { color: #fff; background: var(--hera-violet); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { color: var(--plum-950); background: #fff; border-color: #fff; }

/* Reflective stripe: the signature detail */
.stripe {
  height: 14px;
  background:
    linear-gradient(to bottom,
      var(--hivis) 0 4px,
      #C9CDD3 4px 6px,
      #EEF0F2 6px 8px,
      #C9CDD3 8px 10px,
      var(--hivis) 10px 14px);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .25s, box-shadow .25s, color .25s;
}
.site-header.is-solid {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 780; font-size: 1.125rem; font-variation-settings: "wdth" 120; }
.brand:hover { color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 550; font-size: .975rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 20px; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
    min-height: 44px; padding: 0 4px; position: relative; z-index: 60;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, background-color .25s;
  }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 96px 32px 48px;
    background: var(--plum-950); color: #fff;
    visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s, visibility 0s; }
  .nav a:not(.btn) { font-size: 1.75rem; font-weight: 720; font-variation-settings: "wdth" 116; padding: 8px 0; }
  .nav-cta { margin-top: 24px; min-height: 52px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(183, 12, 173, .28), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(117, 9, 181, .35), transparent 60%),
    var(--plum-950);
  color: #fff;
  padding-top: calc(var(--header-h) + 72px);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: var(--s-7);
  padding-bottom: var(--s-9);
}
.hero-kicker { font-weight: 650; color: #E6CFF7; margin-bottom: var(--s-4); font-size: 1.0625rem; }
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 820;
  font-variation-settings: "wdth" 110;
  line-height: .98;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 15ch;
}
.hero-lead { font-size: var(--fs-lg); font-weight: 600; font-variation-settings: "wdth" 110; margin: var(--s-5) 0 var(--s-4); color: #F4E8FC; line-height: 1.25; }
.hero-text { max-width: 56ch; color: #D9CBE6; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-note { margin: var(--s-6) 0 0; color: #CBB8DC; font-size: var(--fs-sm); display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--hivis); flex: none; }
.hero-note strong { color: #fff; font-weight: 650; }

.hero-mark { position: relative; justify-self: end; width: min(100%, 460px); }
.h-mark { width: 100%; height: auto; overflow: visible; }
.h-ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 28; }
.h-line {
  fill: none; stroke: url(#hg); stroke-width: 74; stroke-linecap: butt; stroke-linejoin: round;
  stroke-dasharray: 2200; stroke-dashoffset: 2200;
  animation: draw 1.4s cubic-bezier(.65,0,.35,1) .25s forwards;
}
.h-line-2 { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .h-line { animation: none; stroke-dashoffset: 0; }
}
.hero > .stripe { position: relative; }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); padding-bottom: var(--s-8); }
  .hero-mark { order: -1; justify-self: start; width: 132px; }
  .h-ring { stroke-width: 40; }
}

/* Sections */
.section { padding-block: var(--section-y); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-9); align-items: start; }
.about-main h2 { margin-bottom: var(--s-6); max-width: 16ch; }
.about-main p { max-width: 64ch; color: var(--ink-soft); }
.about-main .lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); font-weight: 450; }
.signoff { margin-top: var(--s-6); color: var(--plum-700) !important; font-weight: 650; font-variation-settings: "wdth" 110; font-size: 1.125rem; }
.vm { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--header-h) + 32px); }
.vm-item { padding: var(--s-6); border-radius: var(--r-md); background: var(--mist); border-left: 4px solid var(--hera-violet); }
.vm-item:nth-child(2) { border-left-color: var(--hera-magenta); }
.vm-item h3 { color: var(--plum-950); margin-bottom: var(--s-3); font-size: var(--fs-lg); }
.vm-item p { color: var(--ink-soft); font-size: 1rem; }
.vm-item p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .vm { position: static; }
}

/* Why */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-9); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.why-head h2 { margin-bottom: var(--s-5); }
.why-head p { color: var(--ink-soft); max-width: 40ch; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--s-5);
  padding: var(--s-6) 0; border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list h3 { margin-bottom: var(--s-2); color: var(--plum-950); }
.why-list p { margin: 0; color: var(--ink-soft); max-width: 58ch; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.why-list .icon {
  width: 56px; height: 56px; padding: 13px; border-radius: 50%;
  color: var(--hera-violet); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .why-head { position: static; }
}
@media (max-width: 480px) {
  .why-list li { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* Services */
.services-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-9); align-items: end; margin-bottom: var(--s-8); }
.services-head p { color: var(--ink-soft); margin: 0; max-width: 56ch; }

.svc-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  grid-auto-rows: min-content;
  column-gap: var(--s-8);
}
.svc { display: contents; }
.svc-tab {
  grid-column: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left;
  font: inherit; font-size: 1.0625rem; font-weight: 600; font-variation-settings: "wdth" 104;
  color: var(--ink-soft);
  background: none; border: 0; border-top: 1px solid var(--line);
  padding: 18px 16px 18px 20px;
  cursor: pointer; position: relative;
  transition: color .2s, background-color .2s;
}
.svc-tab::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 2px;
  background: var(--grad); transform: scaleY(0); transition: transform .25s ease;
}
.svc-tab::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); opacity: .35; transition: opacity .2s, transform .2s;
}
.svc:last-child .svc-tab { border-bottom: 1px solid var(--line); }
.svc-tab:hover { color: var(--plum-950); background: var(--mist); }
.svc-tab[aria-expanded="true"] { color: var(--plum-950); background: var(--mist); }
.svc-tab[aria-expanded="true"]::before { transform: scaleY(1); }
.svc-tab[aria-expanded="true"]::after { opacity: 1; color: var(--hera-violet); }

.svc-panel {
  grid-column: 2; grid-row: 1 / span 9;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.svc-panel[hidden] { display: none; }
.svc-panel img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-md); box-shadow: var(--shadow);
}
.svc-body { padding: var(--s-6) var(--s-1) 0; }
.svc-body h3 { font-size: var(--fs-xl); color: var(--plum-950); margin-bottom: var(--s-4); }
.svc-body p { color: var(--ink-soft); max-width: 64ch; }
.svc-panel.is-entering img { animation: panelIn .45s ease both; }
.svc-panel.is-entering .svc-body { animation: panelIn .45s .06s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .svc-panel.is-entering img, .svc-panel.is-entering .svc-body { animation: none; }
}

@media (max-width: 900px) {
  .services-head { grid-template-columns: 1fr; gap: var(--s-4); margin-bottom: var(--s-6); }
  .svc-wrap { display: block; }
  .svc { display: block; }
  .svc-tab::after { transform: rotate(45deg); margin-top: -4px; }
  .svc-tab[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
  .svc-panel { position: static; padding: 8px 0 28px; }
  .svc-body { padding-top: var(--s-5); }
  .svc-body h3 { display: none; }
}

/* 3. göz band */
.audit { background: var(--plum-950); color: #fff; position: relative; overflow: hidden; }
.audit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: center;
  padding-block: var(--section-y);
}
.audit-kicker { color: var(--hivis); font-weight: 650; margin-bottom: var(--s-4); }
.audit h2 { color: #fff; margin-bottom: var(--s-5); max-width: 15ch; }
.audit-lead { font-size: 1.25rem; color: #F4E8FC; font-weight: 500; line-height: 1.45; }
.audit-copy p:not(.audit-lead):not(.audit-kicker) { color: #D3C3E2; max-width: 58ch; }
.audit-copy .btn { margin-top: var(--s-4); }
.audit-media { margin: 0; position: relative; }
.audit-media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,.18);
}
.audit-media img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-md); }
@media (max-width: 900px) {
  .audit-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .audit-media { order: -1; }
  .audit-media::before { inset: -12px 12px 12px -12px; }
}

/* Values */
.values h2 { margin-bottom: var(--s-7); }
.values-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--s-7); margin: 0; }
.values-list > div { padding: var(--s-5) 0 var(--s-6); border-top: 2px solid var(--plum-950); }
.values-list dt { font-size: var(--fs-md); font-weight: 720; font-variation-settings: "wdth" 112; color: var(--plum-950); margin-bottom: var(--s-2); }
.values-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .values-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-list { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.contact-copy h2 { margin-bottom: var(--s-6); max-width: 18ch; }
.contact-copy p { color: var(--ink-soft); max-width: 56ch; }
.contact-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: var(--s-4) var(--s-6) var(--s-6); }
.contact-line {
  display: grid; grid-template-columns: 28px 1fr; gap: var(--s-4); align-items: center;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.125rem; font-weight: 600;
}
a.contact-line:hover { color: var(--hera-violet); }
.contact-line .icon { color: var(--hera-violet); }
.contact-line small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); margin-bottom: 2px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.map { margin-top: var(--s-8); }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--r-md); display: block; filter: saturate(.85); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .map iframe { height: 280px; }
}
@media (max-width: 480px) {
  .contact-card { padding: var(--s-2) var(--s-5) var(--s-5); }
  .contact-line { font-size: 1.0625rem; }
  .contact-actions .btn { width: 100%; }
}

/* Footer */
.site-footer { background: var(--plum-950); color: #D3C3E2; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7);
  padding-block: var(--s-8) var(--s-7);
}
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: var(--s-4); }
.footer-slogan { color: #fff; font-weight: 700; font-variation-settings: "wdth" 114; font-size: 1.125rem; margin-bottom: var(--s-2); }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--hivis); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--s-5); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } }