@import url("tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* The `hidden` attribute must win over any component's own `display`
   declaration (e.g. .btn { display: inline-flex }), which otherwise
   overrides the UA stylesheet's [hidden] { display: none } by cascade order. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--color-surface-alt); }
/* Any transparent-background logo asset — listed explicitly (not just
   `img.logo`) because it's easy to add a new logo spot and forget the class. */
img.logo,
.site-header__logo img,
.footer-logo,
.logo-marquee img,
.photo-hero__logo { background: transparent; }

a { color: var(--ul-red-800); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ul-red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ul-red);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  margin: 0;
  color: var(--color-heading);
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; } /* signature subhead */
h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ul-warm-gray); }
p { margin: 0 0 1rem; max-width: 70ch; }
p:last-child { margin-bottom: 0; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.lede { font-size: 1.06rem; color: var(--ul-warm-gray); max-width: 62ch; }

.wrap { width: min(var(--col-max), 100% - (var(--col-pad) * 2)); margin-inline: auto; }

.section { padding-block: var(--space-section); }
.section--ink { background: var(--ul-ink); color: #F5F2F2; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--red { background: var(--ul-red); color: #fff; }
.section--red h1, .section--red h2, .section--red h3, .section--red h4 { color: #fff; }
.section--red .lede { margin-inline: auto; }
.section--mist { background: var(--color-surface-alt); }
/* Two mist (or two ink/red) sections back-to-back would otherwise blend into
   one block with no visible seam — add a divider so each still reads as its
   own section, regardless of which partials happen to land next to each other. */
.section--mist + .section--mist,
.section--ink + .section--ink,
.section--red + .section--red { border-top: 1px solid var(--color-border); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--ul-ink); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: var(--wedge-radius-sm); z-index: 100;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 1rem; }
