﻿/* Studio Monte Cabra
   Kleuren en letters afgeleid van het logo:
   wijnrood van de cirkel, bruinzwart van de bergen, goudcrème van de geit en de letters. */

@font-face { font-family: "Cinzel"; font-weight: 400 900; font-display: swap;
  src: url("fonts/cinzel-normal-400-900-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: "Cinzel"; font-weight: 400 900; font-display: swap;
  src: url("fonts/cinzel-normal-400-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Alegreya Sans"; font-weight: 400; font-display: swap;
  src: url("fonts/alegreyasans-normal-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap;
  src: url("fonts/alegreyasans-normal-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap;
  src: url("fonts/alegreyasans-normal-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/alegreyasans-italic-400-latin.woff2") format("woff2"); }

:root {
  --wine: #6b1219;
  --wine-deep: #4a0e16;
  --night: #2a1214;
  --gold: #f0d9a0;
  --gold-soft: rgba(240, 217, 160, .78);
  --paper: #f4ead3;
  --ink: #2a1214;
  --ink-soft: #5d4040;
  --red: #c0202c;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

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

/* opschrift zoals "STUDIO" in het logo: kapitalen met een balkje aan weerszijden */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}
.eyebrow.on-paper { color: var(--wine); }

.star { width: 14px; height: 14px; fill: var(--red); flex: none; }

/* ---------- header ---------- */

.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--gold); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand span {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.15;
}
.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-nav a {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--red); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--wine);
  background-image: radial-gradient(ellipse at 50% 38%, #7d161f 0%, var(--wine) 45%, var(--wine-deep) 100%);
  color: var(--gold);
  text-align: center;
}
.hero-map {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 40%;
  pointer-events: none; user-select: none;
}
.hero .wrap {
  position: relative;
  padding-top: 112px;
  padding-bottom: clamp(170px, 20vw, 250px);
}
.hero-logo {
  display: block;
  width: min(400px, 78vw);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 14px 28px rgba(20, 4, 6, .45));
}
.hero h1 {
  margin: 40px 0 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 1;
  color: var(--gold);
}
.hero-intro {
  max-width: 31em;
  margin: 0 auto;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--gold-soft);
}
.hero-meta {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 10px 18px; margin-top: 30px;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .26em; text-transform: uppercase;
}
.ridge {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(120px, 15vw, 220px);
  object-fit: cover; object-position: 50% 100%;
  pointer-events: none;
}

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }

.section h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: .02em;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px var(--gutter);
}

/* studio: bruinzwart, zoals de bergen */
.studio { background: var(--night); color: var(--gold-soft); padding-top: clamp(40px, 6vw, 72px); }
.studio h2 { color: var(--gold); }
.studio .prose p { margin: 0 0 18px; max-width: 36em; }
.studio .prose p:first-child { font-size: clamp(21px, 2vw, 25px); line-height: 1.45; color: var(--gold); }

.name-note {
  align-self: start;
  border-top: 3px solid var(--gold);
  padding-top: 18px;
  max-width: 300px;
}
.name-note .term {
  margin: 0 0 6px;
  font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold);
}
.name-note .pron { margin: 0 0 12px; font-style: italic; }
.name-note p { margin: 0; }

/* bedrijfsgegevens: crème, zoals de letters */
.company { background: var(--paper); color: var(--ink); }
.company h2 { color: var(--wine); }
.company dl { margin: 0; }
.company dl div {
  display: grid;
  grid-template-columns: minmax(0, 12em) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(107, 18, 25, .28);
}
.company dl div:last-child { border-bottom: 1px solid rgba(107, 18, 25, .28); }
.company dt {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wine); padding-top: 4px;
}
.company dd { margin: 0; }
.company a:hover { color: var(--wine); }
.company .intro { margin: 0; max-width: 24em; color: var(--ink-soft); }

/* contact: wijnrood, zoals de cirkel */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--wine);
  background-image: radial-gradient(ellipse at 50% 0%, #7d161f 0%, var(--wine) 50%, var(--wine-deep) 100%);
  color: var(--gold-soft);
}
.contact .wrap { position: relative; }
.contact h2 { color: var(--gold); }
.contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.contact-mail {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  white-space: nowrap;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.contact-mail:hover { text-decoration-color: var(--red); }
.contact-notes { margin: 0; align-self: start; }
.contact-notes div {
  display: grid;
  grid-template-columns: minmax(0, 9em) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(240, 217, 160, .3);
}
.contact-notes div:last-child { border-bottom: 1px solid rgba(240, 217, 160, .3); }
.contact-notes dt {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px;
}
.contact-notes dd { margin: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: var(--gold-soft); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 32px; padding-top: 28px; padding-bottom: 34px;
  font-size: 16px;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .fineprint { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- tekstpagina's (privacy) ---------- */

.page-head {
  position: relative; overflow: hidden;
  background: var(--wine);
  background-image: radial-gradient(ellipse at 50% 30%, #7d161f 0%, var(--wine) 50%, var(--wine-deep) 100%);
  color: var(--gold);
}
.page-head .wrap { position: relative; padding-top: 128px; padding-bottom: clamp(130px, 14vw, 190px); }
.page-head h1 {
  margin: 0 0 8px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 6vw, 72px); line-height: 1;
}
.page-head .updated { margin: 0; color: var(--gold-soft); }
.page-head .ridge { height: clamp(90px, 11vw, 160px); }

.legal-wrap { background: var(--paper); }
.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px var(--gutter);
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.legal .toc { position: sticky; top: 24px; align-self: start; }
.legal .toc ol { list-style: none; margin: 0; padding: 0; }
.legal .toc li { margin: 0 0 8px; font-size: 17px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { color: var(--wine); text-decoration: underline; }
.legal article { max-width: 38em; }
.legal h2 {
  margin: 44px 0 12px;
  font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.2;
  color: var(--wine);
  scroll-margin-top: 24px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  margin: 22px 0 8px;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wine);
}
.legal p { margin: 0 0 14px; }
.legal a:hover { color: var(--wine); }
.page-head .updated a { color: var(--gold); }

/* feitenlijst (press kit) */
.facts { margin: 0 0 8px; }
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 10em) minmax(0, 1fr);
  gap: 4px 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(107, 18, 25, .28);
}
.facts div:last-child { border-bottom: 1px solid rgba(107, 18, 25, .28); }
.facts dt {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wine); padding-top: 4px;
}
.facts dd { margin: 0; }

.boilerplate {
  margin: 0 0 8px;
  padding: 16px 20px;
  background: #fbf5e6;
  border-left: 3px solid var(--wine);
}

/* logo-downloads */
.downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.downloads figure { margin: 0; }
.tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(107, 18, 25, .28);
}
.tile img { width: 100%; height: 100%; object-fit: contain; }
.tile-light { background: #fbf5e6; }
.tile-dark { background: var(--night); padding: 0; }
.downloads figcaption { display: grid; gap: 2px; padding-top: 10px; font-size: 16px; line-height: 1.4; }
.downloads figcaption span { color: var(--ink-soft); }
.downloads figcaption a { font-weight: 700; color: var(--wine); }

.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound .wrap { position: relative; padding-top: 120px; padding-bottom: 240px; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .two-col, .legal { grid-template-columns: minmax(0, 1fr); }
  .legal .toc { position: static; }
}

@media (max-width: 560px) {
  body { font-size: 18px; }
  .brand span { display: none; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; letter-spacing: .14em; }
  .site-nav a:first-child { display: none; }
  .facts div { grid-template-columns: minmax(0, 1fr); }
  .downloads { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer nav { flex-wrap: wrap; gap: 8px 20px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .company dl div, .contact-notes div { grid-template-columns: minmax(0, 1fr); }
  .eyebrow { letter-spacing: .24em; gap: 12px; }
  .eyebrow::before, .eyebrow::after { width: 22px; }
}

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