/* TURTUGA TOKENS v2.2 (5 Nov 2026). v2.2 = v2.1 plus --ink-small #959595 (7.01:1 on #000000): every text under 16 px and every footer label; #8E8E8E (--ink-meta) stays for non-text uses only (Nick decision, WEBSITE v2 FOLLOW-UP point 4). v2.1 = v2.0 plus the outlined photo caption (Bible Brand v2 rules 6 and 9, 5 Nov 2026). Source: 00 TURTUGA BIBLE v2, chapter BRAND v2, NOV 2026 + Redesign Decision Log v0.3.
   Supersedes turtuga-tokens.css v1.1 (Ink #191919, Alata, Instrument Sans, Gold).
   Fonts live in 07_DESIGN_TOKENS/fonts/Tusker Grotesk. Copy them next to this file as fonts/ when deploying.
   Body sans: Geist 400/500 with Inter as fallback. Load from Google Fonts or self-host. */
/* Website build (5 Nov 2026): Geist and Inter are self-hosted from /fonts (SIL OFL 1.1, licences next to the files),
   so no visitor request goes to Google. This replaces the Google Fonts @import of the 07_DESIGN_TOKENS master. */
@font-face { font-family: 'Geist'; src: url('fonts/Geist/geist-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/Geist/geist-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter/inter-latin-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter/inter-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }


/*
Font: Tusker Grotesk
Style: 5700 Bold
URL: https://youworkforthem.com/font/T8377/tusker-grotesk
Foundry: Lewis McGuffie Type
Foundry: https://youworkforthem.com/designer/703/lewis-mcguffie-type
Copyright: Copyright 2017 by Lewis McGuffie. All rights reserved.
Version: 18
Created: April 02, 2026
License: https://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
 WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
  font-family: 'Tusker Grotesk';
  src: url('fonts/Tusker Grotesk/tusker-grotesk-5700-bold.woff2') format('woff2'),
       url('fonts/Tusker Grotesk/tusker-grotesk-5700-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
Font: Tusker Grotesk
Style: 5600 Semibold
URL: https://youworkforthem.com/font/T8377/tusker-grotesk
Foundry: Lewis McGuffie Type
Foundry: https://youworkforthem.com/designer/703/lewis-mcguffie-type
Copyright: Copyright 2017 by Lewis McGuffie. All rights reserved.
Version: 18
Created: April 02, 2026
License: https://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
 WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
  font-family: 'Tusker Grotesk';
  src: url('fonts/Tusker Grotesk/tusker-grotesk-5600-semibold.woff2') format('woff2'),
       url('fonts/Tusker Grotesk/tusker-grotesk-5600-semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour: one ground, white ink, one accent */
  --canvas: #000000;          /* the only ground. deep black, no near blacks */
  --ink: #FFFFFF;             /* headlines, titles, logo, icons. 21:1 */
  --ink-secondary: #C4C4C4;   /* body under a title, supporting lines. ~12:1 */
  --ink-meta: #8E8E8E;        /* non-text only from v2.2 (icons at rest, dividers, decorative marks). ~6.4:1 */
  --ink-small: #959595;       /* v2.2: all text under 16 px, footer labels, metadata, captions, status. darkest grey at 7:1 (7.01:1) */
  --hairline: #5C5C5C;        /* 1px rules and rows. ~3.1:1 */
  --accent: #00C2B8;          /* Sea Turquoise. one use per screen. never a fill, never a block */

  /* type */
  --font-display: 'Tusker Grotesk', Impact, 'Arial Narrow', sans-serif;      /* 700 headlines, 600 subheads. uppercase */
  --font-sans: "Geist", "Inter", system-ui, sans-serif; /* 400, 500 */
  --lh-display: 1;   /* was 0.85: Tusker caps collided on two-line headings (Nick, 20 Nov 2026) */
  --lh-subhead: 1.15; /* was 0.9, same reason */
  --lh-title: 1.1;
  --lh-body: 1.5;
  --lh-label: 1.3;
  --track-label: 0.07em;

  /* one fluid scale, 390px phone to 1440px desktop */
  --fluid-label: clamp(13px, 12.63px + 0.095vw, 14px);
  --fluid-body: clamp(16px, 14.51px + 0.381vw, 20px);
  --fluid-title: clamp(22px, 15.31px + 1.714vw, 40px);
  --fluid-subhead: clamp(32px, 20.11px + 3.048vw, 64px);
  --fluid-heading: clamp(72px, 24.46px + 12.19vw, 200px);
  --fluid-display: clamp(128px, 41.8px + 22.1vw, 360px);
  --fluid-display-2: clamp(88.32px, 28.86px + 15.246vw, 248.4px);
  --fluid-row: clamp(64px, 55.09px + 2.286vw, 88px);

  /* space: 4px grid */
  --space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px;
  --space-24: 24px; --space-40: 40px; --space-64: 64px; --space-128: 128px;

  /* geometry */
  --radius: 0;
  --hairline-width: 1px;
  --tap-min: 44px;
  --spread-drop: 120px;
  --icon-sm: 20px; --icon-md: 24px; --icon-stroke: 1.5px;

  /* motion: fade and short slide only */
  --dur: 200ms;
  --ease: ease-out;
  --slide-min: 8px; --slide-max: 16px;
}

html { background: var(--canvas); }
body { background: var(--canvas); color: var(--ink); font: 400 var(--fluid-body)/var(--lh-body) var(--font-sans); margin: 0; }
* { border-radius: var(--radius); box-shadow: none; }

/* display and headings: Tusker Grotesk 5700 Bold */
.t-display, .t-display-2, .t-heading, h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: var(--lh-display); letter-spacing: 0; color: var(--ink); margin: 0; }
.t-display { font-size: var(--fluid-display); }
.t-display-2 { font-size: var(--fluid-display-2); }
.t-heading, h1 { font-size: var(--fluid-heading); }

/* subheads: Tusker Grotesk 5600 Semibold */
.t-subhead, h2, h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: var(--fluid-subhead); line-height: var(--lh-subhead); color: var(--ink); margin: 0; }

/* text: Geist, Inter fallback */
.t-title { font: 500 var(--fluid-title)/var(--lh-title) var(--font-sans); color: var(--ink); }
.t-body { font: 400 var(--fluid-body)/var(--lh-body) var(--font-sans); color: var(--ink-secondary); }
.t-label { font: 500 var(--fluid-label)/var(--lh-label) var(--font-sans); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-small); }

/* the one accent per screen */
.t-accent { color: var(--accent); }

/* rules and rows */
.rule { border: 0; border-top: var(--hairline-width) solid var(--hairline); margin: 0; }
.row { min-height: var(--fluid-row); border-bottom: var(--hairline-width) solid var(--hairline); display: flex; align-items: center; justify-content: space-between; }

/* no buttons: actions are text links */
a { color: var(--ink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 0.15em; }
button, .btn { all: unset; cursor: pointer; color: var(--ink); min-height: var(--tap-min); min-width: var(--tap-min); display: inline-flex; align-items: center; }

/* logo runs white on black */
.logo { color: var(--ink); fill: var(--ink); }

/* photos carry the colour */
.photo { display: block; width: 100%; height: auto; border: 0; }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-24); }
.spread > :nth-child(2) { margin-top: var(--spread-drop); }
/* photo caption (v2.1): moment name as a 1px white outline, half over the photo's bottom edge, grey place label below.
   The only outline allowed on type. No accent, no glow, no shadow. Two or three words max.
   <figcaption class="caption"><p class="caption__word">Last light</p><span class="caption__meta"><span>Curaçao</span><span>12.1°N 68.9°W</span></span></figcaption> */
.caption { --caption-size: clamp(48px, 22px + 6.6vw, 132px); position: relative; margin-top: calc(var(--caption-size) * -0.5); display: grid; gap: var(--space-12); }
.caption__word { font: 700 var(--caption-size)/var(--lh-display) var(--font-display); text-transform: uppercase; letter-spacing: 0; margin: 0;
  color: transparent; -webkit-text-stroke: var(--hairline-width) var(--ink); paint-order: stroke fill; white-space: nowrap; overflow: hidden;
  transition: color var(--dur) var(--ease); }
.caption__meta { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-16); font: 500 var(--fluid-label)/var(--lh-label) var(--font-sans);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-small); }
.caption__meta span + span { color: var(--ink-secondary); }
/* web only: the outline fills white on hover or focus, 200ms fade */
figure:hover .caption__word, figure:focus-within .caption__word { color: var(--ink); }
@supports not (-webkit-text-stroke: 1px) { .caption__word { color: var(--ink); } }

/* motion */
.fade-in { animation: fade var(--dur) var(--ease) both; }
.slide-in { animation: slide var(--dur) var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide { from { opacity: 0; transform: translateY(var(--slide-max)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .slide-in { animation: fade var(--dur) var(--ease) both; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
