/* Ember & Olive — StitchWeb Starter Restaurant Demo */

:root {
  --ink: #17100b;
  --brown: #2b1b12;
  --rust: #b94c2c;
  --rust-dark: #913a22;
  --sand: #efe3d2;
  --paper: #f9f4ec;
  --white: #fffdf9;
  --muted: #6f6258;
  --line: rgba(23, 16, 11, 0.14);
  --light-line: rgba(255, 255, 255, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  background: var(--white);
  color: var(--ink);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 999;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  background: rgba(23, 16, 11, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  height: 88px;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 6px;
  opacity: 0.7;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.82;
  position: relative;
}

.desktop-nav a::after {
  background: var(--sand);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  width: 100%;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 19px;
  transition: 0.25s ease;
}

.header-cta:hover {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  align-items: flex-end;
  color: var(--white);
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 170px 5vw 74px;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  background:
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=2000&q=88")
    center 48% / cover no-repeat;
  transform: scale(1.015);
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 10, 6, 0.92) 0%, rgba(18, 10, 6, 0.58) 48%, rgba(18, 10, 6, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 10, 6, 0.66) 0%, transparent 48%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rust);
}

.eyebrow.light {
  color: #e8b193;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(58px, 8.8vw, 132px);
  max-width: 1050px;
}

h1 em,
h2 em {
  color: #e5a584;
  font-weight: 600;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 2vw, 19px);
  margin-top: 28px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 51px;
  padding: 0 23px;
  transition: 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--rust);
  color: var(--white);
}

.button-primary:hover {
  background: var(--rust-dark);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.service-card {
  backdrop-filter: blur(16px);
  background: rgba(29, 17, 11, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 74px;
  max-width: 300px;
  padding: 25px;
  position: absolute;
  right: 5vw;
}

.service-card span {
  color: #e5a584;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  margin: 7px 0;
}

.service-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.scroll-cue {
  align-items: center;
  bottom: 24px;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.18em;
  position: absolute;
  text-transform: uppercase;
}

.scroll-cue i {
  background: rgba(255, 255, 255, 0.36);
  display: block;
  height: 1px;
  width: 48px;
}

.section {
  padding: 120px 6vw;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 0.65fr;
  margin-bottom: 48px;
}

h2 {
  font-size: clamp(45px, 6vw, 86px);
}

.section-heading h2 em,
.contact-intro h2 em {
  color: var(--rust);
}

.section-intro,
.contact-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
  max-width: 530px;
}

.dish-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dish-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
}

.dish-photo {
  background-position: center;
  background-size: cover;
  aspect-ratio: auto;
  height: 175px;
  min-height: 0;
}

.feature-dish .dish-photo {
  aspect-ratio: auto;
  height: 175px;
  min-height: 0;
}

.photo-chicken {
  background-image: url("https://images.unsplash.com/photo-1532550907401-a500c9a57435?auto=format&fit=crop&w=1300&q=86");
}

.photo-pasta {
  background-image: url("https://images.unsplash.com/photo-1473093295043-cdd812d0e601?auto=format&fit=crop&w=1100&q=86");
}

.photo-dessert {
  background-image: url("https://images.unsplash.com/photo-1606313564200-e75d5e30476c?auto=format&fit=crop&w=1100&q=86");
}

.dish-details {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.dish-label {
  color: var(--rust);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dish-details h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.15;
  margin: 5px 0;
}

.dish-details p {
  color: var(--muted);
  font-size: 13px;
}

.dish-details strong {
  color: var(--rust);
  font-size: 17px;
  white-space: nowrap;
}

.menu-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
  text-align: center;
}

.about-section {
  background: var(--brown);
  color: var(--white);
  display: grid;
  gap: 6vw;
  grid-template-columns: 0.9fr 1.1fr;
}

.about-photo {
  background:
    linear-gradient(0deg, rgba(20, 10, 6, 0.18), rgba(20, 10, 6, 0.02)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1500&q=88")
    center 58% / cover no-repeat;
  aspect-ratio: 16 / 10;
  min-height: 0;
  width: 100%;
}

.about-content {
  align-self: center;
  max-width: 710px;
}

.about-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-top: 28px;
  max-width: 610px;
}

.about-points {
  border-top: 1px solid var(--light-line);
  margin-top: 40px;
}

.about-points div {
  align-items: center;
  border-bottom: 1px solid var(--light-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 46px 1fr;
  padding: 17px 0;
}

.about-points span {
  color: #e5a584;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-points p {
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  font-weight: 700;
  gap: 12px;
  margin-top: 34px;
}

.text-link span {
  color: #e5a584;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.contact-section {
  background: var(--sand);
}

.contact-intro {
  max-width: 780px;
}

.contact-intro > p:last-child {
  margin-top: 22px;
}

.contact-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}

.contact-item {
  min-height: 190px;
  padding: 32px;
}

.contact-item + .contact-item {
  border-left: 1px solid var(--line);
}

.contact-item > span {
  color: var(--rust);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
}

.contact-item a:hover {
  color: var(--rust);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-outline-dark {
  border: 1px solid rgba(23, 16, 11, 0.38);
}

.button-outline-dark:hover {
  background: rgba(23, 16, 11, 0.06);
}

footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 135px;
  padding: 28px 5vw;
}

.footer-brand {
  color: var(--white);
}

.credit {
  color: #e5a584;
  font-weight: 700;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: grid;
    gap: 7px;
    padding: 10px 0 10px 10px;
  }

  .menu-toggle span {
    background: var(--white);
    display: block;
    height: 1px;
    transition: 0.25s ease;
    width: 28px;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-nav {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 100px 5vw 28px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-12px);
    transition: 0.25s ease;
    z-index: 90;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--serif);
    font-size: 27px;
    padding: 14px 0;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 70px;
  }

  .service-card {
    bottom: auto;
    left: auto;
    margin-top: 32px;
    max-width: 360px;
    position: relative;
    right: auto;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .dish-grid,
  .about-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .dish-grid {
    gap: 14px;
  }

  .dish-card {
    display: grid;
    grid-template-columns: 170px 1fr;
  }

  .dish-photo,
  .feature-dish .dish-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 155px;
  }

  .about-photo {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

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

  .contact-item {
    min-height: unset;
  }

  .contact-item + .contact-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 76px;
    padding: 0 20px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .hero {
    min-height: auto;
    padding: 150px 20px 48px;
  }

  .hero-image {
    background-position: 57% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 10, 6, 0.88), rgba(18, 10, 6, 0.38)),
      linear-gradient(0deg, rgba(18, 10, 6, 0.7), transparent 60%);
  }

  h1 {
    font-size: clamp(51px, 16.4vw, 74px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card {
    margin-top: 28px;
    max-width: none;
    width: 100%;
  }

  .section {
    padding: 82px 20px;
  }

  .section-heading {
    gap: 22px;
    margin-bottom: 32px;
  }

  h2 {
    font-size: 47px;
  }

  .dish-card {
    grid-template-columns: 112px 1fr;
  }

  .dish-photo,
  .feature-dish .dish-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 120px;
  }

  .dish-details {
    gap: 8px;
    padding: 14px;
  }

  .dish-details h3 {
    font-size: 18px;
  }

  .dish-details p {
    display: none;
  }

  .dish-label {
    font-size: 8px;
  }

  .dish-details strong {
    align-self: flex-start;
    font-size: 15px;
  }

  .dish-details {
    flex-direction: column;
  }

  .dish-details strong {
    align-self: flex-end;
  }

  .about-section {
    gap: 0;
    padding: 0;
  }

  .about-photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .about-content {
    padding: 82px 20px;
  }

  .contact-item {
    padding: 26px 0;
  }

  .contact-item a,
  .contact-item strong {
    font-size: 23px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 42px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}


/* Compact menu refinements */
.menu-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.menu-section .section-heading {
  margin-bottom: 30px;
}

@media (max-width: 640px) {
  .menu-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .menu-section .section-heading {
    margin-bottom: 24px;
  }

  .menu-note {
    margin-top: 16px;
  }
}
