/* The Peak ApS: Nordic minimal */
:root {
  --snow: #f6f7f5;
  --paper: #ffffff;
  --mist: #e4e8ea;
  --fog: #c9d1d6;
  --slate: #5b6670;
  --graphite: #1e2328;
  --glacier: #3e7c99;
  --glacier-dark: #2f6680;
  --glacier-tint: #e2eef3;
  --glacier-light: #9cc8db;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 35, 40, .04), 0 8px 24px rgba(30, 35, 40, .06);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
em.serif, h1 em, h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--glacier);
}

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--graphite); color: var(--snow); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 16px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--glacier-dark); margin-bottom: 18px;
}
.lead { font-size: 19px; color: var(--slate); max-width: 58ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--graphite); color: var(--snow); }
.btn-primary:hover { background: var(--glacier-dark); }
.btn-ghost { border-color: var(--fog); color: var(--graphite); background: transparent; }
.btn-ghost:hover { border-color: var(--graphite); }
.btn-light { background: var(--snow); color: var(--graphite); min-height: 52px; padding: 0 30px; }
.btn-light:hover { background: var(--glacier-tint); }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; }

.link-arrow {
  font-weight: 600; font-size: 15px; text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--fog); transition: color .2s, border-color .2s; white-space: nowrap;
}
.link-arrow:hover { color: var(--glacier-dark); border-color: var(--glacier); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--snow) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--mist);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--slate); padding: 10px 0; transition: color .2s; }
.nav a:hover { color: var(--graphite); }
.nav a[aria-current="page"] { color: var(--graphite); box-shadow: inset 0 -2px 0 var(--glacier); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--mist); border-radius: 999px; padding: 3px; background: var(--paper); }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--slate); padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--graphite); color: var(--snow); }
.menu-toggle { display: none; }

/* Hero (home) and page hero (subpages) */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { padding: 104px 0 110px; min-height: 600px; }
.page-hero { padding: 96px 0 110px; min-height: 500px; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.05; max-width: 15ch; margin-bottom: 28px; letter-spacing: -0.035em; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; max-width: 18ch; margin-bottom: 24px; letter-spacing: -0.035em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.values { list-style: none; padding: 0; margin: 64px 0 0; display: flex; flex-wrap: wrap; gap: 16px 48px; font-size: 15px; font-weight: 600; }
.values li { display: flex; align-items: center; gap: 10px; }
.values svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--glacier); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Animated mountains */
.peak-art { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; overflow: visible; pointer-events: none; }
.peak-art.sub { width: 52%; }
.peak-art.low { height: 62%; }
.peak-art .layer { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; animation: pk-rise 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
.peak-art .l1 { animation-delay: .1s; }
.peak-art .l2 { animation-delay: .35s; }
.peak-art .l3 { animation-delay: .6s; }
.peak-art .l4 { animation-delay: .85s; }
.peak-art .draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: pk-draw 3.2s ease-out .9s forwards; }
.peak-art .mist, .peak-art .mist2 { filter: blur(12px); }
.peak-art .mist { animation: pk-drift 16s ease-in-out infinite alternate; }
.peak-art .mist2 { animation: pk-drift 22s ease-in-out -6s infinite alternate-reverse; }
.peak-art .sun { transform-box: fill-box; transform-origin: center; animation: pk-sun 9s ease-in-out infinite alternate; }
.peak-art .float { animation: pk-float 12s ease-in-out infinite alternate; }
@keyframes pk-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pk-draw { to { stroke-dashoffset: 0; } }
@keyframes pk-drift { from { transform: translateX(-60px); } to { transform: translateX(60px); } }
@keyframes pk-sun { from { transform: scale(1); opacity: .85; } to { transform: scale(1.08); opacity: 1; } }
@keyframes pk-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* Sections */
.section { padding: 112px 0; background: var(--paper); }
.section-alt { background: var(--snow); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.section-head-row > div { max-width: 640px; }
.section h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; }

/* Service cards (home) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.card {
  padding: 36px 32px; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--paper);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--fog); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 22px; margin: 24px 0 10px; }
.card p { color: var(--slate); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glacier-tint); color: var(--glacier);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Service details (ydelser) */
.services { display: flex; flex-direction: column; gap: 32px; }
.service {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 64px;
  padding: 48px; border: 1px solid var(--mist); border-radius: var(--radius);
}
.service h2 { font-size: 32px; margin: 24px 0 12px; }
.service p { color: var(--slate); max-width: 46ch; }
.service .ticks { align-self: center; margin: 0; gap: 14px; font-size: 17px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 8px;
  border-left: 2px solid var(--glacier); border-bottom: 2px solid var(--glacier); transform: rotate(-45deg);
}

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 64px 32px; }
.work { display: flex; flex-direction: column; }
.shot {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--mist); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .4s ease, box-shadow .4s ease;
}
.work:hover .shot { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(30,35,40,.05), 0 18px 40px rgba(30,35,40,.12); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--snow); border-bottom: 1px solid var(--mist); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.14); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-cat { margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--glacier-dark); }
.work-cat .tag-example { color: var(--slate); }
.work h2, .work h3 { font-size: 24px; margin: 6px 0 8px; letter-spacing: -0.02em; }
.work > p:not(.work-cat) { color: var(--slate); max-width: 50ch; }
.work .link-arrow { align-self: flex-start; margin-top: 16px; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 4px 12px; border: 1px solid var(--fog); border-radius: 999px; color: var(--slate); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 0; }
.steps li { padding: 32px 28px 0 0; border-top: 1px solid var(--fog); }
.step-no { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--glacier); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 40px 32px 32px;
  border: 1px solid var(--mist); border-radius: var(--radius); background: var(--paper);
}
.plan h2 { font-size: 22px; letter-spacing: -0.02em; }
.plan-desc { color: var(--slate); font-size: 15px; margin-top: 8px; min-height: 3.2em; }
.price { margin: 28px 0 4px; font-size: 15px; color: var(--slate); }
.price strong { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--graphite); }
.plan .ticks { margin-bottom: 32px; flex: 1; }
.plan .btn { width: 100%; }
.plan-featured { background: var(--graphite); color: var(--snow); border-color: var(--graphite); }
.plan-featured .plan-desc, .plan-featured .price { color: var(--fog); }
.plan-featured .price strong { color: var(--snow); }
.plan-featured .ticks li::before { border-color: var(--glacier-light); }
.badge {
  position: absolute; top: -13px; left: 32px; background: var(--glacier-dark); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px;
}
.note { margin-top: 24px; font-size: 14px; color: var(--slate); }

/* FAQ */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq-layout > div:first-child { flex: 1 1 280px; }
.faq { flex: 2 1 480px; }
.faq h2 { font-size: clamp(30px, 4vw, 42px); }
.faq details { border-top: 1px solid var(--fog); }
.faq details:last-child { border-bottom: 1px solid var(--fog); }
.faq summary {
  position: relative; display: block; padding: 22px 44px 22px 0;
  font-weight: 600; font-size: 18px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; width: 22px; text-align: center; color: var(--glacier); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); max-width: 60ch; padding-bottom: 22px; }

/* CTA band */
.cta-band { background: var(--graphite); color: var(--snow); padding: 96px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band h2 em { color: var(--glacier-light); }
.cta-band p { color: var(--fog); }

/* Contact */
.page-hero.contact-hero { padding-bottom: 130px; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-start; }
.contact-layout > div { flex: 1 1 380px; }
.contact-list { margin: 48px 0 0; display: grid; gap: 16px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--mist); padding-top: 16px; }
.contact-list dt { font-size: 14px; color: var(--slate); }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--glacier-dark); }

.form {
  flex: 1 1 420px; background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow);
}
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--graphite);
  padding: 12px 14px; min-height: 48px; border: 1px solid var(--fog); border-radius: 10px; background: var(--snow);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--glacier); background: var(--paper); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  border: 1px solid var(--fog); background: var(--paper); color: var(--graphite); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chips button:hover { border-color: var(--graphite); }
.chips button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--snow); }
.form .btn { align-self: flex-start; }
.form-status { font-size: 14px; color: var(--glacier-dark); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--graphite); color: var(--fog); padding: 40px 0; border-top: 1px solid #343b42; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.site-footer .brand { color: var(--snow); font-size: 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .peak-art * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}

/* Responsive */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { gap: 12px; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    border: 1px solid var(--mist); border-radius: 50%; background: var(--paper); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 16px; height: 1.6px; background: var(--graphite); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--snow); border-bottom: 1px solid var(--mist); padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--glacier-dark); }
  .hero { padding: 72px 0 120px; min-height: 0; }
  .page-hero { padding: 64px 0 110px; min-height: 0; }
  .peak-art, .peak-art.sub { width: 100%; opacity: .45; }
  .values { margin-top: 40px; }
  .section { padding: 80px 0; }
  .service { padding: 28px 24px; }
  .form { padding: 24px; }
  .contact-list div { grid-template-columns: 90px 1fr; }
  .cta-band { padding: 72px 0; }
}
