/* SG Marine & Tech — site styles */

@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #08223b;          /* exact logo navy */
  --navy-deep: #051726;
  --navy-2: #0e2e4d;
  --ink: #0b1b2b;
  --text: #22313f;
  --muted: #5a6978;
  --mist: #f3f5f7;
  --line: #e1e6eb;
  --white: #ffffff;
  --brass: #b8975a;         /* accent: on dark backgrounds */
  --brass-ink: #8a6a2f;     /* accent: on light backgrounds (AA contrast) */
  --on-navy: rgba(255,255,255,.74);
  --on-navy-line: rgba(255,255,255,.14);

  --font-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-weight: 350; font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-weight: 500; font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-head); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink);
  display: flex; align-items: center; gap: 14px; margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: var(--white); text-decoration: none; cursor: pointer;
  font: 500 .92rem/1 var(--font-body); letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 20px; }
.dark .btn, .hero .btn, .page-hero .btn, .cta .btn, .site-header .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.dark .btn:hover, .hero .btn:hover, .page-hero .btn:hover, .cta .btn:hover, .site-header .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--navy-deep); }
.hero .btn-ghost, .page-hero .btn-ghost, .cta .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.link-arrow { color: var(--navy); font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; border-bottom: 1px solid var(--brass); padding-bottom: 4px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 18px 0;
}
.site-header.is-solid { background: rgba(8,34,59,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--on-navy-line); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark svg { width: 46px; height: auto; display: block; }
.brand-word { font-family: var(--font-head); font-weight: 400; font-size: 1.02rem; letter-spacing: .14em; padding-left: 12px; border-left: 1px solid var(--on-navy-line); }
.brand-word span { color: var(--brass); padding: 0 .08em; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) { color: var(--on-navy); text-decoration: none; font-size: .92rem; letter-spacing: .04em; position: relative; padding: 6px 0; transition: color .2s; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current]:not(.btn) { color: var(--white); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current]:not(.btn)::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 2;
  }
  .nav-toggle .bar { display: block; height: 1.5px; width: 24px; background: var(--white); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; background: var(--navy); padding: 110px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-nav a:not(.btn) { font-family: var(--font-head); font-size: 2rem; font-weight: 300; color: var(--white); }
  .site-nav .btn { margin-top: 24px; min-height: 52px; padding: 0 32px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 10%, #123a5f 0%, var(--navy) 45%, var(--navy-deep) 100%);
  min-height: min(100svh, 920px); display: flex; align-items: center;
  padding: 140px 0 120px;
}
.hero.has-image { background: var(--navy-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,38,.92) 0%, rgba(5,23,38,.55) 60%, rgba(5,23,38,.3) 100%); z-index: 1; }
.hero-art { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(62vw, 820px); color: rgba(255,255,255,.045); pointer-events: none; }
.hero-art svg { width: 100%; height: auto; }
.hero-lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; z-index: 1; }
.hero-lines path { fill: none; stroke: rgba(184,151,90,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-lines path:nth-child(2) { stroke: rgba(255,255,255,.09); }
.hero-lines path:nth-child(3) { stroke: rgba(255,255,255,.05); }
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow, .page-hero .eyebrow, .section-navy .eyebrow, .cta .eyebrow { color: var(--brass); }
.hero-title { color: var(--white); max-width: 16ch; margin-bottom: .45em; }
.hero-intro { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--on-navy); max-width: 58ch; line-height: 1.7; }
.hero-intro a { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

/* Inner page hero */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: clamp(140px, 18vw, 200px) 0 clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: linear-gradient(90deg, var(--brass), transparent 70%); opacity: .5; }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero-tall { min-height: 80svh; display: flex; align-items: center; }

/* Stats */
.stats { background: var(--navy-deep); color: var(--white); border-top: 1px solid var(--on-navy-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px 40px 0; border-right: 1px solid var(--on-navy-line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; color: var(--white); margin-bottom: .35em; white-space: nowrap; }
.stat-label { font-size: .88rem; color: var(--on-navy); margin: 0; max-width: 24ch; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 28px 18px; border-right: 0; border-bottom: 1px solid var(--on-navy-line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--on-navy-line); padding-left: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-value { white-space: normal; font-size: 1.6rem; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lead { color: var(--on-navy); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-media { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(6, 1fr); } .card-grid > .card { grid-column: span 2; } .card-grid > .card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 40px 34px 36px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; min-height: 300px; position: relative;
  transition: background .35s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--brass); transition: width .45s var(--ease); }
.card:hover { background: #fbfcfd; border-color: #cfd8e0; }
.card:hover::before { width: 100%; }
.card h3 { margin: 26px 0 12px; }
.card p { color: var(--muted); font-size: .96rem; }
.card-more { margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 500; color: var(--navy); letter-spacing: .02em; }
.card-icon { display: inline-flex; width: 52px; height: 52px; color: var(--navy); }
.section-navy .card-icon { color: var(--brass); }
.icon { width: 100%; height: 100%; }

/* Steps */
.steps { list-style: none; border-top: 1px solid var(--on-navy-line); }
.steps li { display: flex; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--on-navy-line); color: var(--white); font-size: 1.1rem; }
.step-n { font-family: var(--font-head); color: var(--brass); font-size: .9rem; letter-spacing: .1em; flex: none; }

/* Media */
.media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  display: grid; place-items: center; color: var(--navy);
  background:
    linear-gradient(135deg, rgba(8,34,59,.04) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(160deg, #eef2f5, #dfe6ec);
}
.media-placeholder > span { width: 96px; height: 96px; opacity: .55; }
.media-logo { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.media-logo img { width: 46%; height: auto; object-fit: contain; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; }
.section-mist .project { border-color: transparent; }
.project h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 18px; }
.project-meta { font-size: .82rem; color: var(--muted); letter-spacing: .02em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 18px; }
.tag { font-family: var(--font-head); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); border: 1px solid rgba(138,106,47,.35); padding: 4px 10px; border-radius: 2px; }
.project-outcome { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--text); }
.project-outcome strong { font-weight: 600; color: var(--navy); }
.group-title { font-size: 1.5rem; margin: 0 0 28px; }
.group-title:not(:first-child) { margin-top: 72px; }
@media (max-width: 400px) { .project-grid { grid-template-columns: 1fr; } .project { padding: 28px 22px; } }

.ticks { list-style: none; margin: 0 0 18px; }
.ticks li { position: relative; padding: 6px 0 6px 26px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 1px; background: var(--brass); }
.ticks-lg li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.ticks-lg li::before { top: 27px; width: 16px; }
.list-title { font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* Discretion + CTA */
.discretion { text-align: left; border-top: 1px solid var(--line); }
.cta { background: var(--navy); color: var(--on-navy); padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184,151,90,.18); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.cta h2 { color: var(--white); max-width: 22ch; }
.cta p { margin: 0; max-width: 54ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Services page */
.service-index { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; padding-bottom: 8px; }
.service-index a { font-size: .86rem; text-decoration: none; color: var(--navy); border: 1px solid var(--line); padding: 9px 16px; border-radius: 40px; transition: border-color .2s, background .2s; }
.service-index a:hover { border-color: var(--navy); background: var(--mist); }
.service h2 { margin-top: 22px; }
.service-img { border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.prose p { color: var(--text); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose a { color: var(--navy); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .5em; }
.legal code { font-size: .88em; background: var(--mist); padding: 2px 6px; border-radius: 3px; }

/* About */
.founder { font-size: .95rem; color: var(--muted); border-left: 2px solid var(--brass); padding-left: 16px; }
.founder strong { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--on-navy-line); border: 1px solid var(--on-navy-line); }
.value { background: var(--navy); padding: 36px 30px; }
.value h3 { font-weight: 400; font-size: 1.3rem; }
.value h3::before { content: ""; display: block; width: 28px; height: 1px; background: var(--brass); margin-bottom: 22px; }
.value p { margin: 0; font-size: .96rem; }
.certs { list-style: none; border-top: 1px solid var(--line); margin-top: 12px; }
.certs li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.certs strong { color: var(--ink); font-weight: 500; }
.certs span { font-size: .88rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chips li { border: 1px solid var(--line); padding: 9px 16px; border-radius: 40px; font-size: .9rem; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
label { font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #cdd5dd; border-radius: var(--radius); padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2308223b' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(8,34,59,.12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--navy); }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .92rem; }
.form-status.is-error { color: #b3261e; }
.contact-aside { background: var(--mist); padding: 36px 32px; border-radius: var(--radius); }
.contact-aside h2 { font-size: 1.5rem; }
.contact-list { list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.contact-list span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.aside-note { font-size: .9rem; color: var(--muted); margin: 20px 0 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 80px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--on-navy-line); }
.footer-logo { width: 110px; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.footer-h { font-family: var(--font-head); font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a, .footer-base a { color: var(--on-navy); text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover, .footer-base a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .84rem; }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Subtle reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 700px) { .card { min-height: 0; padding: 30px 24px; } .card h3 { margin-top: 18px; } }
