:root {
  color-scheme: light;
  --paper: #f3eee6;
  --ink: #1a1714;
  --muted: #5e564c;
  --line: #e0d6c8;
  --accent: #7a3b2e;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 230, 0.96);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
}

.logo {
  font-family: Palatino, "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
}

.burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
}

.nav.open { display: block; }

.nav button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  text-align: left;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: Palatino, "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  margin: 0;
}

h1 { font-size: 34px; line-height: 1.12; }
h2 { font-size: 28px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.2; }

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 38rem;
}

.hero {
  padding: 28px 0 8px;
}

.hero h1 { margin: 8px 0 12px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.ink, .line {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.ink { background: var(--ink); color: var(--paper); }
.line { border: 1px solid var(--ink); }

.shot {
  background: #fff;
  padding: 12px;
}

.shot img { width: 100%; height: auto; }

.cap { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.section { padding: 36px 0; border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 22px;
}

figure { margin: 0; }
figcaption { margin-top: 10px; }
.maison { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.price { margin: 4px 0 0; font-variant-numeric: tabular-nums; }

.note {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.forms {
  display: grid;
  gap: 28px;
}

label { display: block; margin-top: 12px; }
label span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 4px; }

.field {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.err { color: var(--accent); min-height: 1.2em; font-size: 14px; }
.thanks { display: none; }
.thanks.show { display: block; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 max(36px, env(safe-area-inset-bottom));
}

.wordmark {
  font-family: Palatino, Georgia, serif;
  font-style: italic;
  font-size: 36px;
  margin: 0 0 8px;
}

.muted { color: var(--muted); font-size: 14px; }

@media (min-width: 720px) {
  .burger { display: none; }
  .nav {
    display: flex;
    position: static;
    border: 0;
    padding: 0;
    gap: 8px;
    background: transparent;
  }
  .nav button { width: auto; padding: 0 10px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: end; }
  .forms { grid-template-columns: 1fr 1fr; gap: 48px; }
  h1 { font-size: 56px; }
}

@media (min-width: 1040px) {
  .grid.bags { grid-template-columns: 1fr 1fr 1fr; }
}
