/* Woodley Restaurant — static site styles */

:root {
  --cream: #F6F1E9;
  --surface: #FCF8F1;
  --ink: #2B2620;
  --muted: #5F574B;
  --soft: #6E665B;
  --accent: #B5683F;
  --accent-dark: #9E5635;
  --gold: #9C7F5F;
  --line: #E5DCCD;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: #E7C3AE; color: var(--ink); }

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

h1, h2, h3 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 0;
}

a { color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section { scroll-margin-top: 84px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.15s ease;
}

.nav a:not(.nav-cta):hover { color: var(--accent); }

.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid #D7CBB8;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ───────────────────────────────── */
.hero { padding-top: 72px; padding-bottom: 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.eyebrow .rule { width: 26px; height: 1px; background: #C9A883; }

.hero h1 {
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
  text-wrap: balance;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 34px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; }

/* ── Image frame ────────────────────────── */
.frame {
  position: relative;
  overflow: hidden;
  background: #ECE3D4;
}

.frame-rounded { border-radius: 20px; }

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-media .frame {
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 20, 0.45);
}

.media-badge {
  position: absolute;
  bottom: 22px;
  left: -22px;
  background: var(--surface);
  border: 1px solid #E9E0D0;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 16px 30px -18px rgba(60, 40, 20, 0.35);
}

.badge-big {
  font-family: 'Marcellus', serif;
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
}

.badge-small {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--soft);
  margin-top: 4px;
}

/* ── Strip ──────────────────────────────── */
.strip-section { padding-top: 28px; padding-bottom: 64px; }

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8A7A64;
}

.strip .dot { color: #C9A883; }

/* ── About ──────────────────────────────── */
.about-section {
  background: var(--surface);
  border-top: 1px solid #EDE4D5;
  border-bottom: 1px solid #EDE4D5;
  padding-top: 92px;
  padding-bottom: 92px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-media { aspect-ratio: 4 / 5; }

.kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-copy h2,
.services-section h2 { font-size: 40px; line-height: 1.15; margin-bottom: 22px; }

.about-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 10px; }

.stat-big {
  font-family: 'Marcellus', serif;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}

.stat-small {
  font-size: 13px;
  color: var(--soft);
  margin-top: 6px;
  letter-spacing: 0.3px;
  max-width: 18em;
}

/* ── Services ───────────────────────────── */
.services-section { padding-top: 96px; padding-bottom: 96px; }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head h2 { margin-bottom: 18px; }

.section-head p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #ECE3D4;
  border-radius: 18px;
  padding: 34px 30px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover { border-color: #D8B79A; transform: translateY(-3px); }

.card-num {
  font-family: 'Marcellus', serif;
  font-size: 18px;
  color: var(--accent);
}

.card h3 { font-size: 24px; margin: 16px 0 14px; }

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ── Contact ────────────────────────────── */
.contact-section {
  background: var(--ink);
  color: var(--cream);
  padding-top: 96px;
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.kicker-light { color: #C99B79; }

.contact-copy h2 { font-size: 44px; line-height: 1.1; margin-bottom: 20px; color: var(--cream); }

.contact-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: #CDC4B6;
  max-width: 32em;
  margin: 0 0 32px;
}

.btn-contact {
  color: var(--ink);
  background: #E7C3AE;
  font-size: 16px;
  padding: 16px 30px;
}
.btn-contact:hover { background: #fff; }

.contact-details {
  border-left: 1px solid #4A4137;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9A8E7C;
  margin-bottom: 10px;
}

.detail-value { font-size: 16px; line-height: 1.6; color: #E6DFD3; }

.detail-link {
  font-size: 16px;
  color: #E6DFD3;
  text-decoration: none;
  transition: color 0.15s ease;
}
.detail-link:hover { color: #E7C3AE; }

/* ── Footer ─────────────────────────────── */
.site-footer { background: #211D18; color: #9A8E7C; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-brand-name { color: #E6DFD3; font-size: 18px; }
.site-footer .brand-sub { color: #9A8E7C; font-size: 10px; }

.footer-legal {
  font-size: 13px;
  line-height: 1.6;
  color: #8A7E6C;
  text-align: right;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .about-media { order: 2; max-width: 460px; }
  .hero-media { max-width: 460px; }
  .media-badge { left: auto; right: 16px; }

  .cards { grid-template-columns: 1fr; }

  .contact-details { border-left: 0; border-top: 1px solid #4A4137; padding-left: 0; padding-top: 30px; }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.open { max-height: 260px; }

  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 12px; padding: 12px 18px; }

  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: 40px; }
  .about-copy h2, .services-section h2 { font-size: 30px; }
  .contact-copy h2 { font-size: 32px; }
  .strip { flex-direction: column; gap: 14px; }
  .strip .dot { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}
