/* The Ghost — global stylesheet (flattened).
   All tokens and website rules in one file. */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,900&family=Newsreader:opsz,ital,wght@6..72,0,400;6..72,0,500;6..72,1,400&family=IBM+Plex+Mono:wght@400;500;600&family=Shantell+Sans:wght@500;600;700&family=Archivo+Black&family=Work+Sans:ital,wght@0,400;0,600;0,800;1,400&family=Special+Elite&family=Libre+Caslon+Display&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Caveat:wght@400;600;700&family=Nothing+You+Could+Do&display=swap');

/* === COLORS === */
:root {
  --slate: #2D404E;
  --magenta: #FF6FA3;
  --teal: #47C6CD;
  --ghost-orange: #F78721;
  --white: #FFFFFF;
  --ink: #161616;
  --ground: var(--slate);
  --ground-alt: var(--white);
  --surface-dark: var(--slate);
  --text-body: var(--white);
  --text-on-light: var(--ink);
  --text-inverse: var(--slate);
  --line: var(--magenta);
  --accent: var(--magenta);
  --accent-2: var(--teal);
  --accent-warm: var(--ghost-orange);
  --c-slate: #293E49;
  --c-offwhite: #E1E9EE;
  --c-pink: #FF6FA3;
  --c-teal: #3FC6D4;
  --c-grey: #A9B1B6;
  --c-orange: #F5842B;
  --c-ink: #1A2A33;
  --c-paper: #F4F7F9;
  --cream: #F2EDE7;
  --paper: #FFFFFF;
  --ink-warm: #2B2B28;
  --riso-red: #B4231F;
  --vermilion: #D92C28;
  --tangerine: #E8642E;
  --cadmium: #F0D525;
  --mustard: #F2CF63;
  --coral: #F2705F;
  --rose: #DDA2B3;
  --blush: #F2B8C0;
  --ochre: #E0A13C;
  --accent-soft: var(--rose);
}

/* === TYPOGRAPHY === */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-hand: 'Shantell Sans', 'Comic Sans MS', cursive;
  --font-shout: 'Archivo Black', 'Arial Black', sans-serif;
  --font-sans: 'Work Sans', 'Helvetica Neue', sans-serif;
  --font-typewriter: 'Special Elite', 'Courier New', monospace;
  --display-black: 900;
  --display-semi: 600;
  --body-regular: 400;
  --body-medium: 500;
  --size-mega: 148px;
  --size-xxl: 92px;
  --size-xl: 64px;
  --size-lg: 44px;
  --size-md: 30px;
  --size-body: 21px;
  --size-sm: 17px;
  --size-label: 13px;
  --size-footnote: 11px;
  --lh-tight: 0.94;
  --lh-snug: 1.08;
  --lh-body: 1.5;
  --tracking-mono: 0.14em;
  --tracking-shout: 0.01em;
  --tracking-display: -0.01em;
}

/* === SPACING === */
:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --margin-frame: 8%;
  --margin-frame-tight: 5%;
  --caption-gap: var(--sp-6);
  --radius-none: 0px;
  --radius-sticker: 999px;
  --radius-photo: 2px;
}

/* === TEXTURE === */
:root {
  --grain-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --mottle-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.35' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='0.35'/%3E%3C/svg%3E");
  --grain-opacity: 0.14;
  --mottle-opacity: 0.10;
}
.ghost-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-url);
  background-size: 180px 180px;
  mix-blend-mode: multiply;
  opacity: var(--grain-opacity);
  pointer-events: none;
}
.ghost-mottle::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mottle-url);
  background-size: 320px 320px;
  mix-blend-mode: multiply;
  opacity: var(--mottle-opacity);
  pointer-events: none;
}
.ghost-paper {
  background-color: var(--cream);
  background-image: var(--grain-url);
  background-size: 180px 180px;
  background-blend-mode: multiply;
}

/* === WEBSITE SYSTEM === */
.ghost-web {
  --ink-0: #14110E;
  --ink-1: #2A2621;
  --ink-2: #4A443C;
  --ink-3: #6E665B;
  --ink-4: #A39C90;
  --paper-0: #FBF8F2;
  --paper-1: #F4EFE6;
  --paper-2: #EAE3D6;
  --paper-3: #DCD3C2;
  --crimson: #C2303C;
  --crimson-press: #9E2530;
  --crimson-wash: #F0D8D6;
  --mark-blue: #23347A;
  --mark-orange: #E8763A;
  --mark-yellow: #D4E524;
  --mark-stamp: #B4442E;
  --stock-kraft: #C9AE83;
  --stock-salmon: #EF9B8B;
  --stock-butter: #FAEFC8;
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-typewriter: "Courier Prime", "Courier New", monospace;
  --font-hand: "Caveat", "Bradley Hand", cursive;
  --font-hand-fast: "Nothing You Could Do", "Caveat", cursive;
  --font-manifesto: "Archivo Black", Impact, sans-serif;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 10px;
  --space-5: 14px;
  --space-6: 20px;
  --space-7: 28px;
  --space-8: 38px;
  --space-9: 52px;
  --space-10: 72px;
  --space-11: 100px;
  --space-12: 140px;
  --measure-narrow: 34ch;
  --measure-body: 66ch;
  --measure-wide: 78ch;
  --border-hair: 1px solid #A39C90;
  --border-ink: 1px solid #14110E;
  --border-rule: 2px solid #14110E;
  --border-slab: 6px solid #14110E;
  --radius-card: 3px;
  --radius-0: 0;
  --dur-instant: 90ms;
  --dur-quick: 150ms;
  --dur-calm: 240ms;
  --dur-page: 400ms;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Section padding */
.ghost-web .gw-section { padding: 140px 72px; }
@media (max-width: 820px) { .ghost-web .gw-section { padding: 100px 40px; } }
@media (max-width: 560px) { .ghost-web .gw-section { padding: 72px 22px; } }

/* Mono label register */
.ghost-web .gw-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

/* Links */
.ghost-web a { color: var(--crimson); text-decoration: none; }
.ghost-web a:hover { text-decoration: underline; text-decoration-color: var(--crimson); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Focus ring */
.ghost-web :focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .ghost-web *, .ghost-web *::before, .ghost-web *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Layout grids */
.ghost-web .gw-wrap { max-width: 1440px; margin: 0 auto; }

.ghost-web .gw-grid { display: grid; gap: 72px; align-items: start; }
.ghost-web .gw-grid--hero { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
.ghost-web .gw-grid--problem { grid-template-columns: 0.9fr 1.1fr; }
.ghost-web .gw-grid--offers { grid-template-columns: 1.05fr 0.95fr; }
.ghost-web .gw-grid--result { grid-template-columns: 1.2fr 0.8fr; }
.ghost-web .gw-grid--voice { grid-template-columns: 1.05fr 0.95fr; }
.ghost-web .gw-grid--split { grid-template-columns: 1fr 1fr; }
.ghost-web .gw-grid--about { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.ghost-web .gw-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }

/* Authority-shift diagram */
.ghost-web .gw-rings { position: relative; }
.ghost-web .gw-ring { position: relative; padding: clamp(34px, 3.8vw, 50px) clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px); }
.ghost-web .gw-ring-label { position: absolute; top: clamp(12px, 1.3vw, 17px); left: clamp(18px, 2vw, 26px); white-space: nowrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.ghost-web .gw-ring--outer { border: 1.5px dashed var(--crimson); }
.ghost-web .gw-ring--mid { border: 1px solid var(--ink-3); }
.ghost-web .gw-ring--inner { border: 1px solid var(--ink-1); }
.ghost-web .gw-ring-core { background: var(--ink-0); color: var(--paper-0); padding: clamp(20px, 2.4vw, 30px); }

/* Booking pane */
.ghost-web .gw-vibe-band { background: var(--crimson); width: 100%; }
.ghost-web .gw-vibe-pane { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 110px); align-items: center; padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(40px, 4vw, 64px); }
.ghost-web .gw-vibe-pane-act { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 18px; }
.ghost-web .gw-vibe-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ghost-web .gw-vibe-meta span { border: 1px solid rgba(251, 248, 242, 0.45); padding: 6px 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251, 248, 242, 0.9); }
@media (max-width: 900px) {
  .ghost-web .gw-vibe-pane { grid-template-columns: 1fr; align-items: start; }
  .ghost-web .gw-vibe-pane-act { align-items: flex-start; text-align: left; }
  .ghost-web .gw-vibe-meta { justify-content: flex-start; }
}

/* Client voice */
.ghost-web .gw-voice-top { display: grid; grid-template-columns: 1.08fr 0.92fr; column-gap: clamp(28px, 3.4vw, 60px); row-gap: 40px; align-items: end; }
.ghost-web .gw-voice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: 20px; margin-top: 56px; }
.ghost-web .gw-voice-card { margin: 0; background: var(--ink-1); border: 1px solid rgba(251, 248, 242, 0.14); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.ghost-web .gw-voice-card:hover { border-color: var(--crimson); }
.ghost-web .gw-face { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: var(--ink-2); color: var(--paper-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; box-shadow: 0 0 0 1px var(--crimson); }
.ghost-web .gw-face img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.08); }
@media (max-width: 900px) {
  .ghost-web .gw-voice-top { grid-template-columns: 1fr; }
  .ghost-web .gw-voice-cards { grid-template-columns: 1fr; margin-top: 40px; }
}
@media (max-width: 1240px) { .ghost-web .gw-quotes { gap: 38px; } }
.ghost-web .gw-essays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ghost-web .gw-ledger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1100px) {
  .ghost-web .gw-grid { gap: 52px; }
  .ghost-web .gw-ledger { grid-template-columns: 1fr 1fr; }
  .ghost-web .gw-ledger > * { border-right: none !important; }
}

@media (max-width: 820px) {
  .ghost-web .gw-grid,
  .ghost-web .gw-grid--hero,
  .ghost-web .gw-grid--problem,
  .ghost-web .gw-grid--offers,
  .ghost-web .gw-grid--result,
  .ghost-web .gw-grid--voice,
  .ghost-web .gw-grid--split,
  .ghost-web .gw-grid--about { grid-template-columns: 1fr; gap: 44px; }
  .ghost-web .gw-essays { grid-template-columns: 1fr; gap: 28px; }
  .ghost-web .gw-quotes { grid-template-columns: 1fr; gap: 38px; }
  .ghost-web .gw-grid--hero .gw-hero-art { order: 2; }
  .ghost-web .gw-grid--problem .gw-artefact { order: 2; }
  .ghost-web .gw-grid--voice .gw-artefact { order: 2; }
  .ghost-web .gw-grid--about .gw-artefact { order: 2; }
}

@media (max-width: 560px) {
  .ghost-web .gw-ledger { grid-template-columns: 1fr; gap: 28px; }
  .ghost-web .gw-grid { gap: 36px; }
}

/* Header */
.ghost-web .gw-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 72px; gap: 20px; }
@media (max-width: 1560px) {
  .ghost-web .gw-header-inner { padding: 22px 36px; gap: 16px; }
}
.ghost-web .gw-nav { display: flex; align-items: center; gap: 24px; }
.ghost-web .gw-nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-1); text-decoration: none; white-space: nowrap; }
.ghost-web .gw-menu-btn { align-items: center; }

/* Headings */
.ghost-web .gw-measure { container-type: inline-size; }
.ghost-web .gw-h1 { font-family: var(--font-display); font-size: 96px; line-height: 0.98; letter-spacing: -0.01em; text-wrap: pretty; }
.ghost-web .gw-h2 { font-family: var(--font-display); font-size: 72px; line-height: 1.02; text-wrap: pretty; }
.ghost-web .gw-h2--sm { font-family: var(--font-display); font-size: 64px; line-height: 1.02; text-wrap: pretty; }

@media (max-width: 820px) {
  .ghost-web .gw-header-inner { padding: 18px 40px; }
}
@media (max-width: 560px) {
  .ghost-web .gw-header-inner { padding: 16px 22px; }
}

/* Footer */
.ghost-web .gw-footer { padding: 72px 72px 56px; }
.ghost-web .gw-footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .ghost-web .gw-footer { padding: 56px 40px 44px; }
  .ghost-web .gw-footer-cols { gap: 40px !important; }
}
@media (max-width: 560px) {
  .ghost-web .gw-footer { padding: 48px 22px 40px; }
  .ghost-web .gw-footer-cols { flex-direction: column; gap: 32px !important; }
}

/* Mobile menu sheet */
.ghost-web .gw-sheet {
  position: fixed; inset: 0; z-index: 90; background: var(--ink-0);
  display: flex; flex-direction: column; padding: 22px;
  overflow-y: auto;
}
.ghost-web .gw-sheet a.gw-sheet-link {
  font-family: var(--font-display); font-size: clamp(34px, 9vw, 56px);
  line-height: 1.06; color: var(--paper-0); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--ink-2);
}

/* Mobile actions */
@media (max-width: 560px) {
  .ghost-web .gw-actions { flex-direction: column; align-items: stretch; }
  .ghost-web .gw-actions > a { width: 100%; }
}
