/*
 * Feed Bistro — FRONT-END entry stylesheet.
 * Loaded on the front-end AND in the block-editor canvas.
 *
 * Import order = cascade order. Components (Step 3) and blocks (Step 4) are
 * appended below as they are built. Keep reveal/mobile-tune last.
 */

/* Base ------------------------------------------------------------------ */

/* Design tokens — the single source of truth for the design system.
   Brand colours are the EXACT values from the static site's :root. */

:root {
  /* Brand palette */
  --orange:#D87012;
  --rust:#8B2F12;
  --clay:#915B41;
  --gold:#D9A441;

  /* Dark surfaces */
  --bg-0:#14100D;
  --bg-1:#1C1612;

  /* Hairlines on dark */
  --line:rgba(243,233,223,0.14);
  --line-2:rgba(243,233,223,0.22);

  /* Ink on dark */
  --cream:#F4EBE0;
  --sand:#C9B6A4;
  --taupe:#8C7A6B;

  /* Cream "light" sections (ink-on-light) */
  --light-bg:#EFE5D8;
  --light-ink:#1C1612;
  --light-ink-soft:#6E5D4E;
  --light-orange:#B5530C;

  /* Fonts — aliased to theme.json presets so the editor canvas and the
     front-end resolve to the same families, with the original stacks as
     fallback. Block CSS references var(--display) / var(--body) directly. */
  --display: var(--wp--preset--font-family--display, "abolition","Arial Narrow",system-ui,sans-serif);
  --body: var(--wp--preset--font-family--body, "Comfortaa",ui-rounded,system-ui,sans-serif);

  /* Layout / spacing */
  --container-max:1152px;
  --section-pad-block:clamp(72px,11vw,128px);
  --section-pad-inline:clamp(24px,5vw,48px);
  --gutter:clamp(36px,5vw,88px);

  /* Radii */
  --r-fig:2px;
  --r-btn:4px;
  --r-full:999px;

  /* Easing — the workhorse curve used across the whole site */
  --ease-soft:cubic-bezier(.2,.7,.3,1);
}

/* Reset — deliberately minimal, mirroring the static site.

   NOTE (CLAUDE.md gotcha #7): do NOT add element-level resets to
   input/select/textarea — that tanks the Customizer and Gravity Forms field
   styling. Only normalise `button`. Our own fields are styled by class. */

*,
*::before,
*::after { box-sizing:border-box; margin:0; padding:0; }

html,
body { height:100%; }

html { scroll-behavior:smooth; }

body {
  background:var(--bg-0);
  color:var(--cream);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

button { font-family:inherit; }

/* Typography — local Comfortaa face + the text primitives reused everywhere.
   Font URLs are relative to the COMPILED output (assets/css/main.build.css),
   i.e. ../fonts/ resolves to assets/fonts/. */

@font-face { font-family:"Comfortaa"; src:url("../fonts/Comfortaa-Light.ttf") format("truetype");    font-weight:300; font-display:swap; }

@font-face { font-family:"Comfortaa"; src:url("../fonts/Comfortaa-Regular.ttf") format("truetype");  font-weight:400; font-display:swap; }

@font-face { font-family:"Comfortaa"; src:url("../fonts/Comfortaa-Medium.ttf") format("truetype");   font-weight:500; font-display:swap; }

@font-face { font-family:"Comfortaa"; src:url("../fonts/Comfortaa-SemiBold.ttf") format("truetype"); font-weight:600; font-display:swap; }

@font-face { font-family:"Comfortaa"; src:url("../fonts/Comfortaa-Bold.ttf") format("truetype");     font-weight:700; font-display:swap; }

/* Display headings (the Typekit "abolition" face) */

.disp {
  font-family:var(--display);
  text-transform:uppercase;
  line-height:1.0;
  letter-spacing:0.01em;
  color:var(--cream);
  margin:0;
}

.disp-xl { font-size:clamp(52px,8.5vw,116px); }

.disp-lg { font-size:clamp(40px,6vw,82px); }

.disp-md { font-size:clamp(30px,4.4vw,54px); }

.ink-orange { color:var(--orange); }

.ink-outline { color:transparent; -webkit-text-stroke:1.3px var(--sand); }

/* Body copy */

.body-text {
  font-family:var(--body);
  font-size:clamp(15px,1.4vw,17.5px);
  line-height:1.75;
  color:var(--sand);
  max-width:48ch;
}

.lead-text {
  font-family:var(--body);
  font-size:clamp(18px,2vw,23px);
  line-height:1.55;
  color:var(--cream);
  font-weight:400;
  max-width:42ch;
}

/* Eyebrow / kicker with leading rule */

.kicker {
  font-family:var(--body);
  font-size:12px;
  line-height:1;
  font-weight:600;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--orange);
  display:inline-flex;
  align-items:center;
  gap:13px;
}

.kicker::before {
  content:"";
  width:34px;
  height:1.5px;
  background:var(--orange);
  display:block;
  flex:none;
}

/* Globals — image/figure primitives + section reveal-on-scroll. */

.img { display:block; width:100%; height:100%; -o-object-fit:cover; object-fit:cover; }

figure {
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:var(--r-fig);
}

.full-bleed {
  width:100vw;
  position:relative;
  left:50%;
  transform:translateX(-50%);
}

/* Section reveal — JS adds .is-in via IntersectionObserver. The per-element
   .reveal / .reveal-fade classes are intentionally no-ops (kept for parity:
   the static site animates at the section level only). */

@keyframes feed-sec-rise {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:none; }
}

.sreveal { opacity:0; }

.sreveal.is-in { animation:feed-sec-rise .8s var(--ease-soft) both; }

.reveal,
.reveal-fade { opacity:1; }

@media (prefers-reduced-motion:reduce) {
  .sreveal { opacity:1; animation:none; }
}

/* Global responsive type tune (mirrors the static site's 860px breakpoint). */

@media (max-width:860px) {
  .disp-lg { font-size:clamp(48px,11vw,60px); width:100%; }
}

/* Layout ---------------------------------------------------------------- */

/* Layout — the shared width wrapper and section shell.
   Named .container (never .wrap — that collides with WP admin chrome). */

.container {
  max-width:var(--container-max);
  margin:0 auto;
}

.sec {
  position:relative;
  padding-block:var(--section-pad-block);
  padding-inline:var(--section-pad-inline);
}

/* Cream "light" sections — invert the ink for the warm background. */

.sec.light { background:var(--light-bg); }

.sec.light .disp { color:var(--light-ink); }

.sec.light .lead-text { color:#2A211B; }

.sec.light .body-text { color:var(--light-ink-soft); }

.sec.light .kicker { color:var(--light-orange); }

.sec.light .kicker::before { background:var(--light-orange); }

.sec.light .ink-orange { color:var(--orange); }

/* Components ------------------------------------------------------------ */

/* Buttons — the shared .fbtn family used in chrome and blocks. */

.fbtn {
  font-family:var(--body);
  font-weight:600;
  font-size:13.5px;
  line-height:1;
  letter-spacing:0.12em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  text-decoration:none;
  border:none;
  background:none;
  white-space:nowrap;
  -webkit-font-smoothing:antialiased;
}

.b-solid {
  background:var(--orange);
  color:#1B0F05;
  padding:18px 42px;
  border-radius:var(--r-btn);
  box-shadow:0 16px 40px -16px rgba(216,112,18,0.95);
  transition:background .25s ease, box-shadow .3s ease, transform .12s ease;
}

.b-solid:hover { background:#F2901F; box-shadow:0 24px 58px -14px rgba(216,112,18,1); }

.b-solid:active { transform:translateY(1px); }

.b-outline {
  background:rgba(20,16,13,0.22);
  color:var(--cream);
  padding:18px 42px;
  border-radius:var(--r-btn);
  box-shadow:inset 0 0 0 1.5px var(--line-2);
  backdrop-filter:blur(8px);
  transition:background .3s ease, box-shadow .3s ease;
}

.b-outline:hover { background:var(--line-2); box-shadow:none; }

/* On the cream "light" sections the outline button inverts. */

.sec.light .b-outline { background:transparent; color:#1C1612; box-shadow:inset 0 0 0 1.5px rgba(28,22,18,0.28); }

.sec.light .b-outline:hover { background:rgba(28,22,18,0.16); box-shadow:none; }

.fbtn.b-sm { padding:13px 28px; font-size:11.5px; }

/* Text / arrow link button (e.g. "Se fuld menu →") */

.b-text { background:transparent; color:var(--cream); padding:8px 2px; gap:12px; }

.b-text .label { position:relative; }

.b-text .label::after {
  content:"";
  position:absolute; left:0; right:0; bottom:-8px; height:2px;
  background:var(--orange);
  transform:scaleX(0); transform-origin:left;
  transition:transform .42s var(--ease-soft);
}

.b-text .ico { color:var(--orange); display:inline-flex; align-items:center; transition:transform .32s var(--ease-soft); }

.b-text .ico svg { display:block; transform:translateY(-1.5px); }

.b-text:hover .label::after { transform:scaleX(1); }

.b-text:hover .ico { transform:translateX(5px); }

.sec.light .b-text { color:#1C1612; }

/* Topbar — the "Moderne bistro & cocktailbar" meta line.
   Promoted to global chrome (identical on every page in the static site).
   Absolute at the top so it overlays the hero / page-hero; pointer-events:none
   so it never intercepts clicks on the hero content beneath it. */

.topbar {
  position:absolute;
  top:0; left:0; right:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:32px clamp(24px,4vw,48px);
  pointer-events:none;
}

.topbar .meta {
  display:flex;
  align-items:center;
  min-height:64px;
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--cream);
  font-weight:500;
  opacity:0.92;
  text-shadow:0 1px 12px rgba(0,0,0,0.5);
}

@media (max-width:768px) {
  .topbar .meta { display:none; }
}

/* Nav toggle — the fixed "Menu / Luk" pill with the morphing hamburger. */

.nav-toggle {
  position:fixed;
  top:32px; right:clamp(24px,4vw,48px);
  z-index:200;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; width:140px;
  background:rgba(20,16,13,0.32); backdrop-filter:blur(10px);
  border:2px solid var(--line-2); border-radius:var(--r-full);
  padding:13px; cursor:pointer;
  transition:background .35s ease, border-color .3s ease, box-shadow .35s ease;
}

.nav-toggle:hover { background:rgba(20,16,13,0.5); border-color:rgba(216,112,18,0.6); }

.nav-toggle.open { background:#F4EBE0; border-color:transparent; box-shadow:0 12px 32px -10px rgba(0,0,0,0.55); }

.nav-toggle.open:hover { background:#FFFFFF; }

.nt-label {
  width:52px; text-align:right;
  font-family:var(--body); font-weight:700; font-size:12px;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--cream);
  white-space:nowrap; transition:color .3s ease;
}

.nav-toggle:hover .nt-label { color:var(--orange); }

.nav-toggle.open .nt-label, .nav-toggle.open:hover .nt-label { color:#1B0F05; }

.nt-label .t-luk { display:none; }

.nav-toggle.open .nt-label .t-menu { display:none; }

.nav-toggle.open .nt-label .t-luk { display:inline; }

.nt-icon {
  position:relative; width:38px; height:38px; flex:none;
  border-radius:50%; background:var(--orange);
  transition:transform .45s cubic-bezier(.2,.7,.3,1);
}

.nav-toggle:hover .nt-icon { transform:rotate(90deg); }

.nav-toggle.open:hover .nt-icon { transform:none; }

.nt-icon i {
  position:absolute; left:50%; top:50%; width:16px; height:2px; border-radius:2px;
  background:#1B0F05; transform-origin:center;
  transition:transform .4s cubic-bezier(.2,.7,.3,1), opacity .2s ease, width .3s ease;
}

.nt-icon i:nth-child(1) { transform:translate(-50%,calc(-50% - 6px)); }

.nt-icon i:nth-child(2) { transform:translate(-50%,-50%); width:11px; }

.nt-icon i:nth-child(3) { transform:translate(-50%,calc(-50% + 6px)); }

.nav-toggle.open .nt-icon i:nth-child(1) { transform:translate(-50%,-50%) rotate(45deg); }

.nav-toggle.open .nt-icon i:nth-child(2) { opacity:0; }

.nav-toggle.open .nt-icon i:nth-child(3) { transform:translate(-50%,-50%) rotate(-45deg); }

@media (max-width:768px) {
  .nav-toggle { top:32px; right:clamp(24px,4vw,48px); left:auto; width:118px; gap:8px; padding:11px; }
  .nt-label { width:42px; font-size:11px; }
  .nt-icon { width:32px; height:32px; }
}

/* Overlay nav — fullscreen menu (left: numbered links, right: image). */

.overlay {
  position:fixed; inset:0; z-index:100; visibility:hidden; opacity:0;
  transition:opacity .45s ease, visibility 0s .45s;
  display:grid; grid-template-columns:1fr 1fr;
  background:var(--bg-0);
  background-image:
    radial-gradient(80% 80% at 88% 8%, rgba(216,112,18,0.18), transparent 55%),
    radial-gradient(70% 70% at 0% 100%, rgba(139,47,18,0.22), transparent 55%);
}

.overlay.open { visibility:visible; opacity:1; transition:opacity .45s ease; }

.overlay-panel {
  position:relative; min-height:0;
  display:flex; flex-direction:column; align-items:flex-start;
  padding:32px clamp(28px,3.2vw,48px);
}

.overlay-logo { height:68px; width:auto; flex:none; align-self:flex-start; }

.overlay-nav { display:flex; flex-direction:column; gap:8px; margin:auto 0; }

.overlay-nav a {
  display:flex; align-items:baseline; gap:20px; text-decoration:none;
  font-family:var(--display); text-transform:uppercase; color:var(--cream);
  font-size:clamp(38px,5vw,76px); line-height:1.0; letter-spacing:0.01em;
  opacity:0;
  transition:opacity .4s ease, transform .24s cubic-bezier(.2,.7,.3,1), color .16s ease;
}

.overlay.open .overlay-nav a { opacity:1; }

.overlay.open .overlay-nav a:nth-child(1){ transition-delay:.05s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(2){ transition-delay:.09s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(3){ transition-delay:.13s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(4){ transition-delay:.17s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(5){ transition-delay:.21s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(6){ transition-delay:.25s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(7){ transition-delay:.29s,0s,0s; }

.overlay.open .overlay-nav a:nth-child(8){ transition-delay:.33s,0s,0s; }

.overlay-nav a .idx { font-family:var(--body); font-size:13px; font-weight:600; letter-spacing:0.1em; color:var(--taupe); transform:translateY(-0.4em); transition:color .16s ease; }

.overlay-nav a:hover { color:var(--orange); transform:translateX(14px); }

.overlay-nav a:hover .idx { color:var(--orange); }

.overlay-media { position:relative; overflow:hidden; }

.overlay-media img { width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; transform:scale(1.04); transition:transform 1s .1s cubic-bezier(.2,.7,.3,1); }

.overlay.open .overlay-media img { transform:scale(1); }

.overlay-media::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg, rgba(20,16,13,0.5), transparent 42%); }

@media (max-width:768px) {
  .overlay-logo { height:58px; }
  .overlay { grid-template-columns:1fr; }
  .overlay-media { display:none; }
  .overlay-nav { margin:auto 0; }
  .overlay-nav a { font-size:clamp(40px,11vw,64px); }
}

/* Marquee — two infinitely-scrolling image rows above the footer (global). */

.marquee { background:var(--bg-0); padding-block:clamp(20px,3vw,40px); overflow:hidden; }

.marquee-row { display:flex; gap:clamp(12px,1.2vw,18px); width:-moz-max-content; width:max-content; will-change:transform; }

.marquee-row + .marquee-row { margin-top:clamp(12px,1.2vw,18px); }

/* Duration is set inline per row (--mq-dur) so the scroll speed stays constant
   regardless of slide count; these values are only fallbacks. */

.marquee-row.r1 { animation:feed-scroll-left var(--mq-dur,52s) linear infinite; }

.marquee-row.r2 { animation:feed-scroll-right var(--mq-dur,58s) linear infinite; }

.marquee figure { flex:none; width:clamp(260px,26vw,400px); height:clamp(190px,18vw,270px); border-radius:var(--r-fig); }

@keyframes feed-scroll-left { from { transform:translateX(0); } to { transform:translateX(-50%); } }

@keyframes feed-scroll-right { from { transform:translateX(-50%); } to { transform:translateX(0); } }

@media (prefers-reduced-motion:reduce) { .marquee-row { animation:none; } }

@media (max-width:860px) { .marquee { padding-top:0; } }

@media (max-width:520px) { .marquee figure { width:62vw; height:42vw; } }

/* Menu viewer — global fullscreen bilingual popup (.menu-pop). Opened by any
   [data-open-menu="dk|en"] button; content from Appearance → Menukort. */

.menu-pop {
  position:fixed; inset:0; z-index:300;
  background:var(--bg-0);
  display:flex; flex-direction:column;
  visibility:hidden; opacity:0;
  transition:opacity .35s ease, visibility 0s .35s;
}

.menu-pop.open { visibility:visible; opacity:1; transition:opacity .35s ease; }

.mp-bar {
  flex:none; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px clamp(16px,3vw,32px);
  background:rgba(20,16,13,0.88); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.mp-nav { display:flex; align-items:center; gap:clamp(16px,3vw,32px); overflow-x:auto; min-width:0; }

.mp-nav a {
  font-family:var(--body); font-size:12px; font-weight:600; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--sand); text-decoration:none; white-space:nowrap; padding:8px 0; transition:color .25s ease;
}

.mp-nav a:hover { color:var(--orange); }

.mp-actions { display:flex; align-items:center; gap:12px; flex:none; }

.mp-close { position:relative; width:50px; height:50px; border-radius:50%; background:var(--cream); border:none; cursor:pointer; flex:none; transition:background .3s ease; }

.mp-close:hover { background:#FFFFFF; }

.mp-close i { position:absolute; left:50%; top:50%; width:16px; height:2px; border-radius:2px; background:#1B0F05; }

.mp-close i:nth-child(1) { transform:translate(-50%,-50%) rotate(45deg); }

.mp-close i:nth-child(2) { transform:translate(-50%,-50%) rotate(-45deg); }

.mp-scroll { position:relative; flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:clamp(16px,3vw,40px) clamp(12px,3vw,32px) 96px; }

.mp-pages { display:none; }

.menu-pop[data-lang="dk"] .mp-pages.dk,
.menu-pop[data-lang="en"] .mp-pages.en { display:block; }

.mp-lang { display:none; }

.menu-pop[data-lang="dk"] .mp-lang.dk,
.menu-pop[data-lang="en"] .mp-lang.en { display:flex; }

.mp-page { max-width:880px; margin:0 auto clamp(16px,2.5vw,32px); }

.mp-page img { width:100%; aspect-ratio:1749/2481; display:block; border-radius:var(--r-btn); background:#FFFFFF; box-shadow:0 24px 60px -32px rgba(0,0,0,0.8); }

@media (max-width:560px) {
  .mp-bar { flex-wrap:wrap; padding:12px; gap:12px; }
  .mp-actions { order:1; width:100%; justify-content:space-between; }
  .mp-nav { order:2; width:100%; }
}

/* Site footer — brand/address, opening hours, newsletter, social + legal. */

.site-footer {
  background:var(--bg-0);
  padding-block:clamp(56px,8vw,96px) clamp(40px,5vw,56px);
  padding-inline:clamp(24px,5vw,48px);
}

.footer-top { display:grid; grid-template-columns:0.8fr 1fr 1.15fr; gap:clamp(32px,4vw,64px); max-width:1280px; margin:0 auto; }

.footer-brand { display:flex; flex-direction:column; align-items:flex-start; }

.footer-address { margin-top:32px; }

.footer-address .footer-links { margin:14px 0 22px; }

.footer-logo { height:64px; width:auto; }

.footer-est { display:block; margin-top:14px; font-family:var(--body); font-size:11px; letter-spacing:0.24em; text-transform:uppercase; color:var(--taupe); }

.footer-col h4 { font-family:var(--body); font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color:var(--orange); font-weight:600; margin:0 0 22px; }

.footer-col .ftxt { font-family:var(--body); font-size:14.5px; line-height:1.7; color:var(--sand); margin:0 0 14px; }

.footer-col .ftxt:last-child { margin-bottom:0; }

.footer-col .ftxt em { font-style:italic; color:var(--cream); }

.footer-col a:not(.fbtn) { color:var(--sand); text-decoration:none; transition:color .25s ease; }

.footer-col a:not(.fbtn):hover { color:var(--orange); }

.footer-links { display:flex; flex-direction:column; gap:9px; }

.footer-links a { font-family:var(--body); font-size:14.5px; color:var(--orange); }

.footer-links a:hover { color:var(--cream); }

.footer-hours-grid { display:grid; grid-template-columns:auto 1fr; gap:6px 18px; margin-bottom:16px; }

.footer-hours-grid span { font-family:var(--body); font-size:14px; color:var(--sand); }

.footer-hours-grid .d { color:var(--cream); }

/* Newsletter form (static placeholder + base for the Gravity Form skin). */

.nl-form { display:flex; flex-direction:column; }

.nl-form input { width:100%; background:rgba(244,235,224,0.04); border:1px solid var(--line-2); border-radius:var(--r-btn); padding:13px 15px; color:var(--cream); font-family:var(--body); font-size:14px; margin-bottom:11px; transition:border-color .25s ease, background .25s ease; }

.nl-form input::-moz-placeholder { color:var(--taupe); }

.nl-form input::placeholder { color:var(--taupe); }

.nl-form input:focus { outline:none; border-color:var(--orange); background:rgba(244,235,224,0.07); }

.nl-check { display:flex; align-items:flex-start; gap:12px; font-family:var(--body); font-size:12.5px; line-height:1.5; letter-spacing:0.02em; color:var(--sand); margin-bottom:20px; cursor:pointer; }

.nl-check input { -moz-appearance:none; appearance:none; -webkit-appearance:none; box-sizing:border-box; width:19px; height:19px; flex:none; padding:0; margin:1px 0 0; border:1.5px solid var(--line-2); border-radius:var(--r-btn); background:transparent; cursor:pointer; position:relative; transition:background .2s ease, border-color .2s ease; }

.nl-check input:checked { background:var(--orange); border-color:var(--orange); }

.nl-check input:checked::after { content:""; position:absolute; left:6px; top:2px; width:5px; height:9px; border:solid #1B0F05; border-width:0 2px 2px 0; transform:rotate(45deg); }

.nl-check input:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }

.nl-check a { color:var(--orange); text-decoration:none; }

.nl-check a:hover { text-decoration:underline; }

.nl-form .fbtn { align-self:flex-start; }

.footer-legal { max-width:1280px; margin:clamp(64px,9vw,100px) auto 0; padding-top:clamp(40px,4.5vw,58px); border-top:1px solid var(--line); display:flex; flex-direction:column; gap:clamp(20px,2.4vw,30px); }

.legal-row { display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:nowrap; }

.footer-legal-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 26px; min-width:0; }

.footer-legal-links a { font-family:var(--body); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--sand); text-decoration:none; transition:color .25s ease; }

.footer-legal-links a:hover { color:var(--orange); }

.copyright { font-family:var(--body); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--taupe); }

.credit { font-family:var(--body); font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--taupe); text-decoration:none; transition:color .25s ease; }

.credit:hover { color:var(--orange); }

.footer-social { display:flex; gap:12px; }

.footer-social a { width:40px; height:40px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--cream); transition:border-color .25s ease, color .25s ease, background .25s ease; }

.footer-social a:hover { border-color:var(--orange); background:rgba(216,112,18,.08); }

.footer-social svg { width:17px; height:17px; }

@media (max-width:860px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,48px); }
  .footer-brand { grid-column:1 / -1; }
  .footer-newsletter { grid-column:1 / -1; }
  .footer-legal { margin-top:clamp(40px,4.5vw,58px); }
}

@media (max-width:640px) {
  .legal-row { flex-direction:column; align-items:flex-start; gap:16px; }
  .footer-legal-links { justify-content:flex-start; }
}

@media (max-width:520px) {
  .footer-top { grid-template-columns:1fr; }
}

/* Blocks ---------------------------------------------------------------- */

/* Hero — fullscreen video hero (forside + menukort). */

/* bg-0 keeps the hero dark even before the video loads or when no media is set. */

.hero { position:relative; height:100svh; min-height:640px; width:100%; overflow:hidden; background:var(--bg-0); }

.hero-video {
  position:absolute; inset:0; width:100%; height:100%;
  -o-object-fit:cover;
     object-fit:cover; background:var(--bg-0); z-index:0;
}

.hero-scrim {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(20,16,13,0.62) 0%, rgba(20,16,13,0.05) 26%, rgba(20,16,13,0.05) 52%, rgba(20,16,13,0.55) 82%, rgba(20,16,13,0.9) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 52%, rgba(20,16,13,0.42) 100%);
}

.hero-tint {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(90% 70% at 50% 30%, rgba(216,112,18,0.10), transparent 60%);
  mix-blend-mode:soft-light;
}

.hero-content {
  position:absolute; inset:0; z-index:10;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:0 clamp(24px,5vw,48px);
}

.hero-logo {
  width:auto; height:clamp(150px,24vh,272px);
  filter:drop-shadow(0 14px 50px rgba(0,0,0,0.5));
  opacity:0; transform:translateY(20px); animation:feed-rise 1s .28s var(--ease-soft) forwards;
}

.hero-title {
  font-size:clamp(64px,9vw,132px); text-transform:uppercase; line-height:0.9; letter-spacing:0.01em;
  color:var(--cream); text-shadow:0 10px 40px rgba(0,0,0,0.4);
  opacity:0; transform:translateY(20px); animation:feed-rise 1s .28s var(--ease-soft) forwards;
}

.hero-tagline {
  margin-top:32px; max-width:30ch;
  font-size:clamp(16px,1.7vw,19px); font-weight:400; line-height:1.6;
  color:var(--sand); text-shadow:0 1px 14px rgba(0,0,0,0.45);
  opacity:0; transform:translateY(16px); animation:feed-rise 1s .42s var(--ease-soft) forwards;
}

.cta-row {
  display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin-top:48px;
  opacity:0; transform:translateY(16px); animation:feed-rise 1s .56s var(--ease-soft) forwards;
}

@keyframes feed-rise { to { opacity:1; transform:translateY(0); } }

@media (prefers-reduced-motion:reduce) {
  .hero-logo, .hero-title, .hero-tagline, .cta-row { animation:none; opacity:1; transform:none; }
}

@media (max-width:560px) {
  .hero-logo { height:110px; }
  .hero-title { font-size:clamp(44px,12.5vw,60px); }
  .cta-row { flex-direction:column; width:100%; max-width:300px; }
  .cta-row .fbtn { justify-content:center; }
}

/* Page-hero — subpage image hero (content anchored bottom-left over the image). */

.page-hero { position:relative; height:clamp(560px,76vh,820px); overflow:hidden; background:var(--bg-0); }

.page-hero-media { position:absolute; inset:0; margin:0; }

.page-hero-media img { width:100%; height:100%; -o-object-fit:cover; object-fit:cover; display:block; }

.page-hero-media::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(20,16,13,0.94) 0%, rgba(20,16,13,0.42) 48%, rgba(20,16,13,0.3) 100%);
}

.page-hero-content {
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:clamp(72px,11vw,128px);
  width:min(1152px, calc(100% - 2*clamp(24px,5vw,48px)));
  z-index:2;
}

.page-hero-content .disp-xl { margin-top:0.29em; }

.page-hero-content .disp-lg { margin-top:0.26em; }

.page-hero-content .body-text { margin-top:24px; color:var(--sand); }

.page-hero-cta { display:flex; flex-wrap:wrap; gap:16px; margin-top:32px; }

/* Short variant — legal / text pages. */

.page-hero--short { height:clamp(360px,46vh,500px); }

.page-hero--short .page-hero-content { bottom:clamp(40px,6vw,72px); }

.page-hero--short .page-hero-content .body-text { margin-top:18px; }

@media (max-width:860px) {
  .page-hero-content h1.disp-xl { font-size:clamp(44px,12vw,60px); }
}

@media (max-width:560px) {
  .page-hero-content h1.disp-lg { font-size:clamp(30px,9.5vw,44px); }
  .page-hero-cta { flex-direction:column; width:100%; max-width:300px; }
  .page-hero-cta .fbtn { justify-content:center; }
}

/* Feature — split media/text. Two layouts share this block:
   media right (.intro-grid) and media left (.bar-grid). */

.intro-grid { display:grid; grid-template-columns:0.92fr 1.08fr; gap:clamp(36px,5vw,88px); align-items:center; }

.bar-grid   { display:grid; grid-template-columns:1.08fr 0.92fr; gap:clamp(36px,5vw,88px); align-items:center; }

.intro-copy .disp-lg, .bar-text .disp-lg { margin-top:0.29em; }

.intro-copy .body-text, .bar-text .body-text { margin-top:24px; }

.intro-cta { display:flex; flex-wrap:wrap; gap:16px; margin-top:38px; }

.bar-text .intro-cta { margin-top:34px; }

.intro-media, .bar-media { position:relative; height:clamp(440px,55vw,660px); }

.intro-media > figure:first-child, .bar-media > figure:first-child { height:100%; }

.intro-media .intro-inset { position:absolute; left:clamp(-28px,-2vw,-44px); bottom:-44px; width:42%; height:46%; box-shadow:0 30px 60px -28px rgba(0,0,0,.8); }

.bar-media .bar-inset { position:absolute; right:clamp(-28px,-2vw,-44px); bottom:-44px; width:42%; height:46%; box-shadow:0 30px 60px -28px rgba(0,0,0,.8); }

@media (min-width:861px) {
  .intro-copy .disp-lg { max-width:4em; }
  .bar-text .disp-lg { max-width:4.5em; }
}

@media (max-width:860px) {
  .intro-grid, .bar-grid { grid-template-columns:1fr; }
  .intro-copy .disp-lg { font-size:clamp(40px,11.5vw,54px); }
  .intro-copy { margin-top:0; }
  .intro-cta { flex-wrap:nowrap; gap:14px; width:100%; margin-top:24px; }
  .intro-cta .fbtn { flex:1; justify-content:center; padding-inline:0; }
  .bar-text .intro-cta { margin-top:24px; }
  .intro-media .intro-inset, .bar-media .bar-inset { display:none; }
  .intro-media, .bar-media { height:clamp(360px,78vw,520px); }
}

/* Founder — portrait (flush-left) + copy. Quote mode or heading mode. Dark. */

.founder { position:relative; padding-block:clamp(72px,11vw,128px); }

.founder-grid {
  display:grid; grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);
  gap:clamp(36px,6vw,92px); align-items:center;
  padding-right:clamp(24px,5vw,48px);
}

.founder-portrait { height:clamp(460px,62vw,720px); }

.founder-portrait figure { border-radius:0 2px 2px 0; height:100%; }

.founder-copy { max-width:600px; }

/* Quote mode */

.quote { font-family:var(--body); font-size:clamp(22px,2.7vw,37px); line-height:1.42; color:var(--cream); font-weight:400; margin:26px 0 0; max-width:20ch; }

.quote .ink-orange { font-weight:500; }

.sig-wrap { margin-top:clamp(32px,4vw,52px); display:flex; flex-direction:column; gap:16px; }

.sig { height:62px; width:auto; align-self:flex-start; filter:brightness(0) invert(1); opacity:.9; }

.sig-name { display:flex; flex-direction:column; gap:7px; font-family:var(--body); font-size:13px; letter-spacing:0.14em; text-transform:uppercase; color:var(--sand); font-weight:600; line-height:1.4; }

.sig-role { color:var(--taupe); font-weight:400; }

/* Heading mode */

.founder-copy .disp-lg { margin-top:0.29em; }

.founder-copy .body-text { margin-top:24px; }

.founder-copy .intro-cta { margin-top:34px; }

@media (max-width:860px) {
  .founder-grid { grid-template-columns:1fr; padding-right:0; gap:clamp(24px,5vw,40px); }
  .founder-portrait { height:clamp(420px,90vw,560px); order:-1; }
  .founder-portrait figure { border-radius:0 0 2px 2px; }
  .founder-copy { padding-inline:clamp(24px,5vw,48px); }
}
