/* 1. Lokala WOFF2-typsnitt (SIL OFL) och designvärden */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --error: hsl(0 70% 40%);
  --letter-wide: 0.08em;
  --letter-wider: 0.1em;
  --container-padding: 1.5rem;
  --transition: 400ms cubic-bezier(0, 0, 0.2, 1);
  --background: #f9f7f2;
  --foreground: #122b45;
  --card: #ffffff;
  --primary-hsl: 213 86% 24%;
  --primary: #082f67;
  --primary-foreground: #fff;
  --secondary-hsl: 210 40% 94%;
  --muted-foreground: #63788a;
  --accent-hsl: 26 77% 93%;
  --accent: #f6e6d8;
  --border: #e3e8ec;
  --radius: 1.5rem;
  --section-padding: 4.75rem;
  --heading-gap: 2.4rem;
  --soft-shadow: 0 12px 35px rgba(9, 39, 72, .07);
  --card-shadow: 0 14px 38px rgba(8, 47, 103, .09);
  --hover-shadow: 0 24px 64px rgba(8, 47, 103, .18);
  --copper: #c66a36;
  --beige: #f2ba90;
  --navy-deep: #071d3c;
  --ink: #122b45;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --heading-tracking: -0.02em;
}

/* 2. Grundlayout och tillgänglighet */
* {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

*::before {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-sans);
  font-optical-sizing: auto;
  font-synthesis: none;
}

h1 {
  margin: 0;
  font-size: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
}

h2 {
  margin: 0;
  font-size: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
}

h3 {
  margin: 0;
  font-size: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
}

p {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
  background: transparent;
}

button:disabled {
  cursor: wait;
  opacity: 0.5;
}

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

svg {
  display: block;
  vertical-align: middle;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 8rem;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  padding-inline: var(--container-padding);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-padding);
}

.skip-link {
  position: fixed;
  z-index: 110;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  background: var(--card);
  border-radius: var(--radius);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.accent-dot {
  width: 7px;
  height: 7px;
  background: var(--beige);
  border-radius: 50%;
}

/* 3. Navigation och knappar */
.site-nav {
  z-index: 100;
  inset: 0 0 auto;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(249, 247, 242, .95);
  backdrop-filter: blur(18px);
  box-shadow: 0 3px 16px rgba(8, 47, 103, .055);
  animation: none;
}

.site-nav.is-scrolled {
  position: sticky;
  top: 0;
  color: var(--ink);
  background: rgba(249, 247, 242, .95);
  backdrop-filter: blur(18px);
  box-shadow: 0 3px 16px rgba(8, 47, 103, .055);
  animation: none;
}

.nav-container {
  padding-block: 0.75rem;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: var(--letter-wide);
}

.desktop-nav {
  align-items: center;
  display: none;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.7rem, 1.2vw, 1rem);
  letter-spacing: normal;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-link {
  text-transform: none;
  transition: opacity var(--transition);
  color: #253c52;
  font-size: 0.96875rem;
  line-height: 1.4;
  letter-spacing: 0.008em;
  font-weight: 600;
}

.nav-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-transform: none;
  border-radius: 15px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(8, 47, 103, .16);
  font-size: 0.875rem;
  line-height: 1.3;
  letter-spacing: 0.008em;
  font-weight: 600;
  min-height: 45px;
  padding: 0.625rem 1.125rem;
}

.nav-link:hover {
  opacity: 0.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease,
    transform 240ms cubic-bezier(.2, .7, .2, 1), box-shadow 240ms ease;
  font-weight: 600;
}

.is-scrolled .nav-shop {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(8, 47, 103, .16);
  min-height: 45px;
  padding: 0.625rem 1.125rem;
}

.nav-shop:hover {
  color: #fff;
  border-color: var(--copper);
  background: var(--copper);
}

.menu-toggle {
  padding: 0;
  width: 44px;
  height: 44px;
  place-items: center;
  display: grid;
}

.menu-toggle .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.close-icon {
  display: none;
}

.mobile-menu {
  display: none;
}

.no-script-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-wider);
}

.pill-button {
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.025em;
}

.nav-brand img {
  display: block;
  mix-blend-mode: multiply;
  width: auto;
  height: 88px;
  max-height: none;
  object-fit: contain;
}

.is-scrolled .nav-shop:hover {
  border-color: var(--copper);
  background: var(--copper);
  color: #fff;
}

/* Ordmärket är riktig text i HTML, och skalar med logotypens storlek. */
.brand-wordmark {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 2.9vw, 2.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

/* Den diagonala pilen är nu en riktig SVG-ikon i HTML. */
.nav-shop .icon {
  width: 0.95rem;
  height: 0.95rem;
}

/* Samma mjuka lyft för CTA-knappar. Färgen styrs däremot separat. */
.button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 17px 32px rgba(8, 47, 103, .20);
}

.button:active:not(:disabled) {
  transform: translateY(-1px);
}

.button[href*="etsy.com"]:hover,
.button[href*="etsy.com"]:focus-visible {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.site-footer a[href*="etsy.com"]:hover {
  color: var(--copper);
}

/* Dessa detaljer hör bara hemma i den blå sektionen. */
.about-panel .brand-eyebrow {
  color: var(--beige);
}

/* Smalare skärmar: ordnamnet får plats utan att navlänkar trycks ihop. */
@media (min-width: 768px) and (max-width: 1100px) {
  .nav-brand img {
    height: 70px;
  }

  .brand-wordmark {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  }

  .desktop-nav {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.84rem;
  }

  .nav-shop {
    font-size: 0.82rem;
    padding-inline: 0.8rem;
  }
}

/* 4. Hero: sammanhängande bild och mjuk mörkblå toning */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(112deg, #061d3e, #0a3770);
  height: clamp(420px, 32vw, 460px);
  min-height: 0;
}

.hero-background {
  animation: hero-fade 800ms ease-in-out both;
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #071d3c 0%, rgba(7, 29, 60, .98) 26%, rgba(7, 29, 60, .77) 47%, rgba(7, 29, 60, .20) 71%, transparent 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 100%;
}

.hero-content {
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  bottom: auto;
  left: auto;
  right: auto;
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
  padding: 30px 0;
  z-index: 2;
}

.hero h1 {
  text-align: left;
  animation: hero-rise 600ms 300ms ease-out both;
  display: block;
  text-wrap: balance;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
  line-height: 1.18;
  max-width: 690px;
  font-size: clamp(2.4rem, 4.1vw, 3.75rem);
}

.hero-button {
  /* Animera föräldern i stället: annars låser animationens fill-mode hover-transform. */
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 26px rgba(3, 15, 27, .17);
  font-weight: 600;
}

.hero-button:hover {
  color: #fff;
  background: var(--copper);
  box-shadow: 0 18px 36px rgba(70, 30, 14, .24);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--beige);
  font-size: .67rem;
  letter-spacing: .19em;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--beige);
}

.hero-lead {
  max-width: 475px;
  color: rgba(255, 255, 255, .87);
  line-height: 1.6;
  font-size: clamp(.91rem, 1.15vw, 1.06rem);
  margin-top: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  animation: hero-rise-small 500ms 500ms ease-out both;
}

/* 5. Sektionsrubriker */
.section-heading {
  text-align: center;
  margin-bottom: var(--heading-gap);
}

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
  line-height: 1.2;
}

.section-heading p {
  max-width: 28rem;
  margin-inline: auto;
  color: var(--muted-foreground);
  font-size: .95rem;
  line-height: 1.65;
  font-weight: 400;
}

.brand-eyebrow {
  color: var(--copper);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
}

.brand-eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.products-section .section-heading {
  margin-bottom: 1.25rem;
}

/* 6. Produkter: 4:5-bilder utan beskärning; befintlig hover bevarad */
.products-stage {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-position {
  min-width: 0;
}

.product-card {
  display: block;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(8, 47, 103, .075);
  transition: transform var(--transition), box-shadow 300ms ease, border-color 300ms ease;
  border: 1px solid rgba(8, 47, 103, .20);
  border-radius: 17px;
}

.product-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-entry {
  --reveal-distance: 50px;
}

.product-entry.reveal {
  transition-duration: 400ms;
}

.products-section {
  background: linear-gradient(180deg, #f9f7f2 0%, #f1f5f8 100%);
  padding-block: clamp(2.75rem, 4.4vw, 3.75rem);
}

/* 7. Why Tin & Trail: befintliga toningar och cirklar */
.about-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(185px, .62fr);
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  border-radius: 30px;
  padding: clamp(34px, 5vw, 72px);
  background: radial-gradient(ellipse at 82% 54%, #214a78 0%, transparent 45%), linear-gradient(120deg, #103d79, #061d3e);
  color: white;
  box-shadow: 0 22px 55px rgba(5, 32, 69, .12);
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-copy h2 {
  margin: 23px 0 22px;
  max-width: none;
  font-size: clamp(2.05rem, 2.7vw, 3.1rem);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
  line-height: 1.19;
  white-space: nowrap;
}

.about-copy h2 span {
  color: var(--beige);
}

.about-copy p {
  max-width: 510px;
  font-size: .97rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .84);
}

.about-tags {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  position: relative;
  z-index: 4;
  margin-top: 25px;
  gap: 9px;
}

.about-tags span {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 13px;
}

.about-tags span::before {
  content: '✓';
  color: var(--beige);
  margin-right: 7px;
}

.about-visual {
  position: relative;
  display: grid;
  place-items: center end;
  min-height: 280px;
}

.about-visual img {
  position: relative;
  z-index: 2;
  width: clamp(185px, 20vw, 255px);
  height: auto;
  border-radius: 25px;
  background: #fff;
  /* padding: 20px; */
  box-shadow: 0 23px 47px rgba(0, 0, 0, .20);
  transform: translateX(-14px) rotate(6deg);
}

.about-rings {
  position: absolute;
  top: -165px;
  right: -182px;
  border: 1px solid rgba(255, 255, 255, .17);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
}

.about-rings:after {
  content: '';
  position: absolute;
  inset: 45px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
}

/* 8. RV Clubs & Partnerships: redigerbara klubb-rader */
.partnerships-section {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  background: #f9f7f2;
}

.partnerships-heading {
  margin-bottom: 5rem;
}

.partnerships-heading p {
  max-width: 440px;
  color: #607486;
  font-size: 1rem;
  line-height: 1.75;
}

.partner-button {
  color: var(--primary-foreground);
  margin-top: 25px;
  background: #082f67;
  box-shadow: 0 9px 22px rgba(8, 47, 103, .20);
  font-weight: 600;
}

.partner-button:hover {
  /* Samarbetes-CTA är INTE en Etsy-länk. */
  background: #164981;
}

.partners-content {
  margin-inline: auto;
  min-width: 0;
  max-width: none;
  padding: 27px;
  border: 1px solid #e0e8ee;
  background: rgba(255, 255, 255, .94);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(14, 48, 82, .09);
}

.partner-invitation {
  text-align: center;
  border-radius: var(--radius);
  padding: 34px 10px;
  border: 0;
  background: transparent;
}

.partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--primary-hsl) / 0.1);
  color: var(--primary);
}

.partner-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.partner-invitation .partner-icon {
  margin-bottom: 1rem;
  background: #edf3f9;
  color: #082f67;
}

.partner-invitation h3 {
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
  letter-spacing: var(--heading-tracking);
  color: #123a65;
  font-size: 1.1rem;
  font-weight: 600;
}

.partner-invitation p {
  max-width: 24rem;
  margin-inline: auto;
  font-size: 0.75rem;
  line-height: 1.625;
  color: #667e94;
  font-weight: 400;
}

.partner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-radius: 12px;
}

.partner+.partner {
  border-top: 1px solid var(--border);
}

.partner-logo {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.partner-copy {
  flex: 1;
  min-width: 0;
}

.partner h3 {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
}

.partner p {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.625;
  font-weight: 400;
}

.partner-arrow {
  color: var(--muted-foreground);
  transition: color 300ms ease;
}

.partner:hover .partner-arrow {
  color: var(--primary);
}

.partner:focus-visible .partner-arrow {
  color: var(--primary);
}

.partnerships-panel {
  border-radius: 30px;
  padding: clamp(30px, 5.1vw, 72px);
  background: linear-gradient(135deg, #e9f2f7, #f4f7f8 75%);
  border: 1px solid #dfe9ed;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(25px, 5vw, 70px);
  align-items: center;
}

.partnerships-heading h2 {
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  font-weight: 600;
  letter-spacing: var(--heading-tracking);
  line-height: 1.2;
  margin: 0 0 22px;
}

.partner-list-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid #e3e9ee;
}

.partner-list-header strong {
  color: #092e64;
  font-size: .78rem;
}

.partner-list-header span {
  color: #8295a7;
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .13em;
}

/* 9. Kontaktformulär: centrerat och maximalt 52rem */
input {
  font: inherit;
  color: inherit;
  margin: 0;
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  border-radius: 12px;
  background: #fbfbfb;
  padding: 12px 15px;
  height: 47px;
}

textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  min-height: 140px;
  resize: vertical;
  border-radius: 12px;
  background: #fbfbfb;
  padding: 12px 15px;
}

.contact-section {
  background: linear-gradient(180deg, #f9f7f2 0%, #f8ebe2 100%);
}

.contact-card {
  margin-inline: auto;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 25px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 20px 55px rgba(15, 45, 75, .08);
  max-width: 52rem;
  width: 100%;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

form>*+* {
  margin-top: 1.5rem;
}

.form-field label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
}

.form-field label .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.optional {
  color: var(--muted-foreground);
  letter-spacing: normal;
  text-transform: none;
}

input::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.submit-button {
  width: 100%;
  padding: 0.5rem 1rem;
  color: var(--primary-foreground);
  font-size: 0.6875rem;
  line-height: 1.25rem;
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
  transition-duration: 400ms;
  height: 48px;
  border-radius: 999px;
  font-weight: 600;
  background: #082f67;
}

.submit-button .icon {
  margin-left: 0.5rem;
}

.submit-button:hover {
  /* Kontaktformuläret använder inte Etsy-accenten. */
  background: #164981;
}

.form-status {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--foreground);
}

.form-status.is-error {
  color: var(--error);
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 10. Sidfot */
.site-footer {
  background: #061d3e;
  color: white;
  padding-block: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-tagline {
  max-width: 20rem;
  color: hsl(0 0% 99% / 0.7);
  font-size: 0.75rem;
  line-height: 1.625;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: hsl(0 0% 99% / 0.7);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
}

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

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

.footer-copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(0 0% 99% / 0.2);
  text-align: center;
  color: hsl(0 0% 99% / 0.5);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: white;
}

/* 11. Inanimationer */
.reveal {
  transition: opacity 800ms ease-out var(--reveal-delay, 0s), transform 800ms ease-out var(--reveal-delay, 0s);
}

.reveal-pending .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance, 30px));
}

@keyframes nav-enter {
  from {
    transform: translateY(-100px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rise-small {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 12. Responsiv layout
   Separata regler för mobil, surfplatta och desktop. Inga efterhandsöverstyrningar. */
@media (max-width: 767px) {
  .nav-container {
    padding-block: 0.5rem;
  }

  .nav-row {
    min-height: 72px;
  }

  .menu-toggle .icon {
    color: #082f67;
  }

  .mobile-menu {
    display: block;
    max-height: 0;
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    border-radius: 0 0 0.75rem 0.75rem;
    transition: max-height 600ms cubic-bezier(0.4, 0, 0.2, 1), margin-top 600ms, padding-bottom 600ms, opacity 600ms, clip-path 600ms cubic-bezier(0.4, 0, 0.2, 1), visibility 600ms;
    background: #f9f7f2;
    color: #122b45;
  }

  .hero {
    height: auto;
    min-height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, #061d3e 0%, rgba(6, 29, 62, .91) 46%, rgba(6, 29, 62, .12) 100%);
  }

  .hero-image {
    object-position: 74% 100%;
  }

  .hero-content {
    justify-content: flex-end;
    padding-block: 175px 42px;
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8vw, 3rem);
  }

  .products-stage {
    gap: 20px;
  }

  .product-entry {
    --reveal-delay: 0s !important;
  }

  .partners-content {
    padding: 18px;
  }

  .nav-brand img {
    height: 72px;
  }

  .brand-wordmark {
    font-size: clamp(1.5rem, 4.6vw, 2.15rem);
  }

  .hero-lead {
    max-width: 460px;
    font-size: .9rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 35px 28px;
  }

  .about-copy h2 {
    font-size: clamp(2rem, 7.2vw, 2.75rem);
    white-space: normal;
  }

  .about-tags {
    flex-wrap: wrap;
    width: auto;
  }

  .about-visual {
    min-height: 220px;
    margin-top: 24px;
    place-items: center;
  }

  .about-visual img {
    width: 176px;
    transform: translateX(-5px) rotate(6deg);
  }

  .about-rings {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -52px;
  }

  .partnerships-panel {
    padding: 35px 25px;
    grid-template-columns: 1fr;
  }

  .partnerships-heading h2 {
    font-size: clamp(2.25rem, 9vw, 3.35rem);
  }

  .site-nav.menu-open {
    background: #f9f7f2;
    color: #122b45;
  }

  .menu-open .menu-icon {
    display: none;
  }

  .menu-open .close-icon {
    display: block;
  }

  .menu-open .mobile-menu {
    max-height: 18rem;
    margin-top: 1.5rem;
    padding-bottom: 1rem;
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0);
  }

  .mobile-menu .nav-link {
    display: block;
    padding-block: 0.75rem;
  }

  .mobile-menu .nav-shop {
    width: 100%;
    margin-top: 1rem;
    background: #082f67;
    color: white;
    height: 44px;
  }

  .is-scrolled .mobile-menu {
    background: #f9f7f2;
    color: #122b45;
  }

  .is-scrolled .mobile-menu .nav-shop {
    background: #082f67;
    color: white;
  }

  .mobile-menu .nav-shop:hover,
  .is-scrolled .mobile-menu .nav-shop:hover {
    background: var(--copper);
    border-color: var(--copper);
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .hero-content {
    width: calc(100% - 5rem);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.3rem);
  }

  .hero-lead {
    max-width: 420px;
  }

  .about-panel {
    padding: 42px;
    grid-template-columns: minmax(0, 1.6fr) minmax(145px, .55fr);
  }

  .about-copy h2 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    white-space: normal;
  }

  .about-tags {
    flex-wrap: wrap;
    width: auto;
  }

  .about-visual img {
    width: clamp(150px, 18vw, 195px);
  }

  .partnerships-panel {
    padding: 34px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 768px;
  }

  .product-position {
    width: min(320px, 31%);
  }

  .product-position:nth-child(1) {
    transform: translate(-50%, -50%) translateX(-100%);
  }

  .product-position:nth-child(3) {
    transform: translate(-50%, -50%) translateX(100%);
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .no-script-nav {
    display: none;
  }

  .products-stage {
    display: block;
    position: relative;
    height: 530px;
  }

  .product-position {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, -50%) translateX(var(--card-x, 0px));
  }

  .product-card {
    transform: rotate(var(--card-rotation));
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .product-position:nth-child(1) {
    --card-x: -280px;
    --card-rotation: -4deg;
  }

  .product-position:nth-child(2) {
    z-index: 10;
    --card-rotation: 0deg;
  }

  .product-position:nth-child(3) {
    --card-x: 280px;
    --card-rotation: 4deg;
  }

  .product-position:hover {
    z-index: 50;
  }

  .product-position:focus-within {
    z-index: 50;
  }

  .product-position:hover .product-card {
    transform: translateY(-20px) rotate(0deg) scale(1.05);
    box-shadow: var(--hover-shadow);
  }

  .product-position:focus-within .product-card {
    transform: translateY(-20px) rotate(0deg) scale(1.05);
    box-shadow: var(--hover-shadow);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .hero-content {
    width: calc(100% - 7rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 3rem;
    --section-padding: 4.75rem;
  }

  .product-position {
    width: 320px;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero-content {
    width: 1280px;
  }
}


@media (max-width: 420px) {
  .brand-wordmark {
    font-size: 1.4rem;
  }

  .nav-brand {
    gap: 0.55rem;
  }
}

/* 13. Reducerad rörelse */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-pending .reveal {
    opacity: 1;
    transform: none;
  }
}