/* Gucci Trust. Colours are the WordPress theme's (The7 options): navy
   #004281, indigo #37395e, plum #54426a, gold #d4af37. Gold is a fill and an
   accent, never text on white (2.1:1); text on gold is indigo (5.5:1).
   Contrast is measured by scripts/browser-check.js, not judged by eye.

   Layout: every background is full-bleed. Content sits in .container, which
   grows with the window up to 1840px, and on screens of 2200px and more the
   type scales up a step so a 2560px monitor reads like a 1920px one. The old theme capped everything at
   1300px, which left a third of a 1920px screen empty. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-normal.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;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/roboto-latin-wght-italic.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;
}

:root {
  --navy: #004281;
  --navy-deep: #00325f;
  --indigo: #37395e;
  --indigo-deep: #26284a;
  --plum: #54426a;
  --gold: #d4af37;
  --gold-light: #e8c95c;
  --ink: #1f2238;
  --body: #383b4f;
  --muted: #555869;
  --on-dark: #ffffff;
  --on-dark-soft: #dfe0ec;
  --mist: #f3f3f9;
  --line: #d9dae6;
  --gutter: clamp(16px, 4vw, 72px);
  --max: 1840px;
  --sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --focus: var(--navy);
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.16), 0 6px 6px rgba(0, 0, 0, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
@media (min-width: 2200px) { html { font-size: 112.5%; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  /* Header, main, footer in a column with main taking the slack: the footer
     sits at the bottom of the window on short pages instead of mid-screen. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font: 400 clamp(1rem, 0.96rem + 0.18vw, 1.125rem)/1.65 var(--sans);
  color: var(--body);
  background: #fff;
}
main { flex: 1 0 auto; }
img, video { max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--text { width: min(100% - 2 * var(--gutter), 860px); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons and links that look like controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font: 600 0.9375rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95em 1.6em; border: 2px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--gold { background: var(--gold); color: var(--indigo-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--indigo-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--small { padding: 0.5em 0.95em; font-size: 0.8125rem; letter-spacing: 0.04em; }
.btn--large { padding: 1em 2.2em; font-size: 1rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; color: var(--navy);
}
.link-arrow .icon { transition: transform 0.2s; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Top bar and header */
.topbar {
  background: linear-gradient(rgba(55, 57, 94, 0.94), rgba(55, 57, 94, 0.94)), url("../images/herald.png") repeat;
  color: var(--on-dark); font-size: 0.8125rem;
  --focus: #fff;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding-block: 5px; }
.topbar__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.topbar__contact li, .topbar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact a { color: var(--on-dark); text-decoration: none; }
.topbar__contact a:hover { text-decoration: underline; }
.topbar .icon { color: var(--gold); width: 15px; height: 15px; }

.site-header { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(31, 34, 56, 0.06); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 76px; }
.site-logo { display: block; flex: none; }
.site-logo img { display: block; width: 268px; height: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(4px, 1.2vw, 18px); margin: 0; padding: 0; list-style: none; }
.site-nav a {
  position: relative; display: block; padding: 12px 10px;
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.site-nav a::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after { transform: scaleX(1); }
/* Current page: navy text and a navy bar, which meets 3:1 against white; the
   gold hover bar is decoration on top of the colour change. */
.site-nav a[aria-current] { color: var(--navy); }
.site-nav a[aria-current]::after { background: var(--navy); transform: scaleX(1); }

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; }
}
@media (max-width: 899px) {
  .site-header__inner { flex-direction: column; justify-content: center; padding-block: 12px 4px; gap: 4px; }
  .site-logo img { width: 230px; }
  .site-nav a { padding: 10px 8px; font-size: 0.8125rem; letter-spacing: 0.06em; }
  .site-nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 720px) {
  .topbar__city { display: none !important; }
  .topbar__contact { gap: 4px 14px; }
  .topbar__contact a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .topbar__contact a { padding: 8px 4px; }
  .topbar .icon { width: 18px; height: 18px; }
}

/* Sections */
.section { padding-block: clamp(48px, 6.5vw, 104px); }
.section--white, .section--light { background: #fff; }
.section--light .section-title, .section--white .section-title { color: var(--navy); }
.section--navy { background: var(--navy); }
.section--indigo { background: var(--indigo); }
.section--pattern { background: #f3f3fd url("../images/herald.png") repeat; }
.section--pattern-dark { background: linear-gradient(rgba(55, 57, 94, 0.96), rgba(55, 57, 94, 0.96)), url("../images/herald.png") repeat; }
.section--navy, .section--indigo, .section--pattern-dark { color: var(--on-dark); --focus: #fff; }
.section--navy h2, .section--indigo h2, .section--navy h3, .section--pattern-dark h2 { color: var(--on-dark); }
.section--navy a:not(.btn), .section--indigo a:not(.btn) { color: var(--on-dark); }

.section-title {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 clamp(18px, 2.4vw, 32px);
}
.section-title > span { flex: 0 1 auto; }
.section-title::after { content: ''; flex: 1 1 40px; min-width: 40px; height: 2px; background: currentColor; }
.section-title .icon { width: 1.15em; height: 1.15em; color: var(--navy); }
.section--navy .section-title .icon, .section--indigo .section-title .icon, .card .section-title .icon { color: var(--gold); }
.section--navy .section-title::after, .section--indigo .section-title::after, .card .section-title::after { background: var(--gold); }

.section-body { max-width: none; }
.section-body > :last-child { margin-bottom: 0; }
/* Two newspaper columns once both can be at least 30rem wide: the text fills
   the width of a large screen while each line stays a comfortable length. */
.section-body--columns { columns: 2 30rem; column-gap: clamp(32px, 5vw, 96px); }
.section-body--columns li { break-inside: avoid; }
.section--light .section-body { color: var(--body); }

.panel { background: rgba(255, 255, 255, 0.95); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.panel .section-title { color: var(--navy); }

.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.55em; }
.ticks li::before {
  content: ''; position: absolute; left: 3px; top: 0.62em; width: 8px; height: 8px;
  background: var(--navy); transform: rotate(45deg);
}
.section--navy .ticks li::before, .section--indigo .ticks li::before { background: var(--gold); }
.ticks__detail { display: block; margin-top: 0.25em; font-style: italic; }
.ticks--compact { font-size: 0.96em; }
.ticks--compact li { margin-bottom: 0.4em; }
.ticks--large { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); columns: 2 32rem; column-gap: clamp(32px, 5vw, 96px); }
.ticks--large li { break-inside: avoid; }
.notes { list-style: none; margin: 1.5em 0 0; padding: 1em 0 0; border-top: 1px solid var(--line); font-size: 0.95em; color: var(--muted); }
.notes li { position: relative; padding-left: 26px; margin-bottom: 0.4em; break-inside: avoid; }
.notes li::before { content: '*'; position: absolute; left: 4px; top: 0; font-weight: 700; color: var(--navy); }
.lead { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); font-weight: 600; color: var(--ink); }

/* Sliders: every slide sits in the same grid cell, so the slider is as tall
   as its tallest slide and text can never spill out of it on a phone. */
.slider { position: relative; color: var(--on-dark); background: var(--indigo-deep); --focus: #fff; }
.slider__slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; display: flex; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease; }
.slide__image, .slide__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__image img { object-fit: cover; }
.slide__body { position: relative; z-index: 1; display: flex; align-items: flex-end; padding-block: clamp(32px, 6vw, 96px) clamp(96px, 9vw, 132px); }
.slide__panel {
  max-width: 680px; padding: clamp(20px, 3vw, 40px);
  background: rgba(31, 33, 60, 0.82); border-left: 4px solid var(--gold);
}
.slide__heading { color: var(--on-dark); font-size: clamp(1.5rem, 1rem + 2vw, 3rem); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.45em; }
.slide__text { margin: 0; font-size: clamp(1rem, 0.95rem + 0.35vw, 1.3rem); line-height: 1.6; }
/* The hero fills the first screen below the header, whatever its height. */
.slider--hero .slide { min-height: max(480px, calc(100vh - 116px)); min-height: max(480px, calc(100svh - 116px)); }
.slider--band .slide { min-height: clamp(420px, 52vw, 780px); }
.slider--band .slide__body { align-items: center; justify-content: center; }
.slider--band .slide__panel { max-width: 860px; text-align: center; border-left: 0; border-top: 4px solid var(--gold); }

.slider__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(20px, 3vw, 40px); display: flex; align-items: center; gap: 10px; }
.slider__controls[hidden] { display: none; }
.slider--band .slider__controls { justify-content: center; }
.slider__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 50%;
  background: rgba(20, 22, 42, 0.72); color: #fff; cursor: pointer;
}
.slider__btn:hover { background: rgba(20, 22, 42, 0.92); border-color: var(--gold); }
.slider__btn .icon { width: 20px; height: 20px; }
[data-slider-toggle] .icon--play, .is-paused [data-slider-toggle] .icon--pause { display: none; }
.is-paused [data-slider-toggle] .icon--play { display: block; }
.slider__dots { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.slider__dot { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider__dot::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: rgba(20, 22, 42, 0.6); }
.slider__dot[aria-current]::before { background: var(--gold); border-color: var(--gold); }

/* Page banners */
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(260px, 34vw, 620px); color: var(--on-dark); background: var(--indigo-deep); --focus: #fff; }
.banner__image, .banner__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner__image img { object-fit: cover; }
.banner__body { position: relative; z-index: 1; display: grid; gap: 20px 48px; align-items: end; padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 56px); }
.banner__heading { justify-self: start; padding: clamp(14px, 1.6vw, 22px) clamp(18px, 2.2vw, 32px); background: rgba(31, 33, 60, 0.82); border-left: 4px solid var(--gold); }
.banner__title { margin: 0; color: var(--on-dark); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.5rem); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; }
.breadcrumb { margin: 0 0 0.4em; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.banner .breadcrumb a { color: var(--on-dark); }
.banner__intro { margin: 0; max-width: 620px; padding: clamp(18px, 2.2vw, 30px); background: rgba(255, 255, 255, 0.95); color: var(--ink); border-top: 4px solid var(--navy); }
@media (min-width: 1100px) {
  .banner--intro .banner__body { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
  .banner--intro .banner__intro { justify-self: end; }
}

/* Home cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2.5vw, 36px); }
.card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 44px); background: var(--navy); color: var(--on-dark); border-top: 4px solid var(--gold); --focus: #fff; }
.card .section-title { color: var(--on-dark); }
.card p { flex: 1; }
.card .link-arrow { color: var(--on-dark); align-self: flex-start; }

/* Logo rows */
.logos { padding-block: clamp(36px, 4.5vw, 72px); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px clamp(24px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
.logo-row a { display: block; padding: 6px; }
.logo-row img { display: block; width: auto; height: clamp(40px, 3.6vw, 64px); }
.logo-row--large { justify-content: space-around; }
.logo-row--large img { height: clamp(52px, 5.5vw, 96px); }
@media (max-width: 640px) {
  .logo-row { justify-content: center; }
}

/* Projects */
.project-grid { display: grid; gap: clamp(20px, 2.2vw, 32px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card { display: flex; flex-direction: column; background: #fff; color: var(--body); box-shadow: var(--shadow); scroll-margin-top: 110px; --focus: var(--navy); }
.project-card__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2vw, 28px) clamp(20px, 2.2vw, 32px) clamp(24px, 2.4vw, 32px); }
/* Doubled class: .section--pattern-dark h2 would otherwise paint it white on the white card. */
.project-card .project-card__title { color: var(--indigo); font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem); letter-spacing: 0.03em; text-transform: uppercase; padding-bottom: 0.6em; border-bottom: 2px solid var(--gold); }
.project-card__lead { font-weight: 700; color: var(--ink); margin-bottom: 0.6em; }
.project-card .link-arrow { margin-top: auto; padding-top: 0.6em; align-self: flex-start; }

/* Featured projects (Services) */
.features { display: grid; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature__title { color: var(--gold); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.5rem); letter-spacing: 0.04em; text-transform: uppercase; }
.feature--image { background: var(--indigo-deep); box-shadow: var(--shadow); }
.feature__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature--image .feature__body { padding: clamp(20px, 2.4vw, 32px); }
.feature__body p:last-child { margin-bottom: 0; }

/* Video (Pre IPO) - a link to YouTube until clicked, then the player */
.video { position: relative; max-width: 1100px; margin-inline: auto; aspect-ratio: 16 / 9; background: var(--indigo); box-shadow: var(--shadow); }
.video__facade {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(rgba(38, 40, 74, 0.9), rgba(38, 40, 74, 0.9)), url("../images/herald.png") repeat;
  color: var(--on-dark); text-decoration: none; text-align: center; padding: 16px; --focus: #fff;
}
.video__play { display: grid; place-items: center; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%; background: var(--gold); color: var(--indigo-deep); transition: transform 0.2s; }
.video__play .icon { width: 44%; height: 44%; margin-left: 6%; }
.video__facade:hover .video__play { transform: scale(1.06); }
.video__title { font-size: clamp(1.2rem, 1rem + 1vw, 2rem); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.video__note { font-size: 0.9375rem; color: var(--on-dark-soft); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* News */
.news-grid { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.news-card { background: #fff; box-shadow: var(--shadow); }
.news-card__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card__body { padding: 24px 28px; }
.news-card__title a { color: var(--indigo); text-decoration: none; }
.news-card__title a:hover { text-decoration: underline; }
.post-date { color: var(--muted); font-size: 0.9375rem; margin-bottom: 0.4em; }
.empty-state { max-width: 720px; margin-inline: auto; text-align: center; font-size: 1.125rem; }
.page-title { color: var(--indigo); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); letter-spacing: 0.03em; text-transform: uppercase; }
.prose { max-width: 72ch; }
.post-image img { display: block; width: 100%; margin-bottom: 1.5em; }
.main--message { display: flex; flex-direction: column; }
.main--message .section { flex: 1; display: flex; align-items: center; }

/* Contacts: the photo fills everything between header and footer. */
.page-contacts .main { display: flex; flex-direction: column; }
.contact { position: relative; flex: 1; display: flex; align-items: center; background: var(--indigo-deep); }
.contact__bg, .contact__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__bg img { object-fit: cover; }
.contact__inner { position: relative; z-index: 1; display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: clamp(32px, 6vw, 96px); }
@media (min-width: 1000px) { .contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
@media (min-width: 1600px) { .contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.panel-dark {
  background: linear-gradient(rgba(38, 40, 74, 0.93), rgba(38, 40, 74, 0.93)), url("../images/herald.png") repeat;
  border: 2px solid var(--gold); border-radius: 4px; color: var(--on-dark);
  padding: clamp(24px, 3vw, 44px); --focus: #fff;
}
.contact__title { color: var(--on-dark); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); letter-spacing: 0.05em; text-transform: uppercase; }
.contact__intro { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--on-dark-soft); }
.contact-list { margin: 1.6em 0 0; padding: 0; list-style: none; display: grid; gap: 16px; font-size: 1.0625rem; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon { color: var(--gold); width: 22px; height: 22px; }
.contact-list a { color: var(--on-dark); }
.contact-form__title { color: var(--on-dark); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem); letter-spacing: 0.04em; text-transform: uppercase; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); }
.field .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--on-dark-soft); }
.field input, .field textarea {
  display: block; width: 100%; padding: 12px 14px;
  font: inherit; color: var(--on-dark); background: rgba(10, 12, 30, 0.35);
  border: 2px solid var(--gold); border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 9em; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #ff9b8f; }
.field-error { margin: 6px 0 0; color: #ffc4bc; font-size: 0.9375rem; font-weight: 500; }
.form-status-region:focus { outline: none; }
.form-status { margin: 0 0 18px; padding: 12px 16px; border-radius: 4px; font-weight: 500; }
.form-status--success { background: #e6f4ea; color: #14532d; }
.form-status--error { background: #fdecea; color: #7f1d1d; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-note { margin: 16px 0 0; font-size: 0.8125rem; color: var(--on-dark-soft); }
.recaptcha-note a { color: var(--on-dark); }
/* Hiding the badge is allowed when the notice above is shown (Google's FAQ). */
.grecaptcha-badge { visibility: hidden; }
.contact-form.is-submitting { cursor: progress; }

/* Footer */
.site-footer { background: var(--indigo); color: var(--on-dark); --focus: #fff; }
.site-footer__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(28px, 3.5vw, 48px); }
.footer-logo img { display: block; width: 224px; height: auto; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: block; padding: 8px 10px; color: var(--on-dark-soft); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--gold); }
.bottom-bar { background: var(--plum); font-size: 0.8125rem; }
.bottom-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 14px; }
.copyright { margin: 0; }
.bottom-bar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.bottom-bar__contact li, .bottom-bar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.bottom-bar__contact a { color: var(--on-dark); text-decoration: none; }
.bottom-bar__contact a:hover { text-decoration: underline; }
.bottom-bar .icon { color: var(--gold); width: 15px; height: 15px; }
@media (max-width: 640px) {
  .site-footer__main, .bottom-bar__inner { justify-content: center; text-align: center; }
  .footer-nav ul, .bottom-bar__contact { justify-content: center; }
}

/* Splash (the old front page): one screen, video sky behind the Puente
   Nuevo cut-out. Without the video (phones, reduced motion, no JS) it is the
   full photograph, which shows the same view. */
.page-welcome { background: #4f86c6; }
.splash { position: relative; flex: 1; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; justify-content: center; color: #fff; --focus: #fff; }
.splash__photo, .splash__photo img, .splash__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash__photo img, .splash__video { object-fit: cover; object-position: 50% 100%; }
/* On a tall screen the crop would centre on the cliff; the bridge is right of centre. */
@media (max-aspect-ratio: 1/1) { .splash__photo img { object-position: 74% 100%; } }
.splash__video, .splash__bridge { opacity: 0; transition: opacity 1.4s ease; }
.splash__bridge { position: absolute; left: 0; right: 0; bottom: 0; }
.splash__bridge img { display: block; width: 100%; height: auto; }
.splash.is-playing .splash__video, .splash.is-playing .splash__bridge { opacity: 1; }
.splash__content {
  position: relative; z-index: 2; align-self: flex-start;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: clamp(48px, 13vh, 180px); padding: 24px 40px 32px;
  background: radial-gradient(closest-side, rgba(22, 26, 64, 0.62), rgba(22, 26, 64, 0.38) 60%, rgba(22, 26, 64, 0));
}
.splash__emblem { display: block; margin-bottom: 18px; }
.splash__emblem img { display: block; width: clamp(110px, 11vw, 160px); height: auto; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transition: transform 1.2s ease; }
.splash__emblem:hover img { transform: scale(1.08); }
.splash__title { margin: 0; color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.splash__tagline { margin: 0.3em 0 1.4em; font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.5rem); letter-spacing: 0.06em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }

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