/* FELD V1 — tokens from the design system of the "A Statement" mockup */

@font-face {
  font-family: "Exposure";
  src: url("assets/fonts/ExposureTrial-0.otf") format("opentype"); /* trial instance; replace with the licensed WOFF2 from 205TF before launch */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Neue Haas Grotesk Text comes from the Adobe Fonts kit linked in each page (400 and 700; no Medium, so nav and button sit at 400). */

:root {
  --surface: #ffffff;
  --ink: #000000;
  --ink-muted: #6b6b6b;
  --line: #e5e5e5;
  --font-display: "Exposure", Georgia, "Times New Roman", serif;
  --font-sans: "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav: 64px;
  --gut: 48px;
  --wrap: 1248px;
  --gap: 24px;
  --padt: 120px;
  --padb: 120px;
  --measure: 640px;
  --t-hero: clamp(56px, 8.4vw, 120px);
  --t-section: clamp(36px, 4.5vw, 64px);
  --t-statement: clamp(24px, 2.3vw, 32px);
  --t-lead: clamp(18px, 1.6vw, 22px);
  --m-in: 140ms;
  --m-out: 200ms;
  --m-press: 90ms;
}

@media (max-width: 759px) {
  :root { --gut: 24px; --padt: 96px; --padb: 96px; --gap: 12px; }
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 0; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 18px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.text { grid-column: 7 / span 6; max-width: var(--measure); display: flex; flex-direction: column; gap: 24px; }

/* type */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: pretty; }
.display--hero { font-size: var(--t-hero); line-height: 0.95; max-width: 9.2em; }
.display--section { font-size: var(--t-section); line-height: 1.05; max-width: 18.5em; }
.display--statement { font-size: var(--t-statement); line-height: 1.25; letter-spacing: 0; }
.lead { font-size: var(--t-lead); line-height: 1.4; margin-top: 32px; max-width: var(--measure); }
.eyebrow { font-size: 13px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.meta { font-size: 14px; line-height: 1.4; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.meta a { color: var(--ink); }

/* links: the ink line draws left to right, no colour change */
.text a, .meta a, .contact__mail, .meta-link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size var(--m-in) ease-out;
}
.text a:hover, .meta a:hover, .contact__mail:hover, .meta-link:hover, .meta a:focus-visible, .contact__mail:focus-visible { background-size: 100% 1px; }
.contact__mail, .meta-link { padding-bottom: 6px; }

/* the one button: outline at rest, inverted on hover, a step up and a press down */
.btn {
  display: inline-block;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--surface);
  font: 400 15px/1.2 var(--font-sans);
  text-decoration: none;
  transition: background-color var(--m-out) ease-out, color var(--m-out) ease-out, transform var(--m-out) ease-out;
}
@media (hover: hover) {
  .btn:hover { background: var(--ink); color: var(--surface); transform: translateY(-1px); transition-duration: var(--m-in); }
}
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: var(--m-press); }

/* header: fixed, opaque, a hairline from the first paint; three anchor words, no menu panel */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: var(--nav);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav .mark img { height: 40px; width: auto; }
.nav-list { display: flex; gap: 32px; align-items: center; list-style: none; margin: 0; padding: 0; font: 400 15px/1.2 var(--font-sans); }
.nav-list a {
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size var(--m-in) ease-out;
}
.nav-list a:hover, .nav-list a:focus-visible { background-size: 100% 1px; }

/* sections: top-aligned heads on one edge, each one or two screens */
.hero {
  min-height: 100svh;
  padding: var(--nav) 0 96px;
  display: flex;
}
.hero .wrap { display: flex; flex-direction: column; justify-content: flex-end; }

.section {
  min-height: 100svh;
  padding: var(--padt) 0 var(--padb);
  display: flex;
}
.section .wrap { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: var(--padt); margin-top: calc(-1 * var(--padt)); }
.section .grid { margin-top: 64px; }

/* two screens: the head on screen one, the statements on screen two, no second heading */
.section--two { padding-top: 0; padding-bottom: 0; }
.section--two .wrap { padding-top: 0; margin-top: 0; }
.section--two .screen { min-height: 100svh; padding-top: var(--padt); display: flex; flex-direction: column; }
.section--two .screen:first-child { padding-bottom: var(--padb); }
.section--two .screen:last-child { padding-bottom: var(--padb); }
.section--two .screen .grid { margin-top: 0; }
.lockup { margin-top: auto; align-self: flex-start; height: 120px; width: auto; max-width: 100%; }
.text--statements { gap: 48px; }
.text--statements p:not(.display) { margin-top: 16px; }
.actions { margin-top: 8px; }

/* contact and footer share the last screen */
.section--close .wrap { gap: 48px; }
.contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: var(--t-lead); line-height: 1.4; }
.footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.footer img { height: 28px; width: auto; }

/* V2 image slots: reserved, never rendered in V1 */
.slot { display: none; }
.slot--portrait { aspect-ratio: 4 / 5; }
.slot--hero { aspect-ratio: 16 / 9; }

/* tablet: the split stacks, text first; sections take their content height, the hero stays a screen */
@media (max-width: 1023px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .text { grid-column: 1 / -1; }
  .section { min-height: 0; }
  .section--two .screen { min-height: 0; }
  .section--two .screen:first-child { padding-bottom: 64px; }
  .section--close { min-height: 100svh; }
  .lockup { margin-top: 48px; }
}

/* phone */
@media (max-width: 759px) {
  .display--hero { max-width: none; }
  .lead { margin-top: 24px; }
  .section .grid { margin-top: 48px; }
  .lockup { height: 96px; }
  .nav-list { gap: 20px; font-size: 14px; }
  .footer { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
}
