/* Gellatodiamor — Design tokens */
:root {
  /* Colors — sustainability-forward, earthy organic */
  --bg: oklch(0.97 0.012 95);          /* warm cream */
  --bg-alt: oklch(0.94 0.018 95);      /* deeper cream */
  --bg-deep: oklch(0.32 0.04 145);     /* deep forest */
  --ink: oklch(0.22 0.03 145);         /* dark green-black */
  --ink-soft: oklch(0.38 0.025 145);
  --ink-mute: oklch(0.55 0.02 145);
  --line: oklch(0.86 0.015 95);

  /* Accents — same chroma family, varied hue */
  --sage: oklch(0.62 0.08 145);        /* primary green */
  --sage-deep: oklch(0.42 0.08 145);
  --olive: oklch(0.68 0.09 110);       /* olive */
  --pistachio: oklch(0.82 0.08 130);   /* soft pistachio */
  --berry: oklch(0.62 0.12 18);        /* strawberry */
  --apricot: oklch(0.82 0.07 65);      /* peach */
  --milk: oklch(0.94 0.02 80);

  /* Type */
  --serif: "Instrument Serif", "EB Garamond", Georgia, serif;
  --sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* --- Type scale --- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h-display em {
  font-style: italic;
  color: var(--sage-deep);
}

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h-section em { font-style: italic; color: var(--sage-deep); }

.h-card {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.body { color: var(--ink-soft); text-wrap: pretty; }
.label-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* --- Layout --- */
.page { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 10vw, 160px) 0; }
.divider { height: 1px; background: var(--line); width: 100%; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--pistachio), var(--sage) 60%, var(--sage-deep));
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(0.95 0.02 95 / 0.7), transparent 60%);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  justify-self: center;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  justify-self: end;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.15s, background 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sage {
  background: var(--sage);
  color: var(--bg);
}
.btn-sage:hover { background: var(--sage-deep); }
.btn .arrow {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* --- Photo (real images) --- */
.photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}
.photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 11px;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* --- Placeholder imagery (striped) --- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      oklch(0.88 0.02 145) 0 8px,
      oklch(0.92 0.02 145) 8px 16px
    );
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.placeholder.tone-cream { background: repeating-linear-gradient(45deg, var(--milk) 0 8px, oklch(0.91 0.025 80) 8px 16px); }
.placeholder.tone-berry { background: repeating-linear-gradient(45deg, oklch(0.85 0.06 18) 0 8px, oklch(0.78 0.08 18) 8px 16px); color: oklch(0.3 0.08 18); }
.placeholder.tone-pistachio { background: repeating-linear-gradient(45deg, var(--pistachio) 0 8px, oklch(0.76 0.09 130) 8px 16px); }
.placeholder.tone-apricot { background: repeating-linear-gradient(45deg, var(--apricot) 0 8px, oklch(0.76 0.08 65) 8px 16px); }
.placeholder.tone-deep {
  background: repeating-linear-gradient(45deg, oklch(0.36 0.05 145) 0 10px, oklch(0.4 0.06 145) 10px 20px);
  color: var(--milk);
}
.placeholder .ph-label {
  padding: 14px 16px;
  background: oklch(0 0 0 / 0.0);
}
.placeholder .ph-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Footer --- */
footer.site-foot {
  background: var(--bg-deep);
  color: var(--milk);
  padding: 80px var(--gutter) 32px;
}
footer.site-foot a { color: oklch(0.85 0.02 145); }
footer.site-foot a:hover { color: var(--milk); }

/* --- Utility --- */
.row { display: flex; align-items: center; gap: 16px; }
.col { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 24px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tag.dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
}
.marquee-track .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  align-self: center;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --- Form --- */
input[type="email"], input[type="text"] {
  font: inherit;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border 0.15s;
  width: 100%;
}
input[type="email"]:focus, input[type="text"]:focus {
  border-color: var(--sage);
}

/* --- Responsiveness --- */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}
