/* Gråsten Handel — design tokens & base */

:root {
  --bg: #DFE4DC;              /* Gråsten lys grøn-grå */
  --bg-elev: #ebeee8;
  --bg-deep: #d2d8ce;
  --paper: #f4f6f1;
  --ink: #0f1d12;
  --ink-2: #2c3a30;
  --ink-3: #6a7468;
  --line: #c7cfc2;
  --line-strong: #a8b3a3;
  --accent: #9E2B2D;          /* Gråsten rød */
  --accent-deep: #7a1f21;
  --accent-soft: #EEB8BB;     /* Gråsten lys rosa */
  --gold: #b8893a;
  --green: #194228;           /* Gråsten dyb grøn */
  --green-soft: #2d5e3f;
  --blue: #13345B;            /* Gråsten dyb blå */
  --blue: #345470;

  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter Tight', 'Söhne', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;

  --shadow-1: 0 1px 0 rgba(31, 26, 18, 0.04), 0 4px 12px -4px rgba(31, 26, 18, 0.08);
  --shadow-2: 0 1px 0 rgba(31, 26, 18, 0.05), 0 18px 40px -16px rgba(31, 26, 18, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Page */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── Header / nav ─────────────────────────────────────────────────────── */
.gh-topbar {
  background: var(--green);
  color: var(--bg);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.gh-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
}
.gh-topbar-left { display: flex; gap: 18px; align-items: center; opacity: 0.85; }
.gh-topbar-right { display: flex; gap: 18px; align-items: center; opacity: 0.85; }
.gh-topbar a:hover { color: #fff; opacity: 1; }
.gh-topbar .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: 0.4; }

.gh-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(223, 228, 220, 0.92);
}
.gh-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.gh-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.gh-logo-mark {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}
.gh-logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.gh-logo-text small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.gh-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.gh-nav button {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-md);
  cursor: pointer;
  position: relative;
  transition: color 0.15s, background 0.15s;
}
.gh-nav button:hover { color: var(--ink); background: rgba(31, 26, 18, 0.04); }
.gh-nav button.active { color: var(--ink); }
.gh-nav button.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.gh-header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #f4f6f1;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(31, 26, 18, 0.04); border-color: var(--ink-3); }
.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 6px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink-3);
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ─── Containers ───────────────────────────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.container-tight {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-line::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line-strong);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}

.display {
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

h2.section-title {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
}

/* ─── Section helpers ──────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* First section on a page sits closer to header — overskrifter starter ikke
   med stor luft-buffer. Hero har sin egen padding-prop. */
main > section:first-of-type { padding-top: 16px; }
main > .section:first-of-type { padding-top: 16px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { max-width: 720px; text-wrap: balance; }
.section-head .section-sub {
  max-width: 380px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* ─── Cards & shop chips ───────────────────────────────────────────────── */
.shop-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.15s;
}
.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}
.shop-card-cover {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.shop-card-cover .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.06) 0,
    rgba(0, 0, 0, 0.06) 1px,
    transparent 1px,
    transparent 12px
  );
}
.shop-card-est {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
}
.shop-card-body {
  padding: 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.shop-card-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.shop-card h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 2px 0 4px;
}
.shop-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.shop-card-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}
.shop-card-foot .arrow {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.2s;
}
.shop-card:hover .arrow { transform: translateX(4px); color: var(--accent); }

/* List view variant */
.shop-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.shop-list-row {
  display: grid;
  grid-template-columns: 110px 1.4fr 1fr 1fr 60px;
  gap: 24px;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.shop-list-row:hover { background: var(--bg-elev); }
.shop-list-row .swatch {
  width: 88px;
  height: 64px;
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.shop-list-row .swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.08) 0,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 10px
  );
}
.shop-list-row h3 { font-size: 22px; margin-bottom: 4px; }
.shop-list-row .meta { font-size: 13.5px; color: var(--ink-2); }
.shop-list-row .arrow { font-family: var(--serif); font-size: 22px; color: var(--ink-3); }
.shop-list-row:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* ─── Filter pills ─────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font: inherit;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-pill:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ─── Misc ─────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.kicker-rule {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.kicker-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* footer */
.gh-footer {
  background: var(--green);
  color: rgba(223, 228, 220, 0.85);
  padding: 80px 0 32px;
  margin-top: auto;
}
.gh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.gh-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gh-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.gh-footer a:hover { color: #fff; }
.gh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* placeholder fills with stripe pattern */
.placeholder-fill {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.10) 0,
    rgba(255, 255, 255, 0.10) 1px,
    transparent 1px,
    transparent 14px
  );
}

/* utility */
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.col { display: flex; flex-direction: column; }


/* ─── Social icon buttons ───────────────────────────────────────────────── */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(244, 246, 241, 0.92);
  color: var(--ink);
  border: 1px solid rgba(15, 29, 18, 0.08);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.social-btn:hover {
  background: var(--accent);
  color: #f4f6f1;
  transform: translateY(-1px);
  border-color: var(--accent);
}

/* Variant for use on dark/photo overlays */
.social-btn-light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.social-btn-light:hover {
  background: #fff;
  color: var(--accent-deep);
}


/* ─── Marquee ticker (forsiden) ─────────────────────────────────────────── */
@keyframes gh-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ─── Cover carousel arrows (medlemsside) ───────────────────────────────── */
.cover-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15,29,18,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  z-index: 5;
}
.cover-arrow:hover {
  background: rgba(15,29,18,0.78);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.06);
}
.cover-arrow-left  { left: 18px; }
.cover-arrow-right { right: 18px; }
