/* ==========================================================================
   Doddle Investments — modern: tight sans type, rounded bento cards,
   glass header, warm-gold accent from the crest brand.
   ========================================================================== */

:root {
    --ink: #0d0d0c;
    --ink-2: #171715;
    --ink-3: #232320;
    --text: #1a1a18;
    --muted: #6b6a64;
    --line: #e4e2dc;
    --bg: #f6f5f1;
    --surface: #ffffff;
    --soft: #eeece6;
    --gold: #c49a5c;
    --gold-2: #dcb57a;
    --white: #fff;
    --error: #c0392b;

    --display: "Inter Tight", "Inter", system-ui, sans-serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 48px);
    --section: clamp(80px, 10vw, 140px);
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.icon-arrow { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
a:hover > .icon-arrow, button:hover > .icon-arrow { transform: translate(2px, -2px); }

/* ---------- Type ---------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 500; letter-spacing: .02em;
    color: var(--muted);
    margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.eyebrow-dark { color: var(--muted); }
.portfolio .eyebrow, .care .eyebrow { color: rgba(255, 255, 255, .6); }

.section-title {
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.02;
    max-width: 16ch;
}
.section-title em, .hero-title em { font-style: normal; color: var(--gold); }
.section-lede { color: var(--muted); font-size: 18px; max-width: 46ch; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.section-head-center { text-align: center; }
.section-head-center .section-title { margin: 0 auto; }

.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px; color: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(220, 181, 122, .25); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    font: 500 15px/1 var(--sans);
    text-decoration: none; border: 1px solid transparent; border-radius: 999px;
    cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }

/* ---------- Header (floating glass bar) ---------- */

.site-header {
    position: fixed; inset: 16px 0 auto; z-index: 50;
    color: var(--white);
    pointer-events: none;
}
.header-inner {
    pointer-events: auto;
    height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 0 10px 0 18px !important;
    max-width: calc(var(--container) + 40px);
    position: relative; isolation: isolate;
    border-radius: 999px;
}
/* Glass lives on a pseudo-element: backdrop-filter on .header-inner itself would trap the fixed mobile menu. */
.header-inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    border: 1px solid transparent;
    transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid .header-inner::before, body:not(.is-home) .header-inner::before, .nav-open .header-inner::before {
    background: rgba(13, 13, 12, .72);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header .header-inner { width: calc(100% - var(--gutter) * 2); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-crest { width: 38px; aspect-ratio: 272 / 222; object-fit: cover; object-position: top; filter: invert(1); }
.brand-word { display: flex; flex-direction: column; font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; }
.brand-word span + span { font-weight: 400; opacity: .7; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
    display: block; padding: 8px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .82);
    transition: background .25s, color .25s;
}
.main-nav ul a:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; padding: 0; cursor: pointer; color: inherit; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    color: var(--white); background: var(--ink); overflow: hidden;
    margin: 10px; border-radius: var(--r-lg);
}
.hero-media, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video { object-fit: cover; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(0deg, rgba(8, 8, 7, .88) 0%, rgba(8, 8, 7, .35) 45%, rgba(8, 8, 7, .2) 100%),
        linear-gradient(90deg, rgba(8, 8, 7, .45) 0%, transparent 60%);
}
.hero-inner {
    position: relative; width: 100%;
    display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: end;
    padding-top: 120px; padding-bottom: clamp(32px, 4vw, 56px);
}
.hero-title {
    margin-top: 24px;
    font-size: clamp(44px, min(7.4vw, 11vh), 116px); line-height: .95; letter-spacing: -.045em;
    max-width: 14ch;
}
.hero-title em { color: var(--gold-2); }
.hero-lede { margin-top: 26px; max-width: 48ch; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255, 255, 255, .78); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-panel {
    padding: 10px; border-radius: var(--r-md);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hero-panel-label { padding: 10px 14px 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero-panel-link {
    display: flex; align-items: center; gap: 16px;
    padding: 14px; border-radius: var(--r-sm); text-decoration: none;
    transition: background .25s;
}
.hero-panel-link:hover { background: rgba(255, 255, 255, .1); }
.hero-panel-link + .hero-panel-link { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-panel-num { font: 500 13px/1 var(--display); color: var(--gold-2); width: 22px; }
.hero-panel-text { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-panel-text strong { font: 500 19px/1.2 var(--display); letter-spacing: -.02em; color: var(--white); }

/* ---------- Ticker ---------- */

.ticker { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
    display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
    font: 500 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; color: var(--text); white-space: nowrap;
}
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.about-crest {
    position: relative; min-height: 440px; border-radius: var(--r-lg);
    display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, var(--ink-3) 0%, var(--ink) 70%);
}
.about-crest::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, rgba(196, 154, 92, .35), transparent); }
.about-crest img { position: relative; z-index: 1; width: 48%; filter: invert(1); opacity: .95; }
.about-grid > div:last-child { display: flex; flex-direction: column; justify-content: center; }
.about .section-title { max-width: 19ch; font-size: clamp(32px, 4vw, 54px); }
.about-copy { margin-top: 28px; display: grid; gap: 16px; color: var(--muted); font-size: 18px; max-width: 56ch; }
.about-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* ---------- Services ---------- */

.services { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 13, 12, .3); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 8px); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 28px 28px 30px; flex: 1; }
.service-num {
    display: inline-flex; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
    background: var(--soft); font: 500 12px/1 var(--display); color: var(--muted);
}
.service-body h3 { font-size: 36px; line-height: 1; margin-bottom: 12px; }
.service-body p { color: var(--muted); }
.service-body ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.service-body li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }

/* ---------- Portfolio (bento) ---------- */

.portfolio { background: var(--ink); color: var(--white); margin: 0 10px; border-radius: var(--r-lg); }
.portfolio .section-lede { color: rgba(255, 255, 255, .6); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; gap: 14px; }
.portfolio-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); }
.portfolio-item.is-wide { grid-column: span 2; grid-row: span 2; }
.portfolio-item:nth-child(4) { grid-column: span 3; }
.portfolio-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 7, .8) 0%, rgba(8, 8, 7, 0) 55%); }
.portfolio-item figcaption {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
    padding: 18px 20px; border-radius: var(--r-sm);
    background: rgba(13, 13, 12, .35); border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    max-width: 440px;
}
.portfolio-item h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; }
.portfolio-item p { margin-top: 4px; color: rgba(255, 255, 255, .72); font-size: 14px; }

/* ---------- Values ---------- */

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value {
    padding: 36px 32px; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line);
    display: flex; flex-direction: column; min-height: 300px;
}
.value-num { font: 500 64px/1 var(--display); letter-spacing: -.05em; color: var(--soft); -webkit-text-stroke: 1px var(--line); }
.value:nth-child(2) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.value:nth-child(2) .value-num { color: var(--ink-3); -webkit-text-stroke: 0; }
.value:nth-child(2) p { color: rgba(255, 255, 255, .65); }
.value h3 { margin: auto 0 12px; padding-top: 40px; font-size: 30px; line-height: 1.05; }
.value p { color: var(--muted); }

/* ---------- Process ---------- */

.process { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; border-radius: var(--r-md); background: var(--soft); }
.step-num {
    display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 44px;
    border-radius: 50%; background: var(--ink); color: var(--gold-2);
    font: 500 15px/1 var(--display);
}
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Care ---------- */

.care { color: var(--white); background: var(--ink); overflow: hidden; margin: 0 10px; border-radius: var(--r-lg); }
.care-media { position: absolute; inset: 0; }
.care-media img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.care-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(13, 13, 12, .4) 100%); }
.care-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.care .section-lede { margin-top: 24px; color: rgba(255, 255, 255, .7); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.principles li {
    padding: 22px 22px 24px; border-radius: var(--r-md);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.principles li:last-child { grid-column: span 2; }
.principles h3 { font-size: 20px; margin-bottom: 6px; color: var(--gold-2); letter-spacing: -.02em; }
.principles p { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-intro > p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 42ch; }
.contact-details { margin: 36px 0 0; display: grid; gap: 12px; }
.contact-details > div { padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.contact-details dt { font-size: 13px; color: var(--muted); }
.contact-details dd { margin: 2px 0 0; font: 500 20px/1.3 var(--display); letter-spacing: -.02em; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--gold); }

.form-card { background: var(--surface); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.enquiry-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.field label span[aria-hidden] { color: var(--gold); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px;
    font: 16px/1.4 var(--sans); color: var(--text);
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--surface); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 92, .18); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error, .form-alert { margin-top: 6px; color: var(--error); font-size: 14px; }
.form-alert { margin: 0; padding: 12px 16px; background: #fbeceb; border-radius: var(--r-sm); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); max-width: 34ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success h3 { font-size: 32px; line-height: 1.1; margin-bottom: 14px; }
.form-success p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: 15px; margin: 0 10px 10px; border-radius: var(--r-lg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-crest { width: 96px; filter: invert(1); opacity: .9; margin-bottom: 22px; }
.footer-brand p { font: 500 24px/1.2 var(--display); letter-spacing: -.02em; max-width: 20ch; color: var(--white); }
.footer-title { font: 500 13px/1 var(--sans); letter-spacing: 0; color: rgba(255, 255, 255, .45); margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--white); }

/* ---------- Simple pages (privacy, 404) ---------- */

.page { padding: 170px 0 var(--section); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin-bottom: 16px; }
.prose h2 { font-size: 26px; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose a { color: var(--text); }
.prose .updated { font-size: 14px; }
.not-found { text-align: center; }
.not-found .prose { margin: 0 auto; }
.not-found .btn { margin-top: 32px; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .nav-cta { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { max-width: 460px; }
}

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: 0; z-index: -1;
        flex-direction: column; justify-content: center; gap: 36px;
        background: var(--ink); color: var(--white);
        opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    }
    .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
    .main-nav ul a { font: 500 34px/1.2 var(--display); letter-spacing: -.03em; color: var(--white); }
    .nav-cta { display: inline-flex; }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }

    .about-grid, .care-grid, .contact-grid, .section-head-split { grid-template-columns: 1fr; }
    .about-crest { min-height: 320px; }
    .service-grid { grid-template-columns: 1fr; max-width: 640px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
    .portfolio-item.is-wide { grid-column: span 2; grid-row: span 1; }
    .portfolio-item:nth-child(4) { grid-column: span 2; }
    .values-grid { grid-template-columns: 1fr; }
    .value { min-height: 0; }
    .value h3 { padding-top: 28px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
    :root { --r-lg: 22px; }
    .site-header { inset: 10px 0 auto; }
    .header-inner { height: 58px; padding: 0 7px 0 14px !important; }
    .brand-word { font-size: 12px; }
    .hero { margin: 6px; }
    .portfolio, .care { margin: 0 6px; }
    .site-footer { margin: 0 6px 6px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item.is-wide, .portfolio-item:nth-child(4) { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
    .step-num { margin-bottom: 24px; }
    .principles { grid-template-columns: 1fr; }
    .principles li:last-child { grid-column: auto; }
    .field-row { grid-template-columns: 1fr; }
    .form-foot .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
