/* ==========================================================================
   TNC Uniform & Design - shared stylesheet
   Rebuilt from the live Duda site (www.tncuniformanddesign.com), 2026-09-13.
   Every token below was measured off the live pages, not guessed.
   ========================================================================== */

/* --- Fonts ----------------------------------------------------------------
   Live used Gotham Light (body) and Gotham Medium (headings), a commercial
   Hoefler face the client does not license. Montserrat (SIL OFL) is the
   replacement, and it is a near metric match measured on the live page with
   Gotham loaded:
     body   Gotham Light 300 16px  800.6px  vs Montserrat 300  801.3px  (+0.1%)
     sub    Gotham Medium 400 25px 701.4px  vs Montserrat 500  705.5px  (+0.6%)
     h1/h2  Gotham Medium 700 45px 1262.6px vs Montserrat 600 1289.9px (+2.2%)
   One variable woff2 (35KB) covers every weight. Headings run at 600 with the
   2.2% taken back in --h-adjust so no line break moves.                    */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-var.woff2') format('woff2-variations'),
       url('/fonts/montserrat-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Fallback metrics keep CLS at 0 while the web font loads. */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial');
  size-adjust: 112%;
  ascent-override: 88%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root {
  /* Palette: Duda theme --color_1..7 from the live site.
     --color_1 navy, --color_2 coral, --color_3 warm gray, --color_4 ink,
     --color_5 ink-2, --color_6 paper, --color_7 band gray.               */
  --navy: #032d4d;         /* 14.1:1 on white */
  --coral: #d77e6a;        /* buttons, decorative. 2.97:1 with white: NOT for text on white */
  --coral-band: #d3765f;   /* the "See Who We Work With" band: white headings 3.22:1 (large text AA) */
  --coral-text: #c2634b;   /* coral subheads at 25px: 4.05:1 (large text AA). Live #d77e6a was 2.97:1 and failed */
  --coral-link: #b9593f;   /* coral at body size: 4.6:1 */
  --gray: #908b8e;         /* 3.35:1: decorative or 24px+ only */
  --ink: #303030;          /* body copy, 13.2:1 */
  --ink-2: #5a5959;        /* 6.98:1 */
  --paper: #fafafa;
  --band: #e9e9e9;         /* form band on /contact-us */
  --footer: #f5f5f5;
  --white: #fff;
  /* Button labels: live used #463939 on coral (3.72:1, fails AA at 16px).
     Navy on coral is 4.76:1 and is the brand's own pairing.              */
  --btn-text: var(--navy);

  --font: 'Montserrat', 'Montserrat Fallback', Arial, sans-serif;
  --h-adjust: 0.978;

  --container: 1200px;     /* Duda's .dmRespColsWrapper measured 1200 at 1440 */
  --gutter: 24px;
  --header-h: 100px;       /* content starts at y=90..100 on every live page */
  --radius: 5px;           /* live button radius */
  --shadow-sm: 0 2px 6px rgba(3, 45, 77, .08);
  --shadow-md: 0 8px 24px rgba(3, 45, 77, .12);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;              /* live: 28.8px on 16px */
  color: var(--ink);
  background: var(--white);
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.2; color: var(--navy); }
h1 { font-size: calc(55px * var(--h-adjust)); }
h2 { font-size: calc(45px * var(--h-adjust)); }
h3 { font-size: calc(30px * var(--h-adjust)); }
h4 { font-size: 25px; font-weight: 500; color: var(--coral-text); line-height: 1.3; }
/* The coral line under a heading is a TAGLINE, not a section: Duda marked it
   up as an h4, which skipped h3 in the outline on twelve pages. It renders as
   a paragraph with the same look. */
.subhead { font-family: var(--font); font-size: 25px; font-weight: 500;
           color: var(--coral-text); line-height: 1.3; margin: -.3em 0 .6em; }
h2 + h4, h3 + h4, h1 + .subhead, h2 + .subhead, h3 + .subhead { margin-top: -.3em; }
.section--photo .subhead, .section--navy .subhead { color: var(--coral); }
.section--coral .subhead { color: var(--white); }
@media (max-width: 900px) { .subhead { font-size: 21px; } }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
a { color: var(--navy); }

/* Content links: coral, AA, underline drawn on hover. `:not(.btn)` is load
   bearing: without it these rules outrank .btn and repaint every button
   inside a <p>. Scoped to main so the footer keeps its own colors.       */
main p a:not(.btn), main li a:not(.btn) {
  color: var(--coral-link);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
main p a:not(.btn):hover, main li a:not(.btn):hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  main p a:not(.btn), main li a:not(.btn) { text-decoration-color: currentColor; }
}

/* --- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--band { background: var(--band); }
.section--navy { background: var(--navy); color: var(--paper); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--paper); }
.section--navy h4 { color: var(--coral); }
.section--coral { background: var(--coral-band); color: var(--white); }
.section--coral h2, .section--coral h3 { color: var(--white); }
.section--center { text-align: center; }
.section--center .btn-row { justify-content: center; }
/* Adjacent rendered rows share one rhythm: a plain row after a plain row
   loses its top. A row after a BAND (photo, coral, navy, gray) keeps it, or
   the home blog grid sits flush under the tie photo. */
.section:not(.section--band):not(.section--navy):not(.section--coral):not(.section--photo):not(.hero)
  + .section:not(.section--band):not(.section--navy):not(.section--coral):not(.section--photo) { padding-top: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--wide { grid-template-columns: 1.4fr 1fr; }
.split--narrow { grid-template-columns: 1fr 1.4fr; }
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--btn-text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #dd8b78; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0a4270; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* --- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--paper);
  height: var(--header-h);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 93px; height: 74px; }         /* measured: 93x74 on live */
.nav { flex: 1 1 auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.nav__item { position: relative; }
.nav__item { display: flex; align-items: center; }
.nav .header-cta { display: none; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 14px;
  color: var(--paper);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;                                 /* live 20px letter-spaced; 17 fits 8 items in 1200 */
  letter-spacing: .3px;
  text-decoration: none;
  background: none; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav__link:hover, .nav__toggle:hover, .nav__item.is-open > .nav__toggle { border-bottom-color: var(--coral); }
.nav__link.is-active, .nav__toggle.is-active { border-bottom-color: var(--coral); font-weight: 500; }
.nav__item > .nav__link + .nav__toggle { padding-left: 2px; margin-left: -10px; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item.is-open > .nav__toggle svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 0;
  min-width: 250px;
  margin: 0; padding: 8px 0; list-style: none;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.is-open > .nav__sub, .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.nav__sub a { display: block; padding: 9px 18px; color: var(--navy); font-weight: 400; font-size: 15px; text-decoration: none; }
.nav__sub a:hover { background: var(--band); }
.header-cta { flex: 0 0 auto; }
/* The LOGIN pill: live shipped it as a PNG; rebuilt as text so it reads. */
.login-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border: 2px solid var(--paper); border-radius: 999px;
  color: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .5px;
  text-decoration: none;
}
.login-btn svg { width: 14px; height: 14px; }
.login-btn:hover { background: var(--paper); color: var(--navy); }
.header-phone { display: none; color: var(--paper); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--paper); }
.burger svg { width: 28px; height: 28px; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid; place-items: center;
  min-height: 578px;                                /* live banner rows: 578 */
  padding: 64px 0;
  color: var(--paper);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.hero--tall { min-height: 660px; }
.hero--short { min-height: 378px; }               /* photo title bands on /about etc. */
.hero--short .hero__media img { object-position: 50% 50%; }
.hero__media, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__media img, .hero__media video { position: absolute; }
.hero__media--pos-top img, .hero__media--pos-top video { object-position: 50% 20%; }
/* Live had NO scrim; its white hero text sat straight on a light photo and
   was unreadable on mobile. A soft gradient keeps the photo and the copy. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 45, 77, .25), rgba(3, 45, 77, .45));
}
.hero--photo::after { background: rgba(3, 45, 77, .35); }
.hero h1 { color: var(--paper); margin-bottom: .2em; }
.hero .hero__sub { font-size: 25px; font-weight: 400; color: var(--paper); margin: 0 auto .6em; max-width: 900px; line-height: 1.35; }
.hero .hero__logo { width: 180px; height: auto; margin: 0 auto 8px; }
.hero .btn-row { justify-content: center; }
.hero__inner { position: relative; max-width: 1000px; }

/* Full-bleed photo band rows (Versatility in Production) */
.section--photo { position: relative; color: var(--paper); text-align: center; isolation: isolate; overflow: hidden; padding: 96px 0; }
.section--photo h2, .section--photo h3 { color: var(--paper); }
.section--photo h4 { color: var(--coral); }
.section--photo .section__media, .section--photo .section__media img, .section--photo .section__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.section--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 20, .62); }
.section--photo .btn-row { justify-content: center; }

/* --- Media ---------------------------------------------------------------- */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.media img, .media video { width: 100%; height: auto; }
.media--cover img { aspect-ratio: 542 / 450; object-fit: cover; }   /* live photo boxes: 542x450 */
.media--video video { width: 100%; height: auto; background: #000; }

/* --- Photo card grids (Duda photoGallery with captions) ------------------- */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.photo-card {
  position: relative; display: block;
  aspect-ratio: 407 / 550;                          /* live: 406x550 */
  border-radius: var(--radius); overflow: hidden;
  color: var(--white); text-decoration: none; text-align: center;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.photo-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.photo-card h3 { color: var(--white); font-size: 26px; font-weight: 400; margin-bottom: .3em; }
.photo-card p { font-size: 14px; margin: 0; }
.photo-card--square { aspect-ratio: 1; }
.photo-card--dark::after { background: rgba(0, 0, 0, .6); }

/* Plain photo grids (look book, logos) */
.photo-grid { display: grid; gap: 24px; }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.photo-grid > a, .photo-grid > figure { margin: 0; display: block; border-radius: var(--radius); overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 373 / 427; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 32px; align-items: center; }
.logo-grid img { width: 100%; height: 100px; object-fit: contain; }
/* The client logos are WHITE artwork drawn for the coral band; never tile
   them on white, half of them disappear. */

/* Lightbox for the look book */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3, 45, 77, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: var(--radius); }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 12px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 32px; height: 32px; }

/* --- Cards ---------------------------------------------------------------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; }
.value { padding-right: 24px; }
.value h4 { color: var(--navy); font-weight: 600; font-size: 20px; }

/* --- Testimonials --------------------------------------------------------- */
.testimonials { position: relative; }
.testimonial-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: left;
  font-size: 15px;
}
.testimonial p { margin: 0 0 12px; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--navy); }
.testimonial small { display: block; color: var(--ink-2); font-size: 13px; }
.testimonials .btn-row { margin-top: 32px; }
.testimonial.is-hidden { display: none; }

/* --- Contact strip -------------------------------------------------------- */
.contact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.contact-strip a { color: var(--navy); text-decoration: none; font-weight: 400; }
.contact-strip a:hover { color: var(--coral-link); }
.contact-strip .ui-icon { width: 26px; height: 26px; color: var(--white); }
.contact-strip .icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--coral); margin-bottom: 12px; }

/* --- Forms ---------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd4d9;
  border-radius: var(--radius);
  font: inherit; font-weight: 400;
  color: var(--ink);
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-2); }
.form-success, .form-error { display: none; padding: 16px 20px; border-radius: var(--radius); margin-top: 16px; }
.form-success.show, .form-error.show { display: block; }
.form-success { background: #e8f3ec; color: #1b5e34; }
.form-error { background: #fbe9e5; color: #8a2e1c; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.consent input { margin-top: 3px; }

/* --- Blog ----------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { font-size: 18px; font-weight: 500; line-height: 1.35; margin: 0; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--coral-link); }
.post-card__meta { font-size: 13px; color: var(--ink-2); }
.post-card__excerpt { font-size: 14px; color: var(--ink-2); margin: 0; }
.post-card__more { font-weight: 500; color: var(--coral-link); text-decoration: none; font-size: 14px; }
.blog-post-hero { background: var(--navy); color: var(--paper); padding: 64px 0; text-align: center; }
.blog-post-hero h1 { color: var(--paper); font-size: 40px; max-width: 900px; margin: 0 auto .4em; }
.blog-post-hero .post-card__meta { color: rgba(250, 250, 250, .8); }
.blog-post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.blog-article { max-width: 760px; }
.blog-article img { border-radius: var(--radius); margin: 24px 0; }
.blog-article h2 { font-size: 30px; margin-top: 1.4em; }
.blog-article h3 { font-size: 22px; margin-top: 1.2em; }
.blog-article ul { margin-bottom: 1.2em; }
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.blog-sidebar .card h3 { font-size: 20px; }
.blog-sidebar ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar li { margin: 0 0 10px; }
.blog-sidebar li a { color: var(--navy); text-decoration: none; font-weight: 400; font-size: 15px; }
.blog-sidebar li a:hover { color: var(--coral-link); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--footer); color: var(--ink); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.site-footer h3 { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: .6em; }
.site-footer .logo img { width: 140px; height: auto; margin-bottom: 16px; }
.footer-about { font-size: 15px; max-width: 320px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-contact li { margin-bottom: 6px; }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-contact a:hover { color: var(--coral-link); }
.socials { display: flex; gap: 12px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--white); }
.socials a:hover { background: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 400; }
.footer-links a:hover, .footer-links a.is-active { color: var(--coral-link); }
.footer-links ul { list-style: none; padding-left: 16px; margin: 6px 0 0; }
.footer-links ul a { font-size: 14px; color: var(--ink-2); }
.footer-bottom { border-top: 1px solid #333; margin-top: 48px; padding-top: 20px; text-align: center; font-size: 14px; color: var(--ink-2); }
.footer-bottom a { color: var(--coral-link); text-decoration: none; }

/* --- Utilities ------------------------------------------------------------ */
.ui-icon { width: 20px; height: 20px; vertical-align: -4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* --- Motion --------------------------------------------------------------- */
/* Hidden ONLY via a class JS adds, so no-JS and reduced-motion see everything. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link, .nav__toggle { font-size: 15px; padding: 10px 10px; }
  h1 { font-size: 44px; } h2 { font-size: 36px; }
}
@media (max-width: 900px) {
  :root { --header-h: 100px; }
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(360px, 100%); background: var(--navy); transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 16px 0 40px; z-index: 60; }
  .nav.is-open { transform: none; box-shadow: -8px 0 24px rgba(0, 0, 0, .3); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; }
  .nav__link { flex: 1 1 auto; padding: 14px 24px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__item > .nav__link + .nav__toggle { margin-left: 0; padding: 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__sub { flex: 1 1 100%; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0, 0, 0, .2); box-shadow: none; border-radius: 0; display: none; padding: 4px 0; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub:not(.is-open) { display: none; }
  .nav__item.is-open:hover > .nav__sub { display: block; }
  .nav__sub a { color: var(--paper); padding: 10px 40px; }
  .nav__sub a:hover { background: rgba(255, 255, 255, .08); }
  .site-header .container { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
  .header-phone { display: inline-flex; }
  .header-phone svg { width: 22px; height: 22px; }
  .logo { justify-content: center; }
  .logo img { width: 84px; height: 67px; }
  .header-cta { display: none; }
  .nav .header-cta { display: block; padding: 20px 24px; }
  .burger { display: inline-flex; justify-self: end; }
  .split, .split--wide, .split--narrow, .grid--2, .grid--3, .grid--4, .photo-cards, .testimonial-track, .footer-grid, .blog-post-wrap, .post-grid { grid-template-columns: 1fr; }
  .split > .media { order: -1; }
  .photo-grid--3, .photo-grid--4, .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { min-height: 480px; }
  .hero__media video { display: none; }   /* poster only on phones, as live did with its mobile image */
  .hero--short { min-height: 300px; }
  h1 { font-size: 40px; } h2 { font-size: 32px; } h3 { font-size: 26px; } h4 { font-size: 21px; }
  .hero .hero__sub { font-size: 20px; }
  .blog-sidebar { position: static; }
  .blog-post-hero h1 { font-size: 30px; }
}
@media (max-width: 480px) {
  .photo-grid--3, .photo-grid--4, .logo-grid, .contact-strip { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 34px; } h2 { font-size: 28px; }
  .btn { width: 100%; }
  .section--photo { padding: 64px 0; }
}
