/* WEB-001: Ovria A1 Pastell / Direct palette and system type stack. */
:root {
  color-scheme: light dark;
  --canvas: #f8f7f4;
  --ink: #292824;
  --muted: #68665f;
  --border: #deddd6;
  --accent: #895426;
  --accent-soft: #f0e6d9;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
.page {
  max-width: 90rem;
  min-height: 100svh;
  margin: auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 7.5rem;
  border-bottom: 1px solid var(--border);
}
.brand { grid-column: 2; display: flex; align-items: center; min-height: 2.75rem; }
.wordmark { display: block; width: 7.0625rem; height: auto; }
.availability {
  justify-self: end;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
  padding: .375rem .75rem;
  border: 1px solid var(--border);
  border-radius: .4375rem;
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 2.5rem;
  padding: 3rem 0;
}
.eyebrow {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(4.5rem, 9.5vw, 8.75rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0 0 2.5rem;
}
h1 span { color: var(--accent); }
.description {
  max-width: 29rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.65;
  margin: 0 auto;
  text-wrap: pretty;
}
.local { margin: 1.25rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.identity { grid-row: 1; display: flex; justify-content: center; width: 100%; }
.identity picture { display: block; width: 9rem; max-width: 100%; }
.identity img { display: block; width: 100%; height: auto; }
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
footer p { margin: 0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 4px; }
::selection { color: var(--ink); background: var(--accent-soft); }
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #262621;
    --ink: #e9e7e1;
    --muted: #b2b0a5;
    --border: #46463d;
    --accent: #e2b382;
    --accent-soft: #43382a;
  }
  .wordmark { filter: invert(94%) sepia(7%) saturate(168%); }
}
@media (max-width: 42rem) {
  .masthead { min-height: 6rem; grid-template-columns: 1fr; justify-items: center; gap: .75rem; padding: 1.25rem 0; }
  .brand { grid-column: 1; }
  .availability { justify-self: center; }
  main { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; }
  h1 { font-size: clamp(4.5rem, 18vw, 7rem); }
  .eyebrow { margin-bottom: 1.5rem; }
  .identity picture { width: 7rem; }
}
@media (max-width: 22rem) {
  .masthead { gap: .75rem; flex-wrap: wrap; padding: 1rem 0; }
  .availability { padding: .25rem .5rem; }
}
