/* Drobe website — shared styles. Warm stone paper, bronze, ink. No external JS. */

:root {
  --paper: #efe8dc;
  --paper-2: #f7f4ed;
  --card: #fbf8f2;
  --ink: #382b1f;
  --ink-soft: #5a4a3a;
  --muted: #7a6a58;
  --bronze: #a37545;
  --bronze-deep: #78522b;
  --terracotta: #c0603b;
  --tape: #e3b45c;
  --line: rgba(56, 43, 31, 0.16);
  --dot: rgba(120, 82, 43, 0.16);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -14px rgba(56, 43, 31, 0.35);
  --grain-opacity: 0.22;
  --btn-bg: #2a2018;
  --btn-ink: #f7f1e7;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1612;
    --paper-2: #221b16;
    --card: #2a221b;
    --ink: #f1e8dc;
    --ink-soft: #ddcfbd;
    --muted: #b6a48f;
    --bronze: #cf9e66;
    --bronze-deep: #e4b984;
    --terracotta: #e07d55;
    --tape: #d9a649;
    --line: rgba(241, 232, 220, 0.14);
    --dot: rgba(228, 185, 132, 0.12);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 30px -14px rgba(0, 0, 0, 0.7);
    --grain-opacity: 0.12;
    --btn-bg: #f1e8dc;
    --btn-ink: #1b1612;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1612; --paper-2: #221b16; --card: #2a221b; --ink: #f1e8dc; --ink-soft: #ddcfbd; --muted: #b6a48f;
  --bronze: #cf9e66; --bronze-deep: #e4b984; --terracotta: #e07d55; --tape: #d9a649;
  --line: rgba(241, 232, 220, 0.14); --dot: rgba(228, 185, 132, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 30px -14px rgba(0, 0, 0, 0.7);
  --grain-opacity: 0.12; --btn-bg: #f1e8dc; --btn-ink: #1b1612; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.3px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 17px/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
  position: relative;
}
/* Paper grain over everything (an inline SVG noise, no network request). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; } }
:root[data-theme="dark"] body::before { mix-blend-mode: screen; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 16px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 9vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 500; color: var(--bronze-deep); }
p { margin: 0 0 1em; }
.eyebrow {
  font: 600 0.74rem/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1.9rem/1 "Cormorant Garamond", Georgia, serif;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow); }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bronze-deep); text-decoration: underline; }
@media (max-width: 520px) {
  .nav .nav-hide-sm { display: none; }
  .nav { gap: 4px 14px; }
}

/* ---------- Tape measure divider ---------- */
.tape {
  height: 26px;
  margin: 8px 0;
  background-color: var(--tape);
  background-image:
    repeating-linear-gradient(90deg, rgba(56,43,31,.55) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(56,43,31,.75) 0 1.5px, transparent 1.5px 50px);
  background-size: 10px 8px, 50px 14px;
  background-repeat: repeat-x;
  background-position: 0 0, 0 0;
  box-shadow: 0 2px 0 rgba(56,43,31,.12), 0 8px 18px -10px rgba(56,43,31,.4);
  transform: rotate(-0.6deg) scaleX(1.03);
  position: relative;
}
.tape-strip { overflow: hidden; padding: 14px 0; }
.tape::after {
  content: "DROBE · WARDROBE & STYLIST · DROBE · WARDROBE & STYLIST · DROBE · WARDROBE & STYLIST · DROBE · WARDROBE & STYLIST";
  position: absolute; left: 0; right: 0; bottom: 3px;
  font: 700 9px/1 "DM Sans", sans-serif; letter-spacing: 0.4em; color: rgba(56,43,31,.7);
  white-space: nowrap; overflow: hidden; text-align: center;
}

/* ---------- Buttons ---------- */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--btn-bg); color: var(--btn-ink);
  padding: 11px 22px 11px 18px; border-radius: 14px;
  text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.appstore:hover { color: var(--btn-ink); transform: translateY(-2px); }
.appstore svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 0.7rem; letter-spacing: 0.02em; opacity: 0.85; }
.appstore strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.appstore.sm { padding: 7px 14px 7px 12px; border-radius: 11px; }
.appstore.sm svg { width: 20px; height: 20px; }
.appstore.sm strong { font-size: 0.95rem; }
.appstore.sm small { font-size: 0.6rem; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 48px 0 80px; } }
.hero h1 { max-width: 10.5em; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.hero .cta .note { font-size: 0.9rem; color: var(--muted); }

/* The board: a sheet of paper with cut-out pieces taped on, Drobi peeking. */
.board {
  position: relative;
  background: var(--paper-2);
  background-image: radial-gradient(rgba(120,82,43,.18) 1px, transparent 1.2px);
  background-size: 18px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1.02;
  transform: rotate(1.2deg);
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .board { background-color: #ece4d7; } }
:root[data-theme="dark"] .board { background-color: #ece4d7; }
.board::before { /* stitched margin */
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(120,82,43,.35); border-radius: 3px; pointer-events: none;
}
.piece { position: absolute; filter: drop-shadow(0 6px 8px rgba(56,43,31,.22)); }
.piece img { width: 100%; }
.piece.taped::after {
  content: ""; position: absolute; top: -8px; left: 50%; width: 54px; height: 18px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(227,180,92,.55); box-shadow: 0 1px 2px rgba(56,43,31,.15);
}
.p-shirt { left: 6%;  top: 7%;  width: 34%; transform: rotate(-6deg); }
.p-top   { left: 52%; top: 5%;  width: 36%; transform: rotate(5deg); }
.p-jeans { left: 39%; top: 33%; width: 19%; transform: rotate(-2deg); }
.p-scarf { left: 8%;  top: 50%; width: 24%; transform: rotate(8deg); }
.p-bag   { left: 64%; top: 44%; width: 28%; transform: rotate(-7deg); }
.p-shoes { left: 6%;  top: 79%; width: 30%; transform: rotate(3deg); }
.board-label {
  position: absolute; left: 50%; top: 92%; transform: translate(-50%, -50%) rotate(-1.2deg);
  font: italic 500 1.05rem/1 "Cormorant Garamond", Georgia, serif; color: #78522b; white-space: nowrap;
}
.board-drobi {
  position: absolute; right: -2%; bottom: -6%; width: 46%;
  border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow);
  border: 5px solid var(--card); transform: rotate(-4deg);
}
.board-drobi img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.18); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }

.features { display: grid; gap: 20px; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative; background: var(--card); border-radius: 18px; padding: 26px 24px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.feature::before { /* felt stitching */
  content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--line); border-radius: 13px; pointer-events: none;
}
.feature .num {
  font: italic 500 2.6rem/1 "Cormorant Garamond", Georgia, serif; color: var(--bronze);
  display: block; margin-bottom: 10px;
}
.feature h3 { margin-bottom: 0.35em; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.feature:nth-child(odd) { transform: rotate(-0.4deg); }
.feature:nth-child(even) { transform: rotate(0.5deg); }

/* Drobi */
.drobi { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .drobi { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.moods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.polaroid {
  background: #fbf8f2; padding: 8px 8px 30px; border-radius: 4px; box-shadow: var(--shadow); position: relative; margin: 0;
}
.polaroid img { border-radius: 2px; aspect-ratio: 600/585; object-fit: cover; width: 100%; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 6px; text-align: center;
  font: italic 500 1.05rem/1 "Cormorant Garamond", Georgia, serif; color: #5a4a3a;
}
.moods .polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.moods .polaroid:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.moods .polaroid:nth-child(3) { transform: rotate(1.5deg); }
.moods .polaroid:nth-child(4) { transform: rotate(-1.8deg) translateY(8px); }

/* Promise list */
.promises { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; } }
.promises li { padding: 16px 0 16px 38px; border-top: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.promises li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px dashed var(--bronze); background: radial-gradient(var(--bronze) 30%, transparent 34%);
}
.promises strong { color: var(--ink); display: block; font-weight: 600; }

.pro-card {
  background: var(--card); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: grid; gap: 24px; align-items: center; text-align: left;
}
@media (min-width: 820px) { .pro-card { grid-template-columns: 1.2fr 1fr; padding: 44px; } }
.plans { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.plans li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border: 1.5px dashed var(--line); border-radius: 12px; gap: 12px; }
.plans b { font: 600 1.35rem/1 "Cormorant Garamond", Georgia, serif; }
.fine { font-size: 0.85rem; color: var(--muted); }

.closing { text-align: center; padding-bottom: 88px; }
.closing img { width: 180px; margin: 0 auto 12px; border-radius: 50%; border: 5px solid var(--card); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.closing h2 { margin-bottom: 0.3em; }
.closing p { color: var(--ink-soft); max-width: 30em; margin: 0 auto 26px; }

/* ---------- Legal / text pages ---------- */
.doc { padding: 24px 0 72px; }
.doc-paper {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow);
  padding: 32px 20px 40px; max-width: 820px; margin: 0 auto; position: relative;
}
@media (min-width: 720px) { .doc-paper { padding: 56px 64px 64px; } }
.doc-paper::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 110px; height: 24px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(227,180,92,.6); box-shadow: 0 1px 3px rgba(56,43,31,.2);
}
.doc h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.doc .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.doc h2 { font-size: clamp(1.55rem, 4.5vw, 1.95rem); margin-top: 1.8em; padding-top: 0.6em; border-top: 1px dashed var(--line); }
.doc h3 { font-size: 1.3rem; margin-top: 1.4em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.45em; }
.doc strong { color: var(--ink); }
.doc .caps { text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.01em; }
.toc { background: var(--paper-2); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; border: 1px dashed var(--line); }
.toc p { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { margin: 0 0 4px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
th { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.callout { border-left: 3px solid var(--bronze); background: var(--paper-2); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 1.2em; }
.callout p:last-child { margin: 0; }

.contact-cards { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { background: var(--paper-2); border: 1.5px dashed var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.contact-card p { margin: 0; font-size: 0.97rem; }
details { border-top: 1px dashed var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px dashed var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--bronze); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; position: relative; z-index: 1; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--bronze-deep); text-decoration: underline; }
.site-footer .copy { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* 404 */
.lost { text-align: center; padding: 40px 0 96px; }
.lost img { width: 220px; margin: 0 auto 18px; border-radius: 50%; border: 5px solid var(--card); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }

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