@font-face { font-family: "Playfair"; src: url("assets/playfair.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-300.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/poppins-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }

/* Brand book v1.2: one yellow as a signal (<= 5% of a view), orange only for the action. */
:root {
  --yellow: #FDDA16;
  --orange: #FFB100;
  --ink: #0B0B0B;
  --charcoal: #3B3636;
  --muted: #6B6565;
  --rule: #E2E0DC;
  --stone: #F0F0F0;
  --paper: #FFFFFF;
  --serif: "Playfair", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--charcoal);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--orange); }

h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
h3 { font: 500 1.0625rem/1.4 var(--sans); }
p { margin: 0; max-width: 64ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4.25rem; }
.mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); font: 500 0.98rem/1 var(--sans); white-space: nowrap; }
.mark img { width: 1.35rem; height: auto; }
.nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); font: 400 0.9rem/1 var(--sans); }
.nav a { text-decoration: none; color: var(--charcoal); padding: 0.5rem 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero .wrap { padding-top: clamp(4.5rem, 12vw, 9rem); padding-bottom: clamp(4rem, 10vw, 7.5rem); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.04; max-width: 15ch; }
.hero h1 .cut { position: relative; white-space: nowrap; }
.hero h1 .cut::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; bottom: 0.08em; height: 0.16em;
  background: var(--yellow); z-index: -1;
  transform-origin: left; animation: cut 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
@keyframes cut { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lede { margin-top: 2rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--charcoal); max-width: 52ch; }
.hero .actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.supergraphic {
  position: absolute; right: -6vw; top: 50%; translate: 0 -50%;
  width: min(44vw, 40rem); aspect-ratio: 1188 / 1348;
  opacity: 0.06;
  pointer-events: none; user-select: none;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--orange); color: var(--ink); text-decoration: none;
  font: 500 0.98rem/1 var(--sans); padding: 1rem 1.5rem; border-radius: 999px;
  transition: background-color 0.2s, translate 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover { background: #F2A600; translate: 0 -1px; }
.btn svg { width: 1rem; height: 1rem; }
.quiet { font: 400 0.95rem/1 var(--sans); color: var(--charcoal); }

/* Sections */
section.block { padding: clamp(4rem, 9vw, 7rem) 0; border-bottom: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(2rem, 6vw, 6rem); }
.split > h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; }
.intro { font-size: 1.15rem; color: var(--charcoal); }

.services { list-style: none; margin: 3rem 0 0; padding: 0; }
.services li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1rem 2.5rem; padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.services li:last-child { border-bottom: 1px solid var(--rule); }
.services p { color: var(--charcoal); }

.principles { margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
.principles p strong { color: var(--ink); font-weight: 500; }

/* Company facts: a register, not cards */
.register { margin: 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
.register dt, .register dd { padding: 1.05rem 0; border-top: 1px solid var(--rule); margin: 0; }
.register dt { font: 400 0.9rem/1.5 var(--sans); color: var(--muted); padding-right: 1.5rem; }
.register dd { color: var(--ink); font-weight: 400; }
.register dt:nth-last-of-type(1), .register dd:last-of-type { border-bottom: 1px solid var(--rule); }
.note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #D9D6D6; border-bottom: 0; }
.contact h2 { color: var(--paper); }
.contact a { color: var(--paper); }
.contact .channels { display: grid; gap: 1.5rem; }
.contact .channel span { display: block; font-size: 0.9rem; color: #A9A3A3; margin-bottom: 0.25rem; }
.contact .channel a, .contact .channel address { font: 400 1.2rem/1.5 var(--sans); font-style: normal; color: var(--paper); }
.contact .btn { margin-top: 0.5rem; color: var(--ink); }
.contact :focus-visible { outline-color: var(--yellow); }

/* Footer */
.site-foot { background: var(--ink); color: #A9A3A3; font-size: 0.85rem; line-height: 1.65; }
.site-foot .wrap { border-top: 1px solid #2A2626; padding-top: 2rem; padding-bottom: 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; }
.site-foot p { max-width: 70ch; }
.site-foot a { color: #D9D6D6; }

/* Legal page */
.legal .wrap { max-width: 48rem; padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
.legal .updated { margin-top: 1rem; color: var(--muted); font-size: 0.92rem; }
.legal h2 { font-size: 1.5rem; margin: 3rem 0 0.9rem; }
.legal p, .legal li { color: var(--charcoal); }
.legal p + p { margin-top: 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0.75rem 0 0; }
.legal li + li { margin-top: 0.4rem; }

@media (max-width: 52rem) {
  .split, .services li, .register { grid-template-columns: minmax(0, 1fr); }
  .services li { gap: 0.5rem; }
  .register dt { padding-bottom: 0; border-top: 1px solid var(--rule); }
  .register dd { padding-top: 0.2rem; border-top: 0; }
  .register dt:nth-last-of-type(1) { border-bottom: 0; }
  .supergraphic { width: 70vw; right: -24vw; top: auto; bottom: -12vw; translate: 0 0; opacity: 0.045; }
  .nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .cut::after { animation: none; }
  .btn { transition: none; }
}
