/* Black Ox Bistro — modern site styles */

:root {
  --bg: #0e0d0c;
  --bg-elevated: #161412;
  --bg-soft: #1c1a17;
  --ink: #f3eee6;
  --ink-muted: #b7aea0;
  --line: rgba(196, 165, 116, 0.22);
  --brass: #c4a574;
  --brass-bright: #dfc394;
  --silver: #c8cdd4;
  --ember: #9e2b2b;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 165, 116, 0.12), transparent 55%),
    linear-gradient(180deg, #12100e 0%, var(--bg) 40%, #0a0908 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brass-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brass);
  color: #111;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.page-about .site-header,
.page-gallery .site-header,
.page-contact .site-header,
.page-privacy .site-header {
  background: rgba(14, 13, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  z-index: 2;
}

.brand img {
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243, 238, 230, 0.78);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  letter-spacing: 0.1em;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: var(--brass);
  color: #111;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-primary {
  background: var(--brass);
  color: #14110e;
  border-color: var(--brass);
}

.btn-primary:hover {
  background: var(--brass-bright);
  color: #14110e;
  border-color: var(--brass-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(243, 238, 230, 0.35);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.45) 0%, rgba(10, 9, 8, 0.25) 32%, rgba(10, 9, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 9, 8, 0.62) 0%, rgba(10, 9, 8, 0.2) 50%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--space) clamp(3.5rem, 8vw, 6rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero-brand span {
  display: block;
  font-size: 0.38em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 0.35em;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 0 0.85rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.35s forwards;
}

.hero-support {
  max-width: 36ch;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.5s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: rise 1s var(--ease) 0.65s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-brand,
  .hero-line,
  .hero-support,
  .hero .btn-group {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(4rem, 10vw, 7.5rem) var(--space);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.section-lead {
  color: var(--ink-muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split-copy .section-title {
  margin-bottom: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Experience bands — editorial, not cards */
.experience {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-list {
  display: grid;
  gap: 0;
  margin-top: 3rem;
}

.experience-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.experience-item:last-child {
  border-bottom: 1px solid var(--line);
}

.experience-item:nth-child(even) {
  direction: rtl;
}

.experience-item:nth-child(even) > * {
  direction: ltr;
}

.experience-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.experience-item h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.experience-item p {
  color: var(--ink-muted);
}

/* Quotes */
.voices {
  background:
    linear-gradient(135deg, rgba(196, 165, 116, 0.06), transparent 40%),
    var(--bg);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 3rem;
}

.voice blockquote {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.voice footer {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.voice footer span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.85rem;
}

/* Visit / CTA band */
.visit-band {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.visit-band .bg {
  position: absolute;
  inset: 0;
}

.visit-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-band .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.72);
}

.visit-band .content {
  position: relative;
  z-index: 1;
  padding: var(--space);
  max-width: 36rem;
}

.visit-band h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.visit-band p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding: calc(var(--header-h) + 4rem) var(--space) 3rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(196, 165, 116, 0.1), transparent 50%),
    var(--bg);
}

.page-hero .section-inner {
  max-width: 40rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

/* About prose */
.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--ink-muted);
}

.prose p + p {
  margin-top: 1.15rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.about-aside figure {
  margin: 0;
  overflow: hidden;
}

.about-aside img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-aside figcaption {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figure:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery-grid figure:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.gallery-grid figure:nth-child(3) { grid-column: span 4; aspect-ratio: 1; }
.gallery-grid figure:nth-child(4) { grid-column: span 4; aspect-ratio: 1; }
.gallery-grid figure:nth-child(5) { grid-column: span 4; aspect-ratio: 1; }
.gallery-grid figure:nth-child(6) { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery-grid figure:nth-child(7) { grid-column: span 7; aspect-ratio: 16 / 11; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.75rem;
}

.contact-details h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.contact-details p,
.contact-details a {
  color: var(--ink-muted);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--brass-bright);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(243, 238, 230, 0.12);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brass);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.map-wrap {
  margin-top: 3rem;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 20rem;
}

.map-wrap iframe {
  width: 100%;
  height: 22rem;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Privacy */
.legal {
  max-width: 44rem;
}

.legal h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.legal h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: var(--brass-bright);
}

.legal ul {
  color: var(--ink-muted);
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.75rem;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0908;
  padding: clamp(3rem, 6vw, 4.5rem) var(--space) 0;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand p:last-child {
  color: var(--ink-muted);
  max-width: 32ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-links a,
.footer-links li {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-bar p {
  margin: 0;
}

.footer-credit a {
  color: var(--brass);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.footer-credit a:hover {
  color: var(--brass-bright);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .split,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 18rem;
  }

  .about-aside {
    position: static;
  }

  .experience-item,
  .experience-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:nth-child(n) {
    grid-column: span 12;
    aspect-ratio: 16 / 11;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(10, 9, 8, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .brand img {
    height: 2.5rem;
  }
}

@media (max-width: 560px) {
  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .btn {
    width: 100%;
  }
}
