/* ============================================================
   Anthofer Yacht & Bootsvermittlung — global tokens & base
   ============================================================ */

:root {
  /* maritime palette */
  --navy-900: oklch(0.19 0.035 250);   /* deepest ink */
  --navy-800: oklch(0.24 0.040 250);   /* primary ink / hero */
  --navy-700: oklch(0.30 0.042 250);
  --navy-600: oklch(0.40 0.045 250);
  --slate-500: oklch(0.55 0.030 245);  /* muted text */
  --slate-400: oklch(0.66 0.022 245);
  --line: oklch(0.90 0.008 240);       /* hairlines */
  --line-soft: oklch(0.94 0.006 240);
  --paper: oklch(0.985 0.004 230);     /* warm-cool white bg */
  --paper-2: oklch(0.965 0.006 235);   /* alt section bg */
  --white: oklch(0.995 0.002 230);
  --brass: oklch(0.74 0.075 78);       /* restrained accent */
  --brass-soft: oklch(0.92 0.035 82);
  --sea: oklch(0.55 0.085 235);        /* interactive accent */

  --shadow-sm: 0 1px 2px oklch(0.2 0.04 250 / 0.06), 0 1px 3px oklch(0.2 0.04 250 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.2 0.04 250 / 0.08), 0 2px 6px oklch(0.2 0.04 250 / 0.05);
  --shadow-lg: 0 18px 50px oklch(0.2 0.04 250 / 0.14), 0 6px 18px oklch(0.2 0.04 250 / 0.08);

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-900);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* layout helpers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 130px); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-brass { background: var(--brass); color: var(--navy-900); }
.btn-brass:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* image-slot baseline look — premium placeholder */
image-slot {
  --slot-bg: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  background: var(--slot-bg);
  color: oklch(0.85 0.02 240);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  display: block;
  position: relative;
  overflow: hidden;
}

/* utility */
.muted { color: var(--slate-500); }
.center { text-align: center; }
.mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--brass-soft); color: var(--navy-900); }

/* focus */
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 4px; }

/* scrollbar (subtle) */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
