/* Zlatex Activ — emerald diagonals */
:root {
  --emerald: #0E3B2E;
  --emerald-deep: #092a20;
  --emerald-soft: #1a5743;
  --gold: #D9B95B;
  --cream: #F7F2E3;
  --white: #ffffff;
  --ink: #0c241c;
  --slant: clamp(30px, 6.5vw, 96px);
  --lean: -16deg;
  --bar: 68px;
  --gutter: clamp(16px, 5vw, 56px);
  --display: "Syne", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --copy: "Heebo", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--bar) + 12px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.68 var(--copy);
  color: var(--ink);
  background: var(--cream);
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 8.8vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 5.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3.4vw, 1.55rem); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
a { color: var(--emerald); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--gold); }
svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[data-tone="cream"] :focus-visible, [data-tone="white"] :focus-visible, [data-tone="gold"] :focus-visible, .bar :focus-visible { outline-color: var(--emerald); }

.skiplink { position: absolute; top: -100px; left: 16px; z-index: 99; background: var(--gold); color: var(--emerald); font-weight: 700; padding: 10px 16px; }
.skiplink:focus { top: 10px; }

/* ============ sticky bar ============ */
.bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--white);
  box-shadow: 0 3px 0 var(--emerald);
}
.bar > a {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 0 44px 0 var(--gutter);
  background: var(--emerald); color: var(--cream);
  font: 800 1.3rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}
.bar > a svg { width: 30px; height: 30px; flex: none; }
.bar > a:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.bar > button {
  align-self: center; margin-right: var(--gutter);
  width: 48px; height: 48px; padding: 0; flex: none;
  display: grid; place-content: center; gap: 6px;
  background: var(--emerald); border: 0; cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.bar > button i { display: block; width: 22px; height: 3px; background: var(--gold); transform: skewX(-30deg); transition: transform .2s, opacity .2s; }
.bar > button[aria-expanded="true"] i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.bar > button[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.bar > button[aria-expanded="true"] i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.bar > button:focus-visible { outline-offset: -5px; outline-color: var(--cream); }

.bar nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  padding: 10px var(--gutter) 18px;
  box-shadow: 0 3px 0 var(--emerald), 0 18px 30px rgba(9, 42, 32, .22);
  margin-top: 3px;
}
.js .bar nav:not([data-open]) { display: none; }
.bar nav ul { list-style: none; margin: 0; padding: 0; }
.bar nav a {
  position: relative; z-index: 0;
  display: flex; align-items: center; min-height: 50px; padding: 0 18px;
  font: 700 1.08rem/1 var(--display); color: var(--emerald); text-decoration: none;
}
.bar nav a::before {
  content: ""; position: absolute; z-index: -1; inset: 6px 0;
  background: var(--gold);
  transform: skewX(var(--lean)) scaleX(0); transform-origin: left center;
  transition: transform .22s ease-out;
}
.bar nav a:hover::before, .bar nav a:focus-visible::before { transform: skewX(var(--lean)) scaleX(1); opacity: .45; }
.bar nav a[aria-current="page"]::before { transform: skewX(var(--lean)) scaleX(1); opacity: 1; }

@media (min-width: 900px) {
  .bar > button { display: none; }
  .bar nav, .js .bar nav:not([data-open]) {
    display: flex; position: static; align-items: center;
    padding: 0 var(--gutter) 0 0; margin: 0; box-shadow: none; background: none;
  }
  .bar nav ul { display: flex; gap: 6px; }
  .bar nav a { min-height: 44px; padding: 0 20px; font-size: 1rem; }
}

/* ============ bands ============ */
.band { position: relative; overflow: hidden; padding: calc(var(--slant) + clamp(40px, 7vw, 84px)) 0; margin-top: calc(var(--slant) * -1); }
.band[data-cut="none"] { margin-top: 0; padding-top: clamp(44px, 8vw, 96px); }
.band[data-cut="rise"] { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); }
.band[data-cut="fall"] { clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%); }
.band[data-tone="emerald"] { background: var(--emerald); color: var(--cream); }
.band[data-tone="deep"] { background: var(--emerald-deep); color: var(--cream); }
.band[data-tone="gold"] { background: var(--gold); color: var(--emerald-deep); }
.band[data-tone="cream"] { background: var(--cream); }
.band[data-tone="white"] { background: var(--white); }
.band[data-tone="emerald"] a, .band[data-tone="deep"] a { color: var(--gold); }
.band[data-tone="emerald"] h1, .band[data-tone="emerald"] h2, .band[data-tone="deep"] h2 { color: var(--white); }
.band[data-tone="cream"] h2, .band[data-tone="white"] h2, .band[data-tone="cream"] h3, .band[data-tone="white"] h3 { color: var(--emerald); }

.inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }
.kicker { display: inline-block; font: 700 .9rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2rem; padding: 8px 16px 8px 14px; background: var(--gold); color: var(--emerald-deep); clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
[data-tone="gold"] .kicker { background: var(--emerald); color: var(--cream); }
.lede { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.55; max-width: 36em; }

/* big angled numerals, decorative */
.numeral {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  right: -1vw; top: 50%;
  font: 800 clamp(10rem, 38vw, 26rem)/.8 var(--display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px rgba(217, 185, 91, .5);
  transform: translateY(-50%) rotate(-16deg);
}
[data-tone="cream"] .numeral, [data-tone="white"] .numeral { -webkit-text-stroke-color: rgba(14, 59, 46, .16); }
[data-tone="gold"] .numeral { -webkit-text-stroke-color: rgba(14, 59, 46, .28); }

/* diagonal stripes behind the hero */
.stripes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stripes i { position: absolute; top: -20%; bottom: -20%; transform: skewX(var(--lean)); }
.stripes i:nth-child(1) { left: 77%; width: 8%; background: var(--gold); }
.stripes i:nth-child(2) { left: 88%; width: 4%; background: var(--emerald-soft); }
.stripes i:nth-child(3) { left: 66%; width: 5%; background: rgba(247, 242, 227, .07); }
.stripes i:nth-child(4) { left: 96%; width: 12%; background: var(--gold); opacity: .75; }
@media (max-width: 899px) {
  .stripes i:nth-child(1) { left: 80%; width: 9%; opacity: .2; }
  .stripes i:nth-child(2) { left: 92%; }
  .stripes i:nth-child(3), .stripes i:nth-child(4) { display: none; }
}

/* leaning button: skewed plate, upright label */
.lean-btn {
  display: inline-block; position: relative; z-index: 0;
  padding: 15px 30px; margin: 6px 8px 6px 6px;
  font: 700 1.05rem/1.1 var(--display); text-decoration: none;
  color: var(--emerald-deep) !important;
  border: 0; background: none; cursor: pointer;
}
.lean-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: skewX(var(--lean)); transition: transform .2s, background-color .2s; box-shadow: 6px 6px 0 rgba(9, 42, 32, .35); }
.lean-btn:hover::before { transform: skewX(var(--lean)) translate(-3px, -3px); background: var(--white); }
[data-tone="gold"] .lean-btn, [data-tone="cream"] .lean-btn, [data-tone="white"] .lean-btn { color: var(--cream) !important; }
[data-tone="gold"] .lean-btn::before, [data-tone="cream"] .lean-btn::before, [data-tone="white"] .lean-btn::before { background: var(--emerald); box-shadow: 6px 6px 0 rgba(217, 185, 91, .9); }
[data-tone="gold"] .lean-btn::before { box-shadow: 6px 6px 0 rgba(247, 242, 227, .8); }
[data-tone="gold"] .lean-btn:hover::before, [data-tone="cream"] .lean-btn:hover::before, [data-tone="white"] .lean-btn:hover::before { background: var(--emerald-soft); }
.text-link { font-weight: 500; }

/* ============ home ============ */
.hero { padding-bottom: calc(var(--slant) + clamp(48px, 8vw, 96px)); }
.hero h1 span { color: var(--gold); display: block; }

.routes { display: grid; gap: 18px; margin-top: 2.2rem; }
.routes a {
  position: relative; min-width: 0; display: block; overflow: hidden;
  padding: 30px 26px 54px;
  background: var(--emerald); color: var(--cream); text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
  transition: background-color .2s;
}
.routes a:nth-child(even) { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px)); background: var(--emerald-deep); }
.routes a b { position: absolute; right: 12px; top: -6px; font: 800 5.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(217, 185, 91, .6); transform: rotate(-16deg); }
.band .routes a h3 { color: var(--gold); position: relative; margin-top: 4.4rem; }
.routes a p { position: relative; margin: 0 0 .9em; }
.routes a span { position: relative; font: 700 .98rem/1 var(--display); color: var(--gold); }
.routes a:hover { background: var(--emerald-soft); }
.routes a:focus-visible { outline-offset: -8px; outline-color: var(--gold); }

/* clocks */
.clockrow { display: grid; gap: 22px; margin-top: 2rem; align-items: center; }
.clockrow > * { min-width: 0; }
.dial { margin: 0; background: var(--cream); color: var(--emerald-deep); padding: 26px 22px 30px; text-align: center; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.dial svg { width: min(210px, 62vw); height: auto; display: block; margin: 0 auto 14px; }
.dial .face { fill: var(--white); stroke: var(--emerald); stroke-width: 5; }
.dial .tick { stroke: var(--emerald); stroke-width: 2; }
.dial .tick.major { stroke-width: 5; stroke: var(--gold); }
.dial .hand { stroke: var(--emerald-deep); stroke-linecap: square; }
.dial .hand.h { stroke-width: 7; }
.dial .hand.m { stroke-width: 4; }
.dial .hand.s { stroke-width: 2; stroke: #a8862a; }
.dial .pin { fill: var(--gold); stroke: var(--emerald-deep); stroke-width: 2; }
.dial figcaption { display: grid; gap: 2px; }
.dial .place { font: 700 .9rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.dial .digits { font: 800 clamp(2rem, 8vw, 2.7rem)/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dial .when { font-size: 1rem; overflow-wrap: anywhere; }
.gap {
  position: relative; z-index: 0; text-align: center; padding: 22px 20px; color: var(--cream);
}
.gap::before { content: ""; position: absolute; inset: 0 8px; z-index: -1; background: var(--emerald); transform: skewX(var(--lean)); }
.gap strong { display: block; font: 800 clamp(2.4rem, 9vw, 3.6rem)/1 var(--display); color: var(--gold); }
.gap span { display: block; font-weight: 500; }
.clocknote { margin-top: 1.6rem; font-size: 1rem; max-width: 44em; }

/* three-step slope on the home page */
.slope { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.slope li { position: relative; min-width: 0; padding: 20px 22px 22px 104px; background: var(--white); border-left: 6px solid var(--gold); counter-increment: s; }
.slope li::before { content: "0" counter(s); position: absolute; left: 12px; top: 20px; font: 800 2.2rem/1 var(--display); color: var(--emerald); transform: rotate(-16deg); }
.slope h3 { margin-bottom: .25em; }
.slope p { margin: 0; }

/* ============ inner pages ============ */
.pagehead { padding-bottom: calc(var(--slant) + clamp(36px, 6vw, 72px)); }
.pagehead h1 { font-size: clamp(2.3rem, 8.4vw, 4.8rem); max-width: 13em; }
.pagehead .lede { max-width: 32em; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); }
.split > * { min-width: 0; }

.sheet { background: var(--emerald); color: var(--cream); padding: 30px 26px 50px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); }
.sheet h3 { color: var(--gold) !important; }
.sheet ul { margin: 0; padding: 0; list-style: none; }
.sheet li { position: relative; padding: 0 0 .7em 30px; }
.sheet li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 8px; background: var(--gold); transform: skewX(-30deg); }

/* staircase: each row steps to the right */
.stairs { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 14px; }
.stairs li { min-width: 0; background: var(--cream); color: var(--ink); padding: 18px 22px; border-left: 8px solid var(--emerald); }
.stairs li strong { font-family: var(--display); font-weight: 800; color: var(--emerald); display: block; font-size: 1.15rem; }

/* approach: numbered ramps */
.ramp { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.ramp li { position: relative; min-width: 0; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.ramp .n { font: 800 5rem/.9 var(--display); color: var(--gold); -webkit-text-stroke: 2px var(--emerald); transform: rotate(-16deg); transform-origin: 50% 60%; text-align: center; }
.ramp .body { background: var(--white); padding: 22px 24px 24px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.ramp .body p:last-child { margin-bottom: 0; }
.ramp .who { display: inline-block; font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-deep); background: var(--gold); padding: 6px 12px; margin-bottom: .9rem; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

.pair { display: grid; gap: 22px; }
.pair > * { min-width: 0; }
.slab { padding: 26px 24px 30px; background: rgba(247, 242, 227, .08); border-top: 5px solid var(--gold); }
[data-tone="gold"] .slab { background: rgba(247, 242, 227, .55); border-top-color: var(--emerald); }
[data-tone="cream"] .slab, [data-tone="white"] .slab { background: var(--white); border-top-color: var(--emerald); }
[data-tone="white"] .slab { background: var(--cream); }
.slab ul { margin: 0; padding-left: 1.2em; }
.slab li { margin-bottom: .5em; }
.slab li::marker { color: var(--gold); content: "\25E2\00A0\00A0"; }
[data-tone="gold"] .slab li::marker, [data-tone="cream"] .slab li::marker, [data-tone="white"] .slab li::marker { color: var(--emerald); }
.slab > :last-child { margin-bottom: 0; }

/* company record */
.record { margin: 0; background: var(--white); color: var(--ink); padding: 12px 26px 40px; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); border-left: 8px solid var(--gold); }
.record > div { padding: 18px 0; border-bottom: 2px solid rgba(14, 59, 46, .14); }
.record > div:last-of-type { border-bottom: 0; }
.record dt { font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-soft); margin-bottom: 6px; }
.record dd { margin: 0; font-size: 1.14rem; font-weight: 500; overflow-wrap: anywhere; }
.record a { color: var(--emerald) !important; }

.record[data-dark] { background: var(--emerald); color: var(--cream); }
.record[data-dark] > div { border-bottom-color: rgba(247, 242, 227, .2); }
.record[data-dark] dt { color: var(--gold); }
.record[data-dark] a { color: var(--cream) !important; }
.ramp .body h2 { font-size: clamp(1.45rem, 4.2vw, 2.1rem); }

/* ============ contact ============ */
.form { display: grid; gap: 18px; }
.form > * { min-width: 0; }
.form label { display: block; font: 700 .95rem/1.2 var(--display); color: var(--emerald); margin-bottom: 6px; }
.form input, .form textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: var(--white); border: 2px solid var(--emerald); border-radius: 0;
}
.form textarea { min-height: 190px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #9b2c13; background: #fff6f3; }
.form .msg { display: block; margin-top: 6px; color: #8a2410; font-weight: 500; }
.form .after { font-size: 1rem; margin: 0; }
.form .live { font-weight: 500; color: var(--emerald); margin: 0; min-height: 1.6em; }

/* ============ footer ============ */
.foot { position: relative; margin-top: calc(var(--slant) * -1); padding: calc(var(--slant) + 56px) 0 34px; background: var(--emerald-deep); color: var(--cream); clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.foot::before { content: ""; position: absolute; top: -20%; bottom: -20%; right: 6%; width: 7%; background: rgba(217, 185, 91, .14); transform: skewX(var(--lean)); }
.foot .inner { display: grid; gap: 34px; }
.foot .inner > * { min-width: 0; }
.foot h2 { font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.foot .name { font: 800 1.9rem/1 var(--display); color: var(--white); margin: 0 0 .6rem; }
.foot a { color: var(--cream); }
.foot a:hover { color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot dl { margin: 0; }
.foot dl > div { margin-bottom: 12px; }
.foot dt { font: 700 .8rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot dd { margin: 0; overflow-wrap: anywhere; }
.foot .base { position: relative; max-width: 1160px; margin: 34px auto 0; padding: 18px var(--gutter) 0; border-top: 1px solid rgba(247, 242, 227, .25); font-size: .98rem; }

/* ============ larger screens ============ */
@media (min-width: 760px) {
  .routes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .routes a:nth-child(2) { margin-top: 34px; }
  .routes a:nth-child(3) { margin-top: 68px; }
  .clockrow { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); }
  .slope { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slope li:nth-child(2) { transform: translateY(-18px); }
  .slope li:nth-child(3) { transform: translateY(-36px); }
  .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .inner { grid-template-columns: 1.2fr .8fr 1.5fr; }
  .form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .stairs li:nth-child(2) { margin-left: 6%; }
  .stairs li:nth-child(3) { margin-left: 12%; }
  .stairs li:nth-child(4) { margin-left: 18%; }
  .stairs li:nth-child(5) { margin-left: 24%; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: start; }
  .split[data-flip] { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); }
  .ramp li { grid-template-columns: 130px minmax(0, 1fr); }
  .ramp .n { font-size: 8rem; }
  .ramp li:nth-child(2) { margin-left: 5%; }
  .ramp li:nth-child(3) { margin-left: 10%; }
  .ramp li:nth-child(4) { margin-left: 15%; }
}

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

/* without JavaScript the small-screen menu is simply shown under the bar */
@media (max-width: 899px) {
  html:not(.js) .bar { height: auto; min-height: var(--bar); flex-wrap: wrap; }
  html:not(.js) .bar > a { min-height: var(--bar); }
  html:not(.js) .bar > button { display: none; }
  html:not(.js) .bar nav { position: static; flex-basis: 100%; box-shadow: none; }
}
