/* ============================================================
   Oraon — Coastal & warm theme
   ============================================================ */

:root {
  /* palette */
  --sand:        #FBF6EE;
  --sand-deep:   #F3E9D9;
  --cream:       #FFFDF9;
  --ink:         #29302E;
  --ink-soft:    #5C645F;
  --teal:        #15807A;
  --teal-deep:   #0E5F5A;
  --teal-tint:   #E3F0EE;
  --coral:       #E0795A;
  --coral-deep:  #C95F40;
  --line:        #E7DECF;
  --white:       #ffffff;

  --shadow-sm: 0 2px 8px rgba(41, 48, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(41, 48, 46, 0.09);
  --shadow-lg: 0 24px 60px rgba(14, 95, 90, 0.16);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1140px;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--coral-deep); }

img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-deep); }
.btn-soft { background: var(--teal-tint); color: var(--teal-deep); }
.btn-soft:hover { background: var(--teal); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark svg { fill: var(--teal); display: block; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: .5px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.main-nav a:hover { color: var(--teal-deep); }
.main-nav .nav-cta {
  background: var(--coral); color: #fff; padding: 9px 20px; border-radius: 999px;
}
.main-nav .nav-cta:hover { background: var(--coral-deep); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: 72px 0 64px; background:
  radial-gradient(1200px 500px at 80% -10%, var(--teal-tint), transparent 60%),
  linear-gradient(180deg, var(--sand) 0%, var(--sand) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--coral-deep); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -.5px; }
.hero h1 em { font-style: italic; color: var(--teal); }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 32em; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.stand-illustration { width: 100%; max-width: 380px; filter: drop-shadow(var(--shadow-lg)); }
.il-shadow { fill: rgba(14,95,90,.10); }
.il-base-top { fill: #fff; }
.il-base-side { fill: var(--sand-deep); }
.il-support { fill: var(--sand-deep); }
.il-plate { fill: var(--teal); }
.il-plate-inner { fill: #fff; }
.il-qr rect { fill: var(--ink); }
.il-qr .il-qr-hole { fill: #fff; }
.hero-badge {
  position: absolute; top: 8%; right: 2%;
  background: var(--coral); color: #fff; font-weight: 600; font-size: .9rem;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-md);
  transform: rotate(6deg);
}

/* ===== Features ===== */
.features { padding: 56px 0; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-icon { font-size: 1.9rem; margin-bottom: 10px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--sand { background: var(--sand-deep); }
.section--order { background: var(--cream); }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ===== Products ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card--feature { border-color: var(--teal); box-shadow: var(--shadow-md); }
.product-tag {
  position: absolute; top: -12px; left: 26px;
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.product-tag--accent { background: var(--coral); }
.product-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.product-price { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
.product-desc { color: var(--ink-soft); margin: 0 0 16px; font-size: .96rem; }
.product-feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.product-feats li { position: relative; padding-left: 24px; font-size: .93rem; color: var(--ink); }
.product-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.product-card .btn { margin-top: auto; }

/* ===== Bulk table ===== */
.bulk-table-wrap { overflow-x: auto; max-width: 760px; margin: 0 auto; }
.bulk-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.bulk-table th, .bulk-table td { padding: 16px 20px; text-align: left; }
.bulk-table thead th { background: var(--teal); color: #fff; font-weight: 600; font-size: .95rem; }
.bulk-table tbody tr:nth-child(even) { background: var(--sand); }
.bulk-table tbody td { border-top: 1px solid var(--line); font-size: .97rem; }
.bulk-table tbody td:last-child { color: var(--coral-deep); font-weight: 600; }
.bulk-note { text-align: center; color: var(--ink-soft); margin-top: 22px; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px; }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ===== Order ===== */
.order-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.card-title { font-size: 1.15rem; color: var(--teal-deep); margin-bottom: 18px; }
.contact-form .card-title { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.field { display: block; margin-bottom: 18px; }
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field-label em { color: var(--coral-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint);
}
.field-hint { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Colour swatch picker */
.colour-group { margin-bottom: 16px; }
.colour-group .field-label { margin-bottom: 8px; }
.contrast-warn {
  margin: 4px 0 0; padding: 10px 12px; border-radius: var(--radius-sm);
  background: #FBEDE7; border: 1.5px solid var(--coral); color: var(--coral-deep);
  font-size: .85rem; font-weight: 500;
}
.swatches { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; border-radius: var(--radius-sm); }
.swatches.is-error { box-shadow: 0 0 0 2px var(--coral-deep); }
.swatch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-family: var(--font-body); font-size: .85rem;
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.swatch:hover { border-color: var(--teal); }
.swatch.is-active { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); font-weight: 600; }
.swatch-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .15); }
.cart-swatch-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  vertical-align: middle; margin-right: 5px; border: 1px solid rgba(0, 0, 0, .15);
}

.addons { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.addons legend { padding: 0 6px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .94rem; margin: 8px 0; cursor: pointer; }
.check input { width: auto; }
.check span { margin-left: auto; color: var(--ink-soft); font-size: .85rem; }

/* Cart */
.cart-list { list-style: none; padding: 0; margin: 0 0 4px; }
.cart-empty { color: var(--ink-soft); font-size: .95rem; padding: 14px 0; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; }
.cart-item-meta { font-size: .84rem; color: var(--ink-soft); word-break: break-word; }
.cart-item-price { font-weight: 600; white-space: nowrap; }
.cart-item-remove { background: none; border: 0; color: var(--coral-deep); cursor: pointer; font-size: .82rem; padding: 0; margin-top: 4px; }
.cart-item-remove:hover { text-decoration: underline; }
.cart-totals { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .98rem; }
.cart-row--total { font-size: 1.2rem; font-weight: 700; color: var(--teal-deep); font-family: var(--font-head); }
.cart-disclaimer { font-size: .8rem; color: var(--ink-soft); margin: 10px 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: .95rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-error { color: var(--coral-deep); }
.form-status.is-success { color: var(--teal-deep); }

/* ===== Story ===== */
.story-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.story-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.story-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.story-card { display: grid; gap: 18px; }
.story-stat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); display: flex; align-items: baseline; gap: 14px; }
.story-stat strong { font-family: var(--font-head); font-size: 2rem; color: var(--teal); }
.story-stat span { color: var(--ink-soft); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cfd6d2; padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #aab3ae; max-width: 32em; margin: 8px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav a { color: #cfd6d2; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin: 12px 0 0; font-size: .85rem; color: #98a19c; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .order-layout { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav.open .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .feature-grid, .product-grid, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
}
