/* ============================================================
   REBECA ZIRPOLI — Personal Organizer
   Design tokens + base
   ============================================================ */

:root {
  /* Brand palette — derived from logo and patterns */
  --taupe: #A6856F;        /* primary brand color from logo */
  --taupe-deep: #8C6E5A;
  --taupe-soft: #BFA396;   /* pattern 3 bg */
  --sage: #A3A88E;         /* pattern 1 bg */
  --sage-deep: #8B9078;
  --cream: #EDE5D8;        /* pattern 2 bg */
  --ivory: #F7F2E9;
  --ivory-warm: #FAF6EF;
  --bone: #FFFDF8;
  --ink: #2E2620;
  --ink-soft: #4A3F36;
  --muted: #8C7A6B;
  --line: rgba(46, 38, 32, 0.12);
  --line-soft: rgba(46, 38, 32, 0.06);

  /* Spacing */
  --pad-section: clamp(72px, 9vw, 140px);
  --pad-x: clamp(20px, 5vw, 80px);
  --max-w: 1320px;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", "Inter", sans-serif;
  --italic-serif: "Italiana", "Cormorant Garamond", serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection { background: var(--taupe); color: var(--ivory); }

/* ----------------------------------------------------------
   Type system
   ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 124px);
}

.display em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--taupe);
}

.title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(36px, 5vw, 72px);
  color: var(--ink);
}
.title em { font-style: italic; color: var(--taupe); }

.subtitle {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  font-size: clamp(24px, 3vw, 36px);
}

.body-lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
}

.tag {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--taupe);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--taupe-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-line {
  padding: 0;
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  border-radius: 0;
}
.btn-line:hover { color: var(--taupe); border-color: var(--taupe); }

.btn .arrow {
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: all 0.4s var(--ease);
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 22px; }

/* ----------------------------------------------------------
   Layout
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  position: relative;
}

/* ----------------------------------------------------------
   Pattern backgrounds (using the brand pattern PNGs)
   ---------------------------------------------------------- */
.pattern-sage  { background: var(--sage) url("assets/pattern-sage.png") center/720px repeat; }
.pattern-cream { background: var(--cream) url("assets/pattern-cream.png") center/720px repeat; }
.pattern-taupe { background: var(--taupe-soft) url("assets/pattern-taupe.png") center/720px repeat; }

.pattern-sage-faint  { background: var(--ivory-warm) url("assets/pattern-cream.png") center/680px repeat; }

/* ----------------------------------------------------------
   Image placeholder (used wherever a real photo will go)
   ---------------------------------------------------------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(166, 133, 111, 0.08) 18px 19px),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(166, 133, 111, 0.18);
  pointer-events: none;
}
.placeholder-label {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  background: var(--ivory-warm);
  padding: 6px 12px;
  border: 1px solid var(--line);
  z-index: 1;
}

/* ----------------------------------------------------------
   Reveal-on-scroll
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ----------------------------------------------------------
   Scrollbar
   ---------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory-warm); }
::-webkit-scrollbar-thumb { background: var(--taupe-soft); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--taupe); }
