/* Self-hosted variable fonts (latin subset) */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Italic-Variable.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}

/* Concert product screen type — the faces the product itself ships (OFL). */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   MAXIM Technologies — site styles
   Palette and type are derived from the 1992 logo: amber #FBB03B + warm ink.
   ========================================================================== */

:root {
  --ink: #16150f;
  --ink-2: #33302a;
  --muted: #6e675a;
  --paper: #f6f2ea;
  --paper-2: #fbf8f2;
  --white: #ffffff;
  --line: #e3dacb;
  --line-2: #cfc3af;
  --amber: #fbb03b;
  --amber-deep: #8a5200;
  --dark: #14130e;
  --dark-2: #1b1913;
  --dark-text: #f2ede3;
  --dark-muted: #bdb5a5;
  --dark-line: rgba(246, 242, 234, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -40px rgba(22, 21, 15, 0.45);
  --container: 1200px;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

img {
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8.5vw, 112px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section--paper {
  background: var(--paper-2);
}

.section--bordered {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-top: 18px;
}

.section-head__aside {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 44ch;
  padding-bottom: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  flex: none;
}

.eyebrow--light {
  color: var(--dark-muted);
}

em.serif,
.text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 0.9rem;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper-2);
}

.btn--primary:hover {
  background: var(--amber);
  color: var(--ink);
}

.btn--amber {
  background: var(--amber);
  color: var(--ink);
}

.btn--amber:hover {
  background: var(--ink);
  color: var(--paper-2);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper-2);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--ink);
  color: var(--paper-2);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: var(--ink);
  gap: 12px;
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 500;
}

.text-link:hover {
  background: var(--amber);
  text-decoration-color: transparent;
}

section[id],
article[id] {
  scroll-margin-top: 120px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(246, 242, 234, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 40px -30px rgba(22, 21, 15, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 126px;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 104px;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand-logo {
  height: 72px;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 8vw, 104px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(22, 21, 15, 0.045) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(2.6rem, 5.4vw, 4.55rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
  max-width: 15ch;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero .lede {
  max-width: 47ch;
}

.hero-actions {
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-note::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-2);
  flex: none;
}

/* Architecture figure */

.arch {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.arch__head,
.arch__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.arch__head {
  padding: 2px 4px 16px;
  border-bottom: 1px solid var(--line);
}

.arch__canvas {
  padding: 10px 0;
}

.arch__canvas svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.arch__foot {
  justify-content: flex-start;
  padding: 14px 4px 2px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.7rem;
  color: var(--muted);
}

.arch__foot::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex: none;
}

.node-label {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  fill: var(--ink);
}

.node-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  fill: var(--muted);
}

.node-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  fill: var(--muted);
  text-anchor: end;
}

.layer-rect {
  fill: #fffdf8;
  stroke: var(--line-2);
  stroke-width: 1;
}

.layer-rect--accent {
  fill: #fdf3df;
  stroke: #edc47a;
}

.connector {
  stroke: var(--line-2);
  stroke-width: 1.2;
}

.rail {
  stroke: var(--line-2);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}

.rail-star {
  fill: var(--amber);
}

.rail-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--muted);
  text-anchor: middle;
}

.rail-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  fill: var(--ink);
  text-anchor: middle;
}

/* --------------------------------------------------------------------------
   Capabilities
   -------------------------------------------------------------------------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px);
  min-height: 300px;
  transition: background-color 0.3s var(--ease);
}

.cap-card:hover {
  background: var(--paper-2);
}

.cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  transition: width 0.4s var(--ease);
}

.cap-card:hover::before {
  width: 100%;
}

.cap-card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cap-card h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  letter-spacing: -0.025em;
}

.cap-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 46ch;
}

.cap-card .link-arrow {
  margin-top: auto;
  padding-top: 22px;
  border-bottom: 0;
  align-self: flex-start;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 20px 0 0;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Approach (dark)
   -------------------------------------------------------------------------- */

.section--dark {
  background: var(--dark);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

.section--dark::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(251, 176, 59, 0.16), transparent 68%);
  pointer-events: none;
}

.section--dark .container {
  position: relative;
  z-index: 1;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.approach-intro h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
  margin: 18px 0 24px;
  max-width: 15ch;
}

.approach-intro p {
  color: var(--dark-muted);
  max-width: 42ch;
}

.pullquote {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--dark-text);
}

.principle-list {
  list-style: none;
  border-top: 1px solid var(--dark-line);
}

.principle-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--dark-line);
}

.principle-list .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-top: 5px;
}

.principle-list h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.principle-list p {
  color: var(--dark-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Existing client support band
   -------------------------------------------------------------------------- */

.support-band {
  background: var(--amber);
  color: var(--ink);
  padding: clamp(52px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
}

.support-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(22, 21, 15, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.support-band .container {
  position: relative;
  z-index: 1;
}

.support-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(22, 21, 15, 0.22);
}

.support-band .eyebrow {
  color: rgba(22, 21, 15, 0.78);
}

.support-band .eyebrow::before {
  background: var(--ink);
}

.support-band h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  max-width: 16ch;
}

.support-band .support-copy {
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.6;
}

.support-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.support-contact .label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(22, 21, 15, 0.8);
}

.support-phone {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.support-phone:hover {
  border-bottom-color: var(--ink);
}

.support-mail {
  font-size: 0.95rem;
  color: rgba(22, 21, 15, 0.8);
}

.support-mail:hover {
  color: var(--ink);
}

.support-contact .btn {
  margin-top: 10px;
}

.support-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  padding-top: clamp(28px, 3.5vw, 40px);
  list-style: none;
  counter-reset: support;
}

.support-items li {
  position: relative;
  padding-left: 22px;
}

.support-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.support-items h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.support-items p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(22, 21, 15, 0.76);
  max-width: 31ch;
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */

.clients-section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.clients-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: 36px;
}

.clients-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}

.clients-head p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 40ch;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-grid img {
  max-width: 132px;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  mix-blend-mode: multiply;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}

.logo-grid li:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 92px) 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 18ch;
  margin-top: 18px;
}

.cta p {
  color: var(--muted);
  margin-top: 18px;
  max-width: 50ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-actions .mono {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer-brand .logo-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--paper-2);
  border-radius: 10px;
}

.footer-brand .logo-chip img {
  height: 64px;
  width: auto;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-contact .footer-phone {
  display: block;
  color: var(--dark-text);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-contact .footer-phone:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--dark-line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: rgba(189, 181, 165, 0.8);
}

.footer-bottom .star {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--amber);
  margin-right: 8px;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(22, 21, 15, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  max-width: 20ch;
}

.page-hero .lede {
  max-width: 60ch;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.anchor-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.anchor-bar ul {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-bar ul::-webkit-scrollbar {
  display: none;
}

.anchor-bar a {
  display: inline-block;
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.anchor-bar a:hover {
  color: var(--ink);
  border-bottom-color: var(--amber);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.service:last-of-type {
  border-bottom: 0;
}

.service__aside {
  position: sticky;
  top: 120px;
  align-self: start;
}

.service__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

.service__aside h2 {
  margin: 18px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.service__tagline {
  color: var(--muted);
  font-size: 1rem;
  max-width: 30ch;
}

.service__body > p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 60ch;
}

.service__body h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 16px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  list-style: none;
}

.check-grid li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.note {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-left: 2px solid var(--amber);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 62ch;
}

.note strong {
  font-weight: 600;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-grid li {
  padding: 28px 28px 0 0;
  border-right: 1px solid var(--line);
}

.process-grid li:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-grid .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
}

.process-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.16rem;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 30ch;
}

/* Support cards (services page) */

.support-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 48px);
}

.support-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.support-panel__head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 16px 0 0;
}

.support-panel__head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  align-self: end;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 0;
  list-style: none;
}

.support-cards h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.support-cards p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.support-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.support-panel__foot .phone-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.95rem;
}

.support-panel__foot a {
  text-decoration: none;
  font-weight: 500;
}

.support-panel__foot a:hover {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.story-aside {
  position: sticky;
  top: 120px;
}

.story-aside h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  max-width: 12ch;
  margin-top: 18px;
}

.story-aside .facts {
  list-style: none;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.story-aside .facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-aside .facts strong {
  font-weight: 500;
  color: var(--ink);
}

.story-body p {
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 62ch;
}

.story-body p + p {
  margin-top: 1.2em;
}

.pullquote--light {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 36px;
  max-width: 26ch;
}

.then-now {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.then-now > div {
  background: var(--paper-2);
  padding: clamp(26px, 3.5vw, 40px);
}

.then-now .mono {
  color: var(--amber-deep);
}

.then-now h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 16px 0 12px;
}

.then-now p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 42ch;
}

.then-now .keep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.then-now .keep::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}

.principles-grid li {
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 40px);
}

.principles-grid .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
}

.principles-grid h3 {
  font-size: 1.24rem;
  margin: 18px 0 10px;
}

.principles-grid p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}

.contact-form h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field label .req {
  color: var(--amber-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236e675a' stroke-width='1.5' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(251, 176, 59, 0.35);
}

.field [aria-invalid="true"] {
  border-color: #a63d1f;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.5;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
  min-height: 1.4em;
}

.form-status.is-ok {
  color: #1f4d37;
}

.form-status.is-error {
  color: #a63d1f;
}

.contact-form button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: progress;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.contact-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-block address {
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-block .big-link {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  line-height: 1.35;
}

.contact-block .big-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
}

.contact-block .small-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-block .small-link:hover {
  color: var(--ink);
}

.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.85) contrast(1.02);
}

.map-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.map-card__foot a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}

.map-card__foot a:hover {
  border-bottom-color: var(--amber);
}

/* --------------------------------------------------------------------------
   Photography
   -------------------------------------------------------------------------- */

.hero-figure {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #d9d2c5;
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-figure::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 2px 8px rgba(22, 21, 15, 0.25));
}

.hero-figure__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 12px 16px;
  background: rgba(251, 248, 242, 0.93);
  border: 1px solid rgba(227, 218, 203, 0.75);
  border-radius: 11px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ded7ca;
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split__copy h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
  margin: 18px 0 0;
  max-width: 17ch;
}

.split__copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 48ch;
}

.split__copy .link-arrow {
  margin-top: 26px;
}

.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 14px;
  background: rgba(251, 248, 242, 0.93);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.service-media {
  position: relative;
  margin: 0 0 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ded7ca;
}

.service-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.page-hero-grid .arch {
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

.about-banner {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ded7ca;
}

.about-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Applied AI visual */

.ai-flow {
  margin: 4px 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
}

.ai-flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ai-flow__head .star {
  width: 9px;
  height: 9px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.ai-flow ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-flow li {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.ai-flow li:last-child {
  border-right: 0;
}

.ai-flow .num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
}

.ai-flow h4 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin: 9px 0 5px;
}

.ai-flow p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Home product ribbon
   -------------------------------------------------------------------------- */

.product-ribbon {
  background: var(--ink);
  color: var(--dark-text);
  padding: 26px 0;
}

.product-ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.product-ribbon__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

.product-ribbon__label > span {
  width: 7px;
  height: 7px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.product-ribbon__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  flex: 1;
  min-width: 260px;
}

.product-ribbon h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--dark-text);
}

.product-ribbon__mark {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--paper-2);
  vertical-align: middle;
}

.product-ribbon__mark img {
  height: 14px;
  width: auto;
}

.product-ribbon p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--dark-muted);
}

.product-ribbon .btn {
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Products page
   -------------------------------------------------------------------------- */

.flagship {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 54px);
  border-radius: 26px;
  background: var(--dark);
  color: var(--dark-text);
}

.flagship::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251, 176, 59, 0.18), transparent 68%);
  pointer-events: none;
}

.flagship > * {
  position: relative;
  z-index: 1;
}

.flagship__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 7px 12px;
  border: 1px solid rgba(246, 242, 234, 0.22);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.flagship__badge span {
  width: 7px;
  height: 7px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.flagship__title {
  font-size: clamp(3rem, 6.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 14px 0 8px;
}

.flagship__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  color: var(--amber);
  margin: 0 0 24px;
  max-width: 24ch;
}

.flagship__copy > p:not(.flagship__badge):not(.flagship__tagline) {
  color: var(--dark-muted);
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 1em;
}

.flagship__list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
}

.flagship__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--dark-text);
}

.flagship__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.flagship__actions .btn--ghost {
  border-color: rgba(246, 242, 234, 0.3);
  color: var(--dark-text);
}

.flagship__actions .btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--paper-2);
  color: var(--ink);
}

/* Concert product screens ---------------------------------------------------
   Renderings of Concert's real operator Today screen and client approval
   screen. Palette, type and data are taken from the product itself:
   tokens from frontend/concert/resources/css/next.css (@theme), the wordmark
   from public/brand/concert-mark.png. Nothing here is invented brand. */

.concert-screens {
  --concert-ink: #1c1310;
  --concert-accent: #9a2b2b;
  --concert-gold: #cf9f4e;
  --concert-wash: #f7f2ea;
  --concert-paper: #fffdfa;
  --concert-line: #e8dfd2;
  --concert-mute: #6f6258;
  --concert-ok: #2f6a4d;
  --concert-warn: #a2530f;
  --concert-risk: #a3183a;
  --concert-risk-bg: #fbe3e8;
  --concert-risk-ink: #7c1230;
  --concert-warn-bg: #fbe9d8;
  --concert-warn-ink: #7a3c0b;
  --concert-ok-bg: #dcefe3;
  --concert-ok-ink: #1f4d37;
  --concert-on-accent: #fff6f0;
  --concert-display: "Fraunces", Georgia, "Times New Roman", serif;
  --concert-num-font: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.concert-screens img.concert-mark {
  height: 15px;
  width: auto;
  flex: none;
}

.concert-num {
  font-family: var(--concert-num-font);
  font-feature-settings: "tnum" on;
  letter-spacing: -0.01em;
  font-weight: 500;
}

/* Operator — Today ------------------------------------------------------- */

.concert-app {
  container-type: inline-size;
  background: var(--concert-paper);
  color: var(--concert-ink);
  border: 1px solid var(--concert-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.85);
}

.concert-app__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--concert-line);
}

.concert-app__where {
  min-width: 0;
  overflow: hidden;
  padding-left: 8px;
  border-left: 1px solid var(--concert-line);
  font-size: 0.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--concert-mute);
}

.concert-app__clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--concert-ink);
  font-size: 0.44rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
}

.concert-app__clock > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.concert-app__clock b {
  font-size: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--concert-gold);
}

.concert-app__avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 999px;
  background: var(--concert-accent);
  color: var(--concert-on-accent);
  font-size: 0.44rem;
  font-weight: 700;
}

.concert-app__body {
  padding: 12px 14px 14px;
}

.concert-app__greet {
  margin: 0 0 5px;
  font-family: var(--concert-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.concert-app__lede {
  margin: 0 0 11px;
  max-width: 38ch;
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--concert-mute);
}

.concert-app__lede b {
  color: var(--concert-ink);
  white-space: nowrap;
}

.concert-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.concert-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--concert-line);
  border-radius: 8px;
  background: var(--concert-wash);
}

.concert-stat__label {
  overflow: hidden;
  font-size: 0.44rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--concert-mute);
}

.concert-stat__value {
  font-size: 0.85rem;
  line-height: 1.25;
  color: var(--concert-ink);
}

.concert-stat__sub {
  font-size: 0.48rem;
  line-height: 1.35;
  color: var(--concert-mute);
}

.concert-panel {
  overflow: hidden;
  border: 1px solid var(--concert-line);
  border-radius: 10px;
}

.concert-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
}

.concert-panel__title {
  font-family: var(--concert-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.concert-panel__link {
  font-size: 0.48rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--concert-accent);
}

.concert-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--concert-line);
}

.concert-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--concert-line);
  font-size: 0.58rem;
}

.concert-rows li:last-child {
  border-bottom: 0;
}

.concert-rows__who {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.concert-code {
  flex: none;
  font-family: var(--concert-num-font);
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--concert-mute);
}

.concert-rows__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--concert-ink);
}

.concert-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--concert-num-font);
  font-size: 0.44rem;
  font-weight: 500;
  white-space: nowrap;
}

.concert-pill--risk {
  background: var(--concert-risk-bg);
  color: var(--concert-risk-ink);
}

.concert-pill--warn {
  background: var(--concert-warn-bg);
  color: var(--concert-warn-ink);
}

.concert-pill--ok {
  background: var(--concert-ok-bg);
  color: var(--concert-ok-ink);
}

.concert-amount {
  font-size: 0.58rem;
  text-align: right;
  white-space: nowrap;
  color: var(--concert-ink);
}

.concert-aging {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 10px 9px;
  border-top: 1px solid var(--concert-line);
  background: var(--concert-wash);
}

.concert-aging__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 4px;
  font-size: 0.44rem;
  color: var(--concert-mute);
}

.concert-aging__row b {
  font-size: 0.46rem;
  color: var(--concert-ink);
}

.concert-aging__bar {
  display: block;
  width: var(--w);
  height: 4px;
  border-radius: 99px;
}

.concert-aging__bar.is-ok {
  background: var(--concert-ok);
}

.concert-aging__bar.is-warn {
  background: var(--concert-warn);
}

.concert-aging__bar.is-risk {
  background: var(--concert-risk);
}

/* Client portal — estimate approval -------------------------------------- */

.concert-portal {
  width: calc(100% - 26px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid var(--concert-line);
  border-radius: 12px;
  background: var(--concert-paper);
  color: var(--concert-ink);
  box-shadow: 0 26px 60px -42px rgba(0, 0, 0, 0.8);
}

.concert-portal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--concert-line);
  background: var(--concert-wash);
  font-size: 0.48rem;
  color: var(--concert-mute);
}

.concert-portal__bar img.concert-mark {
  height: 11px;
}

.concert-portal__nav {
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--concert-mute);
}

.concert-portal__body {
  padding: 10px 12px 12px;
}

.concert-portal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.concert-portal__title {
  margin: 0;
  font-family: var(--concert-display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.concert-portal__sub {
  margin: 2px 0 0;
  font-size: 0.46rem;
  color: var(--concert-mute);
}

.concert-portal__amount {
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
}

.concert-portal__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 9px 0 0;
  padding: 7px 0 0;
  border-top: 1px solid var(--concert-line);
  list-style: none;
}

.concert-portal__lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.5rem;
  color: var(--concert-ink);
}

.concert-portal__lines span:last-child {
  white-space: nowrap;
  color: var(--concert-mute);
}

.concert-portal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.concert-btn {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--concert-accent);
  color: var(--concert-on-accent);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.concert-portal__later {
  font-size: 0.48rem;
  font-weight: 600;
  color: var(--concert-mute);
}

.concert-caption {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

@media (min-width: 1200px) {
  .concert-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* The screen column narrows well before the page does (2-up layout at 768px),
   so the chrome compacts against its own width, not the viewport. */
@container (max-width: 360px) {
  .concert-app__where,
  .concert-app__clock > span {
    display: none;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -40px rgba(22, 21, 15, 0.4);
}

.product-card__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.product-card h3 {
  font-size: 1.42rem;
  margin: 16px 0 10px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.product-card .tag-list {
  margin-top: 18px;
}

.product-card .link-arrow {
  margin-top: auto;
  padding-top: 24px;
  border-bottom: 0;
  align-self: flex-start;
}

.product-note {
  margin-top: 28px;
  max-width: 76ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-support > div:first-child {
  max-width: 58ch;
}

.product-support h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  margin: 14px 0 10px;
}

.product-support p {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Threat watch
   -------------------------------------------------------------------------- */

.threat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.72fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.threat-main {
  min-width: 0;
}

.threat-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.feed-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.feed-tabs button {
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.feed-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.feed-search {
  flex: 1;
  min-width: 190px;
  max-width: 320px;
}

.feed-search input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
}

.feed-search input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(251, 176, 59, 0.35);
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.feed-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-status::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f7a3a;
  box-shadow: 0 0 0 3px rgba(63, 122, 58, 0.16);
}

.feed-status.is-cached::before {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(251, 176, 59, 0.22);
}

.feed-status.is-error::before {
  background: #a3271b;
  box-shadow: 0 0 0 3px rgba(163, 39, 27, 0.16);
}

.feed-meta select {
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background-color: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
}

.feed-counts {
  white-space: nowrap;
}

.threat-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.threat-item {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.threat-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.threat-item__top time {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sev {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sev--critical {
  background: #f3ded9;
  color: #8a2117;
}

.sev--high {
  background: #fbe8c5;
  color: #7a4a00;
}

.sev--medium,
.sev--unknown {
  background: #eee8dc;
  color: #5a5347;
}

.threat-item h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.threat-item h3 a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.2s var(--ease);
}

.threat-item h3 a:hover {
  border-bottom-color: var(--amber);
}

.threat-item__name {
  margin: 1px 0 4px;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.threat-item__vendor {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.threat-item__desc {
  margin: 2px 0 0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.threat-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge--kev {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--amber);
}

.badge--watch {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.threat-spotlight {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 18px;
  color: var(--dark-text);
}

.threat-spotlight::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(251, 176, 59, 0.2), transparent 70%);
  pointer-events: none;
}

.threat-spotlight > * {
  position: relative;
  z-index: 1;
}

.threat-spotlight__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.threat-spotlight .eyebrow {
  color: var(--amber);
}

.threat-spotlight .eyebrow::before {
  background: var(--amber);
}

.threat-spotlight h2 {
  margin: 16px 0 8px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.threat-spotlight h2 a {
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 234, 0.3);
}

.threat-spotlight h2 a:hover {
  border-bottom-color: var(--amber);
}

.threat-spotlight__name {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--dark-text);
}

.threat-spotlight p {
  max-width: 70ch;
  color: var(--dark-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.threat-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-muted);
}

.threat-spotlight .link-arrow {
  margin-top: 18px;
  color: var(--dark-text);
  border-color: rgba(246, 242, 234, 0.35);
}

.threat-spotlight .link-arrow:hover {
  border-color: var(--amber);
}

.aside-card {
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.aside-card h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.aside-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.aside-card .btn {
  margin-top: 16px;
}

.aside-card--amber {
  background: var(--amber);
  border-color: var(--amber);
}

.aside-card--amber h2,
.aside-card--amber p {
  color: var(--ink);
}

.aside-card--amber p {
  color: rgba(22, 21, 15, 0.76);
}

.aside-card__sources {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.aside-card__sources a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}

.aside-card__sources a:hover {
  border-bottom-color: var(--amber);
}

.feed-empty {
  padding: 44px 0;
  text-align: center;
  color: var(--muted);
}

.feed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.feed-actions .feed-hint {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.feed-notes {
  max-width: 960px;
}

.feed-notes .eyebrow {
  margin-bottom: 14px;
}

.feed-notes p {
  max-width: 92ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.noscript-note {
  padding-bottom: 40px;
}

.noscript-note .note {
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-phone {
    display: none;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.8fr));
  }

  .footer-contact {
    grid-column: 2 / -1;
    padding-top: 8px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 92px;
    gap: 16px;
  }

  .site-header.is-scrolled .header-inner {
    min-height: 78px;
  }

  .brand-logo {
    height: 74px;
  }

  .site-header.is-scrolled .brand-logo {
    height: 58px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px 24px 24px;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(22, 21, 15, 0.5);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav li:last-child a {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-grid,
  .approach-grid,
  .support-top,
  .cta-inner,
  .contact-grid,
  .story-grid,
  .split,
  .page-hero-grid,
  .support-panel__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-grid .arch {
    justify-self: start;
    max-width: 520px;
    margin-top: 12px;
  }

  .hero-figure {
    max-width: 520px;
  }

  .split__media {
    order: -1;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .arch {
    max-width: 560px;
  }

  .service {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .service__aside,
  .story-aside {
    position: static;
  }

  .story-aside .facts {
    max-width: 420px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid li {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }

  .process-grid li:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .support-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .support-items {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    align-items: flex-start;
  }

  .threat-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-ribbon .btn {
    margin-left: 0;
  }

  .threat-sidebar {
    position: static;
  }

  .feed-search {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) and (min-width: 921px) {
  .nav ul {
    gap: 16px;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions .btn--sm {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 84px;
  }

  .brand-logo {
    height: 68px;
  }

  .site-header.is-scrolled .brand-logo {
    height: 54px;
  }

  .nav {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .hero-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .arch {
    padding: 14px;
    border-radius: 18px;
  }

  .arch__head {
    font-size: 0.56rem;
  }

  .cap-grid,
  .principles-grid,
  .then-now {
    grid-template-columns: minmax(0, 1fr);
  }

  .cap-card {
    min-height: 0;
  }

  .check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flagship {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .concert-app__body {
    padding: 10px 12px 12px;
  }

  .concert-app__chrome {
    padding: 10px 12px 9px;
  }

  .concert-portal {
    width: 100%;
    margin-left: 0;
  }

  .flagship__visual {
    max-width: 520px;
  }

  .ai-flow ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-flow li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ai-flow li:last-child {
    border-bottom: 0;
  }

  .about-banner img {
    aspect-ratio: 3 / 2;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid li {
    border-right: 0;
    padding-right: 0;
  }

  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-grid li {
    min-height: 92px;
    padding: 18px;
  }

  .logo-grid img {
    max-width: 108px;
    max-height: 40px;
  }

  .map-card iframe {
    height: 280px;
  }

  .support-panel__foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .cta,
  .site-footer,
  .support-contact .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .service {
    padding: 24px 0;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
