/* Total Catering Solutions — static refresh */

/* Arial tuned to Futura PT's width and vertical metrics, so text doesn't reflow when the web font loads. */
@font-face {
  font-family: "Futura Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 87.4%;
  ascent-override: 112.1%;
  descent-override: 34.3%;
  line-gap-override: 0%;
}

:root {
  --red: #cc0000;
  --red-dark: #a30000;
  --ink: #222222;
  --muted: #5c5c5c;
  --surface: #f8f8f8;
  --line: #e4e4e2;
  --white: #ffffff;

  --font: "futura-pt", "Futura Fallback", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }

address { font-style: normal; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--red); color: var(--white);
  padding: .6em 1em; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ------------------------------------------------------------ buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .55em 1.6em;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font: 500 1.0625rem/1.2 var(--font);
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.button:active { transform: translateY(1px); }

.button--outline { background: transparent; color: var(--red); }
.button--outline:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.button--light { background: var(--white); border-color: var(--white); color: var(--red); }
.button--light:hover { background: transparent; border-color: var(--white); color: var(--white); }

.button--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.button--ghost:hover { background: var(--white); border-color: var(--white); color: var(--red); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.button-list {
  list-style: none; padding: 0; margin: 1.25em 0 1.5em;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .45); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}

.site-logo img { width: 128px; transition: width .3s var(--ease); }
.site-header.is-scrolled .site-logo img { width: 104px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(4px, 1.4vw, 20px); }
.site-nav a {
  position: relative; display: block;
  padding: .7em .55em;
  color: var(--ink); font-size: 1.0625rem; font-weight: 500; text-decoration: none;
}
.site-nav a::after {
  content: ""; position: absolute; left: .55em; right: .55em; bottom: .35em;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--red); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a[aria-current="page"], .site-nav a.is-active { color: var(--red); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; margin: auto;
  background: var(--ink);
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .site-logo img, .site-header.is-scrolled .site-logo img { width: 92px; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: .8em 0; border-bottom: 1px solid var(--line); font-size: 1.1875rem; }
  .site-nav a::after { left: 0; right: auto; width: 32px; bottom: -1px; }
  /* Without JS the nav simply wraps beneath the logo. */
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; }
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(220px, 30vw, 420px);
  background: #2b2b2b;
  color: var(--white);
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%);
}
.hero__inner { padding-block: clamp(28px, 5vw, 56px); }
.hero__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  max-width: 18ch;
}
.hero--home { min-height: clamp(320px, 42vw, 600px); }
.hero--home .hero__title { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); }
.hero--plain { min-height: 0; background: var(--surface); color: var(--ink); }
.hero--plain::after { display: none; }
.hero--plain .hero__title { text-shadow: none; padding-top: clamp(24px, 5vw, 64px); }

/* One orchestrated load moment: the photo settles, the title rises. */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 1.8s var(--ease) both; }
  .hero__title { animation: rise .9s .25s var(--ease) both; }
}
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ home */

.intro { background: var(--surface); }
.intro__inner {
  padding-block: clamp(48px, 7vw, 88px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.intro__text {
  margin: 0; max-width: 34em;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem);
  line-height: 1.45; font-weight: 400; color: #3a3a3a;
}

.teasers { padding-block: clamp(48px, 7vw, 88px); }
.card-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card { display: block; color: var(--ink); text-decoration: none; }
.card picture { overflow: hidden; aspect-ratio: 780 / 625; background: var(--surface); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 2px 4px;
  border-bottom: 2px solid var(--line);
  font-size: 1.375rem; font-weight: 500;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.card__title::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.card:hover .card__title, .card:focus-visible .card__title { color: var(--red); border-color: var(--red); }
.card:hover .card__title::after { transform: translateX(4px) rotate(45deg); }
.card:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------ content pages */

.subnav { border-bottom: 1px solid var(--line); background: var(--white); }
.subnav ul {
  list-style: none; margin: 0 auto; padding: 14px var(--gutter);
  max-width: calc(var(--container) + 2 * var(--gutter));
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pill {
  display: inline-block; padding: .4em 1.1em;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.pill:hover { border-color: var(--red); color: var(--red); }
.pill[aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--white); }

.content-grid {
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-block: clamp(40px, 6vw, 80px);
  align-items: start;
}
.content-grid--single { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 860px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
}

.prose { max-width: 40rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.3; margin-bottom: .8em; }
.prose p, .prose ul { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose .lead { font-size: 1.25rem; font-weight: 500; line-height: 1.5; color: var(--ink); }
.prose .callout {
  margin: 1.6em 0;
  padding-left: 20px;
  border-left: 3px solid var(--red);
  color: var(--red);
  font-size: 1.3125rem; font-weight: 500; line-height: 1.45;
}

.figures { display: grid; gap: 28px; }
@media (min-width: 861px) { .figures { position: relative; } }
.figure { margin: 0; background: var(--surface); }
.figure figcaption { padding: 14px 18px 16px; font-size: 1rem; color: var(--muted); line-height: 1.45; }

.hero__subtitle {
  margin: .5em 0 0; max-width: 34em;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.4;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .45);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__subtitle { animation: rise .9s .4s var(--ease) both; }
}

/* Full-width call-to-action bands */
.band { background: var(--surface); }
.band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-block: clamp(40px, 6vw, 72px);
}
.band__inner > div { max-width: 40rem; }
.band h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .35em; }
.band p { margin: 0; }
.band--accent { background: var(--red); color: var(--white); }
/* A grey band directly above the grey footer needs a divider. */
.band:last-child:not(.band--accent) { border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ team */

.team { padding-block: clamp(40px, 6vw, 80px); display: grid; gap: clamp(48px, 7vw, 88px); }
.person {
  display: grid; gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.person:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.person:nth-child(even) .person__photo { order: 2; }
.person__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person__name { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); margin-bottom: .2em; }
.person__role { color: var(--red); font-size: 1.1875rem; font-weight: 500; margin: 0 0 1.2em; }
.person__quals { color: var(--muted); margin: 0 0 .3em; }
@media (max-width: 760px) {
  .person, .person:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .person:nth-child(even) .person__photo { order: 0; }
  .person__photo { max-width: 360px; }
}

/* ------------------------------------------------------------ contact */

.contact-grid {
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding-block: clamp(40px, 6vw, 80px);
}
.contact-card { padding: clamp(28px, 4vw, 48px); background: var(--surface); }
.contact-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }
.contact-card address p, .contact-card p { margin: 0; line-height: 2; }
.contact-card--accent { background: var(--red); color: var(--white); }
.contact-card--accent h2 { margin-bottom: 1em; }

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

.site-footer { background: var(--surface); }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 40px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .9375rem; }
.site-footer__links a { color: var(--muted); font-size: .9375rem; text-decoration: none; }
.site-footer__links a:hover { color: var(--red); text-decoration: underline; }
.site-footer__cert { width: 75px; mix-blend-mode: multiply; }

/* ------------------------------------------------------------ scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .card-grid li:nth-child(2) .reveal { transition-delay: .08s; }
  .js .card-grid li:nth-child(3) .reveal { transition-delay: .16s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
