/* elevait.dk: simple company site. System fonts only, so nothing is fetched from third parties. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("nunito-800.woff2") format("woff2");
}

:root {
  --ink: #14262a;
  --ink-soft: rgba(20, 38, 42, 0.72);
  --teal: #0c343c;
  --teal-2: #14464f;
  --cream: #f6f1e8;
  --white: #ffffff;
  --accent: #f28c28;
  --mint: #1d9e75;
  --blue: #378add;
  --purple: #7f77dd;
  --radius: 28px;
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Header */
.topline { height: 4px; background: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(20, 38, 42, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.wordmark { font-family: Nunito, var(--font); font-weight: 800; font-size: 34px; line-height: 1; color: var(--teal); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .btn { border-bottom: 0; padding: 10px 20px; color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--teal); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; background: var(--teal); color: var(--white); padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 2px solid var(--teal); transition: background 150ms, color 150ms; }
.btn:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.light { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn.light:hover { background: var(--cream); border-color: var(--cream); }

/* Hero: a big rounded card with the faint plan grid and a few blocks, like the plan in our own system */
.hero { padding: 28px 0 8px; }
.hero-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--teal); color: var(--white); min-height: 560px; padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-card h1 { margin: 0; font-weight: 300; font-size: clamp(38px, 6vw, 72px); line-height: 1.08; letter-spacing: -0.02em; max-width: 16ch; }
.hero-card p { margin: 22px 0 0; max-width: 46ch; font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.plan-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.plan-art i { position: absolute; display: flex; align-items: center; padding: 0 14px; height: 36px; border-radius: 8px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--white); }
.plan-art .b1 { left: 62%; top: 72px; width: 192px; background: var(--mint); }
.plan-art .b2 { left: 68%; top: 120px; width: 264px; background: var(--blue); }
.plan-art .b3 { left: 64%; top: 168px; width: 168px; background: var(--accent); }
.plan-art .b4 { left: 76%; top: 216px; width: 216px; background: var(--purple); }

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); font-weight: 600; margin: 0 0 14px; }
h2 { margin: 0; font-weight: 300; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -0.015em; }
h3 { margin: 0 0 8px; font-weight: 600; font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(22px, 3vw, 34px); line-height: 1.4; font-weight: 300; max-width: 30em; margin: 0; }

/* Services: dark section with a statement and a list that opens */
.dark { background: var(--teal); color: var(--white); }
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.accordion { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.accordion details { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-size: clamp(18px, 2vw, 22px); letter-spacing: 0.04em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; transition: transform 200ms; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .more { padding: 0 0 28px; color: rgba(255, 255, 255, 0.82); max-width: 52ch; }
.accordion .more a { color: var(--white); }

/* Warm section with step cards */
.cream { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 44px; counter-reset: step; }
.step { background: var(--white); border-radius: 22px; padding: 28px 26px 30px; counter-increment: step; }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: var(--white); font-weight: 700; margin-bottom: 18px; }
.step p { margin: 0; color: var(--ink-soft); }

/* Example cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
.card { border-radius: 24px; padding: 34px 30px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); }
.card p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.card.c1 { background: var(--teal); }
.card.c2 { background: #1b6b5a; }
.card.c3 { background: #28527a; }

/* Call to action band */
.cta { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { max-width: 20ch; }

/* Inner pages */
.page-head { padding: clamp(56px, 8vw, 96px) 0 24px; }
.page-head h1 { margin: 0; font-weight: 300; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; }
.page-head p { margin: 22px 0 0; max-width: 46ch; font-size: 20px; color: var(--ink-soft); }
.service-list { display: grid; gap: 22px; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); padding: 38px 0; border-top: 1px solid rgba(20, 38, 42, 0.14); }
.service h2 { font-size: clamp(26px, 3vw, 36px); }
.service ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--ink-soft); }
.service li { margin: 6px 0; }
.prose { max-width: 40em; }
.prose h2 { font-size: 28px; margin: 40px 0 10px; font-weight: 400; }
.prose p, .prose li { color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 12px; }
.contact-card { background: var(--cream); border-radius: 24px; padding: 32px 30px; }
.contact-card a { font-size: 20px; font-weight: 600; color: var(--teal); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 56px 0 40px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: var(--white); font-size: 30px; }
.site-footer h4 { margin: 0 0 10px; color: var(--white); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 6px 0; }
.fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* Small screens */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 80px; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--white); padding: 18px 24px 26px; border-bottom: 1px solid rgba(20, 38, 42, 0.1); display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 17px; padding: 10px 0; }
  .services, .service { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .plan-art .b1 { left: 8%; top: 40px; }
  .plan-art .b2 { left: 22%; top: 88px; }
  .plan-art .b3 { left: 12%; top: 136px; }
  .plan-art .b4 { display: none; }
  .hero-card { min-height: 520px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-card, .step, .card { animation: rise 600ms ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Cases, as on a portfolio: big rounded cards with artwork, name in capitals, one line */
.cases-section { position: relative; overflow: hidden; }
.big-word { position: absolute; right: -12px; top: -46px; font-size: clamp(90px, 18vw, 240px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: rgba(12, 52, 60, 0.07); pointer-events: none; user-select: none; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 44px; position: relative; }
.case { display: block; text-decoration: none; color: inherit; }
.case-art { position: relative; aspect-ratio: 4 / 4.4; border-radius: 26px; overflow: hidden; transition: transform 250ms ease; }
.case:hover .case-art, .case:focus-visible .case-art { transform: translateY(-6px); }
.case-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-label { position: absolute; left: 24px; bottom: 22px; right: 24px; color: var(--white); font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; }
.case h3 { margin: 18px 0 4px; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.case p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.45; }
.t1 { background: var(--teal); }
.t2 { background: #1b6b5a; }
.t3 { background: #28527a; }
.case-banner { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 6; min-height: 220px; margin-top: 12px; }
.case-banner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding: clamp(48px, 7vw, 88px) 0; }
.case-body h2 { font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.case-body p { margin: 0; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .case-art { transition: none; } }

/* Fact cards: short statements on safety and quality */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.fact { background: var(--white); border-radius: 22px; padding: 28px 26px 30px; border: 1px solid rgba(20, 38, 42, 0.08); }
.fact h3 { color: var(--teal); }
.fact p { margin: 0; color: var(--ink-soft); }

/* Frihed med struktur: a statement on the left, two cards on the right */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.body-lg { margin: 20px 0 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 36em; }
.split h2 { max-width: 16ch; }
.duo { display: grid; gap: 18px; }
.duo-card { background: var(--white); border-radius: 24px; padding: 30px 30px 32px; }
.duo-card h3 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.duo-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.duo-card li { margin: 8px 0; }
.dark-card { background: var(--teal); color: var(--white); }
.dark-card h3 { color: #7fd6bb; }
.dark-card ul { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split h2 { max-width: none; } }

/* Case with a photo instead of the drawn blocks */
.case-banner.photo { aspect-ratio: 16 / 9; background: var(--teal); }
.case-banner.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.case-art.photo { background: var(--teal); }
.case-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-art.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 52, 60, 0.82), rgba(12, 52, 60, 0) 55%); }
.case-art.photo .case-label { z-index: 1; }
.case-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.case-list { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-soft); }
.case-list li { margin: 6px 0; }
.t4 { background: #3f3b86; }
