/* Studio Langballe */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/anton-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/anton-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: "Archivo"; font-style: normal; font-weight: 300 600; font-stretch: 100%; font-display: swap;
  src: url("../fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 600; font-stretch: 100%; font-display: swap;
  src: url("../fonts/archivo-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;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #034a76;
  --blue-dark: #03304f;
  --blue-card: #02395c;
  --pink: #f4c9d0;
  --cream: #f7f3ef;
  --black: #0b0908;
  --muted: #ddd6d0;
  --display: Anton, "Arial Narrow", sans-serif;
  --body: Archivo, system-ui, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 144px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--pink); }
input, select, textarea, button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--pink); color: var(--blue-dark); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { scroll-margin-top: 70px; }
.section > .wrap { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.stack { display: flex; flex-direction: column; gap: 28px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.accent { color: var(--pink); }
.prose { max-width: 32em; font-size: 18px; line-height: 1.7; text-wrap: pretty; }

.photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 999px; text-decoration: none; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 18px 32px; border: 0; transition: background-color .15s, color .15s;
}
.btn--pink { background: var(--pink); color: var(--blue-dark); }
.btn--pink:hover { background: var(--cream); color: var(--blue-dark); }
.btn--outline { border: 1.5px solid var(--cream); font-weight: 500; padding: 16.5px 30px; }
.btn--outline:hover { background: var(--cream); color: var(--blue-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(3, 74, 118, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header .wrap {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
  font-family: var(--display); font-size: 24px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}
.nav {
  display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.nav a { text-decoration: none; }
.nav .btn { font-size: 13px; padding: 12px 22px; }

.lang {
  display: flex; border: 1.5px solid var(--pink); border-radius: 999px; overflow: hidden;
  font-size: 13px;
}
.lang button {
  background: transparent; color: var(--cream); border: 0; padding: 9px 14px;
  letter-spacing: .1em; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--pink); color: var(--blue-dark); font-weight: 600; }

.menu-toggle {
  display: none;
  background: var(--pink); color: var(--blue-dark); border: 0; border-radius: 999px;
  padding: 12px 20px; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  background: var(--blue); padding: 96px 24px 32px;
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--display); font-size: 44px; text-transform: uppercase;
  text-decoration: none; padding: 10px 0;
}
.mobile-menu .lang { align-self: flex-start; }
.mobile-menu__actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__actions .btn { text-align: center; padding: 18px; }
body.menu-open { overflow: hidden; }

@media (max-width: 759px) {
  .site-header .nav { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (min-width: 760px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: end; gap: clamp(24px, 4vw, 48px);
}
.hero__text {
  display: flex; flex-direction: column; gap: clamp(22px, 3vw, 30px);
  padding: clamp(8px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tags li {
  border: 1.5px solid var(--pink); color: var(--pink); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(60px, 13vw, 220px); line-height: .86; letter-spacing: -.005em; }
.hero h1 span { color: var(--pink); position: relative; z-index: 1; display: block; }
.hero__lead { max-width: 30em; font-size: 19px; line-height: 1.6; font-weight: 300; text-wrap: pretty; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__media { position: relative; width: 100%; max-width: 600px; justify-self: end; }
.hero__media figure { margin: 0; aspect-ratio: 4 / 5; }
.badge {
  position: absolute; left: 0; bottom: 32px;
  background: var(--pink); color: var(--blue-dark); padding: 14px 20px;
  font-family: var(--display); font-size: clamp(14px, 4vw, 20px); white-space: nowrap; letter-spacing: .04em; text-transform: uppercase;
  transform: rotate(-3deg); pointer-events: none;
}
@media (max-width: 759px) {
  .hero__media { order: -1; justify-self: start; }
}

/* ---------- Miss Danmark ---------- */
.missdk { background: var(--pink); color: var(--blue-dark); }
.missdk a:hover { color: var(--blue); }
.missdk h2 {
  font-size: clamp(40px, 6.5vw, 104px); line-height: .92;
  text-wrap: balance; overflow-wrap: anywhere;
}
.stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  background: var(--blue-dark); color: var(--cream); border-radius: 24px; padding: 22px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat--blue { background: var(--blue); }
.stat strong { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; }
.stat--blue strong { color: var(--pink); }
.stat span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.missdk__media { margin: 0; aspect-ratio: 570 / 692; width: 100%; max-width: 520px; justify-self: end; }
.missdk__media img { border-radius: 28px; }

/* ---------- About ---------- */
.about { background: var(--black); }
.about h2 { font-size: clamp(44px, 7vw, 112px); line-height: .92; }
.about .prose { font-weight: 300; color: var(--muted); }
.about__media { margin: 0; aspect-ratio: 1440 / 1757; width: 100%; max-width: 560px; }

/* ---------- Services ---------- */
.services .wrap { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.services h2 { font-size: clamp(44px, 7vw, 112px); line-height: .92; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px;
}
.card {
  background: var(--blue-card); border-radius: 28px; padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.card__head { display: flex; justify-content: space-between; align-items: baseline; }
.card h3 { font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--pink); }
.card__no { font-family: var(--display); font-size: 22px; opacity: .6; }
.card p { font-size: 16px; line-height: 1.6; font-weight: 300; text-wrap: pretty; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.pills li {
  background: var(--cream); color: var(--blue-dark); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery { padding-bottom: var(--section-y); }
.gallery .wrap { display: flex; flex-direction: column; gap: 32px; }
.gallery .section-head { align-items: baseline; }
.gallery h2 { font-size: clamp(36px, 4vw, 60px); }
.gallery__link { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--pink); }
.gallery__link:hover { color: var(--cream); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.gallery__grid li { aspect-ratio: 570 / 692; }
.gallery__grid img { border-radius: 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--pink); color: var(--blue-dark); }
.contact > .wrap { padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.contact .split { align-items: start; }
.contact h2 { font-size: clamp(56px, 9vw, 150px); line-height: .88; }
.contact__lead { max-width: 28em; font-size: 18px; line-height: 1.65; }
.phone-btn {
  align-self: flex-start; background: var(--blue-dark); color: var(--cream); border-radius: 999px;
  padding: 20px 32px; font-family: var(--display); font-size: clamp(26px, 3vw, 40px);
  letter-spacing: .02em; text-decoration: none;
}
.phone-btn:hover { background: var(--blue); color: var(--cream); }
.contact__links { display: flex; flex-direction: column; gap: 10px; font-size: 17px; font-weight: 500; }
.contact__links a:hover { color: var(--blue); }

.form {
  background: var(--blue); color: var(--cream); border-radius: 32px;
  padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px;
}
.form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.form input, .form select, .form textarea {
  background: var(--cream); border: 0; border-radius: 999px; color: var(--blue-dark);
  padding: 14px 20px; font-size: 16px; letter-spacing: 0; text-transform: none; outline: none; width: 100%;
}
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2303304f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
.form textarea { border-radius: 20px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--pink); outline-offset: 2px;
}
.form .btn { margin-top: 6px; align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; color: var(--pink); min-height: 1em; }
.form__status.is-error { color: #ffd9a8; }

.site-footer {
  padding-top: 22px; border-top: 1.5px solid rgba(3, 48, 79, .25);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Privacy link & page ---------- */
.form__note { font-size: 13px; opacity: .85; }
.form__note a:hover { color: var(--pink); }
.site-footer a:hover { color: var(--blue); }

.legal { background: var(--cream); color: var(--blue-dark); }
.legal .wrap { max-width: 860px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.legal a:hover { color: var(--blue); }
.legal h1 { font-size: clamp(44px, 7vw, 96px); line-height: .92; margin-bottom: 12px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; }
.legal .updated { font-size: 14px; opacity: .7; margin-bottom: 32px; }
.legal .back { display: inline-block; margin-top: 48px; }
.legal .site-footer { margin-top: 56px; }
html[lang="en"] [data-lang-block="da"],
html[lang="da"] [data-lang-block="en"] { display: none; }
