:root {
  --ink: #141916;
  --ink-soft: #2a2e28;
  --muted: #5c6156;
  --cream: #fff6d2;
  --cream-deep: #f3e6b8;
  --paper: #faf6ea;
  --lime: #72a813;
  --forest-light: #5e8924;
  --forest: #2e6423;
  --forest-deep: #144916;
  --taupe: #777a69;
  --line: #e4dcc4;
  --placeholder: #ece8dc;
  --max: 1180px;
  --header-h: 9rem;
  --radius: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: var(--forest-deep);
}

a:hover {
  color: var(--forest);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Quattrocento", "Times New Roman", serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 246, 210, 0.96);
  border-bottom: 1px solid rgba(20, 73, 22, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-mark img {
  width: 96px;
  height: auto;
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-meta {
  display: block;
  color: var(--taupe);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-bottom: 0.2rem;
  border-bottom: 4px solid transparent;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--lime);
  font-weight: 700;
}

/* Home: header sits on the hero */

.page-home {
  background: #fff;
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.page-home .site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 246, 210, 0.94);
  border-bottom: 1px solid rgba(20, 73, 22, 0.08);
  backdrop-filter: blur(12px);
}

.page-home .site-header:not(.is-scrolled) .brand,
.page-home .site-header:not(.is-scrolled) .site-nav a,
.page-home .site-header:not(.is-scrolled) .nav-toggle {
  color: #141916;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.55);
}

.page-home .site-header:not(.is-scrolled) .brand-meta {
  color: #3a4036;
}

.page-home .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
  border-bottom-color: var(--lime);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.55);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  color: var(--cream);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.72) 0%, rgba(255, 255, 255, 0.34) 8%, rgba(255, 255, 255, 0) 17%),
    linear-gradient(180deg, rgba(6, 12, 8, 0) 0%, rgba(6, 12, 8, 0.08) 12%, rgba(6, 12, 8, 0.58) 24%, rgba(5, 10, 7, 0.78) 40%, rgba(5, 10, 7, 0.82) 60%, rgba(5, 10, 7, 0.72) 100%);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  gap: clamp(0.65rem, 2.2vh, 1.5rem);
  padding-top: calc(var(--header-h) + 0.35rem);
  padding-bottom: clamp(1.1rem, 3.5vh, 2.4rem);
}

.hero-lockup {
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
}

.hero-display {
  grid-area: 1 / 1;
  z-index: 1;
  width: 100%;
  margin: 0;
  color: var(--cream);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: normal;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0.015em 0.045em rgba(0, 0, 0, 0.45);
}

.hero-line {
  display: block;
  white-space: nowrap;
  letter-spacing: -0.02em;
  opacity: 0;
  animation-name: hero-appear;
  animation-duration: 0s;
  animation-timing-function: steps(1, end);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

/* Quattrocento Bold advances. With -0.02em tracking these sizes span about 96vw. */
.hero-line-pure {
  font-size: clamp(5.5rem, 38.77vw, 72rem);
  animation-delay: 0.4s;
}

.hero-line-premium {
  margin-top: -0.02em;
  font-size: clamp(3.15rem, 20.61vw, 40rem);
  animation-delay: 0.8s;
}

@keyframes hero-appear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero-product {
  grid-area: 1 / 1;
  z-index: 2;
  width: clamp(9rem, 41vw, 64rem);
  pointer-events: none;
}

.hero-plate {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.35));
  transform: translateX(120vw);
  animation-name: hero-plate-in;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-delay: 1.1s;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

@keyframes hero-plate-in {
  from {
    transform: translateX(120vw);
  }

  to {
    transform: translateX(0);
  }
}

.hero-actions {
  position: relative;
  z-index: 3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.55rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--lime);
  color: #14210a;
}

.btn-primary:hover {
  background: #80bb16;
  color: #14210a;
}

.btn-forest {
  background: var(--forest-deep);
  color: var(--cream);
}

.btn-forest:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
}

.btn-danger {
  background: #8a2a2a;
  color: var(--cream);
}

.btn-danger:hover {
  background: #a43434;
  color: var(--cream);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-count {
  min-width: 1.35rem;
  padding: 0 0.35rem;
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: 999px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35rem;
  letter-spacing: 0;
}

.page-home .site-header:not(.is-scrolled) .cart-count {
  text-shadow: none;
}

/* Discover */

.discover {
  padding: 5.5rem 0 4.5rem;
  background: #fff;
  text-align: left;
}

.discover h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.discover-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 2.2rem;
  margin: 0 0 1.1rem;
}

.discover-tabs button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.2rem 0 0.45rem;
  color: #8b8f84;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
}

.discover-tabs button[aria-selected="true"] {
  color: var(--forest);
  box-shadow: inset 0 -2px 0 var(--lime);
}

.discover-desc {
  margin: 0 0 2.4rem;
  max-width: 40rem;
  color: var(--muted);
}

.discover-panel[hidden] {
  display: none;
}

.product-row {
  display: grid;
  align-items: stretch;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin: 1.5rem 0 1.2rem;
}

.shop-filter button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.2rem 0 0.45rem;
  color: #8b8f84;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 4px solid transparent;
}

.shop-filter button[aria-pressed="true"] {
  color: var(--forest);
  border-bottom-color: var(--lime);
}

.shop-grid {
  gap: 1rem;
}

.shop-grid .product-card h3 {
  margin-top: 0.65rem;
  font-size: 0.98rem;
}

.shop-grid .product-card p {
  font-size: 0.85rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.product-card .product-photo,
.product-card .placeholder-frame {
  flex-shrink: 0;
}

.product-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: var(--placeholder);
}

.product-card h3 {
  margin: 0.9rem 0 0.35rem;
  font-size: 1.2rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.placeholder-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--placeholder);
  color: #8a8678;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.sold-note {
  display: inline-block;
  margin-top: auto;
  color: var(--taupe);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card .btn {
  align-self: flex-start;
  min-height: 2.4rem;
  margin-top: 0.7rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.88rem;
}

.product-card .price {
  margin: auto 0 0;
  font-weight: 700;
}

.provisional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Interior */

.page-hero {
  padding: 3.4rem 0 0.4rem;
}

.page-hero:has(+ #catalog) {
  padding-bottom: 0;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.crumbs {
  margin: 0 0 0.85rem;
  color: var(--taupe);
  font-size: 0.92rem;
}

.section {
  padding: 2.8rem 0;
}

#catalog {
  padding-top: 0;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.split {
  display: grid;
  gap: 2rem;
}

.residents-note {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  background: var(--cream);
  border: 2px solid var(--forest);
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
}

.section h2.team-heading,
.team-heading {
  margin: 0 0 1rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

.founder-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #fff;
}

.founder-card img {
  width: min(100%, 11.5rem);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 15%;
  background: #d8d4cc;
}

.founder-card h2,
.founder-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.founder-role {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.cart-table th,
.cart-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cart-table tfoot td {
  font-weight: 700;
}

.cart-table input[type="number"] {
  width: 4.2rem;
  padding: 0.35rem 0.4rem;
  border: 1.5px solid var(--ink);
  font: inherit;
}

.empty-cart {
  padding: 1.5rem;
  background: var(--cream);
  border: 2px dashed var(--taupe);
}

.note {
  color: var(--muted);
}

.fine {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: var(--forest-deep);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border: 2px solid #0b2a0d;
  transform: translateY(120%);
  opacity: 0;
  transition: 0.25s ease;
}

.toast.show {
  transform: none;
  opacity: 1;
}

.note-card,
.card {
  padding: 1.25rem 1.35rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.facts {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.facts li:not(.callout) {
  padding: 0.85rem 1rem;
  background: #fff;
  border-left: 4px solid var(--lime);
}

.lean-points {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.lean-points div {
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--cream);
}

.lean-points dt {
  font-family: "Quattrocento", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.lean-points dd {
  margin: 0;
  color: var(--ink-soft);
}

.callout {
  padding: 1rem 1.15rem;
  background: #f8d4d6;
  border: 1px solid #c76a70;
}

.media {
  overflow: hidden;
  background: #1c2a18;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.media-studio {
  background: #fff;
}

.media-studio img {
  object-fit: contain;
  background: #fff;
  min-height: 220px;
}

.form {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
}

.form input,
.form textarea {
  width: 100%;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-weight: 650;
}

.form-status.is-ok {
  color: var(--forest-deep);
}

.form-status.is-error {
  color: #8a2a2a;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(20, 25, 22, 0.55);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  width: min(100%, 32rem);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 1.4rem 1.45rem 1.35rem;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(20, 25, 22, 0.28);
}

.modal h2 {
  margin: 0 0 0.35rem;
}

.modal .form {
  margin-top: 1rem;
}

.modal .fine {
  font-weight: 500;
}

body.modal-open {
  overflow: hidden;
}

/* Footer */

.site-footer {
  background: #111;
  color: #ece6d2;
  padding: 2.4rem 0 1.6rem;
  margin-top: 3rem;
}

.site-footer a {
  color: #fff6d2;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-brand img {
  width: 52px;
}

.legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
  color: #c8c2ae;
  font-size: 0.88rem;
}

.footer-credit {
  margin: 0.65rem 0 0;
}

@media (min-width: 560px) {
  .product-row.shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 760px) {
  .product-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .footer-grid,
  .lean-points.three {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .founder-card {
    grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  }

  .lean-points.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .product-row.shop-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 759px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .page-home .site-header:not(.is-scrolled) .site-nav {
    text-shadow: none;
  }

  .discover {
    padding: 3.6rem 0 3rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }
}
