/* Design tokens ported from the approved design handoff (claude.ai/design project 00bb76c0-…, README.md).
   Ink/Paper/Green are the only palette — do not add colors outside this system. */
:root {
  --ink: #0B0A08;
  --paper: #F7F4EC;
  --green: #1F8A5B;
  --green-deep: #14603F;
  --ink-soft-70: rgba(11, 10, 8, 0.7);
  --ink-soft-66: rgba(11, 10, 8, 0.66);
  --ink-soft-60: rgba(11, 10, 8, 0.6);
  --ink-soft-50: rgba(11, 10, 8, 0.5);
  --ink-soft-45: rgba(11, 10, 8, 0.45);
  --ink-soft-14: rgba(11, 10, 8, 0.14);
  --ink-soft-12: rgba(11, 10, 8, 0.12);
  --cream-soft-70: rgba(247, 244, 236, 0.7);
  --cream-soft-62: rgba(247, 244, 236, 0.62);
  --cream-soft-55: rgba(247, 244, 236, 0.55);
  --cream-soft-50: rgba(247, 244, 236, 0.5);
  --cream-soft-45: rgba(247, 244, 236, 0.45);
  --cream-soft-16: rgba(247, 244, 236, 0.16);
  --placeholder-bg: #D9D4C7;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Readex Pro', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: var(--paper); }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}

.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 28px;
  border: none;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.btn-fill { color: var(--paper); background: var(--green); }
.btn-fill:hover { background: var(--green-deep); color: var(--paper); }
.btn-outline { color: var(--paper); background: transparent; border: 1px solid rgba(247,244,236,0.4); }
.btn-outline:hover { border-color: var(--paper); color: var(--paper); }

/* Placeholder image slot — mirrors the design tool's <image-slot> component:
   a solid block until real photography is uploaded via the admin panel. */
.photo-slot {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--placeholder-bg) center/cover no-repeat;
  position: relative;
}
.photo-slot.empty::after {
  content: attr(data-hint);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11,10,8,0.4);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-word-mask] { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-word] { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); }

[data-log-row] { transition: background .3s ease; }
[data-log-row]:hover { background: rgba(31,138,91,0.07); }
[data-log-row]:hover [data-log-arrow] { transform: translateX(6px); color: var(--green); }

[data-link-row] { transition: background .35s ease, padding-left .35s ease; }
[data-link-row]:hover { background: rgba(31,138,91,0.06); padding-left: 14px; }
[data-link-row]:hover [data-link-arrow] { transform: translateX(8px); color: var(--green); }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0.4); }
  50% { box-shadow: 0 0 0 9px rgba(31,138,91,0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-word] { transform: none !important; }
}
