/* ===========================================================
   G Texas Catering & Events
   A clean static rebuild of the new WordPress site.
   Colours, type and content are taken from that build:
     bg #f9f8f5 · body #646669 · headings #969583 · dark #1e1d22
     Rosario (italic display) · Cabin Condensed · Average (body)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rosario:ital,wght@0,400;0,600;1,400;1,600&family=Cabin+Condensed:wght@400;500;600;700&family=Average&display=swap');

:root {
  --cream: #f9f8f5;
  --band: #f2ece0;
  --sand: #efece4;
  --ink: #1e1d22;
  --ink-soft: #41444b;
  --text: #646669;
  --sage: #969583;      /* their heading colour */
  --gold: #8c7a5b;      /* drawn from the metallic G */
  --gold-light: #c9b28c;
  --rule: #dcd8cd;
  --white: #fff;

  --display: 'Rosario', Georgia, serif;
  --cond: 'Cabin Condensed', 'Arial Narrow', sans-serif;
  --body: 'Average', Georgia, serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------------- Type ---------------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }

/* Display = Rosario italic, exactly as the WP build uses it */
.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
/* Size comes from .display, not the tag, so a heading can be an h1 for document
   structure without changing how it looks. */
.display { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }

.sub {
  font-family: var(--cond);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--sage);
  letter-spacing: .01em;
}

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

.lede { font-size: clamp(1.02rem, 1.35vw, 1.15rem); line-height: 1.8; }

/* The thin tapered rule under section headings */
.ornament { display: block; width: 230px; max-width: 60%; height: 1px; margin: 1.6rem auto 2.2rem; border: 0;
  background: linear-gradient(to right, transparent, var(--rule) 18%, var(--gold) 50%, var(--rule) 82%, transparent); }
.ornament.left { margin-left: 0; margin-right: 0; }

.eyebrow {
  font-family: var(--cond); font-size: .78rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--cond); font-size: .82rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  transition: background .18s, color .18s, border-color .18s; cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[aria-disabled="true"] { background: transparent; color: #a9a49a; border-color: var(--rule); cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* "CONTACT US TODAY" — their signature centred link with flanking rules */
.contact-strip { padding: clamp(3rem,6vw,4.5rem) 0; text-align: center; }
.contact-strip a {
  display: inline-flex; align-items: center; gap: 1.4rem;
  font-family: var(--display); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.85rem);
  color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
}
.contact-strip a::before, .contact-strip a::after {
  content: ''; width: clamp(50px,9vw,120px); height: 1px; background: var(--rule);
}
.contact-strip a:hover { color: var(--gold); }
.contact-strip a:hover::before, .contact-strip a:hover::after { background: var(--gold); }

/* ---------------- Header ---------------- */

.site-header { position: sticky; top: 0; z-index: 60; background: transparent; border-bottom: 1px solid rgba(0,0,0,.06); }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(249,248,245,.96); backdrop-filter: blur(8px); }
.site-header .wrap-wide { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 92px; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--cond); font-size: .88rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); padding: .35rem 0; border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s; white-space: nowrap;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

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

/* padding:0 overrides the global `section` padding, which would otherwise
   letterbox the video in dark bands. */
.hero-video-wrap { position: relative; background: var(--ink); overflow: hidden; padding: 0; }
.hero-video-wrap video {
  width: 100%; height: clamp(340px, 56vw, 660px); object-fit: cover; display: block;
  pointer-events: none;  /* no click target at all — nothing to pause or open */
}
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(30,29,34,.25), rgba(30,29,34,0) 34%, rgba(30,29,34,.34));
}
.hero-caption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.5rem,4vw,3.2rem) 0;
  text-align: center; pointer-events: none;
}
.hero-caption .display { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.5); }

/* The page-title band and breadcrumb were removed at Doug's request
   (2026-08-11) — he had already display:none'd them on the WP build. */

/* ---------------- Sections ---------------- */

section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
section.tight { padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.bg-band { background: var(--band); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.78); }
.bg-ink .display { color: #fff; }
.bg-ink .sub { color: var(--gold-light); }

.section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(2.4rem,5vw,3.5rem); }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .sub { margin-top: .3rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-media.tall img { aspect-ratio: 3/4; }

/* ---------------- Cards ---------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem,2.6vw,2.2rem); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--rule); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 14px 40px rgba(30,29,34,.1); transform: translateY(-3px); }
.card-media { overflow: hidden; aspect-ratio: 3/2; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
/* A 2:3 portrait in a 3:2 tile keeps only 44% of its height; centred, that
   cuts straight through the faces. Bias the window towards the top. */
.card-media.portrait-src img { object-position: center 8%; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.5rem 1.4rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-family: var(--cond); font-size: 1.12rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.card-body p { font-size: .95rem; line-height: 1.7; }
.card-link { margin-top: auto; padding-top: 1.1rem; font-family: var(--cond); font-size: .78rem;
  font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--gold); }

/* ---------------- Photo grids ----------------
   The WP build shows these as WPBakery carousels. A grid shows every image at
   once, needs no JS, and cannot half-render the way the sliders do. */

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 1.1vw, .9rem); }
.photo-grid.three { grid-template-columns: repeat(3, 1fr); }
.photo-grid figure { margin: 0; overflow: hidden; background: var(--sand); }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.photo-grid figure:hover img { transform: scale(1.05); }

/* Group shots are 1.22–1.43 wide but the tiles are 1.5, so a centred crop
   shaves the top — which is exactly where the back row's heads are.
   Anchor to the top so any loss comes off the floor instead. */
.photo-grid.three img { object-position: center top; }

/* Full-width team photo. No forced aspect-ratio: the source is 3:2 and the
   old 21:9 crop cut 18% off the top, decapitating the back row. Capped by
   height and anchored to the top so it only ever loses feet. */
.band-photo { width: 100%; max-height: 640px; object-fit: cover; object-position: center top; }

.chef-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, 1.1vw, .9rem); }
.chef-grid figure { margin: 0; overflow: hidden; }
.chef-grid img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: top center; }

/* John Gilbert's sign-off */
.signature { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--rule); }
.signature img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; }
.signature strong { display: block; font-family: var(--display); font-style: italic; font-size: 1.35rem;
  color: var(--ink); font-weight: 400; }
.signature span { display: block; font-family: var(--cond); font-size: .82rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--sage); }

/* ---------------- Venue rows ---------------- */

.venue { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(1.6rem,4vw,3.5rem);
  align-items: center; padding: clamp(1.8rem,3.5vw,2.8rem) 0; border-bottom: 1px solid var(--rule); }
.venue:last-child { border-bottom: 0; }
.venue:nth-child(even) .venue-media { order: 2; }
.venue-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.venue h3 { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem,2.4vw,1.9rem);
  color: var(--ink); margin-bottom: .7rem; }
.venue p { font-size: .98rem; }
.badge { display: inline-block; margin-top: 1rem; padding: .5rem 1.1rem; background: var(--ink); color: var(--gold-light);
  font-family: var(--cond); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ---------------- Menus ---------------- */

.menu-card { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.menu-card .card-media { aspect-ratio: 4/3; }
.menu-card-body { padding: 1.6rem 1.5rem 1.8rem; text-align: center; display: flex; flex-direction: column; flex: 1; }
.menu-card h3 { font-family: var(--cond); font-size: 1.08rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; }
.menu-card p { font-size: .92rem; margin-bottom: 1.3rem; }
.menu-card .btn { margin-top: auto; width: 100%; }
.pending-note { font-family: var(--cond); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: #a9a49a; margin-top: .7rem; }

/* ---------------- Testimonials ---------------- */

.quote { text-align: center; }
.quote-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.2rem; }
.quote-name { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.quote-role { font-family: var(--cond); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: .3rem 0 1rem; }
.quote p { font-size: .96rem; font-style: italic; line-height: 1.8; }

/* ---------------- Stats ---------------- */

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); }
.stat { background: var(--cream); padding: 2rem 1.2rem; text-align: center; }
.stat b { display: block; font-family: var(--display); font-style: italic; font-size: clamp(1.8rem,3.4vw,2.6rem);
  color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.stat span { font-family: var(--cond); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------- Forms ---------------- */

form { display: grid; gap: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
label { display: block; font-family: var(--cond); font-size: .78rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; }
input, select, textarea {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--rule); background: var(--white);
  font-family: var(--body); font-size: 1rem; color: var(--ink); border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: .04em;
  font-family: var(--body); font-size: 1rem; color: var(--text); margin: 0; }
.radio-row input { width: auto; }
.form-note { font-size: .88rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.info-block { margin-bottom: 2rem; }
.info-block h3 { font-family: var(--cond); font-size: 1rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.info-block a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.info-block a:hover { color: var(--gold); }
.map-embed { width: 100%; aspect-ratio: 16/9; border: 0; filter: grayscale(1) contrast(1.04); }

/* Payment tiles */
.pay { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.2rem,2.4vw,2rem); }
.pay-card { background: var(--white); border: 1px solid var(--rule); padding: clamp(1.6rem,3vw,2.4rem); }
.pay-card h3 { font-family: var(--cond); font-size: 1.05rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; }
.pay-card p { font-size: .96rem; }
.pay-card .btn { margin-top: 1.2rem; }

/* ---------------- Footer ---------------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.6); text-align: center; padding: clamp(3rem,5vw,4rem) 0 0; }
.site-footer img.f-logo { height: 74px; width: auto; margin: 0 auto 1.6rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-bottom: 1.8rem; }
.footer-nav a { font-family: var(--cond); font-size: .8rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.72); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact { font-size: .95rem; line-height: 1.9; margin-bottom: 1.6rem; }
.footer-contact a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }
.social-row { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: rgba(255,255,255,.8); transition: .18s; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------------- Utility ---------------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 1rem 1.5rem; }
.skip-link:focus { left: 0; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card, .card-media img { transition: none; }
}

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

@media (max-width: 1000px) {
  .cards, .cards.four { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .photo-grid { grid-template-columns: repeat(3,1fr); }
  .chef-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 880px) {
  .nav {
    display: none;
    position: fixed; inset: 0 0 0 auto; width: min(82vw,330px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.5rem; box-shadow: -14px 0 40px rgba(0,0,0,.14); overflow-y: auto;
  }
  .nav.open { display: flex; animation: navIn .28s ease both; }
  @keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .split, .contact-grid, .pay { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .venue { grid-template-columns: 1fr; gap: 1.2rem; }
  .venue:nth-child(even) .venue-media { order: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand img { height: 42px; }
  .contact-strip a::before, .contact-strip a::after { width: 36px; }
  .btn { padding: .9rem 1.5rem; }
  .photo-grid, .photo-grid.three { grid-template-columns: repeat(2,1fr); }
  .chef-grid { grid-template-columns: repeat(2,1fr); }
  .signature { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
