/* ─────────────────────────────────────────────
   OFTEN — Design System
   Calm. Lived-in. Familiar.
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg: #F5F4F2;
  --text: #0D0D0D;
  --muted: #8A8680;
  --accent: #C8B89A;
  --surface: #EDECEA;
  --border: #E2E0DB;
  --white: #FFFFFF;
  --error: #C0392B;

  --f-display: 'Syne', sans-serif;
  --f-mono: 'DM Mono', monospace;

  --r: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.25s var(--ease);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Safe area — notch, Dynamic Island, home bar */
.nav__inner {
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}

.footer {
  padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom)));
}

body {
  padding-top: env(safe-area-inset-top, 0px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: var(--f-mono);
}

/* ── Utilities ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  border-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 32px;
  width: 100%;
}

.nav__logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
  transition: opacity var(--transition);
  mix-blend-mode: multiply;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo:hover img {
  opacity: 0.6;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color var(--transition);
  text-transform: lowercase;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}

.nav__cart:hover {
  color: var(--text);
}

.nav__cart-count {
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  transition: transform var(--transition);
}

.nav__cart:hover .nav__cart-count {
  transform: scale(1.1);
}

/* ─────────────────────────────────────────────
   TICKER
───────────────────────────────────────────── */

.ticker {
  background: var(--text);
  color: var(--bg);
  overflow: hidden;
  padding: 10px 0;
  border-bottom: 1px solid var(--text);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker__item {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 32px;
}

.ticker__sep {
  color: var(--accent);
  padding: 0 4px;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 60px;
  position: relative;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero__heading {
  font-family: var(--f-display);
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.hero__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
  max-width: 400px;
  line-height: 1.8;
}

.hero__waitlist {
  display: flex;
  gap: 0;
  max-width: 400px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero__waitlist input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  border-radius: var(--r) 0 0 var(--r);
  transition: border-color var(--transition);
}

.hero__waitlist input::placeholder {
  color: var(--muted);
}

.hero__waitlist input:focus {
  border-color: var(--accent);
}

.hero__waitlist button {
  background: var(--text);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: var(--f-mono);
  border-radius: 0 var(--r) var(--r) 0;
  transition: background var(--transition);
  white-space: nowrap;
}

.hero__waitlist button:hover {
  background: #333;
}

.hero__waitlist-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero__scroll::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
}

/* ─────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────── */

.section-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
}

/* ─────────────────────────────────────────────
   THE LETTER SECTION
───────────────────────────────────────────── */

.letter-section {
  padding: 100px 32px;
  background: var(--text);
  color: var(--bg);
}

.letter-section__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.letter-section__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.letter-section__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.letter-section__body {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245, 244, 242, 0.7);
}

.letter-section__body p+p {
  margin-top: 12px;
}

.letter-section__card {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 4px;
  padding: 40px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.letter-section__card-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.letter-section__card-text {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245, 244, 242, 0.85);
  font-style: italic;
}

.letter-section__card-sig {
  margin-top: 24px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────
   PRODUCT GRID
───────────────────────────────────────────── */

.products-section {
  padding: 100px 32px;
}

.products-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.products-section__view-all {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.products-section__view-all:hover {
  color: var(--text);
  border-color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  cursor: pointer;
}

.product-card__image {
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  transition: transform var(--transition);
}

.product-card:hover .product-card__image {
  transform: translateY(-4px);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.product-card__placeholder-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 40px;
  text-transform: lowercase;
}

.product-card__badge--active {
  background: var(--text);
  color: var(--bg);
}

.product-card__cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.product-card__obs {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   SHOP PAGE
───────────────────────────────────────────── */

.shop-header {
  padding: 120px 32px 48px;
  max-width: 1140px;
  margin: 0 auto;
}

.shop-filters {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  margin-bottom: 48px;
}

.shop-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 40px;
  white-space: nowrap;
  transition: all var(--transition);
  text-transform: lowercase;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.shop-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
}

.empty-state p {
  font-size: 14px;
  line-height: 1.8;
}

/* ─────────────────────────────────────────────
   PRODUCT PAGE
───────────────────────────────────────────── */

.product-page {
  padding-top: 80px;
  min-height: 100vh;
}

.product-page__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-page__gallery {
  position: sticky;
  top: 80px;
}

.product-page__main-img {
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
}

.product-page__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-page__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}

.product-page__cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-page__name {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.product-page__obs {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 8px;
  font-style: italic;
}

.product-page__price {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 700;
  margin: 24px 0;
}

.product-page__btn {
  width: 100%;
  padding: 16px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: var(--r);
  transition: background var(--transition);
  margin-bottom: 12px;
  text-align: center;
  display: block;
}

.product-page__btn:hover {
  background: #333;
}

.product-page__btn--disabled {
  background: var(--surface);
  color: var(--muted);
  cursor: default;
}

.product-page__btn--disabled:hover {
  background: var(--surface);
}

.product-page__letter-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r);
  margin-bottom: 24px;
  border-left: 2px solid var(--accent);
}

.product-page__details {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.product-page__details summary {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.product-page__details[open] summary {
  color: var(--text);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.detail-row:last-child {
  border-bottom: none;
}

/* ─────────────────────────────────────────────
   CART
───────────────────────────────────────────── */

.cart-page {
  padding-top: 80px;
  min-height: 100vh;
}

.cart-page__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px;
}

.cart-page__title {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  padding-top: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__img {
  width: 80px;
  height: 80px;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item__price {
  font-size: 13px;
  color: var(--muted);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-item__qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__qty button:hover {
  border-color: var(--text);
  color: var(--text);
}

.cart-item__qty-num {
  font-size: 13px;
  min-width: 20px;
  text-align: center;
}

.cart-item__total {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.cart-item__remove {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  display: block;
  margin-top: 4px;
  text-align: right;
  transition: color var(--transition);
}

.cart-item__remove:hover {
  color: var(--error);
}

.cart-summary {
  margin-top: 40px;
  border-top: 2px solid var(--text);
  padding-top: 24px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--muted);
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cart-summary__total span:first-child {
  font-size: 14px;
}

.cart-summary__total span:last-child {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  border-radius: var(--r);
  transition: background var(--transition);
}

.cart-checkout-btn:hover {
  background: #333;
}

/* ─────────────────────────────────────────────
   CHECKOUT
───────────────────────────────────────────── */

.checkout-page {
  padding-top: 80px;
  min-height: 100vh;
}

.checkout-page__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.checkout-form__title {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--muted);
}

.checkout-submit {
  width: 100%;
  padding: 16px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: var(--r);
  margin-top: 8px;
  transition: background var(--transition);
}

.checkout-submit:hover {
  background: #333;
}

.checkout-submit:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.checkout-summary {
  background: var(--surface);
  border-radius: var(--r);
  padding: 28px;
  position: sticky;
  top: 80px;
}

.checkout-summary__title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--muted);
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.checkout-summary__total span:last-child {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */

.about-page {
  padding-top: 80px;
  min-height: 100vh;
}

.about-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}

.about-hero__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-hero__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 40px;
}

.about-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.about-body p {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-body p.muted {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.about-body p.muted {
  color: var(--muted);
  font-size: 13px;
}

.about-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 40px 0;
}

.about-brand-rules {
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px;
  margin-top: 40px;
}

.about-brand-rules__title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-brand-rules__item {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.about-brand-rules__item:last-child {
  border-bottom: none;
}

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */

.contact-page {
  padding-top: 80px;
  min-height: 100vh;
}

.contact-page__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 32px;
}

.contact-page__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-page__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-form__submit {
  width: 100%;
  padding: 14px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: var(--r);
  margin-top: 8px;
  transition: background var(--transition);
}

.contact-form__submit:hover {
  background: #333;
}

/* ─────────────────────────────────────────────
   ORDER SUCCESS
───────────────────────────────────────────── */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
}

.success-page__inner {
  max-width: 560px;
  text-align: left;
}

.success-page__icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.success-page__title {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.success-page__body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 24px;
}

.success-page__order {
  background: var(--surface);
  padding: 20px 24px;
  border-radius: var(--r);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--muted);
}

.success-page__order strong {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

/* ─────────────────────────────────────────────
   FOUNDER NOTE (Homepage)
───────────────────────────────────────────── */

.founder-note {
  padding: 80px 32px;
  background: var(--surface);
}

.founder-note__inner {
  max-width: 600px;
  margin: 0 auto;
}

.founder-note__text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.founder-note__sig {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.founder-note__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition);
}

.founder-note__link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */

.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  text-transform: lowercase;
}

.footer__links a:hover {
  color: var(--text);
}

/* ─────────────────────────────────────────────
   BUTTONS & LINKS
───────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: var(--r);
  transition: all var(--transition);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}

.btn--primary:hover {
  background: #333;
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ─────────────────────────────────────────────
   TOAST NOTIFICATION
───────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--r);
  font-size: 13px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s var(--ease);
  max-width: 320px;
  line-height: 1.5;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--error);
}

/* ─────────────────────────────────────────────
   404
───────────────────────────────────────────── */

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
}

.not-found h1 {
  font-family: var(--f-display);
  font-size: 100px;
  font-weight: 800;
  letter-spacing: -0.04em;
  opacity: 0.08;
  line-height: 1;
}

.not-found p {
  color: var(--muted);
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   RESPONSIVE — ALL BREAKPOINTS
───────────────────────────────────────────── */

/* ── Tablet: 900px ── */
@media (max-width: 900px) {

  /* Letter section */
  .letter-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Product page */
  .product-page__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-page__gallery {
    position: static;
  }

  /* Checkout */
  .checkout-page__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Mobile: 600px ── */
@media (max-width: 600px) {

  /* ── Nav ── */
  .nav__inner {
    padding: 0 20px;
    height: 56px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 99;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    color: var(--text);
  }

  .nav__logo img {
    height: 28px;
    max-width: 110px;
  }

  /* ── Hero ── */
  .hero {
    padding: 80px 20px 64px;
    min-height: auto;
    justify-content: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .hero__heading {
    font-size: clamp(36px, 11vw, 64px);
    margin-bottom: 20px;
  }

  .hero__eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
  }

  .hero__sub {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .hero__waitlist {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }

  .hero__waitlist input {
    border-right: 1px solid var(--border);
    border-radius: var(--r);
    width: 100%;
  }

  .hero__waitlist button {
    border-radius: var(--r);
    padding: 13px 20px;
    width: 100%;
    text-align: center;
  }

  .hero__scroll {
    left: 20px;
    bottom: 24px;
  }

  /* ── Ticker ── */
  .ticker__item {
    font-size: 10px;
    padding: 0 20px;
  }

  /* ── Section labels/titles ── */
  .section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  /* ── Products section ── */
  .products-section {
    padding: 60px 20px;
  }

  .products-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card__name {
    font-size: 15px;
  }

  .product-card__price {
    font-size: 14px;
  }

  /* ── Letter section ── */
  .letter-section {
    padding: 60px 20px;
  }

  .letter-section__title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .letter-section__body {
    font-size: 13px;
  }

  /* ── Founder note ── */
  .founder-note {
    padding: 60px 20px;
  }

  .founder-note__text {
    font-size: 15px;
  }

  /* ── Shop ── */
  .shop-header {
    padding: 88px 20px 28px;
  }

  .shop-header .section-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .shop-grid {
    padding: 0 20px 60px;
  }

  .shop-filters {
    margin-bottom: 28px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 7px 14px;
  }

  /* ── Product page ── */
  .product-page__inner {
    padding: 28px 20px 60px;
  }

  .product-page__name {
    font-size: clamp(24px, 7vw, 36px);
  }

  .product-page__price {
    font-size: 26px;
    margin: 16px 0;
  }

  .product-page__obs {
    font-size: 14px;
  }

  .product-page__main-img {
    aspect-ratio: 1/1;
  }

  /* ── Cart ── */
  .cart-page__inner {
    padding: 32px 20px;
  }

  .cart-page__title {
    font-size: 28px;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .cart-item__img {
    width: 64px;
    height: 64px;
  }

  .cart-item__total {
    display: none;
  }

  .cart-summary__total span:last-child {
    font-size: 20px;
  }

  /* ── Checkout ── */
  .checkout-page__inner {
    padding: 28px 20px 60px;
  }

  .checkout-form__title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .checkout-summary {
    padding: 20px;
  }

  .checkout-summary__title {
    font-size: 16px;
  }

  .checkout-summary__total span:last-child {
    font-size: 18px;
  }

  /* ── About ── */
  .about-hero {
    padding: 80px 20px 32px;
  }

  .about-hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .about-body {
    padding: 0 20px 60px;
  }

  .about-body p {
    font-size: 15px;
  }

  .about-brand-rules {
    padding: 24px 20px;
  }

  /* ── Contact ── */
  .contact-page__inner {
    padding: 80px 20px 60px;
  }

  .contact-page__title {
    font-size: clamp(32px, 9vw, 52px);
  }

  .contact-page__sub {
    font-size: 13px;
  }

  /* ── Order success ── */
  .success-page {
    padding: 80px 20px;
  }

  .success-page__title {
    font-size: 32px;
  }

  /* ── Footer ── */
  .footer {
    padding: 32px 20px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  /* ── Safe area (notch / Dynamic Island) ── */
  .nav__inner {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(32px, calc(24px + env(safe-area-inset-bottom)));
  }
}

/* ── Small mobile: 390px ── */
@media (max-width: 390px) {
  .hero__heading {
    font-size: 34px;
  }

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

  .product-card__image {
    aspect-ratio: 1/1;
  }

  .letter-section__title {
    font-size: 28px;
  }

  .about-hero__title {
    font-size: 36px;
  }

  .contact-page__title {
    font-size: 32px;
  }

  .nav__logo img {
    height: 30px;
  }
}

/* ── Hamburger button ── */
.nav__hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.25s var(--ease);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Safe area global ── */
.nav__inner {
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
}

.footer {
  padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom)));
}

body {
  padding-top: env(safe-area-inset-top, 0px);
}