/* =========================================================================
   Solspeil — stylesheet
   Single page, mobile-first, no framework.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --sol-teal:    #1F4D5C;   /* valley teal — primary */
  --sol-deep:    #172E38;   /* deeper teal for hover states */
  --sol-light:   #3A6478;   /* lighter teal variation */
  --sol-gold:    #B8893B;   /* reflected-sun gold — accent */
  --sol-gold-lt: #D4A855;   /* lighter gold for hover */
  --sol-ink:     #1D2733;   /* ink — body text */
  --sol-bone:    #F3F1EC;   /* bone / off-white — page bg */
  --sol-metal:   #C7CCD1;   /* brushed aluminium — lines, secondary UI */
  --sol-paper:   #FAF9F6;   /* slightly warmer paper */
  --sol-muted:   #5C6A73;

  /* Product accents */
  --sevje:       #AEB9A8;   /* silver-birch pale green-grey */
  --krekling:    #5B4B5A;   /* frosted aubergine */
  --lys:         #D9B86A;   /* warm pale gold */
  --pils:        #B8C6CC;   /* cool pale blue-silver */

  --line:        rgba(29, 39, 51, 0.12);
  --shadow-1:    0 1px 3px rgba(29, 39, 51, 0.07);
  --shadow-2:    0 8px 28px rgba(29, 39, 51, 0.10);

  --radius:      6px;
  --radius-lg:   14px;

  --serif:  "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --measure: 68ch;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--sol-ink);
  background: var(--sol-bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sol-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--sol-teal); }
a:focus-visible {
  outline: 2px solid var(--sol-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--sol-ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: var(--measure); }

ul { margin: 0 0 1em; padding: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.narrow { max-width: 720px; }

/* -------------------------------------------------------------------------
   Skip link + a11y helpers
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -1000px;
  top: -1000px;
}
.skip-link:focus {
  left: 12px; top: 12px;
  background: var(--sol-ink);
  color: var(--sol-bone);
  padding: 8px 12px;
  border-radius: var(--radius);
  z-index: 100;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 241, 236, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sol-ink);
  text-decoration: none;
}
.brand-mark {
  width: 38px; height: 38px;
  color: var(--sol-teal);
  flex: 0 0 auto;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sol-muted);
}

.site-nav {
  display: none;
  gap: 20px;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--sol-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
.site-nav a:hover { border-bottom-color: var(--sol-gold); color: var(--sol-teal); }

.lang-toggle {
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--sol-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--sol-teal); }
.lang-opt { opacity: 0.45; transition: opacity .15s; }
.lang-opt.is-active { opacity: 1; font-weight: 700; }
.lang-sep { opacity: 0.35; }

@media (min-width: 960px) {
  .site-nav { display: inline-flex; }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--sol-teal);
  color: var(--sol-bone);
}
.btn-primary:hover { background: var(--sol-deep); color: var(--sol-bone); }

.btn-ghost {
  background: transparent;
  color: var(--sol-bone);
  border-color: rgba(243, 241, 236, 0.4);
}
.btn-ghost:hover { border-color: var(--sol-gold); color: var(--sol-gold); }

.btn-spark {
  background: var(--sol-gold);
  color: var(--sol-ink);
}
.btn-spark:hover { background: var(--sol-ink); color: var(--sol-gold); }

/* -------------------------------------------------------------------------
   Section divider motif
   ------------------------------------------------------------------------- */
.section-motif {
  display: flex;
  justify-content: center;
  padding: 4px 0 0;
  opacity: 0.45;
}
.section-motif svg {
  color: var(--sol-gold);
  width: 32px; height: 32px;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--sol-bone);
  isolation: isolate;
  overflow: hidden;
  min-height: min(520px, 88svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,39,51,0.0) 0%, rgba(29,39,51,0.30) 65%, rgba(29,39,51,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  padding: 80px 22px 56px;
  text-align: left;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sol-gold);
  margin: 0 0 16px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 14vw, 10rem);
  line-height: 0.9;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  color: var(--sol-bone);
  font-weight: 300;
  font-feature-settings: "kern" 1;
}

.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  letter-spacing: 0.08em;
  color: var(--sol-bone);
  opacity: 0.88;
  margin: 0 0 32px;
  font-weight: 300;
}

.hero-tagline {
  max-width: 38ch;
  margin: 0 0 36px;
  color: var(--sol-bone);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.35;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* CTA — primary gets extra padding to feel clearly dominant */
.btn-cta-primary {
  padding: 14px 30px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* Secondary CTA — plain text link, not a button */
.hero-story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(243, 241, 236, 0.75);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(243, 241, 236, 0.3);
  padding-bottom: 2px;
  align-self: center;
  transition: color .15s, border-color .15s;
}
.hero-story-link:hover {
  color: var(--sol-bone);
  border-bottom-color: rgba(243, 241, 236, 0.7);
}

.hero-status {
  position: relative;
  background: rgba(29, 39, 51, 0.82);
  color: var(--sol-bone);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.status-dot {
  width: 7px; height: 7px;
  background: var(--sol-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 137, 59, 0.18);
  animation: pulse 2.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 137, 59, 0.18); }
  50%       { box-shadow: 0 0 0 9px rgba(184, 137, 59, 0.04); }
}

/* -------------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------------- */
.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 22px;
  max-width: 24ch;
  font-weight: 600;
}
.h-small { font-size: clamp(1.3rem, 3vw, 1.75rem); }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sol-gold);
  margin: 0 0 14px;
  font-weight: 600;
}
.kicker.light { color: rgba(243, 241, 236, 0.7); }

.lede {
  font-size: 1.1rem;
  max-width: 56ch;
  color: var(--sol-ink);
  line-height: 1.7;
}
.lede.light { color: var(--sol-bone); opacity: 0.88; }

.footnote {
  font-size: 0.88rem;
  color: var(--sol-muted);
  margin-top: 26px;
  font-style: italic;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.45fr 1fr; gap: 68px; }
}

/* Story section ---------------------------------------------------------- */
.section-story { background: var(--sol-paper); }

.col-aside .facts {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--sol-bone);
  border-left: 3px solid var(--sol-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  margin: 0;
}
.facts .fact { margin: 0; }
.facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sol-muted);
  margin: 0 0 2px;
  font-weight: 600;
}
.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sol-ink);
}

/* Place section ---------------------------------------------------------- */
.section-place { background: var(--sol-bone); }

.place-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .place-grid { grid-template-columns: 1fr 1fr; }
}
.place-grid li {
  background: var(--sol-paper);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.place-grid h3 {
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--sol-teal);
}
.place-grid p { margin: 0; font-size: 0.97rem; }

/* Drinks section --------------------------------------------------------- */
.section-drinks { background: var(--sol-paper); }

.drink-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 38px 0 0;
}
@media (min-width: 700px) {
  .drink-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .drink-grid { grid-template-columns: repeat(4, 1fr); }
}

.drink-card {
  background: var(--sol-bone);
  border: 1px solid var(--line);
  border-top: 4px solid var(--sol-metal);
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s;
}
.drink-card:hover { box-shadow: var(--shadow-2); }

.drink-card.sevje    { border-top-color: var(--sevje);    }
.drink-card.krekling { border-top-color: var(--krekling); }
.drink-card.lys      { border-top-color: var(--lys);      }
.drink-card.pils     { border-top-color: var(--pils);     }

.drink-icon {
  width: 36px; height: 56px;
  color: var(--sol-teal);
  margin-bottom: 10px;
  opacity: 0.75;
}
.drink-card h3 { font-size: 1.45rem; margin: 0; font-weight: 600; }
.drink-style {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sol-muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.drink-card p { font-size: 0.95rem; line-height: 1.6; color: var(--sol-ink); margin: 0; }

/* Why section ------------------------------------------------------------ */
.section-why {
  background: var(--sol-teal);
  color: var(--sol-bone);
}
.section-why h2 { color: var(--sol-bone); }
.section-why .lede { color: var(--sol-bone); opacity: 0.9; }
.section-why .kicker { color: var(--sol-gold); }
.section-why p { color: rgba(243, 241, 236, 0.9); }

/* Visit section ---------------------------------------------------------- */
.section-visit { background: var(--sol-paper); }

.distances {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.distances li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 10px 0;
  font-size: 0.94rem;
}
.distances li span:last-child {
  color: var(--sol-muted);
  font-variant-numeric: tabular-nums;
}

.map-card {
  background: var(--sol-bone);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.map-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.coords {
  margin: 14px 0 6px;
  font-size: 0.9rem;
  color: var(--sol-muted);
  font-variant-numeric: tabular-nums;
}
.map-link {
  font-size: 0.94rem;
  font-weight: 600;
}

/* Signup section --------------------------------------------------------- */
.section-signup {
  background: var(--sol-ink);
  color: var(--sol-bone);
}
.section-signup h2 { color: var(--sol-bone); max-width: 22ch; }

.signup-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .signup-form {
    grid-template-columns: 1fr 1.5fr auto;
    align-items: stretch;
  }
}
.signup-form input[type=text],
.signup-form input[type=email] {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  background: rgba(243, 241, 236, 0.07);
  color: var(--sol-bone);
  border: 1px solid rgba(243, 241, 236, 0.22);
  border-radius: var(--radius);
  transition: border-color .15s ease, background .15s ease;
}
.signup-form input::placeholder { color: rgba(243, 241, 236, 0.5); }
.signup-form input:focus {
  outline: none;
  border-color: var(--sol-gold);
  background: rgba(243, 241, 236, 0.11);
}
.signup-form .btn-spark { padding: 14px 24px; }

.hp {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-feedback {
  min-height: 1.2em;
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.form-feedback.is-error { color: #f3b6ad; }
.form-feedback.is-info  { color: var(--sol-gold); }

.form-fineprint {
  margin-top: 18px;
  font-size: 0.8rem;
  opacity: 0.65;
  max-width: 60ch;
}

/* Partners section ------------------------------------------------------- */
.section-partners { background: var(--sol-bone); }

.partners {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
  padding: 0;
}
.partners li {
  background: var(--sol-paper);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--sol-ink);
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--sol-ink);
  color: var(--sol-bone);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer .brand-name { color: var(--sol-bone); }
.site-footer .brand-sub  { color: rgba(243, 241, 236, 0.6); }
.foot-tag { font-style: italic; opacity: 0.7; max-width: 28ch; }

.h-foot {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sol-gold);
  margin: 0 0 12px;
  font-weight: 700;
}
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 7px; }
.foot-links a {
  color: rgba(243, 241, 236, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}
.foot-links a:hover { border-bottom-color: var(--sol-gold); color: var(--sol-bone); }
.site-footer a { color: var(--sol-bone); }
.site-footer a:hover { color: var(--sol-teal); }
.foot-muted { color: rgba(243, 241, 236, 0.6); font-size: 0.84rem; }

.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 241, 236, 0.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(243, 241, 236, 0.6);
}
.foot-bottom p { margin: 0; max-width: 60ch; }

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot { animation: none; }
  * { transition: none !important; }
}

/* Print ------------------------------------------------------------------ */
@media print {
  .site-header, .hero-bg, .hero-status, .lang-toggle, .signup-form { display: none; }
  body { color: #000; background: #fff; }
  .section { padding: 24px 0; border-bottom: 1px solid #999; }
}
