/* Sample concept by Launchpoint for Café One Twenty Three. Not the restaurant's official site. */
/* motion-base */
:root {
  --motion-fast: 160ms; --motion-base: 240ms; --motion-slow: 520ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Base */
:root {
  --brand: #1f4a3d;
  --brand-dark: #153229;
  --hero-shade-rgb: 14, 34, 28;
  --hero-eyebrow: #f1d9a0;
  --accent: #8a5a1c;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #1d2623;
  --muted: #4d5a55;
  --line: #ddd5c4;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--cream); }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.center { text-align: center; margin: 32px 0 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Banner */
.sample-banner { background: #2b2f2d; color: #fff; text-align: center; padding: 7px 14px; font-size: .8rem; line-height: 1.35; }
.sample-banner p { margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 1080px; margin: 0 auto; padding: 8px 20px; min-height: 64px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--brand); text-decoration: none; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.nav { display: none; width: 100%; order: 3; flex-direction: column; padding-bottom: 8px; }
.nav.is-open { display: flex; }
.nav a { padding: 13px 4px; min-height: 48px; text-decoration: none; color: var(--ink); font-weight: 500; border-top: 1px solid var(--line); }
.menu-toggle { min-height: 48px; min-width: 64px; padding: 0 14px; font: inherit; font-weight: 700; background: transparent; color: var(--brand); border: 2px solid var(--brand); border-radius: 10px; cursor: pointer; }
.btn-call { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--brand); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none; }
@media (min-width: 768px) {
  .header-inner { flex-wrap: nowrap; padding: 8px 32px; }
  .menu-toggle { display: none; }
  .nav { display: flex; flex-direction: row; width: auto; order: 0; gap: 28px; padding: 0; margin-left: auto; margin-right: 20px; }
  .nav a { border: 0; padding: 8px 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: inherit; font-weight: 700; text-decoration: none; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #734a15; }
.btn-primary:disabled { background: #8a8a82; cursor: not-allowed; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; width: 100%; }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* photo-hero (motion-design snippet) */
.photo-hero { --shade: var(--hero-shade-rgb, 12, 26, 40); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(82vh, 640px); padding: 48px 20px 44px; background: rgb(var(--shade)); color: #fff; }
.photo-hero-media { position: absolute; inset: -8% 0; z-index: -2; transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
.photo-hero-media picture, .photo-hero-media img { display: block; width: 100%; height: 100%; }
.photo-hero-media img { object-fit: cover; object-position: var(--hero-focus, 50% 50%); animation: photo-reveal 900ms var(--ease-out) both, photo-zoom 18s var(--ease-out) both; transform-origin: var(--hero-focus, 50% 50%); }
@keyframes photo-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes photo-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.photo-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade), .62) 0%, rgba(var(--shade), .82) 100%); }
.photo-hero-content { width: 100%; max-width: 1080px; margin: 0 auto; }
.photo-hero-content > * { max-width: 600px; }
.photo-hero-eyebrow { margin: 0 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--hero-eyebrow); white-space: nowrap; }
.photo-hero h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.06; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.photo-hero-sub { margin: 0 0 24px; font-size: 1.1rem; color: rgba(255,255,255,.94); }
.photo-hero-actions { display: flex; flex-direction: column; gap: 12px; }
.photo-hero .btn-on-photo { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.85); }
/* centered variant */
.photo-hero--center .photo-hero-content { text-align: center; }
.photo-hero--center .photo-hero-content > * { margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  .photo-hero-actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 768px) {
  .photo-hero { padding: 96px 32px; }
  .photo-hero-eyebrow { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
  .photo-hero-content > * { max-width: 760px; }
  .photo-hero--center .photo-hero-overlay { background: radial-gradient(ellipse at center, rgba(var(--shade), .8) 0%, rgba(var(--shade), .58) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-hero-media { transform: none; }
  .photo-hero-media img { animation: none; opacity: 1; transform: none; }
}

/* Trust bar */
.trust { background: var(--brand-dark); color: #fff; padding: 20px; }
.trust-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-weight: 500; font-size: .98rem; }
.trust-list li { padding-left: 14px; border-left: 3px solid #d9b46a; }
.trust-btn { display: none; }
@media (min-width: 768px) {
  .trust { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; max-width: none; }
  .trust-list { grid-template-columns: repeat(4, auto); gap: 28px; margin: 0; max-width: none; }
  .trust-btn { display: inline-flex; min-height: 48px; }
}

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 84px 0; } }
.menu-grid { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--muted); flex: 1; }
.card h3 { color: var(--brand); }
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.visit { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-grid { display: grid; gap: 28px; }
.address { font-size: 1.3rem; font-weight: 700; color: var(--brand); margin-bottom: .4em; }
.note { color: var(--muted); }
.hours { list-style: none; margin: 0; background: var(--cream); }
.hours li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span { font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 768px) { .visit-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }

/* Form */
.form { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #f3efe5; border: 1px solid #b9b19e; border-radius: 8px; }
.form .btn { width: 100%; }
.form-note { margin: 14px 0 6px; text-align: center; color: var(--ink); }
.small { font-size: .95rem; text-align: center; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--brand-dark); color: #e9e4d6; padding: 48px 0 28px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
.footer-name { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .6em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 5px 0; }
.footer-fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.footer-fine p { margin: 0 0 8px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }

/* scroll-fade */
.js .fade-in { opacity: 0; transform: translateY(16px); transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out); }
.js .fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade-in { opacity: 1; transform: none; transition: none; } }

/* hover-lift */
.lift { transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lift:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,30,25,.14); } }
.lift:focus-within { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,30,25,.14); }
@media (prefers-reduced-motion: reduce) { .lift, .lift:hover, .lift:focus-within { transform: none; } }

/* call-bar */
.call-bar { display: none; }
@media (max-width: 767.98px) {
  .call-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 18px; border-radius: 14px; background: var(--accent); color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(10,25,20,.3); transform: translateY(calc(100% + 24px)); transition: transform var(--motion-base) var(--ease-out); }
  .call-bar.is-shown { transform: none; }
  .call-bar strong { font-size: 1.1rem; }
  body.has-call-bar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .call-bar { transition: none; } }

/* Reviews */
.reviews { border-top: 1px solid var(--line); }
.review-grid { display: grid; gap: 16px; margin-top: 28px; }
.review { margin: 0; justify-content: space-between; gap: 16px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--ink); flex: none; }
.review figcaption { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.review figcaption a { color: var(--brand); font-size: .95rem; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
