@import url('../fonts/fonts.css');

/* ==========================================================================
   Patel Transport Agency India Pvt Ltd
   --------------------------------------------------------------------------
   Readability rules this file:
     · nothing on the page is smaller than 16px
     · body copy is 18px, long-form prose is 20px
     · measure is capped around 62 characters
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Brand. Sampled from the supplied logo. Never alter these two. */
  --indigo:       #2E3092;
  --green:        #00A650;

  --ink:          #0E1035;
  --indigo-lift:  #4A4DBF;
  --indigo-soft:  #A9ACE4;
  --green-cta:    #00803D;   /* white text needs this or darker; #00A650 is 3.2:1 */
  --green-deep:   #00703A;
  --green-wash:   #E0F1E8;

  --paper:        #EDEEE9;
  --paper-hi:     #F7F7F4;
  --white:        #FFFFFF;

  --graphite:     #2B2D40;
  --steel:        #55576B;
  --on-ink:       #D5D7EC;
  --on-ink-dim:   #A9ACC9;

  --rule:         #D3D4CC;
  --rule-soft:    #E2E3DC;
  --rule-ink:     rgba(255,255,255,.16);

  --sans:  'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;

  --wrap:   80rem;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --band-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Radius. Restrained on purpose: this is a freight company, not a consumer
     app. Softened corners, not bubbles. */
  --r-sm: 8px;    /* buttons, chips, the menu button */
  --r-md: 12px;   /* photography frames */
  --r-lg: 16px;   /* the boxed records: docket, cells, contact panel */

  /* Elevation. Shadows are tinted with the ink indigo rather than black, and
     layered — a tight contact shadow plus a wide ambient one, the way a real
     object sits on a surface. Black shadows read as generic. */
  --shadow-1:
    0 1px 2px rgba(14,16,53,.05),
    0 2px 6px -1px rgba(14,16,53,.06);
  --shadow-2:
    0 1px 2px rgba(14,16,53,.05),
    0 6px 14px -3px rgba(14,16,53,.08),
    0 16px 32px -12px rgba(14,16,53,.10);
  --shadow-3:
    0 2px 4px rgba(14,16,53,.06),
    0 12px 24px -6px rgba(14,16,53,.11),
    0 28px 56px -20px rgba(14,16,53,.15);

  --shadow-btn:
    0 1px 2px rgba(14,16,53,.10),
    0 3px 8px -2px rgba(14,16,53,.13);
  --shadow-btn-hover:
    0 2px 4px rgba(14,16,53,.12),
    0 8px 18px -4px rgba(14,16,53,.19);

  /* On the ink ground a dark shadow is invisible, so elevation is shown with
     a hairline of light along the top edge instead. */
  --lift-ink: inset 0 1px 0 rgba(255,255,255,.08);

  --masthead-h: 5.5rem;

  --speed: 200ms;
  --ease:  cubic-bezier(.22,.61,.36,1);
}

/* --- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1.125rem;          /* 18px */
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 600; color: var(--indigo); }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.hero :focus-visible,
.pagehead :focus-visible,
.band-ink :focus-visible,
.footer :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--indigo); color: #fff;
  padding: 1rem 1.5rem; font-weight: 500; text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* --- 3. Typography ------------------------------------------------------ */
.display, .h1, .h2, .h3 {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--indigo);
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 1.6rem + 4vw, 5rem);
  font-variation-settings: 'wdth' 110;
  line-height: 1.02;
  letter-spacing: -.03em;
}
/* The headline breaks at its own comma rather than wherever the box runs out.
   Below this width the spans go back to wrapping naturally. */
@media (min-width: 56rem) {
  .display > span { display: block; }
}

.h1 {
  font-size: clamp(2.5rem, 1.85rem + 2.9vw, 4.25rem);
  font-variation-settings: 'wdth' 107;
  line-height: 1.04;
  letter-spacing: -.026em;
  max-width: 18ch;
}

.h2 {
  font-size: clamp(2rem, 1.6rem + 1.9vw, 3.15rem);
  font-variation-settings: 'wdth' 104;
  line-height: 1.1;
  letter-spacing: -.021em;
  max-width: 20ch;
}

.h3 {
  font-size: clamp(1.375rem, 1.24rem + .55vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -.014em;
}

/* Standfirst under a heading. */
.lede {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.18rem + .85vw, 1.75rem);
  font-weight: 350;
  line-height: 1.55;
  color: var(--graphite);
  max-width: 34ch;
  margin: 0;
}

/* Running prose. */
.prose {
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 1.12rem + .3vw, 1.3125rem);
  font-weight: 380;
  line-height: 1.72;
  max-width: 58ch;
  color: var(--graphite);
}
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.lede-gap  { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.lede-wide { max-width: 44ch; }

/* Supporting sans copy. Never below 16px. */
.intro {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--steel);
  max-width: 50ch;
  margin: 1.5rem 0 0;
}

.figure {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  color: var(--indigo);
}

/* --- on dark ground ----------------------------------------------------- */
.on-ink { color: var(--on-ink); }
.on-ink .display,
.on-ink .h1,
.on-ink .h2,
.on-ink .h3      { color: #fff; }
.on-ink .lede,
.on-ink .prose   { color: var(--on-ink); }
.on-ink .intro   { color: var(--on-ink-dim); }
.on-ink .figure  { color: #fff; }
.on-ink strong   { color: #fff; }

/* --- 4. Layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band        { padding-block: var(--band-y); }
.band-tight  { padding-block: clamp(3rem, 6vw, 5rem); }
.band-ink    { background: var(--ink); color: var(--on-ink); }
.band-paper  { background: var(--paper); }
.band-white  { background: var(--white); }

.lanes-host { position: relative; overflow: hidden; }
.lanes-over { position: relative; z-index: 1; }

/* Heading plus optional standfirst, then a clear gap before the content. */
.section-head { max-width: 52rem; }
.section-body { margin-top: clamp(2.75rem, 5vw, 4.5rem); }

.stack-s { display: grid; gap: .625rem; }

/* --- 5. Lane motif ------------------------------------------------------
   Vertical strokes taken from the monogram. One low-contrast appearance per
   dark band, purely to give the ink grounds some structure. */
.lanes {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(36rem, 45%);
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.05) 3px 7px, transparent 7px 54px),
    linear-gradient(90deg, transparent 0 16px, rgba(0,166,80,.20) 16px 23px, transparent 23px 112px),
    linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.035) 9px 22px, transparent 22px 148px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
          mask-image: linear-gradient(90deg, transparent, #000 60%);
}

/* --- 6. Masthead --------------------------------------------------------
   Light ground, because the logo may only ever sit on a light field. */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,244,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
/* Flat while the page is at the top; it lifts once content runs under it. */
.masthead[data-stuck="true"] {
  border-bottom-color: transparent;
  box-shadow: var(--shadow-2);
}

.masthead-in { display: flex; align-items: center; gap: 2rem; min-height: var(--masthead-h); }

.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; margin-right: auto; }
.brand img { width: 3rem; }
.brand-name {
  display: block;
  font-size: 1.1875rem; font-weight: 600; line-height: 1.15;
  letter-spacing: -.022em; color: var(--indigo);
}
.brand-sub { display: block; font-size: .9375rem; color: var(--steel); line-height: 1.3; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 2.4vw, 2.5rem); }
@media (max-width: 62rem) { .nav { display: none; } }

.nav a {
  text-decoration: none;
  font-size: 1.0625rem; font-weight: 500;
  color: var(--graphite);
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.nav a:hover               { color: var(--indigo); border-bottom-color: var(--rule); }
.nav a[aria-current="page"]{ color: var(--indigo); border-bottom-color: var(--green-deep); }

.nav-toggle {
  display: none;
  background: var(--white); border: 1px solid var(--rule); color: var(--indigo);
  font: inherit; font-size: 1.0625rem; font-weight: 500;
  padding: .65rem 1.1rem; cursor: pointer;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.nav-toggle:hover { border-color: var(--indigo); box-shadow: var(--shadow-btn); }
@media (max-width: 62rem) { .nav-toggle { display: block; } }

.nav-panel { display: none; border-top: 1px solid var(--rule); background: var(--paper-hi); }
.nav-panel[data-open="true"] { display: block; }
.nav-panel a {
  display: block; text-decoration: none; font-size: 1.1875rem; font-weight: 500;
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule-soft); color: var(--graphite);
}
.nav-panel a[aria-current="page"] { color: var(--indigo); }
.nav-panel a:last-child { border-bottom: 0; }

@media (max-width: 34rem) {
  :root { --masthead-h: 5rem; }
  .masthead-in { gap: 1rem; }
  .masthead-in .btn-call { display: none; }
  .brand img { width: 2.5rem; }
  .brand-name { font-size: 1.0625rem; }
  .brand-sub { font-size: .875rem; }
}

/* --- 7. Actions --------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.actions-gap { margin-top: clamp(2.25rem, 4vw, 3rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 1.0625rem; font-weight: 500;
  padding: 1rem 1.75rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}
.btn-call {
  background: var(--green-cta); color: #fff;
  /* The ambient layer picks up the button's own green so the lift reads warm
     rather than grey. */
  box-shadow: 0 1px 2px rgba(14,16,53,.14), 0 5px 14px -4px rgba(0,112,58,.34);
}
.btn-call:hover {
  background: var(--green-deep);
  box-shadow: 0 2px 4px rgba(14,16,53,.16), 0 10px 22px -6px rgba(0,112,58,.42);
  transform: translateY(-1px);
}

.btn-quiet       { background: var(--white); color: var(--indigo); border-color: var(--rule); box-shadow: var(--shadow-btn); }
.btn-quiet:hover { background: var(--indigo); color: #fff; border-color: var(--indigo);
                   box-shadow: var(--shadow-btn-hover); transform: translateY(-1px); }

.btn-sm          { padding: .7rem 1.25rem; font-size: 1rem; }
.btn:active      { transform: translateY(0); box-shadow: var(--shadow-1); }

/* On ink the outline button stays outlined; a white fill would punch a hole. */
.on-ink .btn-quiet {
  background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.45);
  box-shadow: var(--lift-ink);
}
.on-ink .btn-quiet:hover {
  background: #fff; color: var(--indigo); border-color: #fff;
  box-shadow: 0 6px 18px -4px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

@media (max-width: 30rem) {
  .actions { flex-direction: column; align-items: stretch; }
}

.textlink {
  display: inline-block;
  font-size: 1.125rem; font-weight: 500;
  text-decoration: none; color: var(--indigo);
  border-bottom: 2px solid var(--green-deep);
  padding-bottom: 2px;
  transition: background var(--speed) var(--ease);
}
.textlink:hover { background: var(--green-wash); }
.on-ink .textlink { color: #fff; }
.on-ink .textlink:hover { background: rgba(0,166,80,.25); }
.link-gap { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* --- 8. Hero and page heads --------------------------------------------- */
.hero, .pagehead { background: var(--ink); color: var(--on-ink); }
.hero-in {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  min-height: calc(100vh - var(--masthead-h));
  min-height: calc(100lvh - var(--masthead-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pagehead-in{ padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); }

.hero .lede, .pagehead .lede { margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 40ch; }

.crumb { font-size: 1rem; color: var(--indigo-soft); margin: 0 0 1.75rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: #fff; }

/* --- 9. Tonnage scale ---------------------------------------------------
   The signature device: a measured rule carrying the payload range the
   company actually operates, graduated every tonne. */
.scale-track {
  position: relative;
  height: 5rem;
  margin-top: 5.5rem;
  border-bottom: 2px solid var(--indigo);
}

.scale-ruler          { position: absolute; inset: 0; width: 100%; height: 100%; }
.scale-ruler line     { stroke: rgba(46,48,146,.30); }
.scale-ruler .is-major{ stroke: rgba(46,48,146,.60); }

.scale-span {
  position: absolute; bottom: 0; height: 7px;
  left: 15%; width: 72.5%;
  background: var(--green);
  transform-origin: left center;
}

.scale-mark { position: absolute; bottom: 0; transform: translateX(-50%); text-align: center; }
.scale-mark::after {
  content: ''; display: block; width: 2px; height: 2rem;
  background: var(--indigo); margin: .6rem auto 0;
}
.scale-figure {
  display: block;
  font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.4rem);
  line-height: 1; white-space: nowrap;
}
.scale-note {
  display: block; margin-top: .5rem;
  font-size: 1rem; color: var(--steel); white-space: nowrap;
}

/* Kept so the scale still reads correctly if it is ever placed on ink. */
.on-ink .scale-track     { border-bottom-color: rgba(255,255,255,.6); }
.on-ink .scale-ruler line{ stroke: rgba(255,255,255,.3); }
.on-ink .scale-ruler .is-major { stroke: rgba(255,255,255,.58); }
.on-ink .scale-mark::after { background: #fff; }
.on-ink .scale-note      { color: var(--indigo-soft); }

@media (max-width: 40rem) {
  .scale-track { height: 3.5rem; margin-top: 4.25rem; }
  .scale-note  { display: none; }
}

/* Short screens: never let a full-height hero trap the content. */
@media (max-height: 34rem) {
  .hero-in { min-height: 0; }
}

/* --- 10. Docket ---------------------------------------------------------
   A named field beside its value, the way a consignment record is set out. */
.docket {
  border: 1px solid var(--rule);
  background: var(--paper-hi);
  border-radius: var(--r-lg);
  overflow: hidden;              /* clips the square row corners to the radius */
  box-shadow: var(--shadow-2);
}
.on-ink .docket {
  border-color: var(--rule-ink);
  background: rgba(255,255,255,.035);
  box-shadow: var(--lift-ink);
}

.docket-row {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  border-bottom: 1px solid var(--rule);
  transition: background var(--speed) var(--ease);
}
.docket-row:last-child { border-bottom: 0; }
.docket-row:hover { background: rgba(46,48,146,.025); }
.on-ink .docket-row { border-bottom-color: var(--rule-ink); }
.on-ink .docket-row:hover { background: rgba(255,255,255,.03); }

.docket-key {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(46,48,146,.04);
  border-right: 1px solid var(--rule);
}
.on-ink .docket-key { background: rgba(255,255,255,.035); border-right-color: var(--rule-ink); }

.docket-val { padding: clamp(1.75rem, 3vw, 2.5rem); }
.docket-val p { margin: 0; max-width: 58ch; }

.docket-name {
  font-size: 1.3125rem; font-weight: 600; line-height: 1.25;
  letter-spacing: -.016em; color: var(--indigo);
}
.on-ink .docket-name { color: #fff; }
.docket-meta { font-size: 1rem; color: var(--steel); margin-top: .5rem; line-height: 1.45; }
.on-ink .docket-meta { color: var(--indigo-soft); }

@media (max-width: 52rem) {
  .docket-row { grid-template-columns: 1fr; }
  .docket-key { border-right: 0; border-bottom: 1px solid var(--rule); padding-block: 1.5rem; }
  .on-ink .docket-key { border-bottom-color: var(--rule-ink); }
}

/* --- 11. Cargo cells ----------------------------------------------------- */
.cells {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
@media (min-width: 46rem) {
  .cells { grid-template-columns: repeat(2, 1fr); }
  .cell:last-child { grid-column: span 2; }
}
@media (min-width: 70rem) {
  .cells { grid-template-columns: repeat(3, 1fr); }
  .cell:last-child { grid-column: span 2; }
}

.cell {
  padding: clamp(2rem, 3.2vw, 2.75rem);
  background: var(--paper-hi);
  transition: background var(--speed) var(--ease);
}
.cell:hover { background: var(--white); }
.cell-mark { width: 2.5rem; height: 4px; background: var(--green); margin-bottom: 1.75rem;
             border-radius: 2px; transition: width .4s var(--ease); }
.cell:hover .cell-mark { width: 4rem; }
.cell p { margin: .875rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--steel); max-width: 34ch; }

/* --- 12. Statement ------------------------------------------------------- */
.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 1.4rem + 3.1vw, 4rem);
  line-height: 1.18;
  letter-spacing: -.018em;
  color: #fff;
  max-width: 17ch;
  margin: 0;
}
.statement-prose { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* --- 13. Ledger ---------------------------------------------------------- */
.ledger {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.ledger-item {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper-hi);
  align-items: baseline;
  transition: background var(--speed) var(--ease);
}
.ledger-item:hover { background: var(--white); }
.ledger-item p { margin: 0; font-size: 1.1875rem; line-height: 1.6; color: var(--steel); max-width: 52ch; }

.on-ink .ledger {
  background: var(--rule-ink);
  border-color: var(--rule-ink);
  box-shadow: var(--lift-ink);
}
.on-ink .ledger-item        { background: rgba(255,255,255,.035); }
.on-ink .ledger-item:hover  { background: rgba(255,255,255,.06); }
.on-ink .ledger-item p      { color: var(--on-ink-dim); }

@media (max-width: 52rem) {
  .ledger-item { grid-template-columns: 1fr; gap: .6rem; }
}

/* --- 14. Contact panel --------------------------------------------------- */
.reach {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
/* Four items, so the grid is sized to be filled exactly at every width.
   An auto-fit track would leave a hole with the container showing through. */
@media (min-width: 46rem) { .reach { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .reach { grid-template-columns: repeat(4, 1fr); } }
.reach-item {
  background: var(--paper-hi);
  padding: clamp(2rem, 3.2vw, 2.75rem);
  transition: background var(--speed) var(--ease);
}
.reach-item:hover { background: var(--white); }
.reach-label { margin: 0; font-size: 1.0625rem; color: var(--steel); }
.reach-value {
  display: block; margin-top: .875rem;
  font-size: clamp(1.375rem, 1.2rem + .7vw, 1.625rem);
  font-weight: 600; letter-spacing: -.02em; color: var(--indigo);
  text-decoration: none; font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
a.reach-value:hover { color: var(--green-deep); }
.reach-value-sm { font-size: 1.1875rem; }
.reach-item address {
  font-style: normal; margin-top: .875rem;
  font-size: 1.1875rem; line-height: 1.6; color: var(--graphite);
}

/* Four columns are narrower than two, so the value type steps down with them
   and a phone number stays on one line. Must sit after the rules above. */
@media (min-width: 70rem) {
  .reach-item  { padding: 2.25rem 1.6rem; }
  .reach-value { font-size: 1.3125rem; }
  .reach-value-sm { font-size: 1.0625rem; }
  .reach-item address { font-size: 1.0625rem; }
}

/* --- 15. Footer ---------------------------------------------------------
   Wordmark only. The logo is never placed on the ink ground. */
.footer { background: var(--ink); color: var(--on-ink-dim); font-size: 1.0625rem; }
.footer-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(13rem, 1fr));
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}
.wordmark {
  margin: 0;
  font-size: 1.5rem; font-weight: 600; line-height: 1.2;
  font-variation-settings: 'wdth' 106; letter-spacing: -.024em; color: #fff;
}
.wordmark span {
  display: block; margin-top: .5rem;
  font-size: 1rem; font-weight: 400; letter-spacing: 0;
  font-variation-settings: 'wdth' 100; color: var(--indigo-soft);
}
.footer-tagline { margin: 1.75rem 0 0; max-width: 26ch; font-size: 1.125rem; color: var(--on-ink); }
.footer h2 { margin: 0 0 1.25rem; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; }
.footer a { text-decoration: none; transition: color var(--speed) var(--ease); }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; margin-top: 1.5rem; line-height: 1.7; }
.footer li, .footer address, .footer a { overflow-wrap: break-word; }
.footer-base {
  border-top: 1px solid var(--rule-ink);
  padding-block: 2rem 3rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: 1rem; color: #85879F;
}


/* --- 15b. Photography slots ---------------------------------------------
   Built ahead of the photographs so images drop in without a redesign.
   Every slot reserves its aspect ratio, so nothing shifts while loading.
   See docs/03-IMAGERY-BRIEF.md for what belongs in each. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}
.on-ink .media { border-color: var(--rule-ink); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-wide   { aspect-ratio: 16 / 9; }
.media-band   { aspect-ratio: 21 / 9; }
.media-square { aspect-ratio: 1 / 1; }
.media-tall   { aspect-ratio: 4 / 5; }

@media (max-width: 46rem) {
  .media-band { aspect-ratio: 16 / 10; }
}

/* Caption sits under the frame, never over the picture. */
.media-caption {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 46ch;
}
.on-ink .media-caption { color: var(--on-ink-dim); }

/* A full-bleed photograph behind a dark band. Keeps text legible by laying a
   scrim over the picture rather than trusting the photograph to be dark. */
.media-behind { position: absolute; inset: 0; z-index: 0; }
.media-behind img { width: 100%; height: 100%; object-fit: cover; }
.media-behind::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,53,.94) 0%, rgba(14,16,53,.82) 55%, rgba(14,16,53,.62) 100%);
}

/* Placement of the photographs (added 28 Sep 2026). */
.media picture,
.media-behind picture { display: block; width: 100%; height: 100%; }

/* Heroes and page heads: every one carries a photograph behind the scrim.
   The subject of each is framed on the right, so narrow screens keep it in view. */
.media-behind img { object-position: 72% 50%; }
/* For a photograph whose subject sits high in the frame (Contact: the wall sign). */
.media-behind.media-top img { object-position: 72% 0%; }

/* A frame that follows other content in the same section. */
.media-after { margin-top: clamp(3rem, 6vw, 5rem); }

/* Cargo cells: the square sits at the top of the cell, above the green rule. */
.cell .media { margin-bottom: 1.75rem; }
@media (min-width: 46rem) {
  /* The last cell spans two columns. Picture and text sit side by side there,
     so the square stays the size it is in every other cell. */
  .cell-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto 1fr;
    column-gap: calc(2 * clamp(2rem, 3.2vw, 2.75rem));
  }
  .cell-split > .media { grid-column: 1; grid-row: 1 / -1; margin-bottom: 0; }
  .cell-split > :not(.media) { grid-column: 2; }
}

/* Contact: the photograph sits beside the contact details on wide screens,
   matching their height; below that it follows them. */
.reach-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 70rem) {
  .reach-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reach-split .reach { grid-template-columns: repeat(2, 1fr); }
  .reach-split .media { aspect-ratio: auto; min-height: 20rem; }
  .reach-split .media picture { position: absolute; inset: 0; }
}

/* --- 16. Motion ---------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes draw-span { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scale[data-drawn="true"] .scale-span { animation: draw-span 1s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- 17. Print ----------------------------------------------------------- */
@media print {
  .masthead, .nav-panel, .actions, .lanes { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .band-ink, .hero, .pagehead, .footer { background: #fff !important; color: #000 !important; }
  .on-ink .display, .on-ink .h1, .on-ink .h2, .on-ink .h3, .statement { color: #000 !important; }
  a { text-decoration: underline; }
}
