/* Chef Carlos Perez — first draft site
   Palette: near-black, cream, leather, brass */

:root {
  --bg: #0c0b0a;
  --bg-raised: #141210;
  --bg-soft: #1b1815;
  --cream: #f3ece3;
  --cream-soft: #e4d9cc;
  --muted: #9c9388;
  --brass: #c4a36a;
  --brass-light: #e2c792;
  --brass-dim: rgba(196, 163, 106, 0.28);
  --leather: #8a5a3c;
  --leather-deep: #5c3a28;
  --line: rgba(243, 236, 227, 0.1);
  --line-strong: rgba(196, 163, 106, 0.4);
  --danger: #c9a18a;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-script: "Allura", "Segoe Script", "Apple Chancery", cursive;
  --nav-h: 4.5rem;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
}

@font-face {
  font-family: "Allura";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/allura-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brass-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cream);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--cream);
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brass);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 200;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ----- Nav ----- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(12, 11, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  font-style: italic;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo span {
  font-style: normal;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  color: var(--brass);
  margin-bottom: 0.12rem;
  font-family: var(--font-sans);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
  transform: none;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brass-light);
}

.nav-links .nav-cta {
  border: 1px solid var(--brass);
  color: var(--brass-light);
  padding: 0.55rem 0.95rem;
  letter-spacing: 0.14em;
}

.nav-links .nav-cta:hover {
  background: var(--brass);
  color: var(--bg);
}

/* ----- Hero ----- */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.9fr);
  background: var(--bg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2.5rem) var(--pad) 3.5rem clamp(var(--pad), 8vw, 6.5rem);
  max-width: 42rem;
  justify-self: end;
  width: 100%;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.25rem;
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(5rem, 9.2vw, 7.35rem);
  letter-spacing: 0.01em;
  line-height: 1.18;
  margin: 0 0 0.85rem;
  color: var(--cream);
  text-shadow: 0 1px 0 rgba(196, 163, 106, 0.32), 0 0 42px rgba(196, 163, 106, 0.12);
  overflow: visible;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--cream-soft);
  max-width: 28rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-light);
  background: transparent;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  color: var(--cream-soft);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.hero-photo {
  position: relative;
  min-height: 100vh;
  background: #e8e4de;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center center;
}

/* ----- Shared sections ----- */

.section {
  padding: var(--section) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1rem;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--cream-soft);
  max-width: 38rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.split.align-start {
  align-items: start;
}

.split > * {
  min-width: 0;
}

.prose {
  color: var(--cream-soft);
}

.prose p + p {
  margin-top: 1.1em;
}

.portrait-frame {
  background: #dcd6ce;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
}

.quote {
  margin: 2.25rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--brass-dim);
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
}

.quote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-sans);
}

/* ----- Private dining ----- */

.dining {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dining-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
}

.service-list {
  list-style: none;
  margin: 1.75rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.service-list li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--cream-soft);
}

.service-list li::before {
  content: "";
  width: 0.4rem;
  height: 1px;
  background: var(--brass);
  position: absolute;
  left: 0;
  top: 0.8em;
}

.dining-terms {
  color: var(--cream-soft);
  max-width: 36rem;
  margin: 1.5rem 0 2rem;
}

/* ----- Form ----- */

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
}

.thanks .section-inner {
  max-width: 36rem;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}

.inquiry {
  background: var(--bg);
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
}

.inquiry h3 {
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.inquiry .form-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--cream);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--brass-dim);
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.form-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

.direct-contact {
  margin: -0.6rem 0 1.25rem;
  font-size: 0.98rem;
}

.direct-contact a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-dim);
}

.direct-contact a:hover {
  color: var(--brass-light);
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border: 1px solid var(--brass-dim);
  color: var(--cream-soft);
  font-size: 0.92rem;
  background: var(--bg-soft);
}

.form-status.is-visible {
  display: block;
}

/* ----- Classes ----- */

.class-card {
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.5rem;
  margin: 1.75rem 0 1.25rem;
  background: var(--bg-raised);
}

.class-card .when {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.55rem;
}

.class-card h3 {
  font-size: 2.15rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
}

.class-details {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.class-details li {
  margin: 0.3rem 0;
}

.class-details strong {
  color: var(--cream);
  font-weight: 500;
}

.past-classes {
  color: var(--muted);
  font-size: 0.95rem;
}

.coming-2027 {
  margin: 2rem 0 1.5rem;
  padding: 1.45rem 0 0;
  border-top: 1px solid var(--line);
}

.coming-2027 .section-label {
  margin-bottom: 0.85rem;
}

.coming-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coming-list li {
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
}

.coming-list li:last-child {
  border-bottom: 0;
}

.coming-date {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.12rem;
}

.coming-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
}

.coming-dishes {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.coming-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.classes-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 58%;
}

/* ----- Gallery ----- */

.gallery-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem 1.1rem;
}

.gallery-credit {
  margin: 1.75rem 0 0;
  max-width: 52rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.gallery-grid > * {
  min-width: 0;
}

.gallery-item figcaption,
.gallery-placeholder span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  overflow-wrap: break-word;
  hyphens: auto;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.gallery-item img[src*="tuna-fried-rice"],
.gallery-item img[src*="crispy-salmon"] {
  object-position: center center;
}

.gallery-item img[src*="calamari"] {
  object-position: center 70%;
}

.gallery-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-placeholder .ph-frame {
  flex: 1;
  min-height: 22rem;
  aspect-ratio: 3 / 4;
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(160deg, #1a1613 0%, #241c16 50%, #151210 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--brass);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
}

/* ----- Contact / footer ----- */

.contact {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 1.35rem;
}

.contact-list .k {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-list .v {
  color: var(--cream);
  font-size: 1.05rem;
  text-decoration: none;
}

.contact-list a.v:hover {
  color: var(--brass-light);
}

.site-footer {
  padding: 1.5rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--cream-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-light);
}

/* ----- Responsive ----- */

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(12, 11, 10, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem var(--pad) 1.75rem;
    gap: 1.15rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-top: 0.35rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100svh;
  }

  .hero-copy {
    padding: calc(var(--nav-h) + 1.15rem) var(--pad) 1.35rem;
    max-width: none;
    justify-self: stretch;
    order: 1;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 15.5vw, 5.1rem);
    margin-bottom: 0.7rem;
    line-height: 1.2;
  }

  .hero-lede {
    margin-bottom: 1.35rem;
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-bottom: 1.15rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.28rem;
    padding-top: 1rem;
  }

  .hero-meta div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    align-items: baseline;
  }

  .hero-meta strong {
    display: inline;
    margin: 0;
  }

  .hero-photo {
    min-height: 46svh;
    order: 2;
    height: auto;
  }

  .hero-photo img {
    min-height: 46svh;
    height: 100%;
    object-position: center 12%;
  }

  .split,
  .form-grid,
  .contact-grid,
  .gallery-intro {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-intro {
    align-items: start;
  }

  .about-split .portrait-frame {
    order: -1;
  }
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 0.28rem;
  }

  .gallery-placeholder .ph-frame {
    min-height: 16rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


/* ----- Signature strip ----- */

.signature {
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  border-top: 1px solid var(--line);
}

.signature-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.signature .section-title {
  margin-bottom: 0;
}

.signature-link {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass-light);
  white-space: nowrap;
  padding-bottom: 0.35rem;
}

.signature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.signature-card {
  text-decoration: none;
  color: inherit;
}

.signature-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.signature-card span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.signature-card:hover span {
  color: var(--brass-light);
}

/* ----- About visuals ----- */

.about-visuals {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-dish {
  padding-bottom: 0;
}

.about-dish img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

/* ----- Private dining as photo section ----- */

.dining--photo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: none;
  background: var(--bg);
}

.dining-bg {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 36rem;
  background: #050505;
}

.dining-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
}

.dining-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 10, 0.45) 0%, rgba(12, 11, 10, 0.12) 28%, transparent 55%);
  pointer-events: none;
}

.dining-panel {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  margin: 0;
  padding: var(--section) clamp(1.5rem, 4vw, 3.5rem);
}

.dining--photo .inquiry {
  background: var(--bg-raised);
}

/* ----- Full-bleed photo bands ----- */

.photo-band {
  position: relative;
  margin: 0;
  height: min(78vh, 42rem);
  overflow: hidden;
  background: #050505;
}

.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 50%;
  transform: scale(1.22);
  transform-origin: center center;
}

.photo-band figcaption {
  position: absolute;
  left: var(--pad);
  bottom: 1.35rem;
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ----- Gallery wide tiles ----- */

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--wide img {
  aspect-ratio: 3 / 2;
  object-position: center 48%;
}

.photo-credit {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Contact with berry-sphere background ----- */

.contact.contact--photo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.9fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: var(--bg-raised);
}

.contact-bg {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 28rem;
  background: #050505;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 58%;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.4) 0%, transparent 32%);
  pointer-events: none;
}

.contact-panel {
  grid-column: 1;
  grid-row: 1;
  padding: var(--section) clamp(1.5rem, 4vw, 3.5rem);
}

.contact--photo .section-inner {
  max-width: none;
  margin: 0;
}

.contact--photo .contact-grid {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .signature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-visuals {
    order: -1;
  }

  .dining--photo {
    grid-template-columns: 1fr;
  }

  .dining-bg {
    grid-column: 1;
    grid-row: 1;
    min-height: 48vh;
  }

  .dining-bg img {
    object-position: center 78%;
  }

  .dining-bg::after {
    background:
      linear-gradient(180deg, transparent 0%, transparent 55%, rgba(12, 11, 10, 0.55) 85%, var(--bg) 100%);
  }

  .dining-panel {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    padding: 2.5rem var(--pad) var(--section);
  }

  .photo-band {
    height: min(58vh, 28rem);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

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

  .contact-bg {
    grid-column: 1;
    grid-row: 1;
    min-height: 44vh;
  }

  .contact-bg img {
    object-position: 68% 58%;
  }

  .contact-bg::after {
    background:
      linear-gradient(180deg, transparent 0%, transparent 55%, rgba(20, 18, 16, 0.55) 85%, var(--bg-raised) 100%);
  }

  .contact-panel {
    grid-column: 1;
    grid-row: 2;
    padding: 2.5rem var(--pad) var(--section);
  }
}

a[href^="tel:"] {
  white-space: nowrap;
}

@media (max-width: 540px) {
  .signature-head {
    flex-direction: column;
    align-items: start;
  }

  .gallery-item figcaption,
  .signature-card span {
    letter-spacing: 0.05em;
    font-size: 0.62rem;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-band img,
  .dining-bg img,
  .contact-bg img {
    transform: none;
  }
}
