/* Dabbistic — Éditorial. Ported from the Claude Design export (№ 01 — Été 2026). */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  src: url("assets/fonts/Anton-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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: "Newsreader";
  src: url("assets/fonts/Newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/Newsreader-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
}
@font-face {
  font-family: "Qaskin";
  src: url("assets/fonts/QaskinBlack_PersonalUse.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #e8e2d6;
  --paper-deep: #ded6c5;
  --ink: #0f0e0c;
  --ink-soft: #3a362c;
  --muted: #6d6454;
  --gold: #b89b5e;
  --gold-deep: #8a7137;
  --red: #a3251f;
  --display: "Anton", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --script: "Qaskin", "Newsreader", cursive;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* A quiet background pattern: the hand-drawn mark remains present, but never competes with the page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url('assets/patterns/Main.svg?v=4');
  background-size: 40px 40px;
  background-position: 0 0;
  background-repeat: repeat;
  mix-blend-mode: multiply;
  filter: brightness(0) saturate(100%) invert(28%) sepia(24%) saturate(1080%) hue-rotate(356deg) brightness(85%) contrast(92%);
}

::selection { background: var(--ink); color: var(--paper); }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }

img { max-width: 100%; display: block; }

/* Keep casual image dragging from becoming the browser's default action. */
img { user-select: none; -webkit-user-drag: none; }

.image-easter-egg {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 16px 40px rgba(15, 14, 12, 0.24);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 260ms ease, transform 260ms ease;
}
.image-easter-egg.is-visible { opacity: 1; transform: translate(-50%, 0); }
.image-easter-egg-mark { color: var(--gold); font-size: 22px; line-height: 1; }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.03;
  filter: grayscale(1) contrast(130%);
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22280%22 height=%22280%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22280%22 height=%22280%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
  background-size: 280px 280px;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Masthead */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 42px;
  border-bottom: 1px solid var(--gold);
}
.masthead-brand { display: flex; align-items: center; gap: 14px; }
.masthead-brand img { width: 34px; height: auto; }
.masthead-brand span,
.masthead-enquire {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.masthead-issue {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.masthead-enquire {
  border-bottom: 1px solid var(--ink);
  padding: 12px 2px 3px;
}
.masthead-enquire:hover { border-bottom-color: var(--gold-deep); }

/* Hero */
.hero { position: relative; min-height: 104vh; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22.5vw;
  line-height: 0.82;
  margin: 9vh 0 0 -1.2vw;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  letter-spacing: 0;
}
.hero-look {
  position: absolute;
  right: 9vw;
  top: 26vh;
  width: 30vw;
  height: 40vw;
  z-index: 2;
}
.hero-look img { width: 100%; height: 100%; object-fit: cover; }
.hero-outline {
  position: absolute;
  left: 47vw;
  top: 60vh;
  z-index: 3;
  pointer-events: none;
  font-family: var(--display);
  font-size: 8vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  white-space: nowrap;
}
.hero-motto {
  position: absolute;
  left: 42px;
  bottom: 9vh;
  z-index: 2;
  max-width: 34vw;
}
.hero-motto .rule { width: 72px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.hero-motto .motto {
  font-style: italic;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 300;
}
.hero-motto .sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.hero-scroll {
  position: absolute;
  right: 42px;
  bottom: 9vh;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Credo */
.credo {
  padding: 20vh 8vw 16vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.credo-label {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 14px;
}
.credo-label .rule { width: 40px; height: 1px; background: var(--gold); }
.credo-body {
  grid-column: 3 / 11;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1.38;
  font-weight: 300;
  margin: 0;
}
.credo-body .lettrine {
  font-family: var(--display);
  font-weight: 400;
  float: left;
  font-size: 3.4em;
  line-height: 0.78;
  padding: 0.06em 0.18em 0 0;
}
.credo-colophon {
  grid-column: 11 / 13;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 18px;
  line-height: 2;
}

/* Moments */
.moment { position: relative; }

.moment-tissu { padding: 8vh 0 14vh; }
.moment-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.tissu-media { grid-column: 1 / 7; height: 76vh; }
.tissu-caption { grid-column: 8 / 12; align-self: end; padding-bottom: 6vh; }
.moment-caption-text {
  font-size: 17px;
  line-height: 1.75;
  max-width: 34ch;
  margin: 18px 0 0;
}
.tissu-word {
  position: absolute;
  left: 36vw;
  top: 12vh;
  z-index: 2;
  font-family: var(--display);
  font-size: 12vw;
  line-height: 0.85;
  white-space: nowrap;
  pointer-events: none;
}

.moment-main { padding: 10vh 0 12vh; text-align: center; }
.main-word {
  font-family: var(--display);
  font-size: 18vw;
  line-height: 0.85;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.main-media {
  width: 44vw;
  height: 28vw;
  margin: -8.5vw auto 0;
  position: relative;
  z-index: 2;
  transform: translateX(6vw);
}
.main-caption {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 5vh 0 0;
}
.main-caption em { font-style: normal; color: var(--gold-deep); }

.moment-marque { padding: 14vh 0 16vh; overflow: hidden; }
.marque-word {
  position: absolute;
  right: -7vw;
  top: 6vh;
  z-index: 1;
  font-family: var(--display);
  font-size: 12vw;
  line-height: 0.85;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  pointer-events: none;
}
.marque-text { grid-column: 2 / 6; align-self: center; }
.marque-script {
  font-family: var(--script);
  font-size: clamp(64px, 6.5vw, 110px);
  line-height: 1;
  margin: 5vh 0 4vh;
}
.marque-text p { font-size: 17px; line-height: 1.75; max-width: 36ch; margin: 0; }
.marque-media { grid-column: 7 / 12; height: 84vh; position: relative; z-index: 2; }

.marque-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7vw 4vw;
}
.marque-art img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  max-height: 58vh;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(5px 5px 0 rgba(112, 78, 24, 0.58));
}

/* Empty plates — slots awaiting photography */
.plate-frame {
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.plate-frame span {
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  max-width: 24ch;
  line-height: 1.6;
}
.plate-frame img { width: 100%; height: 100%; object-fit: cover; }

/* La Différence */
.difference { padding: 20vh 4vw 16vh; }
.difference-rule {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 6vh;
}
.difference-rule .kicker { white-space: nowrap; }
.difference-rule .rule { flex: 1; height: 1px; background: var(--gold); }
.difference-word {
  font-family: var(--display);
  font-size: 17vw;
  line-height: 0.84;
}
.difference-word:first-of-type { margin-left: -0.4vw; }
.difference-word:last-of-type { white-space: nowrap; }
.difference-word .seal { color: var(--red); }
.difference-note {
  text-align: right;
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 300;
  margin: 5vh 0 0;
  color: var(--ink-soft);
}

/* Correspondance */
.correspondance {
  max-width: 760px;
  margin: 0 auto;
  padding: 16vh 24px 14vh;
}
.correspondance-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8vh;
}
.correspondance-date { font-style: italic; font-size: 15px; color: var(--muted); }
.correspondance-salut {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 300;
  margin: 0 0 7vh;
}
.lettre { display: flex; flex-direction: column; gap: 52px; }
.lettre label { display: flex; flex-direction: column; gap: 12px; }
.lettre label > span {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.lettre input,
.lettre textarea {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 14, 12, 0.35);
  border-radius: 0;
  padding: 8px 0;
  color: var(--ink);
  width: 100%;
}
.lettre textarea { line-height: 1.7; resize: vertical; }
.lettre input:focus,
.lettre textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-deep);
}
.lettre-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lettre-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2vh;
}
.lettre-signoff { font-style: italic; font-size: 22px; font-weight: 300; }
.lettre-send {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 2px;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.lettre-send:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.lettre-send:active { color: var(--muted); }
.lettre-send:disabled { opacity: 0.4; cursor: not-allowed; }
.lettre-note {
  font-style: italic;
  font-size: 15px;
  color: var(--red);
  margin: 12px 0 0;
  min-height: 1.5em;
}
.merci { padding: 4vh 0; }
.merci-script {
  font-family: var(--script);
  font-size: 72px;
  line-height: 1;
  margin-bottom: 4vh;
}
.merci p {
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-soft);
}

/* Footer */
.colophon {
  border-top: 1px solid var(--gold);
  padding: 24px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Reveal (JS adds .is-visible) */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease), transform 1100ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— Mobile / tablet ——— */
@media (max-width: 900px) {
  .masthead { padding: 18px 20px; flex-wrap: wrap; }
  .masthead-issue { display: none; }

  .hero { min-height: auto; padding-bottom: 10vh; }
  .hero h1 { font-size: 22vw; margin-top: 6vh; }
  .hero-look {
    position: static;
    width: 78vw;
    height: 96vw;
    margin: 8vw auto 0;
  }
  .hero-outline { display: none; }
  .hero-motto { position: static; max-width: none; margin: 10vw 20px 0; }
  .hero-scroll { display: none; }

  .credo { padding: 12vh 20px 10vh; display: block; }
  .credo-label { flex-direction: row; align-items: center; margin-bottom: 28px; padding-top: 0; }
  .credo-body { font-size: clamp(22px, 6vw, 30px); }
  .credo-colophon { display: block; margin-top: 32px; padding-top: 0; }

  .moment-tissu { padding: 6vh 0 10vh; }
  .moment-grid { display: block; padding: 0 20px; }
  .tissu-media { height: 110vw; }
  .tissu-caption { padding: 32px 0 0; }
  .tissu-word { position: static; font-size: 17vw; padding: 0 20px 24px; }

  .main-media { width: 84vw; height: 56vw; margin-top: -6vw; transform: none; }
  .main-caption { padding: 0 20px; }

  .moment-marque { padding: 10vh 0 12vh; }
  .marque-word { display: none; }
  .marque-text { padding: 0; }
  .marque-media { height: 110vw; margin-top: 40px; }

  .difference { padding: 12vh 20px 10vh; }
  .difference-word { font-size: 19vw; }

  .correspondance { padding: 12vh 20px 10vh; }
  .correspondance-head { flex-wrap: wrap; }
  .lettre { gap: 40px; }
  .lettre input, .lettre textarea { font-size: 18px; }
  .lettre-foot { flex-wrap: wrap; }

  .colophon { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
}

/* Small-screen finish: keep the oversized editorial treatment inside the
   viewport and give controls comfortable touch targets. */
@media (max-width: 600px) {
  body { font-size: 16px; }

  .masthead {
    padding: 14px 16px;
    gap: 10px;
  }
  .masthead-brand { gap: 9px; }
  .masthead-brand img { width: 28px; }
  .masthead-brand span,
  .masthead-enquire { font-size: 10px; letter-spacing: 0.18em; }
  .masthead-enquire { padding: 10px 0 3px; }

  .hero { padding-bottom: 8vh; }
  .hero h1 {
    width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(56px, 17.5vw, 108px);
    line-height: 0.88;
    margin: 7vh 0 0;
    text-align: center;
  }
  .hero-look {
    width: calc(100vw - 40px);
    height: 124vw;
    margin-top: 9vw;
  }
  .hero-motto { margin: 10vw 20px 0; }
  .hero-motto .motto { font-size: clamp(23px, 7vw, 31px); }
  .hero-motto .sub { line-height: 1.5; letter-spacing: 0.18em; }

  .credo { padding: 10vh 20px 9vh; }
  .credo-body { font-size: clamp(22px, 6.4vw, 30px); }
  .credo-colophon { font-size: 9px; letter-spacing: 0.18em; }

  .tissu-word {
    font-size: clamp(48px, 16vw, 92px);
    letter-spacing: -0.02em;
  }
  .tissu-media,
  .marque-media { height: 118vw; }
  .plate-frame { padding: 16px; }

  .main-word {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(62px, 18vw, 112px);
  }
  .main-media { width: calc(100vw - 40px); height: 58vw; }
  .main-caption { font-size: 9px; letter-spacing: 0.2em; line-height: 1.7; }

  .difference { padding-inline: 20px; }
  .difference-rule { gap: 12px; }
  .difference-rule .kicker { letter-spacing: 0.2em; }
  .difference-word {
    font-size: clamp(54px, 15vw, 96px);
    line-height: 0.9;
    overflow-wrap: anywhere;
  }
  .difference-word:last-of-type { white-space: normal; }
  .difference-note { text-align: left; margin-top: 28px; }

  .correspondance { padding: 10vh 20px 9vh; }
  .correspondance-head { margin-bottom: 6vh; }
  .correspondance-date { font-size: 14px; }
  .correspondance-salut { margin-bottom: 5vh; }
  .lettre { gap: 32px; }
  .lettre input,
  .lettre textarea { font-size: 16px; }
  .lettre-foot { align-items: flex-start; flex-direction: column; gap: 18px; }
  .lettre-send { width: 100%; text-align: left; }

  .colophon {
    padding: 20px 16px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }
}
