:root {
  --oasis: #074234;      /* logo ring green */
  --oasis-deep: #04291f;
  --stone: #e7e3e0;      /* logo field */
  --paper: #f3f1ee;
  --dune: #c7a668;       /* logo wordmark gold */
  --sage: #8fa39a;
  --ink: #12261f;
  --ink-soft: #4a5a53;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --font: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--dune); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  color: var(--stone);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-weight: 300; font-size: 1.25rem; letter-spacing: .04em; }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a { text-decoration: none; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--dune); }

/* ---------- hero ---------- */
.hero {
  background: var(--oasis);
  color: var(--stone);
  padding: 132px 0 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(48px, 9vw, 120px); }
.hero h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(3.2rem, 9.5vw, 8.6rem);
  line-height: .92;
  letter-spacing: -.02em;
}
.hero h1 .sub {
  display: block;
  margin-top: .35em;
  font-size: clamp(.85rem, 1.7vw, 1.4rem);
  letter-spacing: .5em;
  color: var(--dune);
  font-weight: 400;
}
.hero p {
  max-width: 34ch;
  margin: 32px 0 36px;
  font-size: 1.2rem;
  font-weight: 300;
  color: #cfd8d2;
}
.button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--dune);
  border-radius: 999px;
  color: var(--stone);
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--dune); color: var(--oasis-deep); }

/* the arch: the one bold shape on the page */
.arch {
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--oasis-deep);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch {
  aspect-ratio: 3 / 4.2;
  border: 1px solid rgba(199,166,104,.55);
  border-bottom: 0;
  padding: 14px 14px 0;
  background: transparent;
}
.hero .arch-inner {
  height: 100%;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
}
.hero .arch-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

@media (prefers-reduced-motion: no-preference) {
  .hero .arch-inner { animation: open 1.4s cubic-bezier(.2,.7,.1,1) both .1s; }
  .hero-copy > * { animation: rise .9s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .25s; }
  .hero-copy > :nth-child(3) { animation-delay: .4s; }
  @keyframes open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- sections ---------- */
section { padding: clamp(72px, 11vw, 140px) 0; }
h2 {
  margin: 0 0 20px;
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--oasis);
}
.lede { max-width: 52ch; color: var(--ink-soft); margin: 0; }

/* collections */
.collections .grid {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}
.collection .arch { aspect-ratio: 3 / 4; }
.collection:nth-child(even) { margin-top: clamp(0px, 6vw, 72px); }
.collection h3 {
  margin: 20px 0 6px;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--oasis);
}
.collection p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.swatches { display: flex; gap: 6px; margin-top: 12px; }
.swatches i {
  width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

/* shade strip */
.shades { padding: 0; background: var(--stone); }
.shades figure { margin: 0; position: relative; }
.shades img { width: 100%; max-height: 640px; object-fit: cover; }
.shades figcaption {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vw, 48px);
  max-width: 28ch;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
}

/* how to apply */
.apply .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.apply img { border-radius: 8px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 44px 1fr; gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(7,66,52,.15);
}
.steps li:last-child { border-bottom: 1px solid rgba(7,66,52,.15); }
.steps li::before {
  content: counter(s);
  font-size: 1.4rem; font-weight: 300; color: var(--dune); line-height: 1.3;
}
.steps strong { font-weight: 500; color: var(--oasis); }
.steps span { display: block; color: var(--ink-soft); font-size: .97rem; }

/* maker */
.maker { background: var(--oasis); color: var(--stone); }
.maker h2 { color: var(--stone); }
.maker .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.maker .lede { color: #cfd8d2; }
.maker img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { margin: 36px 0 0; display: grid; gap: 18px; }
.facts div { border-left: 1px solid var(--dune); padding-left: 16px; }
.facts dt { font-size: .85rem; color: var(--sage); }
.facts dd { margin: 2px 0 0; }

/* contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact address { font-style: normal; display: grid; gap: 22px; }
.contact address div span { display: block; font-size: .85rem; color: var(--ink-soft); }
.contact address a { color: var(--oasis); text-underline-offset: 4px; }

/* footer */
.site-footer { background: var(--oasis-deep); color: #a9b8b1; font-size: .9rem; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer img { width: 56px; height: 56px; }
.site-footer nav { display: flex; gap: 24px; }

/* legal page */
.legal { padding-top: 140px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--oasis); margin: 0 0 8px; }
.legal h2 { font-size: 1.4rem; font-weight: 500; margin: 40px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal-header { background: var(--oasis); }
.legal-header .site-header { position: static; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .collections .grid { grid-template-columns: repeat(2, 1fr); }
  .collection:nth-child(even) { margin-top: 48px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding-top: 104px; }
  .hero .wrap, .apply .wrap, .maker .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero .arch { max-width: 420px; width: 82%; justify-self: end; aspect-ratio: 3 / 3.6; }
  .shades figcaption { position: static; padding: 20px var(--gutter) 32px; }
  .maker .wrap > :first-child { order: 2; }
}
@media (max-width: 420px) {
  .collections .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .collection p { font-size: .9rem; }
}
