/* ==========================================================================
   BAU-MAX LIMITED — warm-craft: warm paper, ochre, terracotta, rounded cards.
   Colors and fonts only through the tokens below.
   ========================================================================== */

:root {
  --bg: #f7f3ec;
  --bg-alt: #efe4d6;
  --bg-deep: #2a2826;
  --ink: #2a2826;
  --ink-soft: #5c574f;
  --ink-invert: #f7f3ec;
  --accent: #c4532c;
  --accent-soft: #f6e2d6;
  --line: #e3d6c6;
  --ochre: #c4923a;
  --clay-deep: #8c3d22;
  --paper: #fffaf3;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-display: -0.03em;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(42, 40, 38, 0.05), 0 18px 40px rgba(42, 40, 38, 0.08);
  --container: 1160px;
}

h1, h2, h3 { font-weight: 600; }

.mark { display: block; width: 100%; height: 100%; }
.mark__top { fill: var(--ochre); }
.mark__left { fill: var(--accent); }
.mark__right { fill: var(--clay-deep); }
.mark__letter { fill: var(--paper); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand__badge {
  width: 48px;
  height: 48px;
  flex: none;
  display: block;
  background: var(--bg-deep);
  border-radius: 14px;
  padding: 6px;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.brand__meta {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav a.nav__order {
  opacity: 1;
  background: var(--accent);
  color: var(--ink-invert);
  padding: 0.55em 1em;
  border-radius: var(--radius);
}
.nav a.nav__order:hover { opacity: 1; }

.section__head { max-width: 40rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section__head .lede { margin-top: 0.75rem; }

.idx {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Hero --- */
.hero { padding-top: clamp(1.25rem, 2vw, 2.25rem); }
.hero__grid { display: grid; gap: var(--gap); }
.hero__photo { order: -1; position: relative; margin: 0; }
.hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero__copy .lede { margin-top: 0.9rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.lockup {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-deep);
  color: var(--ink-invert);
  border-radius: 16px;
  padding: 0.35rem 0.8rem 0.35rem 0.35rem;
}
.lockup .brand__badge { width: 42px; height: 42px; padding: 5px; }
.lockup__word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__facts {
  display: grid;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.25rem, 2vw, 2rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.hero__facts dt {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__facts dd {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}

/* --- Standards ledger --- */
.rules { display: grid; gap: var(--gap); }
.rule {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2vw, 1.6rem);
  box-shadow: var(--shadow);
}
.rule h3 { margin: 0.45rem 0 0.55rem; }
.rule p:last-child { color: var(--ink-soft); }

/* --- Services --- */
.svc { list-style: none; display: grid; gap: 0; }
.svc li {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { margin-bottom: 0.45rem; }
.svc p + p { margin-top: 0.65rem; }

/* --- Assortment --- */
.shelves { display: grid; gap: var(--gap); }
.shelf--photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shelf--photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.shelf--photo figcaption { padding: 1rem 1.1rem 1.2rem; }
.shelf--photo h3 { margin: 0.3rem 0 0.4rem; }
.shelf--photo p:last-child { color: var(--ink-soft); }

.notes {
  display: grid;
  gap: var(--gap);
  margin-top: var(--gap);
}
.shelf--note {
  background: var(--bg-deep);
  color: var(--ink-invert);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem 1.4rem;
}
.shelf--note .idx { color: var(--ochre); }
.shelf--note h3 { margin: 0.4rem 0 0.5rem; }
.shelf--note p:last-child { color: color-mix(in srgb, var(--ink-invert) 78%, transparent); }

/* --- Picking --- */
.steps {
  list-style: none;
  display: grid;
  gap: var(--gap);
}
.steps li {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.35rem;
}
.steps h3 { margin: 0.4rem 0 0.45rem; }
.steps p:last-child { color: var(--ink-soft); }

/* --- About --- */
.about__grid { display: grid; gap: var(--gap); align-items: start; }
.about__grid .lede { margin: 0.75rem 0 1rem; }
.about__sign {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.15;
}
.about__sign span {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.plate {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2vw, 1.8rem);
  box-shadow: var(--shadow);
}
.plate__strong {
  margin: 0.7rem 0 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
}
.plate a { color: var(--accent); }
.plate .muted { margin-top: 1rem; }

/* --- Routes --- */
.section--deep .eyebrow,
.section--deep .idx { color: var(--ochre); }
.routes { display: grid; gap: var(--gap); }
.routes article {
  border-top: 1px solid color-mix(in srgb, var(--ink-invert) 22%, transparent);
  padding-top: 1rem;
}
.routes h3 { margin: 0.4rem 0 0.5rem; }

/* --- FAQ --- */
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); padding: 0.95rem 0 1.05rem; }
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  color: var(--accent);
  font-weight: 650;
  flex: none;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 0.7rem; color: var(--ink-soft); max-width: 40rem; }

/* --- Order --- */
.order__grid { display: grid; gap: var(--gap); align-items: start; }
.order__grid .lede { margin-top: 0.75rem; }
.order__points {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
}
.order__points a { color: var(--accent); }
.order__form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2vw, 1.7rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 0.9rem; }
.order__form .btn { margin-top: 1rem; }
.order__form select {
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  width: 100%;
}

/* --- Footer --- */
.footer__grid {
  display: grid;
  gap: 1.5rem;
}
.footer__grid .brand__word { margin-bottom: 0.45rem; }
.footer__grid nav {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.footer__grid nav a { text-decoration: none; }
.footer__grid nav a:hover { color: var(--accent); }
.site-footer a { overflow-wrap: anywhere; }

/* --- 768 --- */
@media (min-width: 700px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .rules { grid-template-columns: 1fr 1fr; }
  .svc li { grid-template-columns: 4.5rem 1fr; gap: 0.5rem 1rem; }
  .notes { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
}

@media (min-width: 800px) {
  .shelves { grid-template-columns: 1fr 1fr 1fr; }
  .shelf--lead { grid-column: span 2; }
  .shelf--lead img { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr 1fr; }
  .routes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .routes article { min-height: 100%; }
}

/* --- 1440 desktop --- */
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: end;
  }
  .hero__photo { order: 0; }
  .hero__copy {
    position: relative;
    z-index: 2;
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 2vw, 2.2rem);
    margin-right: -10%;
    margin-bottom: 6%;
    box-shadow: var(--shadow);
  }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: 1.3fr 0.8fr; gap: clamp(2rem, 4vw, 4rem); }
  .order__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 3vw, 3rem); }
}

@media (max-width: 420px) {
  .brand__meta { display: none; }
  .hero__actions .btn { width: 100%; }
  .lockup__word { font-size: 0.95rem; }
}
