:root {
  --ivory: #f5f4f0;
  --ivory-deep: #ebece8;
  --surface: #fbfaf7;
  --navy: #071525;
  --navy-soft: #102b40;
  --ink: #13263a;
  --brass: #b8893f;
  --ember: #c94e31;
  --line: rgba(19, 38, 58, .18);
  --content: 1180px;
  --radius: 2px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.65 Arial, sans-serif; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ember); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: Georgia, 'Times New Roman', serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); }
p { margin: 0 0 1rem; }
.sr-only { 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: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .7rem 1rem; background: var(--ember); color: #fff; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.editorial-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 90px; padding: 10px max(4vw, 1.25rem); background: rgba(245,244,240,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand-group { min-width: 300px; }
.editorial-brand { display: block; width: 300px; color: var(--ink); text-decoration: none; }
.editorial-brand > img { width: 100%; height: auto; }
.editorial-emblem { width: 60px; height: 60px; object-fit: contain; }
.brand-copy, .brand-title, .brand-descriptor { display: none; }
.editorial-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.65rem, 1.6vw, 1.5rem); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.editorial-nav a { text-decoration: none; }
.menu-toggle { display: none; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .55rem .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.page-shell { width: min(var(--content), calc(100vw - 2.5rem)); max-width: 100%; margin: 0 auto; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 10ch; }
.page-hero p:not(.eyebrow) { max-width: 35rem; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.eyebrow, .section-label { margin-bottom: .8rem; color: var(--brass); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.25; text-transform: uppercase; }
.eyebrow + h1, .section-label + h1 { margin-bottom: 1.2rem; }
.page-hero-media { min-width: 0; width: 100%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-soft); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero[aria-labelledby="contact-title"] .page-hero-media { aspect-ratio: 1800 / 420; overflow: visible; background: transparent; align-self: center; }
.page-hero[aria-labelledby="contact-title"] .page-hero-media img { width: 100%; height: auto; object-fit: contain; }
.editorial-section { padding: clamp(3.5rem, 7vw, 6rem) 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading p:last-child { max-width: 32rem; margin: 0; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editorial-card { min-width: 0; padding: 1.2rem; background: var(--ivory); }
.editorial-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.25rem; background: var(--ivory-deep); }
.editorial-card-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-card h3 { margin-bottom: .55rem; }
.card-meta { margin-bottom: .55rem; color: var(--brass); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.editorial-card p:last-of-type { margin-bottom: 1.2rem; }
.action-link, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1rem; background: var(--ember); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.action-link:hover, .button:hover { background: var(--navy); color: #fff; }
.text-link { font-weight: 800; }
.feature-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; background: var(--navy); color: #fff; }
.feature-band-media { min-height: 310px; background: var(--navy-soft); }
.feature-band-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-band-copy { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
.feature-band-copy h2, .feature-band-copy h3 { color: #fff; }
.feature-band-copy p { color: rgba(255,255,255,.78); }
.feature-band-copy .card-meta { color: #e5ba6b; }
.feature-band-copy .action-link { background: #e5ba6b; color: var(--navy); }
.feature-band-copy .action-link:hover { background: #fff; }
.pill { display: inline-block; color: var(--brass); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tools-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tool-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.tool-row-media { width: 190px; height: 120px; display: grid; place-items: center; overflow: hidden; background: var(--navy); }
.tool-row-media img { width: 100%; height: 100%; object-fit: contain; }
.tool-row-media--mark img { width: 90px; height: 90px; }
.tool-row h3 { margin-bottom: .35rem; }
.tool-row p { margin-bottom: .35rem; }
.disclaimer { color: rgba(19,38,58,.72); font-size: .82rem; }
.testing-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr); gap: 2rem; align-items: end; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); background: var(--navy); color: #fff; }
.testing-banner h1 { max-width: none; color: #fff; font-size: clamp(2.35rem, 6vw, 6rem); }
.testing-banner h1 span { display: block; }
.testing-banner .eyebrow { color: #e5ba6b; }
.testing-banner-copy p:last-child { max-width: 38rem; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.testing-banner-mark { display: grid; place-items: center; min-height: 220px; border: 1px solid rgba(255,255,255,.22); }
.testing-banner-mark img { width: 82px; height: 82px; object-fit: contain; }
.testing-tabs { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.testing-tablist { display: flex; gap: .4rem; margin: 0 0 2.5rem; padding: 0; border: 0; }
.testing-tab-radio { position: absolute; opacity: 0; }
.testing-tab { cursor: pointer; padding: .8rem 1rem; border-bottom: 2px solid transparent; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.testing-tab-radio:checked + .testing-tab { border-color: var(--ember); color: var(--ember); }
.testing-tab-radio:focus-visible + .testing-tab { outline: 2px solid var(--ember); outline-offset: 3px; }
.testing-panel { display: none; }
.testing-panel.is-active { display: block; }
.testing-card { display: grid; grid-template-columns: minmax(180px, .62fr) 1fr .7fr; gap: clamp(1.25rem, 4vw, 3.5rem); padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testing-card-media { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--navy); }
.testing-card-media img { width: 100%; height: 100%; object-fit: cover; }
.testing-card h2 { margin-bottom: .5rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.testing-card h3 { margin-bottom: .5rem; }
.testing-help { padding-left: 1.2rem; border-left: 2px solid var(--brass); }
.testing-help h3 { font-size: 1.15rem; }
.studio-copy { max-width: 760px; }
.studio-copy p { font-size: clamp(1.15rem, 2.4vw, 1.75rem); line-height: 1.4; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.support-panel { min-height: 230px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); }
.support-panel h2 { margin-bottom: .8rem; font-size: 2rem; }
.support-panel h2, .support-panel a { overflow-wrap: anywhere; }
.support-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.site-footer { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 2rem; padding: 3rem max(4vw, 1.25rem); background: var(--navy); color: #fff; }
.site-footer a { color: #fff; }
.footer-brand img { width: min(240px, 100%); height: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 23rem; color: rgba(255,255,255,.72); }
.footer-nav { display: grid; align-content: start; gap: .55rem; }
.footer-contact { display: grid; align-content: start; gap: .55rem; }
.footer-contact small { color: rgba(255,255,255,.62); }
.plain-copy { max-width: 820px; padding: clamp(4rem, 9vw, 8rem) 0; }
.plain-copy h1 { margin-bottom: 1.5rem; }
.plain-copy h2 { margin: 2.5rem 0 .8rem; font-size: 2rem; }
.plain-copy p { max-width: 62ch; }
@media (max-width: 900px) {
  .editorial-header { gap: .8rem; }
  .editorial-nav { display: none; position: absolute; top: 100%; right: 1rem; left: 1rem; padding: 1rem; background: var(--ivory); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(7,21,37,.12); }
  .editorial-nav.is-open { display: grid; justify-items: start; }
  .menu-toggle { display: inline-block; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: 12ch; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band-media { min-height: 250px; }
  .testing-card { grid-template-columns: minmax(150px, .55fr) 1fr; }
  .testing-help { grid-column: 2; }
  .tool-row { grid-template-columns: 150px minmax(0, 1fr); }
  .tool-row-media { width: 150px; height: 105px; }
  .tool-row .action-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  .editorial-header { min-height: 76px; padding-block: 15px; }
  .brand-group { min-width: 0; }
  .editorial-brand { grid-template-columns: 46px minmax(0, 1fr); column-gap: .6rem; width: auto; }
  .editorial-emblem { width: 46px; height: 46px; }
  .brand-title { font-size: 1.02rem; letter-spacing: -.035em; }
  .brand-descriptor { font-size: .5rem; letter-spacing: .095em; }
  .page-shell { width: calc(100vw - 4rem); max-width: none; margin-inline: auto; }
  .page-hero, .editorial-section { width: 100%; max-width: none; }
  .page-hero > div, .section-heading { min-width: 0; width: min(330px, calc(100vw - 4rem)); max-width: 100%; }
  .page-hero-media { width: min(330px, calc(100vw - 4rem)) !important; max-width: 100%; justify-self: start; }
  .page-hero p:not(.eyebrow), .section-heading p:last-child { overflow-wrap: anywhere; }
  .page-hero { padding-block: 3rem 2.75rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 12vw, 4.6rem); }
  h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: .8rem; }
  .editorial-grid, .support-grid { grid-template-columns: 1fr; }
  .editorial-section { padding-block: 3rem; }
  .testing-banner { grid-template-columns: 1fr; padding: 3rem 1rem; }
  .testing-banner h1 { font-size: clamp(2.1rem, 10.7vw, 3.2rem); }
  .testing-banner-mark { min-height: 120px; }
  .testing-banner-mark img { width: 56px; height: 56px; }
  .testing-tablist { display: grid; gap: .25rem; }
  .testing-tab { display: block; }
  .testing-card { grid-template-columns: 1fr; gap: 1rem; }
  .testing-help { grid-column: auto; padding: 1rem 0 0; border-top: 2px solid var(--brass); border-left: 0; }
  .tool-row { grid-template-columns: 1fr; gap: .8rem; }
  .tool-row-media { width: 100%; height: 150px; }
  .tool-row .action-link { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; padding-block: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

.social-links, .social-follow-links { display: flex; flex-wrap: wrap; gap: .45rem .9rem; }
.social-links { margin-top: .2rem; }
.social-heading { flex-basis: 100%; color: #e5ba6b; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.social-link { font-size: .82rem; font-weight: 800; }
.social-follow { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.social-follow-links { margin-top: .75rem; }
.social-follow .social-link { color: var(--ink); }
@media (max-width: 520px) { .social-links, .social-follow-links { display: grid; justify-items: start; gap: .45rem; } }

/* Gate B compatibility for the established Tools and Testing content structures. */
.tools-intro, .tool-directory, .tools-support, .testing-tabs { width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; }
.tools-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 3rem; align-items: end; padding: 5rem 0; border-bottom: 1px solid var(--line); }
.tools-intro h1 { max-width: 10ch; }
.tools-intro > p:last-child { max-width: 36rem; font-size: 1.15rem; }
.tools-support { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin-top: 4rem; padding: 2rem; background: var(--navy); color: #fff; }
.tools-support h2, .tools-support .section-label { color: #fff; }
.tools-support .section-label { color: #e5ba6b; }
.tools-support .support-actions { margin: 0; }
.tool-directory { padding: 4rem 0; }
.tool-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.tool-directory-heading h2 { margin: 0; }
.directory-note { max-width: 30rem; margin: 0; }
.tool-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tool-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(170px, .45fr); gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.tool-entry-heading { display: grid; grid-template-columns: 56px 1fr; gap: .5rem 1rem; align-items: center; }
.tool-entry-heading .tool-entry-image { grid-row: 1 / 3; width: 56px; height: 56px; object-fit: contain; }
.tool-entry-heading .category-label { margin: 0; }
.tool-entry-heading h3 { margin: 0; font-size: 1.35rem; }
.tool-entry > p { margin: 0; }
.tool-entry .tool-meta { font-size: .85rem; }
.tool-entry .disclaimer { grid-column: 2 / -1; font-size: .78rem; }
.site-header { all: unset; }
header.editorial-header { min-height: 90px !important; padding-block: 10px !important; background: rgba(245,244,240,.97) !important; }
header.editorial-header .brand-group { min-width: 300px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
@media (max-width: 900px) { .tools-intro { grid-template-columns: 1fr; } .tools-support { grid-template-columns: 1fr; } .tool-entry { grid-template-columns: 150px minmax(0, 1fr); } .tool-entry .tool-meta { grid-column: 2; } .tool-entry .disclaimer { grid-column: 2; } }
@media (max-width: 520px) { header.editorial-header { min-height: 76px !important; padding: 12px !important; gap: .5rem; } header.editorial-header .brand-group { min-width: 0 !important; } header.editorial-header .editorial-brand { width: 220px; max-width: calc(100vw - 92px); } .tools-intro, .tool-directory, .tools-support, .testing-tabs { width: min(100% - 2rem, var(--content)); } .tools-intro { padding-block: 3rem; } .tools-support { margin-top: 2.5rem; padding: 1.4rem; } .tool-directory-heading { display: block; } .tool-entry { grid-template-columns: 1fr; } .tool-entry-heading { grid-template-columns: 58px 1fr; } .tool-entry .tool-meta, .tool-entry .disclaimer { grid-column: auto; } }
@media (max-width: 520px) {
  .tools-intro, .tool-directory, .tools-support, .testing-tabs { width: 300px; max-width: calc(100% - 32px); margin-left: 32px; margin-right: 0; }
  .testing-banner-copy, .testing-banner-mark { width: 300px; max-width: calc(100% - 40px); margin-left: 20px; margin-right: 0; min-width: 0; }
  .testing-banner-copy p:not(.section-label) { width: 260px; max-width: 260px; }
  .testing-banner-copy p, .testing-banner h1 { max-width: 100%; overflow-wrap: anywhere; }
}

/* 0051: exact owner-approved Option 4 header. */
.editorial-header--option4 { min-height: 108px !important; padding: 10px max(4vw, 1.25rem) !important; background: #071525 !important; color: #fff !important; border-bottom: 1px solid rgba(229,186,107,.42) !important; }
header.editorial-header.editorial-header--option4 { background: #071525 !important; color: #fff !important; }
header.editorial-header--option4 { min-height: 108px !important; }
.option4-header-inner { position: relative; display: block; width: 100%; }
.editorial-header--option4 .brand-group { display: block; min-width: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.editorial-header--option4 .brand-group .editorial-brand--option4 { display: grid !important; grid-template-columns: 82px 1px max-content; align-items: center; column-gap: 12px; width: max-content !important; max-width: 100%; color: #fff !important; text-decoration: none; }
.editorial-header--option4 .brand-group .press-emblem-option4 { display: block; width: 82px !important; height: 82px !important; min-width: 82px !important; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.editorial-header--option4 .brand-group .brand-divider { display: block; width: 1px !important; min-width: 1px !important; height: 68px; background: var(--brass, #b8893f); }
.editorial-header--option4 .brand-copy { display: block !important; min-width: 0; }
.editorial-header--option4 .brand-title { display: block !important; color: #fff !important; font: 30px/1.05 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; white-space: nowrap; }
.editorial-header--option4 .brand-title > span { display: inline; }
.editorial-header--option4 .brand-descriptor { display: block !important; margin-top: 5px; color: var(--brass, #b8893f) !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.editorial-header--option4 .editorial-nav { position: absolute; top: 72px; left: 94px; display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.8rem); margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.editorial-header--option4 .editorial-nav a:not(.nav-action) { padding-block: .1rem; }
.editorial-header--option4 .editorial-nav a { color: #fff; text-decoration: none; }
.editorial-header--option4 .editorial-nav a:hover, .editorial-header--option4 .editorial-nav a:focus-visible { color: #e5ba6b; }
.editorial-header--option4 .menu-toggle { display: none; border-color: var(--brass, #b8893f); background: transparent; color: #fff; }
.page-hero[aria-labelledby="contact-title"] .page-hero-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy); }
.page-hero[aria-labelledby="contact-title"] .page-hero-media img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 520px) {
  .editorial-header--option4 { min-height: 86px !important; padding: 10px 12px !important; }
  header.editorial-header--option4 { min-height: 86px !important; }
  .option4-header-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
  .editorial-header--option4 .brand-group { width: calc(100% - 68px); flex: 1 1 auto; }
  .editorial-header--option4 .brand-group .editorial-brand--option4 { grid-template-columns: 46px 1px minmax(0, 1fr); column-gap: 8px; width: min(100%, 220px) !important; }
  .editorial-header--option4 .brand-group .press-emblem-option4 { width: 46px !important; height: 46px !important; min-width: 46px !important; }
  .editorial-header--option4 .brand-group .brand-divider { height: 46px; }
  .editorial-header--option4 .brand-title { max-width: 125px; font-size: 1rem; line-height: 1.04; white-space: normal; }
  .editorial-header--option4 .brand-title > span { display: block; }
  .editorial-header--option4 .brand-descriptor { display: none !important; }
  .editorial-header--option4 .editorial-nav { display: none !important; }
  .editorial-header--option4 .editorial-nav.is-open { top: 56px; right: 0; left: 0; display: flex !important; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem; border: 1px solid rgba(229,186,107,.42); background: #071525; box-shadow: 0 16px 35px rgba(0,0,0,.25); }
  .editorial-header--option4 .editorial-nav.is-open a { padding: .65rem .75rem; color: #fff; }
  .editorial-header--option4 .menu-toggle { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; min-height: 40px; padding: .55rem .7rem; font-size: .76rem; font-weight: 800; }
  .carousel-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .page-hero[aria-labelledby="contact-title"] .page-hero-media { width: min(100%, 320px); margin-inline: auto; }
}
