/* Zeytinde — coming soon (v0.1)
   Palette: olive-leaf silver, grove green, early-harvest oil, Aegean gulf. */

@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
  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: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-600-normal.woff2") format("woff2");
  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;
}

:root {
  --leaf: #e3e8dc;       /* olive-leaf underside, page */
  --leaf-deep: #cfd7c6;  /* rules, under-leaf fill */
  --grove: #1d2a1b;      /* canopy green, text */
  --bark: #4f5b48;       /* secondary text */
  --oil: #a39b2a;        /* early-harvest oil */
  --ripe: #3b2a33;       /* ripening Ayvalık olive */
  --gulf: #1b4b59;       /* Edremit Gulf, links */

  --display: "Marcellus", "Times New Roman", serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --leaf: #151f14;
    --leaf-deep: #2a3727;
    --grove: #e3e8dc;
    --bark: #a9b5a1;
    --oil: #c9c05a;
    --ripe: #6b5160;
    --gulf: #93c6d2;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--leaf);
  color: var(--grove);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

a { color: var(--gulf); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gulf); outline-offset: 3px; border-radius: 2px; }

.page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
}

/* Header: brand lockup left, notice + contacts right */
.top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 3rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  color: inherit;
  text-decoration: none;
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.07em;
}
.brand-sub {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--oil);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--bark);
}

/* Main column */
.intro {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 44rem;
  padding: clamp(2rem, 6vh, 4.5rem) 0;
}

h1 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.375rem, 5.4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lede {
  margin: 0 0 2.5rem;
  max-width: 36em;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--bark);
}

/* Product facts */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--leaf-deep);
}
.facts dt,
.facts dd {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--leaf-deep);
}
.facts dt {
  padding-right: 1.5rem;
  font-family: var(--display);
  font-size: 1.0625rem;
}
.facts dd { color: var(--bark); }

/* Notice + contacts (header, right) */
.notice {
  max-width: 22rem;
  text-align: right;
}
.status {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.contact span {
  display: block;
  font-size: 0.8125rem;
  color: var(--bark);
}
.contact a { font-size: 1rem; }

/* Footer */
.foot {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--bark);
}
.foot p { margin: 0; }

/* Olive branch — the one decorative element */
.branch {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: clamp(-9rem, -6vw, -2rem);
  top: 50%;
  width: min(40vw, 34rem);
  height: auto;
  transform: translateY(-50%);
}
.stem,
.rib,
.pedicel {
  fill: none;
  stroke: var(--grove);
  stroke-linecap: round;
}
.stem { stroke-width: 5; }
.rib { stroke-width: 1.2; opacity: 0.35; }
.leaf--under .rib { stroke: var(--grove); opacity: 0.45; }
.pedicel { stroke-width: 2; }
.leaf--top path:first-child { fill: var(--grove); }
.leaf--under path:first-child { fill: var(--leaf-deep); stroke: var(--grove); stroke-width: 1.4; }
.olive--green { fill: var(--oil); }
.olive--ripe { fill: var(--ripe); }

/* Single load moment: the stem draws, leaves and olives settle in after it */
@media (prefers-reduced-motion: no-preference) {
  .stem {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.6s cubic-bezier(.6, .1, .3, 1) .2s forwards;
  }
  .leaf,
  .olive,
  .pedicel {
    opacity: 0;
    animation: appear 0.9s ease-out 1.2s forwards;
  }
  .olive { animation-delay: 1.7s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Narrow screens: the branch moves behind the top of the page, faded */
@media (max-width: 52rem) {
  .branch {
    top: -3rem;
    right: -6rem;
    width: 18rem;
    transform: none;
    opacity: 0.3;
  }
  .intro { max-width: none; }
  .notice { max-width: none; text-align: left; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-right: 0; padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 0.15rem; }
}
