/* Ravst holding page. Self-hosted fonts, no third-party requests. */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans Condensed"; src: url("/assets/fonts/instrument-sans-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --ground: #F5F3EE;
  --sig: #A8C93A;
  --muted: #5A5751;
  --hair: #D8D4CA;
  --pad: clamp(20px, 5vw, 64px);
  --sans: "Instrument Sans", Arial, Helvetica, sans-serif;
  --display: "Instrument Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sig); outline-offset: 3px; box-shadow: 0 0 0 2px var(--ink); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mono { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--ground); text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-top: 8px; }
.home { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.wm { display: block; width: auto; }
.wm-text { height: 22px; }
.wm-small { height: 16px; display: none; }

/* hero */
.hero { padding-top: clamp(56px, 12vh, 140px); padding-bottom: clamp(64px, 12vh, 136px); }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(46px, 9.4vw, 152px); line-height: 0.9; letter-spacing: -0.025em; max-width: 15ch; text-wrap: balance; }
.status { display: flex; align-items: center; gap: 18px; margin-top: clamp(32px, 5vh, 56px); }
.status .line { flex: 0 0 auto; width: clamp(64px, 10vw, 120px); height: 10px; background: var(--sig); }
.status p { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.request { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.request[hidden] { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 28px; background: var(--sig); color: var(--ink); border: 2px solid var(--ink); font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--ground); }
.request span { font-size: 16px; max-width: 44ch; }

/* services */
.handles { padding-bottom: clamp(72px, 10vh, 120px); }
.handles h2, .where h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.6vw, 64px); line-height: 0.95; letter-spacing: -0.015em; }
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 28px; }
.svc { padding: 22px 0 8px 0; border-top: 2px solid var(--ink); }
.svc h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.glyph { width: 26px; height: 26px; flex: 0 0 auto; }
.svc p { margin-top: 10px; font-size: 17px; line-height: 1.45; }
.svc .eg { margin-top: 20px; }
.eg-label { display: block; font-size: 14px; color: var(--muted); }
.struck { display: inline; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.01em; text-decoration-line: line-through; text-decoration-color: var(--sig); text-decoration-thickness: 0.1em; text-decoration-skip-ink: none; }

/* where */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; padding-top: 40px; padding-bottom: clamp(72px, 10vh, 120px); background: linear-gradient(var(--hair), var(--hair)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px no-repeat; }
.where p { font-size: 19px; max-width: 46ch; }

/* footer */
.foot { padding-top: 32px; padding-bottom: 40px; background: linear-gradient(var(--ink), var(--ink)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 2px no-repeat; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.wm-foot { height: 28px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 18px; font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .svcs { grid-template-columns: minmax(0, 1fr); }
  .svc { padding-bottom: 26px; }
  .where { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .top { min-height: 64px; }
  .wm-text { display: none; }
  .wm-small { display: block; }
  .status { align-items: flex-start; }
  .status .line { margin-top: 0.6em; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .status .line { transform-origin: left center; animation: draw 480ms cubic-bezier(.2,.7,.2,1) 200ms both; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media print {
  .skip, .request { display: none !important; }
}
