:root {
  --ink: #111111;
  --paper: #f7f5ef;
  --cream: #efe7d8;
  --white: #ffffff;
  --accent: #ff9800;
  --accent-dark: #c46d00;
  --sage: #89977f;
  --muted: #5f5a54;
  --line: rgba(17, 17, 17, 0.14);
  --success: #316a4c;
  --warning: #8b5a13;
  --danger: #9c352f;
  --shadow: 0 24px 70px rgba(18, 18, 18, 0.14);
  --display-font: "Arvo", Georgia, "Times New Roman", serif;
  --body-font: "Lato", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 5vw;
  color: var(--ink);
  background: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
}
.notice a {
  flex: 0 0 auto;
  padding: 9px 24px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 700;
}
.notice a:hover { background: rgba(255,255,255,.22); }

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display-font);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand::before {
  content: "";
  width: 42px;
  height: 24px;
  border-radius: 50% 35% 50% 35%;
  background:
    radial-gradient(circle at 24% 38%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, #d9a441 0 35%, #5b8b74 36% 63%, #d06a58 64% 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.main-nav { display: flex; justify-content: center; gap: clamp(14px, 2.1vw, 30px); }
.main-nav a, .account-link {
  font-size: 15px;
  font-weight: 700;
}
.account-link { justify-self: end; }
.main-nav a:hover, .account-link:hover, .site-footer a:hover { color: var(--accent-dark); }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 34vw, 450px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.30)),
    radial-gradient(circle at 75% 22%, rgba(255, 152, 0, .28), transparent 24%),
    linear-gradient(115deg, #7ba5a8 0 28%, #d5b283 29% 49%, #7f5940 50% 68%, #26351f 69% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background:
    radial-gradient(ellipse at 22% 72%, rgba(255,255,255,.45) 0 10%, transparent 11%),
    linear-gradient(105deg, transparent 0 42%, rgba(255,255,255,.16) 43% 45%, transparent 46%),
    repeating-linear-gradient(118deg, transparent 0 32px, rgba(255,255,255,.08) 33px 34px);
  mix-blend-mode: screen;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 980px;
  padding: 68px 6vw 76px;
  text-align: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
h1, h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 { max-width: 1100px; font-size: clamp(50px, 7vw, 86px); }
h1 em { color: var(--accent); font-weight: 700; }
h2 { font-size: clamp(40px, 5vw, 72px); }
h3 { margin: 0; font-size: 19px; }
.lede { max-width: 570px; margin: 30px 0; color: var(--muted); font-size: 17px; }
.hero .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.hero .eyebrow::before { display: none; }
.hero .lede {
  max-width: 780px;
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: transparent; }
.hero .button-dark { color: var(--ink); border-color: var(--white); background: var(--white); }
.hero .button-dark:hover { color: var(--white); background: transparent; }
.button-light { background: transparent; }
.button-light:hover { color: var(--white); background: var(--ink); }
.button-disabled { color: #8b8680; border-color: var(--line); background: rgba(255,255,255,.45); cursor: not-allowed; }
.button-full { width: 100%; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 5vw;
  border-block: 1px solid var(--line);
  background: var(--white);
}
.trust-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 15px;
  align-items: center;
  padding: 26px 4vw;
  border-right: 1px solid var(--line);
}
.trust-strip > div:last-child { border: 0; }
.trust-strip span { grid-row: 1 / 3; font-size: 24px; }
.trust-strip strong { font-size: 13px; }
.trust-strip small { color: var(--muted); }

.content-section { padding: 110px 6vw; }
.products-section { background: var(--white); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
}
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.empty-state {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}
.empty-state p, .product-placeholder p { margin: 4px 0 0; color: var(--muted); }
.empty-number { font-family: Georgia, serif; color: var(--accent); font-size: 48px; }

.product-placeholder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-placeholder { padding-bottom: 12px; }
.placeholder-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  margin-bottom: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.18)),
    radial-gradient(circle at 45% 16%, rgba(255,255,255,.75) 0 11%, transparent 12%),
    linear-gradient(145deg, #8fc5d1 0 36%, #e8cf9d 37% 55%, #9c6b44 56% 100%);
}
.placeholder-art.alternate {
  background:
    linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.20)),
    radial-gradient(circle at 72% 18%, rgba(255,152,0,.55) 0 12%, transparent 13%),
    linear-gradient(135deg, #f0e2c6 0 35%, #df785e 36% 58%, #2e5f54 59% 100%);
}
.placeholder-art span { color: rgba(255,255,255,.7); font-family: var(--display-font); font-size: 110px; text-shadow: 0 10px 30px rgba(0,0,0,.18); }
.product-placeholder .label { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-placeholder .button { margin-top: 20px; }

.manifesto {
  padding: 130px 7vw;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}
.manifesto .eyebrow { justify-content: center; color: var(--accent); }
.manifesto h2 { max-width: 920px; margin: 0 auto; }
.manifesto > p:last-child { max-width: 660px; margin: 30px auto 0; color: #bdb5ad; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 55px;
  align-items: start;
  padding: 55px 5vw;
  color: #c8c1ba;
  background: #101010;
  font-size: 12px;
}
.site-footer .brand { color: var(--white); }
.site-footer p { margin: 8px 0 0; }
.site-footer nav { display: grid; gap: 10px; }
.footer-button { padding: 0; border: 0; color: inherit; background: none; cursor: pointer; text-align: left; }

.page-shell { min-height: calc(100vh - 109px); padding: 80px 5vw 110px; }
.page-intro { max-width: 760px; margin-bottom: 45px; }
.page-intro h1 { font-size: clamp(48px, 7vw, 82px); }
.page-intro p { max-width: 650px; color: var(--muted); }
.panel {
  max-width: 720px;
  padding: clamp(25px, 5vw, 50px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.panel-wide { max-width: 1100px; }
.panel h2 { margin-bottom: 18px; font-size: 34px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 800; }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}
.field input:focus { outline: 2px solid rgba(217,89,59,.3); border-color: var(--accent); }
.field-help { color: var(--muted); font-size: 11px; }
.form-message { min-height: 24px; margin: 0; font-size: 13px; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }
.form-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 12px; }
.form-links a { text-decoration: underline; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.auth-tab { padding: 9px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.auth-tab.active { color: var(--white); background: var(--ink); }
[hidden] { display: none !important; }

.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.account-card { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.account-card .avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-family: Georgia, serif;
  font-size: 25px;
}
.account-card p { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.account-nav { display: grid; gap: 3px; margin-top: 25px; }
.account-nav a { padding: 10px 12px; font-size: 13px; font-weight: 700; }
.account-nav a.active, .account-nav a:hover { background: var(--cream); }
.orders-list { display: grid; gap: 12px; }
.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
}
.order-card p { margin: 3px 0; color: var(--muted); font-size: 12px; }
.status-pill {
  align-self: start;
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--cream);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-approved { color: var(--success); background: #e4f1e8; }
.status-pending, .status-created { color: var(--warning); background: #f7ead8; }
.status-rejected, .status-cancelled { color: var(--danger); background: #f7dfdc; }

.status-view { max-width: 760px; text-align: center; }
.status-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 34px;
}
.status-view h1 { font-size: clamp(48px, 8vw, 84px); }
.status-view .lede { margin-inline: auto; }
.status-detail { margin: 25px 0; padding: 16px; background: var(--cream); font-size: 13px; }

.legal { max-width: 820px; }
.legal h1 { font-size: clamp(48px, 8vw, 84px); }
.legal h2 { margin: 45px 0 12px; font-family: inherit; font-size: 20px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); }

.consent {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 40px));
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}
.consent h2 { margin-bottom: 10px; font-family: inherit; font-size: 18px; letter-spacing: 0; }
.consent p { color: var(--muted); font-size: 12px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.consent .button { min-height: 42px; padding: 0 15px; font-size: 11px; }

.loading { color: var(--muted); }
.callout { padding: 18px; border-left: 3px solid var(--accent); background: var(--cream); }
.callout p { margin: 0; }

@media (max-width: 850px) {
  .notice { flex-direction: column; gap: 10px; min-height: 0; }
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .main-nav { display: none; }
  .hero-copy { min-height: 430px; padding: 70px 7vw; }
  .trust-strip { grid-template-columns: 1fr; padding-inline: 7vw; }
  .trust-strip > div { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { align-items: start; flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .notice { font-size: 12px; }
  .notice a { width: 100%; max-width: 300px; }
  .brand { font-size: 21px; }
  .brand::before { width: 34px; height: 20px; }
  .content-section { padding: 80px 6vw; }
  .product-placeholder-grid { grid-template-columns: 1fr; }
  .empty-state { grid-template-columns: auto 1fr; }
  .empty-state .button { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; }
  .page-shell { padding-inline: 5vw; }
  .panel { padding: 25px 20px; }
  .form-links { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
