/* Marotte — marotte.club
   Black, antique gold, ivory. Edit colours in :root only. */

/* Fonts are hosted on the site itself (fonts/). Both are variable fonts:
   one file covers every weight. Licence: SIL Open Font License. */
@font-face {
  font-family: "Cinzel";
  src: url("fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070708;
  --bg-raise: #101012;
  --paper: #f4f0e6;
  --soft: #e4dccb;
  --muted: #cbbfaa;
  --gold: #c6a15b;
  --gold-bright: #e7d3a1;
  --line: rgba(198, 161, 91, 0.38);
  --line-strong: rgba(198, 161, 91, 0.62); /* form fields: needs 3:1 contrast */
  --font-display: "Cinzel", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 4.5rem;
  --wrap: 72rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p {
  text-wrap: pretty;
}

h1, h2 {
  text-wrap: balance;
}

/* English is in the page, hidden until .lang-en is set on <html>. */
/* :not(option): dropdown options carry both languages as attributes and are
   translated by script.js, so they must never be hidden by these rules. */
[data-en]:not(option) {
  display: none;
}

html.lang-en [data-nl]:not(option) {
  display: none;
}

html.lang-en [data-en]:not(option) {
  display: revert;
}

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

/* main receives focus after the welcome screen closes; no ring around the whole page */
#main:focus {
  outline: none;
}

::selection {
  background: var(--gold);
  color: #16140f;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold-bright);
  color: #16140f;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

/* First screen */

body.welcome-on {
  overflow: hidden;
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--bg);
  text-align: center;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.welcome-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36rem;
}

.welcome-inner img {
  width: auto;
  height: 7.5rem;
  margin-bottom: 1.5rem;
}

.welcome-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.05;
  text-wrap: balance;
}

.welcome .tagline {
  margin-top: 1rem;
}

.welcome .btn {
  margin-top: 2rem;
}

.welcome.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.welcome.is-gone {
  display: none;
}

/* Without JavaScript the welcome screen could never be closed, so don't show it. */
html:not(.js) .welcome {
  display: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.band {
  padding: 4.25rem 0;
}

.band-raise {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

section {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, .brand-name, .amount, .step-num, .tagline {
  font-family: var(--font-display);
  font-weight: 500;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 6.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h1 .line {
  display: block;
}

.line-gold {
  color: var(--gold-bright);
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.lead,
.section-intro {
  max-width: 38rem;
  margin: 1.15rem 0 0;
  color: var(--soft);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
}

.tagline {
  margin: 1.35rem 0 0;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

a {
  color: var(--gold-bright);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 2.85rem;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: contents;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--gold-bright);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -0.35rem;
}

.nav-toggle-bars::after {
  top: 0.35rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a[aria-current="true"] {
  color: var(--gold-bright);
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.35rem 1.25rem 0.85rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.nav-links.is-open a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.16);
}

.lang {
  display: flex;
  border: 1px solid var(--line);
}

.lang button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.lang button + button {
  border-left: 1px solid var(--line);
}

.lang button[aria-pressed="true"] {
  background: var(--gold-bright);
  color: #16140f;
}

/* Hero */

.hero-band {
  position: relative;
  overflow: hidden;
  padding-top: 1.5rem;
}

.hero-band::before {
  content: "";
  position: absolute;
  width: 32rem;
  height: 32rem;
  right: -6rem;
  top: 8%;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.16), transparent 68%);
  pointer-events: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-figure {
  margin: 0;
  order: -1;
}

.hero-figure img {
  display: block;
  width: min(100%, 26rem);
  margin-inline: auto;
}

.hero-figure figcaption {
  max-width: 26rem;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.45rem;
  border: 1px solid var(--gold);
  transform: translateY(-0.12rem) rotate(45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-gold {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #16140f;
}

.btn-gold:hover {
  background: #f4e7c6;
}

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
}

.btn-ghost:hover {
  background: rgba(198, 161, 91, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.step-num {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 1.65rem;
  letter-spacing: 0.08em;
}

.steps p {
  margin: 0;
  max-width: 28rem;
  color: var(--soft);
}

/* Benefits */

.benefits {
  display: grid;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefits li {
  padding: 1.4rem 1.25rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits p {
  margin: 0;
  color: var(--soft);
}

/* Pricing */

.prices {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.price-featured {
  position: relative;
  border-color: var(--gold);
  background: #14120e;
}

/* Sits on the card's top edge so both price cards line up */
.ribbon {
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  margin: 0;
  color: #16140f;
  background: var(--gold-bright);
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Plain font here: in Cinzel the digit 1 looks like a Roman I ("I BORDJE") */
.price h3 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.amount {
  margin: 0.35rem 0 0.85rem;
  color: var(--gold-bright);
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.eur {
  margin-right: 0.06em;
  font-size: 0.42em;
  vertical-align: 0.7em;
}

.price-note {
  margin: 0 0 1.4rem;
  color: var(--soft);
}

.price .btn {
  margin-top: auto;
}

.bulk {
  margin: 1.5rem 0 0;
  color: var(--soft);
}

.bulk a {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.6rem 0;
  letter-spacing: 0.04em;
}

/* FAQ */

.faq {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.25rem;
  border-right: 1px solid var(--gold-bright);
  border-bottom: 1px solid var(--gold-bright);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.faq details p {
  max-width: 42rem;
  margin: 0 0 1.2rem;
  color: var(--soft);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.75rem;
}

.fields-2 {
  display: grid;
  gap: 0;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#order-form {
  margin-top: 2rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
}

/* The open dropdown list is drawn by the browser; give it the site's dark
   background so the light text stays readable (Windows defaults to white). */
select {
  background-color: var(--bg-raise);
}

select option {
  background-color: var(--bg-raise);
  color: var(--paper);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(203, 191, 170, 0.7);
}

.form-hint,
.form-status {
  max-width: 38rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  display: none;
  color: var(--gold-bright);
}

.form-status.is-visible {
  display: block;
}

.contact-aside {
  align-self: start;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
}

.aside-kicker {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aside-mail {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.aside-mail:hover {
  color: var(--gold-bright);
}

.contact-aside p {
  margin: 0 0 1rem;
}

.aside-note {
  color: var(--soft);
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: auto;
  height: 3.25rem;
}

.footer-brand .tagline,
.footer-brand .brand-name {
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.footer-meta a {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--paper);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--gold-bright);
}

.legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Phones: get the headline, price and order button onto the first screen */
@media (max-width: 859px) {
  .band {
    padding: clamp(3rem, 9vw, 4.25rem) 0;
  }

  .hero-band {
    padding-top: 1rem;
  }

  .hero {
    gap: 1.25rem;
  }

  .hero-figure img {
    width: min(100%, 15rem);
  }

  .hero-figure figcaption {
    display: none;
  }
}

/* Desktop */

@media (min-width: 720px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
  }

  .prices {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .fields-2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav-links,
  .nav-links.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.35rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-links.is-open a,
  .nav-links a {
    display: inline;
    min-height: 0;
    border: 0;
  }

  .nav-links a:hover {
    color: var(--gold-bright);
  }

  h1 {
    font-size: clamp(2.6rem, 4.3vw, 4.35rem);
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    min-height: calc(100svh - var(--header-h) - 3rem);
  }

  .hero-figure {
    order: 0;
  }

  .hero-figure img {
    width: 100%;
    margin-inline: 0;
  }

  .hero-figure figcaption {
    margin-inline: 0;
    text-align: left;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .steps li {
    padding: 0 1.6rem;
    border-left: 1px solid var(--line);
  }

  .steps li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
    gap: 4rem;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1.4fr;
    align-items: end;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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


/* Coming soon: NFC menu plate */

.soon {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.soon-badge {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.soon-note {
  margin: 1.2rem 0 0;
  color: var(--soft);
}

.soon-note a {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--gold-bright);
}

.soon-figure {
  position: relative;
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
}

.soon-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.soon-stamp {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.3rem 0.7rem;
  background: var(--gold-bright);
  color: #16140f;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

@media (min-width: 860px) {
  .soon {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .soon-stamp {
    top: 1rem;
    right: -0.6rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }
}

.soon-needs {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(198, 161, 91, 0.06);
}

.soon-needs h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.soon-needs p {
  margin: 0;
  color: var(--soft);
}

/* Update service */

.service {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--bg);
}

.service h3 {
  margin: 0 0 0.5rem;
}

.service-head p:last-child {
  margin: 0;
  max-width: 34rem;
  color: var(--soft);
}

.service-prices {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-prices li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  color: var(--soft);
}

.service-amount {
  flex: 0 0 4.6rem;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.service-free .service-amount {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service .btn {
  justify-self: start;
}

@media (min-width: 860px) {
  .service {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem 3rem;
    align-items: center;
  }

  .service .btn {
    grid-column: 1;
  }
}
