/* Horologe Inc — Swiss Red brand system */
:root {
  --bg: #fffdf9;
  --paper: #f6f2ea;
  --text: #23252a;
  --muted: #5b5d63;
  --accent: #be342d;
  --accent-dark: #962620;
  --rule: #23252a;
  --hair: #d9d3c8;
  --font: Arial, Helvetica, sans-serif;
  --display: "Helvetica Neue Condensed", "Arial Narrow", "Helvetica Neue", Arial, Helvetica, sans-serif;
  --radius: 2px;
  --wrap: 1280px;
  --gutter: 48px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Display type ---------- */
.display,
.h-xl, .h-lg, .h-md, .h-sm {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
  overflow-wrap: break-word;
}
.h-xl { font-size: clamp(2.35rem, 7.2vw, 6.1rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.04; }
.h-sm { font-size: 1.2rem; line-height: 1.15; letter-spacing: 0; }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 40em; }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 40em; }

/* Section label: "CAPABILITY DIRECTORY ———" */
.label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent);
}
.label--thick::after { height: 8px; }
.label .num { color: var(--accent); }

.red-bar { display: block; height: 8px; background: var(--accent); border: 0; margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--text);
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--red { background: var(--accent); border-color: var(--accent); }
.btn--red:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: #fff; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.arrow-link:hover { color: var(--accent); }

.text-link { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.text-link:hover { color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 2px solid var(--text);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: 700 .9rem/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}
.nav-toggle .bars { display: grid; gap: 4px; }
.nav-toggle .bars i { display: block; width: 18px; height: 2px; background: currentColor; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav .nav-cta a {
  background: var(--accent);
  color: #fff;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
}
.site-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Home: hero ---------- */
.hero { padding: 64px 0 0; }
.hero h1 { max-width: 13.5em; }
.hero .rule-under {
  width: min(560px, 60%);
  height: 10px;
  background: var(--accent);
  margin: 22px 0 0;
}
.hero-body {
  display: grid;
  grid-template-columns: 4fr 2fr 6fr;
  gap: 0;
  align-items: end;
  margin-top: 48px;
}
.hero-copy { grid-column: 1; padding-bottom: 8px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure {
  grid-column: 3;
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 64px 40px;
  align-items: center;
}
.hero-figure .plate {
  background: #1e2024;
  aspect-ratio: 1 / 0.92;
  display: grid;
  place-items: center;
  padding: 7%;
}
.hero-figure .plate svg { width: 100%; height: auto; }
.hero-figure .slab { background: #2e3035; height: 82%; }
.hero-figure .slab + .slab { background: #8d8f94; height: 66%; }
.hero-figure figcaption {
  position: absolute;
  left: -170px;
  top: 40%;
  width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: right;
}
.hero-figure figcaption::after {
  content: "";
  flex: 0 0 32px;
  height: 1px;
  background: var(--accent);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--hair);
  margin-top: 64px;
}
.facts > div { padding: 20px 24px 20px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--hair); }
.facts dt {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 4px;
}
.facts dd { font-weight: 700; overflow-wrap: anywhere; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head .lead { justify-self: end; }

/* ---------- Capability directory ---------- */
.directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  list-style: none;
  padding: 0;
  border-top: 2px solid var(--rule);
}
.directory > li { border-bottom: 1px solid var(--rule); }
.directory > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dir-item {
  display: grid;
  grid-template-columns: 72px 1fr 52px;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  text-decoration: none;
}
.dir-item .n {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: 4.6rem;
  line-height: .82;
}
.dir-item h3 { margin-bottom: 8px; }
.dir-item p { font-size: .95rem; color: var(--muted); }
.dir-item .benefit { color: var(--text); margin-top: 8px; }
.dir-item .more {
  display: inline-block;
  margin-top: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.dir-item .icon { color: var(--accent); width: 48px; height: 48px; }
a.dir-item:hover h3 { color: var(--accent); }
a.dir-item:hover .n { color: var(--accent); }
a.dir-item:focus-visible { outline-offset: -2px; }

/* ---------- Scenarios (asymmetric numbered rows) ---------- */
.scenarios { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.scenarios li {
  display: grid;
  grid-template-columns: 2fr 4fr 6fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
}
.scenarios .tag {
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 4px;
}

/* ---------- Brand statement ---------- */
.statement { padding: 96px 0; }
.statement blockquote { margin: 0; }
.statement .display {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.0;
  padding: 0 0 32px;
}
.statement .red-bar { margin-bottom: 40px; }
.statement-foot {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
}

/* ---------- Approach / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--rule); padding-top: 20px; position: relative; }
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}
.steps li::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: .95rem; color: var(--muted); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Split (asymmetric two column) ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.split--rev { grid-template-columns: 7fr 5fr; }

/* Monogram brand glyph */
.monogram {
  aspect-ratio: 1;
  max-width: 360px;
  border: 2px solid var(--text);
  display: grid;
  place-items: center;
  position: relative;
  background: var(--bg);
}
.monogram .glyph {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: clamp(7rem, 16vw, 13rem);
  line-height: 1;
}
.monogram::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 50%;
  width: 6px;
  margin-left: -3px;
  background: var(--accent);
  transform-origin: bottom center;
  transform: rotate(38deg);
}
.monogram::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 8px;
  background: var(--accent);
}

/* ---------- Contact block ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 64px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin-top: 32px; }
.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  font-size: 1.1rem;
}
.contact-list svg { width: 22px; height: 22px; margin-top: 3px; color: var(--text); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--accent); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }

.inquiry-panel {
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 32px;
  background: #fff;
}
.inquiry-panel h3 { margin-bottom: 16px; }
.inquiry-panel .checklist { margin: 16px 0 24px; }
.inquiry-panel .btn { width: 100%; }
.inquiry-panel .note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--hair);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

/* Email topic links */
.topics { list-style: none; padding: 0; border-top: 2px solid var(--rule); }
.topics li { border-bottom: 1px solid var(--hair); }
.topics a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  min-height: 56px;
  text-decoration: none;
}
.topics .n { font-family: var(--display); font-stretch: condensed; font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--accent); }
.topics .t { font-weight: 700; }
.topics .go { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.topics a:hover .t { color: var(--accent); }

/* ---------- Inner page header ---------- */
.page-head { padding: 56px 0 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 32px;
}
.breadcrumb li + li::before { content: "/"; color: var(--accent); margin-right: 8px; }
.breadcrumb a { text-decoration: none; display: inline-block; padding: 4px 0; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--muted); }
.page-head .eyebrow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-head .eyebrow .big {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: .8;
  color: var(--text);
  letter-spacing: 0;
}
.page-head h1 { max-width: 16em; }
.page-head .rule-under { width: min(420px, 50%); height: 10px; background: var(--accent); margin-top: 22px; }
.page-intro {
  display: grid;
  grid-template-columns: 4fr 1fr 7fr;
  margin-top: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.page-intro .lead { grid-column: 3; }
.page-intro .aside { grid-column: 1; font-weight: 700; font-size: .95rem; }
.page-intro .aside .benefit-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

/* Feature list (numbered, in detail pages) */
.features { list-style: none; padding: 0; border-top: 2px solid var(--rule); }
.features li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}
.features .n { font-family: var(--display); font-stretch: condensed; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--accent); }
.features h3 { margin-bottom: 6px; }
.features p { color: var(--muted); font-size: .97rem; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; }
.related a {
  display: block;
  height: 100%;
  border-top: 2px solid var(--rule);
  padding: 16px 0 8px;
  text-decoration: none;
}
.related .n { display: block; font-family: var(--display); font-stretch: condensed; font-weight: 900; font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.related a:hover { color: var(--accent); border-top-color: var(--accent); }

.cta-band {
  border-top: 10px solid var(--accent);
  padding: 64px 0;
}
.cta-band .inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: end;
}
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--rule); padding: 56px 0 32px; font-size: .95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 2fr;
  gap: 40px;
}
.footer-grid h2 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { padding: 3px 0; }
.footer-grid a { text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand .brand { font-size: 2.2rem; display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 28em; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  padding-top: 16px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav ul { gap: 20px; }
  .hero-figure figcaption { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 2px solid var(--rule);
    padding: 8px var(--gutter) 24px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--hair); }
  .site-nav a { display: flex; min-height: 52px; font-size: 1.3rem; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-nav .nav-cta { border-bottom: 0; padding-top: 16px; }
  .site-nav .nav-cta a { justify-content: center; }

  .hero { padding-top: 40px; }
  .hero-body,
  .page-intro { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy, .hero-figure, .page-intro .lead, .page-intro .aside { grid-column: 1; }
  .page-intro .aside { order: 2; }
  .section-head,
  .split,
  .split--rev,
  .contact-grid,
  .statement-foot,
  .cta-band .inner { grid-template-columns: 1fr; gap: 32px; }
  .section-head .lead { justify-self: start; }
  .cta-band .actions { justify-content: flex-start; }
  .directory { grid-template-columns: 1fr; }
  .scenarios li { grid-template-columns: 1fr; gap: 8px; }
  .section, .statement { padding: 64px 0; }
  .monogram { max-width: 280px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand { font-size: 1.4rem; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 16px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--hair); }
  .dir-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .dir-item .n { font-size: 3.4rem; }
  .dir-item .icon { display: none; }
  .hero-figure { grid-template-columns: 1fr 32px 20px; }
  .steps, .steps--3, .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .inquiry-panel { padding: 24px; }
  .topics a { grid-template-columns: 36px 1fr; }
  .topics .go { grid-column: 2; }
  .page-head .eyebrow .big { font-size: 3.4rem; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
