:root {
  --bg: #0d0f10;
  --bg-2: #141617;
  --panel: #181b1d;
  --panel-2: #1d2022;
  --text: #f3f0e8;
  --muted: #c4beb2;
  --muted-2: #969188;
  --line: #30322f;
  --line-gold: rgba(213,181,105,.20);
  --gold: #c9a85a;
  --gold-2: #ead187;
  --paper: #f6f3ec;
  --paper-text: #20201e;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(92vw, 2100px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,15,16,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-gold);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  color: var(--gold-2);
  font-size: 1.42rem;
  font-weight: 780;
  letter-spacing: .04em;
}
.brand-name {
  color: var(--muted-2);
  font-size: .9rem;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.nav-links a {
  color: #e4dfd5;
  text-decoration: none;
  font-size: .95rem;
}
.nav-links a:hover,
.nav-links a:focus { color: var(--gold-2); }
.nav-cta {
  border: 1px solid rgba(213,181,105,.6);
  border-radius: 10px;
  padding: 9px 15px;
}

/* Main masthead */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 14%, rgba(213,181,105,.10), transparent 26%),
    radial-gradient(circle at 10% 88%, rgba(33,43,56,.26), transparent 34%),
    linear-gradient(135deg, #0a0c0d 0%, #121416 62%, #0e1011 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image:
    linear-gradient(121deg, transparent 0 76%, rgba(213,181,105,.10) 76.15%, transparent 76.35%),
    linear-gradient(31deg, transparent 0 91%, rgba(213,181,105,.08) 91.1%, transparent 91.3%);
}
.hero-logo-band,
.hero-content { position: relative; z-index: 1; }
.hero-logo-band {
  padding: clamp(30px, 3.4vw, 58px) 0 clamp(10px, 1.4vw, 24px);
}
.masthead-logo {
  width: min(86vw, 1580px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.20));
}
.hero-content {
  padding: clamp(12px, 1.5vw, 24px) 0 clamp(64px, 6vw, 96px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: .79rem;
  font-weight: 720;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1,h2,h3 { margin-top: 0; }
.hero-title {
  margin: 0 0 28px;
  max-width: 1500px;
  font-size: clamp(3.4rem, 4.7vw, 5.7rem);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 700;
  text-wrap: balance;
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: end;
}
.hero-lead {
  max-width: 940px;
  margin: 0;
  color: #d0cbc0;
  font-size: clamp(1.05rem, 1.12vw, 1.27rem);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 670;
  transition: .16s ease;
}
.btn-primary { background: var(--gold); color: #141414; }
.btn-primary:hover { background: var(--gold-2); }
.btn-secondary {
  color: #ece8dd;
  border-color: #49473f;
  background: rgba(255,255,255,.01);
}
.btn-secondary:hover { border-color: var(--gold); }

/* Main sections */
.section { padding: clamp(78px, 7vw, 116px) 0; }
.section-alt { background: var(--bg-2); }
.section-head {
  max-width: 1050px;
  margin-bottom: 46px;
}
h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(2.05rem, 2.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 680;
  text-wrap: balance;
}
.section-head p,
.profile-copy p,
.project p,
.card p,
.contact-box p,
.experience-strip span { color: var(--muted); }
.section-head p { margin: 0; font-size: 1.08rem; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.card {
  min-height: 232px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.card-num {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .15em;
}
.card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.22;
}
.card p { margin: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(340px,.85fr) minmax(0,1.15fr);
  gap: clamp(44px,6vw,110px);
  align-items: start;
}
.profile-note {
  margin: 0;
  padding: 5px 0 5px 22px;
  border-left: 2px solid var(--gold);
  color: #e4dfd3;
  font-size: clamp(1.08rem,1.35vw,1.3rem);
  line-height: 1.5;
}
.profile-copy p {
  margin: 0 0 18px;
  font-size: 1.06rem;
}
.experience-strip {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.experience-strip > div { padding: 24px 26px; background: var(--bg); }
.experience-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.project {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.project h3 { margin-bottom: 8px; color: var(--text); font-size: 1.5rem; }
.project p { margin: 0; max-width: 820px; }
.project-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.contact-box {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 36px;
  align-items: end;
}
.contact-box p { margin-bottom: 0; max-width: 820px; }
.contact-links { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: #98958d;
  font-size: .9rem;
}
.footer-row { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-row a { color:#bdb9af; text-decoration:none; }

/* Dark secondary pages */
.dark-content-page { min-height: 100vh; background: var(--bg); color: var(--text); }
.content-shell {
  width: min(88vw, 1180px);
  margin: 0 auto;
  padding: clamp(62px,6vw,92px) 0 clamp(84px,8vw,124px);
}
.dark-content-page .content-shell .eyebrow { color: var(--gold-2); }
.dark-content-page .content-shell h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.7rem,4.5vw,4.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.dark-content-page .content-shell h2 {
  margin: 38px 0 12px;
  color: var(--text);
  font-size: 1.55rem;
  letter-spacing: -.01em;
}
.dark-content-page .content-shell p,
.dark-content-page .content-shell li { color: var(--muted); }
.dark-content-page .content-shell a:not(.btn) { color: var(--gold-2); }
.projects-intro {
  max-width: 900px;
  margin: 0 0 42px;
  font-size: 1.08rem;
}
.project-list { display:grid; gap:20px; }
.dark-content-page .project {
  background: var(--panel);
  border-color: #363934;
}
.dark-content-page .project h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem,2.4vw,2.25rem);
  color: var(--text);
}
.project-kicker {
  margin: 0 0 10px !important;
  color: var(--gold-2) !important;
  font-size: .78rem;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.dark-content-page .privacy-intro {
  margin: 28px 0 36px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--panel);
  color: #e2ddd1;
}

/* Privacy page stays light */
.light-page { background: var(--paper); color: var(--paper-text); }
.light-page .site-header { background: rgba(246,243,236,.95); border-bottom-color:#ddd7cb; }
.light-page .brand-mark { color:#8a6a28; }
.light-page .brand-name,
.light-page .nav-links a { color:#444; }
.light-page .nav-links a:hover { color:#8a6a28; }
.light-page .nav-cta { border-color:#a78b4c; }
.light-page .content-shell { width:min(88vw,900px); }
.light-page .content-shell .eyebrow { color:#876928; }
.light-page .content-shell h1 {
  margin:0 0 12px;
  color:#1e1e1d;
  font-size:clamp(2.4rem,4.5vw,4.2rem);
  line-height:1.03;
  letter-spacing:-.04em;
}
.light-page .content-shell h2 {
  margin:38px 0 12px;
  color:#1f1f1e;
  font-size:1.48rem;
  letter-spacing:-.01em;
}
.light-page .content-shell p,
.light-page .content-shell li { color:#3f3e3a; }
.light-page .content-shell a:not(.btn) { color:#72571f; }
.updated { color:#6c6961 !important; margin:0 0 44px; }
.light-page .privacy-intro {
  margin:28px 0 36px;
  padding:22px 24px;
  background:#ece8dd;
  border-left:3px solid #aa8b49;
  border-radius:0 12px 12px 0;
  color:#2a2926;
}
.light-page .site-footer { border-top-color:#d8d3c8; color:#77736a; }
.light-page .footer-row a { color:#57534b; }

@media (max-width: 1200px) {
  .hero-bottom,
  .profile-grid,
  .project,
  .contact-box { grid-template-columns: 1fr; align-items:start; }
  .hero-actions,
  .project-links { justify-content:flex-start; }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .experience-strip { grid-template-columns:1fr; }
}

@media (max-width: 820px) {
  .container { width:min(94vw,2100px); }
  .brand-name { display:none; }
  .nav-links a:not(.nav-cta) { display:none; }
  .nav-links { gap:10px; }
  .hero-logo-band { padding:26px 0 8px; }
  .masthead-logo { width:94vw; }
  .hero-content { padding:16px 0 60px; }
  .hero-title {
    max-width:none;
    font-size:clamp(2.45rem,8.6vw,4rem);
    line-height:1.01;
  }
  .hero-lead { max-width:100%; font-size:1rem; }
  .section { padding:74px 0; }
  .grid-4 { grid-template-columns:1fr; }
  .card { min-height:0; }
  .content-shell { width:min(92vw,1180px); }
}

@media (max-width: 600px) {
  .nav { min-height:70px; }
  .hero-logo-band { padding-top:20px; }
  .masthead-logo { width:96vw; }
  .hero-title {
    font-size:clamp(2.15rem,10vw,3.15rem);
    letter-spacing:-.05em;
  }
  .hero-actions,
  .contact-links { flex-direction:column; align-items:stretch; }
  .btn { width:100%; }
  .project { padding:24px; }
  .content-shell { width:calc(100% - 28px); }
  .dark-content-page .content-shell h1,
  .light-page .content-shell h1 { font-size:clamp(2.2rem,10vw,3rem); }
}


/* V8 content layout */
.experience-strip-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1180px) {
  .experience-strip-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .experience-strip-4 { grid-template-columns: 1fr; }
}


/* V9: app detail content and publication status */
.app-page { max-width: 980px; }
.app-lead {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  color: var(--text) !important;
  margin: 0 0 30px;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 34px;
}
.model-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.model-card h3 {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 1.2rem;
}
.model-card p { margin: 0; }
.app-status {
  display: grid;
  gap: 5px;
  margin: 38px 0 22px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,90,.08);
  color: var(--text);
}
.app-status strong {
  color: var(--gold-2);
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.app-status span { color: var(--muted); }
.app-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .model-grid { grid-template-columns: 1fr; }
  .app-actions { flex-direction: column; }
  .app-actions .btn { width: 100%; }
}


/* V10: stronger senior hierarchy without redesign */
.nav-secondary { color: var(--muted-2) !important; }
.nav-secondary:hover,
.nav-secondary:focus { color: var(--gold-2) !important; }

.hero-logo-band { padding-bottom: clamp(4px, .7vw, 12px); }
.hero-content { padding-top: clamp(8px, 1vw, 16px); }
.hero-identity {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.02em;
}
.hero-title {
  max-width: 1600px;
  margin-bottom: 24px;
}
.hero-lead { max-width: 880px; }

.compact-head { margin-bottom: 34px; }

.situation-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.situation-list span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: #ded9cf;
  font-weight: 600;
  line-height: 1.35;
}
.situation-list span + span { border-left: 1px solid var(--line); }

.results-section { background: #101213; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line);
}
.result-item {
  padding: 30px 28px 32px 0;
  min-width: 0;
}
.result-item + .result-item {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.result-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: clamp(2rem, 2.7vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 680;
}
.result-item p {
  margin: 0;
  max-width: 32ch;
  color: var(--muted);
  line-height: 1.5;
}

.leadership-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(36px, 6vw, 100px);
  border-top: 1px solid var(--line);
}
.leadership-list > div {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.leadership-list strong {
  color: var(--text);
  line-height: 1.35;
}
.leadership-list span {
  color: var(--muted);
  line-height: 1.5;
}

.profile-copy .career-proof {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .95rem;
}

.section-projects {
  padding-top: clamp(58px, 5vw, 82px);
  padding-bottom: clamp(58px, 5vw, 82px);
  border-top: 1px solid var(--line);
}
.project-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}
.project-teaser h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
}
.project-teaser p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}
.text-link {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 650;
}
.text-link:hover,
.text-link:focus { text-decoration: underline; }
.subdued-link { color: var(--muted) !important; }
.subdued-link:hover,
.subdued-link:focus { color: var(--gold-2) !important; }

.contact-box p + p { margin-top: 10px; }

@media (max-width: 1200px) {
  .situation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .situation-list span + span { border-left: 0; }
  .situation-list span:nth-child(even) { border-left: 1px solid var(--line); }
  .situation-list span { border-bottom: 1px solid var(--line); }
  .situation-list span:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-bottom: 0;
  }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-item:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .result-item:nth-child(4) { border-top: 1px solid var(--line); }
  .leadership-list { grid-template-columns: 1fr; }
  .project-teaser { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 820px) {
  .hero-identity { font-size: clamp(1.25rem, 4.8vw, 1.65rem); }
  .situation-list { grid-template-columns: 1fr; }
  .situation-list span,
  .situation-list span:nth-child(even),
  .situation-list span:last-child {
    min-height: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
    padding-right: 0;
  }
  .situation-list span:last-child { border-bottom: 0; }
  .results-grid { grid-template-columns: 1fr; }
  .result-item,
  .result-item + .result-item,
  .result-item:nth-child(3),
  .result-item:nth-child(4) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .result-item:first-child { border-top: 0; }
  .result-item strong { font-size: clamp(2rem, 10vw, 3rem); }
  .leadership-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* V11 FINAL POLISH: executive hierarchy, tighter mobile, quieter visual system */
:root {
  --focus: #f0d98f;
}

/* Reduced decorative treatment: typography and whitespace carry the page. */
.hero::after { display: none; }
.hero-logo-band { padding: clamp(24px, 2.6vw, 44px) 0 clamp(2px, .4vw, 7px); }
.masthead-logo { width: min(79vw, 1480px); }
.hero-content { padding: clamp(8px, .8vw, 14px) 0 clamp(56px, 5vw, 82px); }
.hero-identity {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: clamp(1.18rem, 1.45vw, 1.62rem);
  line-height: 1.2;
  font-weight: 690;
  letter-spacing: -.018em;
}
.hero-title {
  max-width: 1420px;
  margin: 0 0 18px;
  font-size: clamp(3.25rem, 4.35vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.052em;
}
.hero-service-line {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 680;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 820px;
  font-size: clamp(1.02rem, 1.04vw, 1.18rem);
  line-height: 1.62;
}
.hero-bottom { align-items: center; }

/* Quieter CTA treatment and clear keyboard focus. */
.btn { border-radius: 8px; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary:hover { background: rgba(255,255,255,.025); }
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/* Tighter overall rhythm. */
.section { padding: clamp(70px, 6vw, 100px) 0; }
.section-head { max-width: 980px; margin-bottom: 38px; }
.compact-head { margin-bottom: 28px; }
h2 { font-size: clamp(1.95rem, 2.55vw, 3.05rem); }

/* Interim: four situations, no service-card feel. */
.situation-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.situation-list span {
  min-height: 76px;
  padding: 16px 20px;
  font-weight: 590;
}

/* Results: documentation rather than KPI dashboard. */
.results-section { background: #101213; }
.results-grid {
  gap: clamp(28px, 3vw, 54px);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line);
}
.result-item,
.result-item + .result-item {
  padding: 27px 0 30px;
  border-left: 0;
}
.result-item strong {
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 2.25vw, 2.75rem);
  letter-spacing: -.035em;
}
.result-item p {
  max-width: 38ch;
  font-size: .98rem;
  line-height: 1.5;
}

/* Leadership competence: one calm typographic list, not a card/service grid. */
.leadership-list {
  display: block;
  max-width: 1420px;
  border-top: 1px solid var(--line);
}
.leadership-list > div {
  grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  padding: 20px 0;
}
.leadership-list strong { font-size: 1.02rem; }
.leadership-list span { max-width: 820px; }

/* Profile: slightly narrower reading measure. */
.profile-copy { max-width: 900px; }
.profile-copy p { line-height: 1.62; }

/* Side projects deliberately secondary. */
.nav-secondary {
  color: #817d75 !important;
  font-size: .84rem !important;
  font-weight: 500;
}
.section-projects {
  padding-top: clamp(42px, 4vw, 62px);
  padding-bottom: clamp(42px, 4vw, 62px);
}
.project-teaser { align-items: center; }
.minor-heading {
  margin: 0 0 6px;
  color: #c8c2b7;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem);
  font-weight: 620;
  letter-spacing: -.015em;
}
.project-teaser p { font-size: .98rem; }
.subdued-link { font-size: .92rem; font-weight: 560; }

/* Footer: reduce visual weight. */
.site-footer { padding: 28px 0 34px; font-size: .86rem; }

@media (max-width: 1200px) {
  .situation-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .situation-list span:nth-child(even) { border-left: 1px solid var(--line); }
  .results-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .result-item,
  .result-item + .result-item,
  .result-item:nth-child(3),
  .result-item:nth-child(4) { border: 0; padding: 24px 0; }
  .result-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .container { width: min(92vw, 2100px); }
  .hero-logo-band { padding: 16px 0 0; }
  .masthead-logo { width: 88vw; }
  .hero-content { padding: 10px 0 46px; }
  .hero-identity {
    margin-bottom: 8px;
    font-size: clamp(1.08rem, 4.7vw, 1.38rem);
  }
  .hero-title {
    margin-bottom: 12px;
    font-size: clamp(2.05rem, 8.2vw, 3.25rem);
    line-height: 1.01;
  }
  .hero-service-line {
    margin-bottom: 19px;
    font-size: .69rem;
    letter-spacing: .09em;
  }
  .hero-lead { font-size: .96rem; line-height: 1.52; }
  .hero-bottom { gap: 22px; }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; min-height: 44px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 30px; }
  .situation-list { grid-template-columns: 1fr; }
  .situation-list span,
  .situation-list span:nth-child(even),
  .situation-list span:last-child {
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .situation-list span:last-child { border-bottom: 0; }
  .results-grid { grid-template-columns: 1fr; gap: 0; }
  .result-item,
  .result-item + .result-item,
  .result-item:nth-child(3),
  .result-item:nth-child(4) {
    padding: 21px 0;
    border-top: 1px solid var(--line);
  }
  .result-item:first-child { border-top: 0; }
  .result-item strong { font-size: clamp(1.8rem, 8.8vw, 2.5rem); }
  .leadership-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 17px 0;
  }
  .profile-grid { gap: 30px; }
  .section-projects { padding: 38px 0; }
  .project-teaser { gap: 16px; }
  .contact-box { gap: 26px; }
}

@media (max-width: 600px) {
  .nav { min-height: 64px; }
  .hero-logo-band { padding-top: 12px; }
  .masthead-logo { width: 90vw; }
  .hero-content { padding-top: 6px; padding-bottom: 40px; }
  .hero-title { font-size: clamp(1.95rem, 9.2vw, 2.65rem); }
  .hero-service-line { font-size: .64rem; letter-spacing: .075em; }
  .hero-actions { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { padding: 0 12px; }
  .section { padding: 52px 0; }
  h2 { font-size: clamp(1.75rem, 7.8vw, 2.35rem); }
  .contact-links { gap: 10px; }
  .contact-links .btn { min-height: 46px; }
}

/* Accessibility contrast refinement for the light privacy footer. */
.light-page .site-footer { color: #6d6962; }


/* V15: Norsk transkripsjon product refresh */
.app-visual {
  margin: 28px 0 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: rgba(255,255,255,.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.app-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.app-feature-list {
  margin: 0 0 24px 1.1rem;
  padding: 0;
  color: var(--muted);
}
.app-feature-list li {
  margin: 0 0 8px;
}
@media (max-width: 640px) {
  .app-visual { margin: 22px 0 28px; }
  .app-feature-list { margin-left: 1rem; }
}
