/* MMC design system: the current minscom.com identity, modernised.
   Rust from navigation into hero, overlapping service cards, centred section titles,
   rounded corners and pill buttons. Every effect stops for prefers-reduced-motion. */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --msc: #B7472A;
  --msc-dark: #9A412A;
  --msc-deep: #7C3220;
  --msc-light: #C56C55;
  --msc-pale: #F6E7E2;
  --dark: #0D0D0D;
  --text: #2A2D31;
  --muted: #5B6168;
  --line: #E6E8EB;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6rem);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 .5rem 1.25rem rgb(13 13 13 / .07);
  --shadow-lift: 0 1.25rem 2.5rem rgb(124 50 32 / .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--light); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--msc-dark); text-underline-offset: .18em; }
a:hover { color: var(--msc-deep); }
:focus-visible { outline: 3px solid var(--msc-dark); outline-offset: 3px; border-radius: .25rem; }
.hero :focus-visible, .masthead :focus-visible, .topbar :focus-visible, .page-head :focus-visible, .band :focus-visible, .footer :focus-visible { outline-color: var(--white); }
h1, h2, h3 { margin: 0 0 .5em; color: var(--dark); font-weight: 600; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; }

.container { width: min(100%, 75rem); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.lead { font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; color: var(--muted); }
.icon { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.25em; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 40; padding: .6rem 1rem; border-radius: .5rem; background: var(--dark); color: var(--white); }
.skip:focus { top: .5rem; color: var(--white); }

/* Section titles: centred, with the short rule, which draws itself in. */
.section-title { max-width: 44rem; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.section-title h2 { margin-bottom: 0; }
.section-title h2::after { content: ""; display: block; width: 3.25rem; height: .1875rem; margin: .75rem auto 0; border-radius: 1rem; background: var(--msc); transition: width .7s var(--ease) .15s; }
.js .reveal:not(.is-visible) .section-title h2::after, .js .section-title.reveal:not(.is-visible) h2::after { width: 0; }
.section-title p { margin: 1rem 0 0; color: var(--muted); }

/* Pill buttons, with a light that sweeps across on hover. */
.button {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; overflow: hidden; padding: .875rem 2.25rem; border: 0; border-radius: 3rem;
  background: var(--msc); color: var(--white); font: 600 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 .5rem 1rem rgb(13 13 13 / .14); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .35) 50%, transparent 65%); transform: translateX(-110%); }
.button:hover { background: var(--msc-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 .875rem 1.5rem rgb(13 13 13 / .2); }
.button:hover::after { transform: translateX(110%); transition: transform .7s var(--ease); }
.button:active { transform: translateY(0); }
.button--white { background: var(--white); color: var(--msc-dark); }
.button--white:hover { background: var(--white); color: var(--msc-deep); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--msc-dark); font-weight: 600; text-decoration: none; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon, .service-card:hover .text-link .icon { transform: translateX(.3rem); }
.text-link--light { color: var(--white); font-size: 1.125rem; }
.text-link--light:hover { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 1.75rem 0 0; }

/* Top bar and navigation: the rust runs from here into the hero. */
.topbar { background: var(--msc-dark); color: var(--white); font-size: .9375rem; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.5rem; min-height: 2.375rem; padding-block: .3rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }

/* Transparent at the top of the page: the hero or page head runs up behind it. */
.masthead { position: sticky; top: 0; z-index: 20; color: var(--white); transition: box-shadow .3s, background-color .3s; }
.hero, .page-head { margin-top: calc(-1 * var(--nav)); }
.masthead.is-stuck { background: rgb(154 65 42 / .94); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); box-shadow: 0 .5rem 1.5rem rgb(13 13 13 / .25); }
.masthead__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; min-height: var(--nav); padding-block: .5rem; transition: min-height .3s var(--ease); }
.masthead.is-stuck .masthead__inner { min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { display: block; width: 2.5rem; height: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: scale(1.08) rotate(-3deg); }
.menu-toggle { display: none; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid rgb(255 255 255 / .6); border-radius: 2rem; background: none; color: var(--white); font: 600 1rem/1.2 var(--font); cursor: pointer; }
.js .menu-toggle { display: inline-flex; }
.site-nav { flex-basis: 100%; }
.js .site-nav { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease), visibility .3s; }
.js .site-nav.is-open { grid-template-rows: 1fr; visibility: visible; }
.site-nav__inner { min-height: 0; overflow: hidden; }
.site-nav ul { margin: 0; padding: 0; list-style: none; }
.site-nav nav a { position: relative; display: block; padding: .55rem 0; color: var(--white); font-weight: 500; font-size: 1.125rem; text-decoration: none; }
.site-nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 2px; border-radius: 1rem; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav nav a:hover::after, .site-nav nav a[aria-current]::after { transform: scaleX(1); }
.languages { display: inline-flex; gap: .15rem; margin-block: .5rem; padding: .2rem; border-radius: 2rem; background: rgb(13 13 13 / .18); }
.language { display: block; padding: .15rem .65rem; border-radius: 2rem; color: var(--white); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.language:hover { color: var(--white); background: rgb(255 255 255 / .15); }
.language[aria-current], .language[aria-current]:hover { background: var(--white); color: var(--msc-dark); }

/* Hero: a slow drift of light behind the white logo. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--msc) 0%, var(--msc) 45%, var(--msc-dark) 100%); color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -40%; background: radial-gradient(24% 26% at 66% 50%, rgb(255 255 255 / .15), transparent 72%), radial-gradient(34% 30% at 22% 62%, rgb(124 50 32 / .3), transparent 75%); animation: drift 20s ease-in-out infinite alternate; }
.hero__inner { display: grid; gap: 2rem; align-items: center; padding-block: calc(var(--nav) + clamp(2rem, 5vw, 3.5rem)) clamp(6.5rem, 12vw, 9.5rem); }
.hero h1 { margin-bottom: .2em; color: var(--white); }
.hero__tagline { margin-bottom: .6em; color: var(--white); font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; }
.hero__lead { max-width: 34em; margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.25rem); line-height: 1.55; }
.hero__art { justify-self: center; order: -1; width: min(52vw, 15rem); transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -14px)); transition: transform .4s ease-out; }
.hero__logo { position: relative; display: block; animation: rise .9s var(--ease) both, float 7s ease-in-out .9s infinite alternate; }
.hero__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 1rem 1.5rem rgb(13 13 13 / .25)); }
/* A sheen that crosses the logo, masked to its letters. */
.hero__logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .95) 50%, transparent 60%) 150% 0 / 300% 100% no-repeat; -webkit-mask: url("img/logo-white.png") center / contain no-repeat; mask: url("img/logo-white.png") center / contain no-repeat; animation: sheen 7s ease-in-out 1.2s infinite; }
.page-head { position: relative; overflow: hidden; padding-block: calc(var(--nav) + clamp(2rem, 6vw, 3.5rem)) clamp(2.5rem, 7vw, 4.5rem); background: linear-gradient(135deg, var(--msc), var(--msc-dark)); color: var(--white); }
.page-head h1 { margin-bottom: .25em; color: var(--white); }
.page-head .lead { max-width: 36em; margin: 0; color: var(--white); }

/* The four cards that overlap the edge of the hero. */
.feature-row { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -9vw, -4rem); }
.features { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .75rem; height: 100%; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--msc); color: var(--white);
  box-shadow: 0 1rem 2.25rem rgb(13 13 13 / .16); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
.feature::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 11rem; height: 11rem; border-radius: 50%; background: rgb(255 255 255 / .08); transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-.5rem); background: var(--msc-dark); box-shadow: var(--shadow-lift); }
.feature:hover::before { transform: scale(1.7); }
.feature .icon { width: 2.5rem; height: 2.5rem; transition: transform .35s var(--ease); }
.feature:hover .icon { transform: translateY(-.15rem) scale(1.08); }
.feature__title { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.15; }
.feature a { color: var(--white); text-decoration: none; }
.feature a::after { content: ""; position: absolute; inset: 0; }

/* About */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.split h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.checklist { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .4rem; }
.checklist .icon { margin-top: .2rem; color: var(--msc); }

/* A place for a photograph. Labelled, so nobody takes it for a picture of MMC's work. */
.photo-slot { position: relative; display: flex; align-items: flex-end; overflow: hidden; aspect-ratio: 3 / 2; margin: 0 0 1.5rem; padding: 1rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--msc-pale), #EDEFF2); }
.photo-slot::before { content: ""; position: absolute; inset: 22% 30%; background: var(--msc); opacity: .16; -webkit-mask: url("img/logo-white.png") center / contain no-repeat; mask: url("img/logo-white.png") center / contain no-repeat; transition: transform .6s var(--ease); }
.photo-slot:hover::before { transform: scale(1.06); }
.photo-slot figcaption { position: relative; padding: .2rem .75rem; border-radius: 2rem; background: var(--white); color: var(--muted); font-size: .9375rem; font-weight: 500; box-shadow: var(--shadow); }

/* Service cards */
.service-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.service-card { position: relative; isolation: isolate; overflow: hidden; height: 100%; padding: 1.75rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, var(--msc), var(--msc-dark)); clip-path: circle(0 at 3.75rem 3.75rem); transition: clip-path .55s var(--ease); }
.service-card:hover { transform: translateY(-.35rem); box-shadow: var(--shadow-lift); }
.service-card:hover::after, .service-card:focus-within::after { clip-path: circle(150% at 3.75rem 3.75rem); }
.service-card:hover .card-title, .service-card:focus-within .card-title, .service-card:hover p, .service-card:focus-within p, .service-card:hover .text-link, .service-card:focus-within .text-link { color: var(--white); }
.service-card .card-title, .service-card p, .service-card .text-link { transition: color .25s; }
.service-card a:focus-visible { outline-color: var(--white); }
.service-card__icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.1rem; border-radius: var(--radius); background: var(--msc-pale); color: var(--msc-dark); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.service-card__icon .icon { width: 2rem; height: 2rem; }
.service-card:hover .service-card__icon, .service-card:focus-within .service-card__icon { background: var(--white); color: var(--msc-dark); }
.card-title { margin: 0; font-size: 1.375rem; font-weight: 600; line-height: 1.15; }

/* Call to action */
.band { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 4.5rem); background: linear-gradient(135deg, var(--msc-dark), var(--msc)); color: var(--white); text-align: center; }
.band h2 { color: var(--white); }
.band p { max-width: 36em; margin-inline: auto; }
.band .actions { justify-content: center; }

.details { display: grid; gap: 1.25rem; margin: 0; }
.details div { padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.details dt { display: flex; align-items: center; gap: .5rem; color: var(--msc-dark); font-weight: 600; }
.details dd { margin: .25rem 0 0; white-space: pre-line; }

/* Footer */
.footer { background: var(--msc); color: var(--white); }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--white); }
.footer__grid { display: grid; gap: 2rem; padding-block: 3rem 2.25rem; }
.footer__brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .75rem; font-size: 1.5rem; font-weight: 700; }
.footer h2 { margin-bottom: .75rem; color: var(--white); font-size: 1.1875rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: .35rem; }
.footer address { font-style: normal; }
.footer address p { display: flex; gap: .5rem; margin-bottom: .4rem; }
.footer__address { white-space: pre-line; }
.footer__legal { background: var(--msc-deep); font-size: .9375rem; }
.footer__legal .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 2rem; padding-block: .85rem; }
.footer__legal p { margin: 0; }

/* Content pages */
.container--text { width: min(100%, 50rem); }
.crumb { margin: 0 0 .5rem; font-weight: 500; }
.crumb a { color: var(--white); text-decoration: none; opacity: .9; }
.crumb a:hover { color: var(--white); opacity: 1; text-decoration: underline; }
.demo-notice { margin: 0; padding: .35rem var(--gutter); background: var(--dark); color: var(--white); font-size: .9375rem; font-weight: 600; text-align: center; }
.section-more { margin: 2rem 0 0; text-align: center; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.service-card { display: flex; flex-direction: column; gap: .5rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-card .text-link { margin-top: auto; padding-top: .75rem; }
.media-grid, .quote-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.media-card { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.media-card:hover { transform: translateY(-.35rem); box-shadow: var(--shadow-lift); }
.media-card__image { overflow: hidden; aspect-ratio: 3 / 2; background: var(--msc-pale); }
.media-card__image img, .media-card__image .photo-slot { width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .6s var(--ease); }
.media-card:hover .media-card__image img { transform: scale(1.05); }
.photo-slot--card { border-radius: 0; aspect-ratio: auto; }
.media-card__body { display: flex; flex: 1; flex-direction: column; gap: .4rem; padding: 1.5rem; }
.media-card__body p { margin: 0; color: var(--muted); }
.media-card__body .text-link { margin-top: auto; padding-top: .75rem; }
.media-card:hover .text-link .icon { transform: translateX(.3rem); }
.media-card__body .media-card__meta, .media-card__meta { color: var(--msc-dark); font-size: .9375rem; font-weight: 600; }
.media-frame { overflow: hidden; margin-bottom: 1.5rem; border-radius: var(--radius-lg); }
.media-frame img { display: block; width: 100%; height: auto; }
.prose { min-width: 0; }
.prose h2 { margin-top: 1.5em; font-size: 1.75rem; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.detail { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.detail-list { margin-bottom: 2rem; }
.detail-list h2 { font-size: 1.375rem; }
.facts { display: grid; gap: .75rem; margin: 0 0 2rem; padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.facts dt { color: var(--msc-dark); font-size: .9375rem; font-weight: 600; }
.facts dd { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.gallery .media-frame { margin: 0; border-radius: var(--radius); }
.highlights { display: grid; gap: 1.25rem; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 0; list-style: none; }
.highlights li { position: relative; isolation: isolate; overflow: hidden; padding: 1.75rem 1.75rem 2rem; border-radius: var(--radius-lg); background: var(--msc-pale); }
.highlights li::after { content: ""; position: absolute; z-index: -1; right: -1.75rem; bottom: -2.25rem; width: 10rem; aspect-ratio: 552 / 495; background: var(--msc); opacity: .13; -webkit-mask: url("img/logo-white.png") center / contain no-repeat; mask: url("img/logo-white.png") center / contain no-repeat; }
.highlights h2, .highlights h3 { font-size: 1.375rem; }
.highlights p { margin: 0; color: var(--text); }
.quote-card { display: flex; flex-direction: column; gap: 1rem; height: 100%; margin: 0; padding: 1.75rem; border-radius: var(--radius); background: var(--light); box-shadow: var(--shadow); }
.quote-grid .quote-card { background: var(--white); }
.section--white .quote-card { background: var(--light); }
.quote-card blockquote { position: relative; margin: 0; padding-top: 1.75rem; font-size: 1.125rem; }
.quote-card blockquote::before { content: "“"; position: absolute; top: -.35rem; left: 0; color: var(--msc); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.quote-card figcaption { margin-top: auto; }
.quote-card figcaption span { display: block; color: var(--muted); font-size: .9375rem; }
.person-card { height: 100%; padding: 1.75rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.person-card:hover { transform: translateY(-.35rem); box-shadow: var(--shadow-lift); }
.person-card h2 { margin-bottom: .1rem; font-size: 1.375rem; }
.person-card__photo { overflow: hidden; width: 8rem; height: 8rem; margin-bottom: 1rem; border-radius: 50%; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.chips a { padding: .35rem 1rem; border-radius: 2rem; background: var(--white); color: var(--text); font-weight: 500; text-decoration: none; box-shadow: var(--shadow); transition: background-color .2s, color .2s; }
.chips a:hover { background: var(--msc-pale); color: var(--msc-deep); }
.chips a[aria-current] { background: var(--msc); color: var(--white); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.pagination a { padding: .4rem 1.1rem; border-radius: 2rem; background: var(--white); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.pagination span { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.contact-form { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; gap: 0 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: .25rem; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: .7rem .85rem; border: 1px solid #AEB4BB; border-radius: .6rem; background: var(--white); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--msc); outline: none; box-shadow: 0 0 0 3px rgb(183 71 42 / .22); }
[aria-invalid="true"] { border-color: #A01919 !important; }
.form-error { margin: .25rem 0 0; color: #A01919; font-weight: 500; }
.form-alert { padding: .7rem 1rem; border-radius: .6rem; background: #FBEAEA; color: #7E1212; }
.form-note { color: var(--muted); font-size: .9375rem; }
.form-check { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: 1rem; }
.form-check input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--msc); }
.button--whatsapp { background: #128C4B; }
.button--whatsapp:hover { background: #0E703C; }
.details--stack { grid-template-columns: 1fr !important; margin-bottom: 1.5rem; }

/* Scroll reveal, staggered within a row. Only with JavaScript, so nothing can stay hidden. */
.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js li.reveal:nth-child(2) { transition-delay: .08s; }
.js li.reveal:nth-child(3) { transition-delay: .16s; }
.js li.reveal:nth-child(4) { transition-delay: .24s; }
.js li.reveal:nth-child(5) { transition-delay: .32s; }
.js li.reveal:nth-child(6) { transition-delay: .4s; }
.js li.reveal.is-visible:hover { transition-delay: 0s; }

@keyframes drift { from { transform: translate3d(-4%, -3%, 0); } to { transform: translate3d(5%, 4%, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 -.75rem; } }
@keyframes sheen { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

@media (min-width: 36em) {
  .features, .service-grid, .media-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .details { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 62em) {
  .masthead__inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; flex-basis: auto; visibility: visible; }
  .site-nav__inner { display: flex; align-items: center; gap: 1.75rem; overflow: visible; }
  .site-nav nav ul { display: flex; gap: 1.5rem; }
  .site-nav nav a { font-size: 1.0625rem; }
  .languages { margin: 0; }
  .hero__inner { grid-template-columns: 1.25fr .75fr; }
  .hero__art { order: 0; width: min(100%, 20rem); }
  .features { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 3fr 2fr; }
  .service-grid, .media-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .detail { grid-template-columns: 2fr 1fr; }
  .highlights { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
