/* Drumallan Group — site styles. Brand tokens from the Drumallan design system. */

/* Body face: Hanken Grotesk (SIL OFL), self-hosted. */
@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-grotesk-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-grotesk-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-grotesk-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
/* Display face: Georgia, installed on Windows, macOS and iOS. Gelasio (SIL OFL), a metric-compatible
   Georgia alternative, downloads only on devices without Georgia (e.g. Android). */
@font-face { font-family: 'Gelasio'; src: url('fonts/gelasio-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --sage: #4A5D52;
  --sage-600: #3B4D44;
  --sage-300: #93A099;
  --sage-50: #F1F4F2;
  --ink: #3C3C3A;
  --ink-soft: #5B5B56;
  --muted: #73726B;
  --line: #E6E3DB;
  --line-strong: #D6D2C8;
  --paper: #FAF9F6;
  --paper-2: #F3F1EA;
  --white: #FFFFFF;
  --font-serif: Georgia, 'Gelasio', 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-md: 4px;
  --dur: 220ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.measure { max-width: 640px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,249,246,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { display: block; }
.brand-word { font-family: var(--font-serif); font-size: 21px; letter-spacing: 0.08em; color: var(--ink); font-weight: 400; white-space: nowrap; }
.brand-rule { width: 1px; height: 28px; background: #C5C5C4; }
.brand-word-sm { font-size: 17px; }
.site-footer .brand-rule { height: 20px; }
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a { font-size: 14.5px; color: var(--ink-soft); transition: color var(--dur) var(--ease); }
.site-nav a:hover { color: var(--sage); }
.nav-cta { display: none; }

/* Type */
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px; display: block; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
.hero h1 { font-size: clamp(32px, 4.8vw, 54px); line-height: 1.1; margin-bottom: 32px; max-width: 680px; }
.hero p { font-size: 19px; line-height: 1.72; color: var(--ink-soft); max-width: 600px; margin-bottom: 16px; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; letter-spacing: 0.005em; }
.section-sub { font-family: var(--font-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--ink-soft); margin-top: 12px; max-width: 620px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 15px; font-weight: 500; padding: 13px 26px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn-primary { background: var(--sage); color: var(--paper); }
.btn-primary:hover { background: var(--sage-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* Sections */
.hero { padding: 104px 0 96px; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }

/* Prose */
.prose p { font-size: 17px; line-height: 1.78; color: var(--ink-soft); margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 28px; }

/* Criteria grid */
.crit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.crit-cell { background: var(--white); padding: 30px 32px 36px; display: flex; flex-direction: column; gap: 12px; }
.crit-cell h3 { font-size: 20px; }
.crit-cell p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.icon { color: var(--muted); }
.crit-note { margin-top: 32px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); max-width: 640px; }

/* How we work */
.steps { display: flex; flex-direction: column; max-width: 720px; }
.step { display: grid; grid-template-columns: 24px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: none; padding-top: 0; }
.step .icon { margin-top: 3px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }

/* Questions */
.faq { max-width: 720px; }
.faq-item { padding: 26px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.faq-item p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.contact-intro .section-head { margin-bottom: 28px; }
.contact-intro p { font-size: 17px; line-height: 1.72; color: var(--ink-soft); margin-bottom: 14px; max-width: 480px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 8px 32px; }
.contact-line { display: grid; grid-template-columns: 24px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-line:first-child { border-top: none; }
.contact-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-family: var(--font-serif); font-size: 21px; color: var(--ink); transition: color var(--dur) var(--ease); overflow-wrap: anywhere; }
a.contact-value:hover { color: var(--sage); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-meta a { color: var(--ink-soft); transition: color var(--dur) var(--ease); }
.footer-meta a:hover { color: var(--sage); }

/* Privacy page */
.legal { padding: 88px 0 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-bottom: 16px; }
.legal .updated { font-size: 14px; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-block; margin-top: 40px; font-size: 15px; color: var(--sage); }

/* Responsive */
@media (max-width: 820px) {
  .wrap { padding: 0 24px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .nav-cta { display: inline-flex; font-size: 14.5px; color: var(--sage); font-weight: 500; white-space: nowrap; }
  .brand { gap: 10px; }
  .site-header .brand svg { width: 36px; height: 23px; }
  .site-header .brand-rule { height: 22px; }
  .site-header .brand-word { font-size: 17px; letter-spacing: 0.05em; }
  .crit-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 64px; }
  .section, .legal { padding: 64px 0; }
  .contact-card { padding: 4px 22px; }
  .contact-value { font-size: 19px; }
}
