/* =========================================================
   HL DRYCKESAGENTUR — Design tokens
   Forest  : djup flaskgrön, tagen från loggans bakgrund
   Cream   : varm elfenben, papper-känsla
   Brass   : åldrad mässing — etikett/foil-känsla, ej AI-mall-orange
   ========================================================= */
:root {
  --forest: #16281f;
  --forest-deep: #0e1913;
  --cream: #f3eee3;
  --cream-deep: #ece4d4;
  --brass: #b08d57;
  --brass-light: #d3b788;
  --white: #fbfaf6;
  --ink: #16281f;
  --line-on-dark: rgba(251, 250, 246, 0.18);
  --line-on-light: rgba(22, 40, 31, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 2rem;
  --space-4: 4rem;
  --space-5: 7rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brass); color: var(--forest-deep);
  padding: 0.75rem 1.25rem; z-index: 200; font-family: var(--font-body);
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(22, 40, 31, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-on-dark);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; align-items: baseline; gap: 0.6rem;
  text-decoration: none; color: var(--white);
}
.brand-stamp-img {
  height: 160px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.brand:hover .brand-stamp-img { opacity: 0.85; }

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.brand-logo--footer {
  height: 220px;
}

.site-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; display: flex; align-items: center;
  gap: 2rem; margin: 0; padding: 0;
}
.nav-list a {
  text-decoration: none; color: var(--white); font-size: 0.92rem;
  letter-spacing: 0.01em; opacity: 0.88; transition: opacity 0.2s;
}
.nav-list a:hover { opacity: 1; }
.nav-cta {
  border: 1px solid var(--brass-light) !important;
  padding: 0.5rem 1.1rem; border-radius: 2px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--brass-light); color: var(--forest-deep); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 4px; width: 32px; height: 32px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 1.8rem; border-radius: 2px; letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background: var(--brass); color: var(--forest-deep);
}
.btn--primary:hover { background: var(--brass-light); transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: inherit;
  border: 1px solid currentColor;
}
.btn--ghost:hover { background: rgba(0,0,0,0.05); }

.hero .btn--ghost { color: var(--white); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.08); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin: 0 0 1.25rem;
}
.eyebrow--light { color: var(--brass-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--white);
  padding: 9.5rem 1.5rem 8rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.05; margin: 0 0 1.5rem; letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--brass-light); }
.hero-lead {
  font-size: 1.15rem; color: rgba(251,250,246,0.82);
  max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Signature element: the bridge */
.bridge {
  position: relative;
  max-width: 900px; margin: 5.5rem auto 0;
  padding: 0 1rem;
}
.bridge-svg {
  width: 100%; height: 90px; display: block;
}
.bridge-svg path {
  fill: none;
  stroke: var(--brass-light);
  stroke-width: 1.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-bridge 1.8s ease-out 0.4s forwards;
}
@keyframes draw-bridge {
  to { stroke-dashoffset: 0; }
}
.bridge-label {
  position: absolute; top: 8px;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; color: var(--white);
}
.bridge-label--left { left: 0; }
.bridge-label--right { right: 0; }
.bridge-node {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest);
  border: 1.5px solid var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--brass-light);
}

/* ---------- Sections ---------- */
.section { padding: var(--space-5) 1.5rem; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--white); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner--narrow { max-width: 760px; text-align: center; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15; margin: 0 0 1.5rem; letter-spacing: -0.01em;
}
.section-title--light { color: var(--white); }
.section-lead { font-size: 1.05rem; max-width: 620px; opacity: 0.85; margin: 0 auto 3rem; } 
#partner .eyebrow,
#partner .section-title,
#partner .section-lead {
  text-align: center;
}
.section-inner--narrow .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Process ---------- */
.process {
  list-style: none; margin: 3.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.process-step { border-top: 1px solid var(--line-on-light); padding-top: 1.5rem; }
.process-num {
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem;
  color: var(--brass); display: block; margin-bottom: 0.75rem;
}
.process-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 0 0 0.6rem; }
.process-step p { margin: 0; opacity: 0.82; font-size: 0.98rem; }

/* ---------- Statement ---------- */
.statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.35;
  margin: 0 0 3.5rem;
}
.statement em { color: var(--brass-light); font-style: italic; }
.statement-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: left; border-top: 1px solid var(--line-on-dark); padding-top: 2rem;
}
.statement-point h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin: 0 0 0.4rem; } 
.statement-point p { margin: 0; opacity: 0.75; font-size: 0.95rem; }

/* ---------- Partner showcase ---------- */
.partner-showcase {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3rem;
}
.partner-tile {
  flex: 1 1 320px; max-width: 380px; margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--forest);
  border-radius: 20px;
  box-shadow: 0 38px 60px -14px rgba(14, 25, 19, 0.75), 0 14px 24px -8px rgba(14, 25, 19, 0.5);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.partner-logo {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
}
.partner-cross {
  flex: 0 0 auto;
  width: clamp(2.25rem, 4vw, 3rem);
  height: clamp(2.25rem, 4vw, 3rem);
}
.partner-cross svg {
  width: 100%; height: 100%;
}
.partner-cross line {
  stroke: var(--brass);
  stroke-width: 1;
  stroke-linecap: round;
}

/* ---------- About ---------- */
.section-inner--split {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center;
}
.about-photo img { border-radius: 2px; }
.about-copy p { opacity: 0.85; font-size: 1.02rem; }

/* ---------- Contact form ---------- */
.contact-form { text-align: left; margin-top: 2.5rem; }
.botcheck { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block; font-size: 0.85rem; letter-spacing: 0.04em;
  margin-bottom: 0.4rem; font-weight: 600;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.75rem 0.9rem; font-family: var(--font-body);
  font-size: 1rem; border: 1px solid var(--line-on-light);
  background: var(--white); border-radius: 2px; color: var(--ink);
}
.form-note { margin-top: 1rem; font-size: 0.9rem; color: var(--forest); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(251,250,246,0.75); padding: 3rem 1.5rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand--footer { color: var(--white); }
.footer-meta { font-size: 0.85rem; opacity: 0.7; margin: 0; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.9rem; }
.footer-links a { text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .process, .statement-points { grid-template-columns: 1fr; }
  .section-inner--split { grid-template-columns: 1fr; }
  .partner-showcase { flex-direction: column; }
  .partner-tile { max-width: 420px; width: 100%; }
  .partner-cross { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--forest); border-bottom: 1px solid var(--line-on-dark);
    padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-list.is-open { max-height: 320px; padding: 0.5rem 0; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.9rem 1.5rem; width: 100%; }
  .nav-cta { border: none !important; }

  .hero { padding: 7.5rem 1.25rem 5rem; }
  .bridge-label { position: static; display: inline-block; }
  .bridge { text-align: center; }
  .bridge-svg { display: none; }
  .bridge-node { position: static; transform: none; display: inline-flex; margin: 0.75rem auto; }
}
.statement-points {
  text-align: center;
}