/* Colours taken from the client's sign design: matte black and gold */
:root {
  --black: #141112;
  --panel: #231f20;
  --gold: #c8a06a;
  --cream: #f3ede3;
  --muted: #cfc6b8;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--cream); font: 300 1.05rem/1.75 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0 0 1.25rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.kicker { color: var(--gold); font: 400 0.78rem/1.6 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 2.2rem; border: 1px solid var(--gold); border-radius: 0; font: 500 0.76rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.button-gold { background: var(--gold); color: var(--black); }
.button-gold:hover { background: #dab683; }
.button-line { background: transparent; color: var(--gold); }
.button-line:hover { background: rgb(200 160 106 / 0.14); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 5; background: #fff; color: #000; padding: 0.5rem 1rem; }

/* Wordmark, set like the sign */
.logo { display: inline-grid; justify-items: center; margin: 0; color: var(--gold); text-decoration: none; font: 500 1.35rem/1.1 var(--serif); letter-spacing: 0.08em; text-transform: uppercase; }
.logo small { display: flex; align-items: center; gap: 0.6rem; font: 400 0.6rem/1.8 var(--sans); letter-spacing: 0.5em; }
.logo small::before, .logo small::after { content: ""; width: 1.75rem; border-block-start: 1px solid currentColor; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1.25rem, 5vw, 4rem); }
.top nav { display: flex; align-items: center; gap: 2rem; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; }
.top nav a:not(.button) { padding-block: 0.8rem; text-decoration: none; }
.top nav a:not(.button):hover { color: var(--gold); }
@media (max-width: 48rem) { .top { justify-content: center; } .top nav { display: none; } }

/* Hero */
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(32rem, 82svh, 46rem); text-align: center; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgb(20 17 18 / 0.8), rgb(20 17 18 / 0.45)), linear-gradient(0deg, var(--black), transparent 30%); }
.hero-text { width: min(100% - 2.5rem, 44rem); padding-block: 3rem; }
.hero .kicker { color: #e6c897; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 6rem); letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); margin-block-end: 1rem; }
.hero h1 span { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-block-start: 0.5rem; color: #e6c897; font: 400 clamp(0.85rem, 2vw, 1.15rem) / 1.5 var(--sans); letter-spacing: 0.6em; }
.hero h1 span::before, .hero h1 span::after { content: ""; width: clamp(2.5rem, 8vw, 5rem); border-block-start: 1px solid currentColor; }
.hero-text p:not(.kicker) { font: italic 500 1.45rem/1.5 var(--serif); margin-block-end: 2rem; }
.tag { position: absolute; right: 1rem; bottom: 0.5rem; margin: 0; font-size: 0.72rem; opacity: 0.7; }

/* Sign and introduction */
.story { display: grid; gap: 2.5rem; align-items: center; justify-items: center; width: min(100% - 2.5rem, 56rem); margin-inline: auto; padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.story img { width: min(100%, 15rem); box-shadow: 0 0 0 1px rgb(200 160 106 / 0.5), 0 1.5rem 3rem rgb(0 0 0 / 0.5); }
.story p:not(.kicker) { color: var(--muted); }
@media (min-width: 48rem) { .story { grid-template-columns: 15rem 1fr; gap: 5rem; justify-items: start; text-align: start; } }

/* Food */
.kitchen { padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem); background: var(--panel); text-align: center; }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; max-width: 68rem; margin: 2rem auto; }
.plates img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.after { margin: 0; font: italic 500 1.25rem/1.5 var(--serif); color: var(--muted); }

/* Sign-up beside the map */
.join { display: grid; gap: 3.5rem; width: min(100% - 2.5rem, 64rem); margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
@media (min-width: 52rem) { .join { grid-template-columns: 1fr 1fr; gap: 5rem; } }
#visit { display: flex; flex-direction: column; }
.address { font: 500 1.6rem/1.4 var(--serif); }
#visit a { display: inline-block; padding-block: 0.5rem; color: var(--gold); }
#visit iframe { flex: 1; width: 100%; min-height: 18rem; border: 1px solid rgb(200 160 106 / 0.45); background: var(--panel); }

form { display: grid; gap: 1rem; margin-block-start: 1.5rem; }
.field label { display: block; margin-block-end: 0.35rem; font-size: 0.9rem; font-weight: 400; }
.field label span { opacity: 0.75; }
input { width: 100%; min-height: 52px; padding: 0.7rem 1rem; border: 1px solid #8f7a5c; border-radius: 0; background: transparent; color: var(--cream); font: inherit; font-size: max(1rem, 1em); }
input:user-invalid { border: 2px solid #ff8a75; }
.error { display: none; margin: 0.35rem 0 0; font-size: 0.9rem; color: #ffc2b5; }
input:user-invalid + .error { display: block; }
button.button { justify-self: start; min-width: 14rem; }
button:disabled { opacity: 0.6; cursor: wait; }
.status { margin: 0; font-weight: 500; }
.status:empty { display: none; }
.consent { margin: 0; font-size: 0.78rem; color: var(--muted); }
.trap { position: absolute; left: -999px; }

footer { display: grid; justify-items: center; gap: 0.75rem; padding: 3rem 1.25rem; border-block-start: 1px solid rgb(200 160 106 / 0.35); text-align: center; }
footer p:not(.logo) { margin: 0; font-size: 0.9rem; color: var(--muted); }
