/* ==========================================================================
   SECTIONS — Berry Fresh Foods
   Dark-luxe: deep emerald, berry, antique gold. Sharp frames, Fraunces.
   ========================================================================== */

:root {
  --bg: #0c1f1a;
  --bg-alt: #132c26;
  --bg-deep: #071410;
  --ink: #f6f1e8;
  --ink-soft: #c9bfb0;
  --ink-invert: #f6f1e8;
  --accent: #c43755;
  --accent-soft: #3a1822;
  --gold: #d4a574;
  --line: #2c4a40;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-display: -0.03em;
  --radius: 2px;
  --radius-lg: 4px;
  --container: 1160px;
  --shadow: 0 18px 40px color-mix(in srgb, var(--bg-deep) 55%, transparent);
  color-scheme: dark;
}

body {
  background: var(--bg);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--gold);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav a {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav a[href="#order"] {
  background: var(--gold);
  color: var(--bg);
  padding: 0.55rem 0.85rem;
  opacity: 1;
}

.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem) var(--section-y);
}

.hero__mast {
  max-width: 46rem;
  display: grid;
  gap: 1.1rem;
}

.hero__mast h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.1rem);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.hero__band {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.hero__band img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.hero__band figcaption,
.about__photo figcaption {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.table__intro,
.pass__intro,
.ledger__intro,
.desks__intro {
  max-width: 38rem;
  margin-top: 0.8rem;
}

.case {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.tile__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}

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

.tile h3 {
  margin-top: 0.35rem;
  font-size: var(--step-1);
}

.tile p {
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.tile--note {
  justify-content: space-between;
  min-height: 18rem;
  padding: 1.15rem 1.2rem 1.1rem;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}

.tile--berry {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.tile__index {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: var(--step--1);
}

.tile--note .tile__mark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 2rem + 3vw, 4.6rem);
  line-height: 0.85;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1rem;
}

.tile--berry .tile__mark {
  color: var(--accent);
}

.pass-wrap {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gold) 18%, transparent), transparent 18%),
    var(--bg-deep);
}

.pass {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

.pass li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--gold);
}

.pass__no {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: var(--step-2);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.pass p,
.svc p,
.desks p,
.ledger dd {
  color: var(--ink-soft);
  margin-top: 0.45rem;
}

.about {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.about p + p {
  margin-top: 1em;
}

.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.svc {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

.svc article {
  padding: 1.15rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.svc__no {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}

.ledger {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.ledger div {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.ledger dt {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
}

.desks {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.desks article {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  min-height: 14rem;
}

.desks h3 {
  margin-top: 0.4rem;
}

.order {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.facts {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.facts li {
  display: grid;
  gap: 0.15rem;
}

.facts span {
  color: var(--gold);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  background: var(--bg-deep);
  border: 1px solid var(--gold);
}

.field select,
.field input,
.field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.sheet .btn {
  justify-self: start;
}

.foot {
  display: grid;
  gap: 1.25rem;
}

.foot__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
}

.foot__links,
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--gold);
}

@media (min-width: 700px) {
  .case {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pass {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pass li:last-child {
    grid-column: 1 / -1;
  }

  .svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
  }

  .ledger div {
    grid-template-columns: 11rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .about,
  .order,
  .desks,
  .foot {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .foot {
    grid-template-columns: 1.2fr auto;
    align-items: end;
  }

  .foot__nav {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .case {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile--lead {
    grid-row: span 2;
    height: 100%;
  }

  .tile--lead .tile__media {
    aspect-ratio: auto;
    flex: 1;
    min-height: 18rem;
  }

  .pass {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pass li:last-child {
    grid-column: auto;
  }
}
