/* Taste of Bangkok catering concept — original stylesheet by Fable (OmniCores), 16 October 2026.
   Palette: warm cream, restrained dark green and charcoal. System fonts only; no external assets. */

:root {
  --cream: #F6F1E7;
  --cream-deep: #EDE5D5;
  --green: #1F4A3C;
  --green-ink: #163629;
  --charcoal: #2A2D2B;
  --muted: #4F5551;
  --line: #D9CFBC;
  --error: #8A2E1F;
  --ivory: #FBF8F2;
  --strip-offset: 4.75rem;
  --radius: 10px;
}

html { font-size: 100%; scroll-behavior: smooth; background: var(--cream); }
/* Every anchor target and every focusable element settles below the sticky notice (OCT-151). */
[id], a, button, select, input, textarea, [tabindex] { scroll-margin-top: var(--strip-offset); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-wrap: anywhere;
}
h1, h2, h3, .brand, .button, .nav-list, .eyebrow, .concept-tag, label, .error-summary-title {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
h1 { font-size: clamp(2.125rem, 2.8vw + 1.25rem, 3.25rem); line-height: 1.12; margin: 0 0 1rem; color: var(--green-ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.625rem, 1.2vw + 1.1rem, 2.125rem); line-height: 1.2; margin: 0 0 0.75rem; color: var(--green-ink); }
h3 { font-size: 1.1875rem; line-height: 1.3; margin: 0 0 0.35rem; color: var(--green-ink); }
p { margin: 0 0 1rem; }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 30;
  padding: 0.6rem 1rem; background: var(--charcoal); color: var(--ivory); border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; }
.concept-strip :focus-visible { outline-color: var(--ivory); }

.concept-strip {
  position: sticky; top: 0; z-index: 20;
  background: var(--charcoal); color: var(--ivory);
  font-size: 0.9375rem; line-height: 1.45;
}
.concept-strip p { margin: 0; padding: 0.6rem 1.25rem; text-align: center; }
.concept-strip a { color: var(--ivory); font-weight: 600; }
/* OCT-151: on narrow or short screens (and at enlarged text or browser zoom, which shrink the CSS viewport)
   the notice keeps the same meaning in fewer words so it never dominates the screen. */
.strip-short { display: none; }
@media (max-width: 600px), (max-height: 500px) {
  .strip-full { display: none; }
  .strip-short { display: inline; }
  .concept-strip p { padding: 0.45rem 1rem; }
}

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 46rem); }

.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1rem 0; }
.brand { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.brand-name { font-size: 1.25rem; font-weight: 700; color: var(--green-ink); }
.concept-tag { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ivory); background: var(--green); padding: 0.2rem 0.55rem; border-radius: 999px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.75rem; border-radius: 8px; font-weight: 600; text-decoration: none; color: var(--green-ink); }
.nav-list a:hover { background: var(--cream-deep); }
.nav-list .nav-cta { background: var(--green); color: var(--ivory); }
.nav-list .nav-cta:hover { background: var(--green-ink); }

.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 800px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }
.eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.lead { font-size: 1.1875rem; max-width: 36rem; color: var(--muted); }
.note { font-size: 0.9375rem; color: var(--muted); margin-top: 1rem; }
.hero-art { margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; max-width: 480px; margin-inline: auto; border-radius: 18px; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 48px; padding: 0.7rem 1.35rem; border-radius: var(--radius);
  font-size: 1.0625rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.25;
}
.button.primary { background: var(--green); color: var(--ivory); border-color: var(--green); }
.button.primary:hover { background: var(--green-ink); border-color: var(--green-ink); }
.button.secondary { background: transparent; color: var(--green-ink); border-color: var(--green); }
.button.secondary:hover { background: var(--cream-deep); }
.button.text { background: transparent; color: var(--green-ink); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.button.text:hover { background: var(--cream-deep); }

.section { padding: 3.5rem 0; }
.section.alt { background: var(--cream-deep); }
.section-lead { color: var(--muted); max-width: 40rem; }
.link-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--ivory); font-family: "Segoe UI", system-ui, sans-serif; font-weight: 700;
}
.steps p { margin: 0; color: var(--muted); }

.enquiry-form { margin-top: 1.5rem; padding: 1.5rem; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--green-ink); }
.required { color: var(--error); }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: 0.9375rem; color: var(--muted); margin: 0.4rem 0 0; }
select, input, textarea {
  width: 100%; max-width: 100%; font: inherit; color: var(--charcoal);
  padding: 0.7rem 0.85rem; min-height: 48px; border: 2px solid #7A8079; border-radius: 8px; background: #FFFFFF;
}
select { padding-right: 2.2rem; }
input[type="number"], input[type="date"] { max-width: 18rem; }
textarea { resize: vertical; min-height: 7rem; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; border-color: var(--green); }
.field.invalid select, .field.invalid input { border-color: var(--error); }
.field-error { margin: 0.4rem 0 0; font-weight: 600; color: var(--error); }
.field-error[hidden] { display: none; }
.error-summary { border: 2px solid var(--error); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: #FBF1EE; }
.error-summary-title { margin: 0 0 0.5rem; font-size: 1.0625rem; color: var(--error); }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); font-weight: 600; }

.preview { margin-top: 2rem; padding: 1.5rem; background: var(--green); color: var(--ivory); border-radius: 14px; }
.preview h3 { color: var(--ivory); }
.preview-status { font-weight: 600; margin-bottom: 1rem; }
.preview-card { background: var(--ivory); color: var(--charcoal); border-radius: 10px; padding: 1.25rem; }
.preview-card p { margin: 0; white-space: pre-line; }
.preview-next { margin-top: 1rem; font-size: 0.9375rem; }
.preview .button.secondary { color: var(--ivory); border-color: var(--ivory); }
.preview .button.secondary:hover { background: var(--green-ink); }
.preview .button.text { color: var(--ivory); }
.preview .button.text:hover { background: var(--green-ink); }
.preview :focus-visible { outline-color: var(--ivory); }
.preview a { color: var(--ivory); }

.site-footer { padding: 2.5rem 0; background: var(--charcoal); color: var(--ivory); font-size: 0.9375rem; }
.site-footer a { color: var(--ivory); }
.site-footer p { margin-bottom: 0.75rem; }
