/* Shared palette and spacing. No external fonts or dependencies. */
:root {
  --ink: #192c3b;
  --paper: #f8f7f3;
  --stone: #eeece6;
  --line: #d3d3cc;
  --muted: #54616a;
  --accent: #7c633b;
  --gold: #ccb58a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 80px)); margin: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Header and progressive mobile navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: block; width: 52px; height: 52px; flex-shrink: 0; }
.brand-text { display: block; }
.brand-name { display: block; font-size: 23px; font-weight: 700; letter-spacing: .075em; line-height: 1.2; }
.brand-name span { font-weight: 400; }
.brand-descriptor { display: block; margin-top: 7px; font-size: 12px; letter-spacing: .065em; color: var(--muted); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { padding: 10px 0; text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--ink); padding: 11px 17px; font-weight: 700; }
.nav-cta span { margin-left: 14px; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }

/* First impression: editorial type and a restrained experience panel. */
.hero { padding: 92px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 65px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 26px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(48px, 5.8vw, 78px); font-weight: 400; letter-spacing: -.045em; margin-bottom: 28px; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.025em; margin-bottom: 28px; }
h3 { font-size: 22px; margin-bottom: 12px; }
.lead { font-size: 19px; max-width: 550px; color: var(--muted); line-height: 1.75; }
.lead.small { font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.primary { background: var(--ink); color: white; }
.primary:hover { background: #2b4558; border-color: #2b4558; }
.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.secondary:hover { border-color: var(--ink); background: var(--stone); }
.hero-note { margin: 30px 0 0; font-size: 13px; color: var(--muted); }
.hero-card { background: var(--ink); color: var(--paper); padding: 38px 34px 26px; border-top: 3px solid var(--gold); }
.panel-kicker { margin: 0 0 34px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero-card h2 { font-size: clamp(27px, 2.6vw, 34px); font-weight: 400; margin-bottom: 30px; line-height: 1.2; }
.hero-disciplines { list-style: none; margin: 0; padding: 0; border-top: 1px solid #4b5a64; }
.hero-disciplines li { display: flex; align-items: baseline; gap: 17px; padding: 15px 0; border-bottom: 1px solid #4b5a64; font-size: 14px; }
.hero-disciplines li span { font-size: 12px; color: var(--gold); font-variant-numeric: tabular-nums; }
.panel-footer { margin: 26px 0 0; font-size: 12px; color: #c4cdd2; }

/* Existing content sections, sharing the refined palette. */
.section { padding: 95px 0; }
.alt { background: var(--stone); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.prose { font-size: 18px; color: var(--muted); }
.prose p:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 45px; }
.cards article { background: var(--paper); padding: 32px; min-height: 260px; }
.cards article span { font-size: 12px; color: var(--accent); font-weight: 700; }
.cards article h3 { margin-top: 45px; }
.cards article p { color: var(--muted); font-size: 16px; }
/* About: a verified experience figure alongside Daniel's own introduction. */
.about-heading h2 { font-weight: 400; }
.experience-highlight { display: flex; align-items: center; gap: 24px; margin: 38px 0 0; padding-top: 25px; border-top: 1px solid var(--line); }
.experience-highlight > strong { font-family: Georgia, serif; font-size: 80px; font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.experience-highlight > strong span { color: var(--accent); font-size: .65em; vertical-align: top; }
.experience-highlight > span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.about-copy .about-intro { color: var(--ink); font-size: 24px; line-height: 1.4; }
.about-role { border-top: 1px solid var(--line); margin: 28px 0 0; padding-top: 22px; }
.about-role strong { display: block; color: var(--ink); font-size: 16px; }
.about-role span { display: block; margin-top: 3px; font-size: 14px; }

/* Expertise: clear areas of advice without implying professional credentials. */
.expertise-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: end; }
.expertise-heading h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 400; margin-bottom: 0; }
.expertise-heading > p { color: var(--muted); margin: 0; font-size: 17px; }
.expertise .cards .expertise-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 455px; overflow: hidden; padding: 30px; color: var(--paper); }
.expertise-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 23, 33, .12) 0%, rgba(10, 23, 33, .94) 78%); }
.expertise-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.expertise .cards .expertise-number { color: var(--gold); }
.expertise .cards h3 { font-size: 25px; font-weight: 400; line-height: 1.2; margin-top: 28px; }
.expertise .cards p { margin: 0; color: #e5e8e9; line-height: 1.7; }
.expertise .cards .advisory-card { background: var(--ink); }
.expertise .advisory-card .expertise-number { color: var(--gold); }
.expertise .advisory-card p { color: #cbd0d4; }
.expertise-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; }
.expertise-footer p { margin: 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); }

.experience-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.experience h2, .process h2, .contact h2 { font-weight: 400; }
.experience-context { color: var(--muted); max-width: 420px; }
.experience-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.experience-list li { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.experience-index { color: var(--accent); font-size: 12px; padding-top: 5px; }
.experience-list h3 { font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.experience-list p { color: var(--muted); margin: 0; font-size: 16px; }
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: var(--gold); }
.process-intro { max-width: 580px; color: #cbd0d4; font-size: 18px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin: 45px 0 0; }
.steps li { border-top: 1px solid #53616c; padding-top: 24px; }
.step-number { display: block; color: var(--gold); font-size: 14px; margin-bottom: 25px; }
.steps h3 { font-weight: 400; font-size: 26px; }
.steps p { color: #cbd0d4; }
.process-note { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid #53616c; color: #cbd0d4; font-size: 15px; }
.process :focus-visible, .advisory-card :focus-visible { outline-color: var(--gold); }
.contact { background: #e4e2db; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-guidance { margin: 32px 0; border-top: 1px solid #bfc2be; padding-top: 26px; }
.contact-guidance h3 { font-size: 23px; font-weight: 400; }
.contact-guidance ul { padding-left: 20px; color: var(--muted); }
.contact-guidance li { margin: 9px 0; }
.contact-availability { max-width: 340px; color: var(--muted); font-size: 15px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; }
.contact-form .full-width { grid-column: 1 / -1; }
.form-help { margin: 0; font-size: 14px; color: var(--muted); }
.form-help a, footer a { text-underline-offset: 3px; }
#form-status { border-left: 2px solid var(--accent); padding-left: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-width: 0; border: 1px solid #91999e; background: var(--paper); padding: 13px; font-size: 16px; font-weight: 400; border-radius: 0; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.confirmation { min-height: 75vh; display: grid; align-items: center; }
.confirmation .container { max-width: 780px; }
.confirmation h1 { font-size: clamp(40px, 6vw, 64px); }
.privacy-page { padding: 90px 0; }
.privacy-page .privacy-intro { max-width: 720px; color: var(--muted); font-size: 19px; }
.privacy-content { max-width: 760px; margin-top: 55px; }
.privacy-content section { padding: 28px 0; border-top: 1px solid var(--line); }
.privacy-content h2 { margin-bottom: 14px; font-size: 29px; font-weight: 400; }
.privacy-content p, .privacy-content li { color: var(--muted); }
.privacy-content ul { padding-left: 22px; }

footer { background: #12212c; color: #bfc7ce; padding: 28px 0; font-size: 13px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 1100px) {
  .hero-grid { gap: 36px; }
  .hero-card { padding: 30px 26px 24px; }
  nav { gap: 18px; }
}

@media (max-width: 960px) {
  .container { width: calc(100% - 48px); }
  .nav-wrap { min-height: 86px; flex-wrap: wrap; gap: 0; padding: 18px 0; }
  .brand-name { font-size: 21px; }
  nav { width: 100%; flex-wrap: wrap; gap: 8px 22px; padding-top: 20px; }
  .has-menu .menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
  .menu-icon { width: 16px; height: 8px; border-top: 1px solid; border-bottom: 1px solid; }
  .menu-toggle[aria-expanded="true"] .menu-icon { height: 0; border-bottom: 0; }
  .has-menu nav { display: none; }
  .has-menu .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .hero { padding: 65px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  h1 { font-size: clamp(44px, 6vw, 58px); }
  .hero-card { padding: 30px 22px 24px; }
  .split, .experience-grid, .contact-grid { gap: 45px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .expertise-heading { grid-template-columns: 1fr; gap: 24px; }
  .expertise-heading > p { max-width: 620px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 100px; }
  .hero { padding: 48px 0; }
  .hero-grid, .split, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: clamp(43px, 9.6vw, 64px); }
  .lead { font-size: 18px; }
  .hero-card { padding: 28px; }
  .panel-kicker { margin-bottom: 24px; }
  .hero-card h2 { font-size: 32px; }
  .hero-note { margin-top: 24px; }
  .section { padding: 64px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .experience-highlight { margin-top: 28px; }
  .expertise-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cards article { min-height: 0; }
  .expertise .cards .expertise-card { min-height: 390px; }
  .cards article h3 { margin-top: 24px; }
  .contact-form { grid-template-columns: 1fr; }

  .footer-wrap { flex-direction: column; gap: 8px; }
  .has-menu nav { align-items: stretch; flex-direction: column; gap: 0; max-height: 65vh; overflow-y: auto; }
  nav a { min-height: 44px; }
  .nav-cta { margin-top: 10px; text-align: center; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 18px; }
  .brand-descriptor { font-size: 12px; letter-spacing: 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .hero-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.contact-email { margin-top: 28px; }
.contact-email span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.contact-email a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; text-underline-offset: 4px; }

/* Keep the full logo and menu comfortably inside narrow screens. */
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 17px; letter-spacing: .04em; }
  .brand-descriptor { display: none; }
}
@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
}

/* Approved portrait concept, optimised for the About section. */
.about-portrait { margin: 30px 0 0; max-width: 360px; }
.about-portrait img { display: block; width: 100%; height: auto; border-top: 3px solid var(--gold); }
.about-portrait figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 12px; font-size: 14px; }
.about-portrait figcaption span { color: var(--muted); font-size: 12px; }
.about-copy .experience-highlight { margin: 0 0 32px; padding: 0 0 26px; border-top: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) {
  .about-portrait { max-width: 420px; }
}
