/* DOMERA — Architectural Luxury / Private Home Management */
:root {
  --forest: #0F2A24;
  --forest-mid: #16352D;
  --graphite: #1A1F1D;
  --ink: #2C3330;
  --stone: #EDE9E1;
  --stone-deep: #E2DDD4;
  --sage: #B7C2B8;
  --mist: #F7F5F1;
  --white: #FFFFFF;
  --accent: #8F6A45;
  --muted: #6B746F;
  --line: rgba(15, 42, 36, 0.12);
  --line-light: rgba(237, 233, 225, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Manrope", "Segoe UI", Tahoma, sans-serif;
  --shell: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, .display {
  margin: 0 0 0.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.display,
h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 500;
}

h2.display { font-size: clamp(2.3rem, 5vw, 4.2rem); }

h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

.shell {
  width: min(100% - 3rem, var(--shell));
  margin-inline: auto;
}

.shell.narrow { width: min(100% - 3rem, 760px); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--white);
}

.skip-link:focus { top: 1rem; }

.chapter-index {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.chapter {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.chapter-intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.chapter-light { background: var(--mist); }
.chapter-stone { background: var(--stone); }
.chapter-dark {
  background: var(--graphite);
  color: var(--stone);
}

.chapter-dark .display,
.chapter-dark h2,
.chapter-dark h3 { color: var(--stone); }

.chapter-dark .lead,
.chapter-dark .plain-list,
.chapter-dark p { color: rgba(237, 233, 225, 0.72); }

.chapter-dark .chapter-index { color: #C4A07A; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(237, 233, 225, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  transition: color 0.3s;
}

.site-header.is-scrolled .logo,
.site-footer .logo { color: var(--forest); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.site-header.is-scrolled .nav a { color: var(--ink); }

.nav a:hover,
.nav a:focus-visible { color: var(--accent); }

.nav-cta {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 12px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  margin: 7px 0;
  background: var(--white);
  transition: transform 0.25s, background 0.3s, opacity 0.25s;
}

.site-header.is-scrolled .menu-toggle span { background: var(--forest); }

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover { background: #7A5938; }

.btn-light {
  background: transparent;
  border-color: rgba(237, 233, 225, 0.45);
  color: var(--stone);
}

.btn-light:hover {
  background: rgba(237, 233, 225, 0.08);
}

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: opacity 0.2s;
}

.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after { transform: translateX(4px); }

.hero .text-link { color: rgba(255, 255, 255, 0.9); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: hero-in 2.4s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 42, 36, 0.42) 0%, rgba(15, 42, 36, 0.22) 38%, rgba(15, 42, 36, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 42, 36, 0.55) 0%, rgba(15, 42, 36, 0.2) 55%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 640px);
  margin-left: max(1.5rem, calc((100% - var(--shell)) / 2));
  margin-right: auto;
  padding: calc(var(--header) + 3.5rem) 0 4.5rem;
  align-self: end;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 233, 225, 0.72);
}

.hero-logo {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.hero-sub {
  max-width: 30rem;
  margin-bottom: 1.75rem;
  color: rgba(237, 233, 225, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes hero-in {
  to { transform: scale(1); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* About features */
.feature-row {
  width: min(100% - 3rem, var(--shell));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-block {
  padding: 1.75rem 1.4rem 1.75rem 0;
  border-right: 1px solid var(--line);
}

.feature-block:last-child { border-right: 0; padding-right: 0; }

.feature-block h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.7rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 18rem;
}

/* Visual break */
.visual-break {
  height: clamp(42vh, 58vh, 620px);
  overflow: hidden;
}

.visual-break-media,
.split-media,
.season-figure,
.media-reveal {
  overflow: hidden;
}

.visual-break-media img,
.split-media img,
.season-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}

.media-reveal.is-visible img,
.media-reveal.is-visible {
  /* image shown via parent */
}

.media-reveal.is-visible img {
  transform: scale(1);
}

.service-card:hover .service-card-media img,
.split-media:hover img,
.season-figure:hover img {
  transform: scale(1.04);
}

/* Services mosaic */
.services-mosaic {
  width: min(100% - 3rem, var(--shell));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.service-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 280px;
  padding: 0;
  border: 0;
  background: var(--forest);
  color: var(--stone);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.service-card:nth-child(1) {
  grid-row: span 2;
  min-height: 580px;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  min-height: 260px;
}

.service-card-media {
  position: absolute;
  inset: 0;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 36, 0.1), rgba(15, 42, 36, 0.78));
}

.service-card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  z-index: 1;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.service-card p {
  margin: 0;
  color: rgba(237, 233, 225, 0.78);
  font-size: 0.95rem;
  max-width: 28ch;
}

.service-card-index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.services-more {
  margin-top: 2.5rem;
}

.services-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.services-compact button {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--forest);
  font-weight: 500;
  transition: color 0.2s;
}

.services-compact button:hover { color: var(--accent); }

.services-compact button span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

/* Process */
.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.process-list li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-light);
}

.process-list span {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #C4A07A;
}

.process-list h3 {
  margin-bottom: 0.35rem;
}

.process-list p {
  margin: 0;
  max-width: 36rem;
}

/* Split chapter */
.chapter-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 0;
  min-height: 85vh;
  background: var(--mist);
}

.split-media {
  min-height: 520px;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem);
}

.plain-list {
  margin: 1.5rem 0 0;
}

.plain-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.2rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* Manage */
.manage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.passport {
  background: rgba(237, 233, 225, 0.05);
  border: 1px solid var(--line-light);
  padding: 1.75rem;
}

.passport header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.passport .status {
  color: #C4A07A;
  opacity: 1;
}

.passport-rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.95rem;
}

.passport-rows span { opacity: 0.65; }

.passport-meter {
  margin: 1.25rem 0 0.85rem;
  height: 2px;
  background: rgba(237, 233, 225, 0.12);
}

.passport-meter span {
  display: block;
  width: 68%;
  height: 100%;
  background: #C4A07A;
}

.passport > p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Seasons */
.season-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.season-switch button {
  border: 0;
  background: none;
  padding: 1rem 1.35rem;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.season-switch button[aria-selected="true"] {
  color: var(--forest);
  border-bottom-color: var(--forest);
}

.season-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.season-figure {
  min-height: 420px;
  background: var(--forest);
}

.season-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.season-body h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.season-list {
  display: grid;
  gap: 0.7rem;
}

.season-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* Flow */
.flow-line {
  width: min(100% - 3rem, var(--shell));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.flow-line li {
  padding: 1.75rem 1.25rem 1.75rem 0;
  border-right: 1px solid var(--line);
}

.flow-line li:last-child { border-right: 0; }

.flow-line strong {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.flow-line span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
}

/* Request */
.chapter-request {
  background: var(--forest);
  color: var(--stone);
}

.chapter-request .display { color: var(--stone); }
.chapter-request .lead { color: rgba(237, 233, 225, 0.72); }
.chapter-request .chapter-index { color: #C4A07A; }

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.request-form {
  background: rgba(237, 233, 225, 0.05);
  border: 1px solid var(--line-light);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: rgba(15, 42, 36, 0.35);
  color: var(--stone);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder { color: rgba(237, 233, 225, 0.4); }

.field select option { color: var(--ink); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(196, 160, 122, 0.65);
  box-shadow: 0 0 0 3px rgba(196, 160, 122, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #C45B4A;
}

.field-error {
  margin: 0.35rem 0 0;
  color: #E8A498;
  font-size: 0.85rem;
}

.checkbox-field { margin: 1.1rem 0 1.25rem; }

.checkbox-label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.92rem;
}

.checkbox-label input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.4em;
  margin: 0.9rem 0 0;
  font-weight: 600;
  color: #C4A07A;
}

.form-status.is-error { color: #E8A498; }

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: rgba(237, 233, 225, 0.5);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 1.25rem 2.2rem 1.25rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 0 1.25rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Footer */
.site-footer {
  background: var(--stone-deep);
  padding: 4rem 0 2rem;
  color: var(--muted);
}

.footer-top {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-top p {
  max-width: 28rem;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.footer-nav a:hover { color: var(--forest); }

.placeholder-data em {
  font-style: normal;
  border-bottom: 1px dashed rgba(15, 42, 36, 0.3);
}

.footer-bottom {
  display: grid;
  gap: 0.45rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer-bottom a[aria-disabled="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Modal */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 36, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--mist);
  padding: 2.25rem 1.75rem 1.75rem;
  box-shadow: 0 30px 80px rgba(15, 42, 36, 0.25);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
}

.modal-index {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.modal-dialog h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--forest);
}

.modal-dialog ul {
  margin: 1rem 0 1.5rem;
}

.modal-dialog li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

body.modal-open { overflow: hidden; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.34s; }

.media-reveal {
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 1.1s var(--ease);
}

.media-reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-row,
  .services-mosaic,
  .flow-line,
  .season-panel,
  .chapter-split,
  .manage-grid,
  .request-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:nth-child(1) {
    grid-row: auto;
    min-height: 340px;
  }

  .services-mosaic { grid-template-columns: 1fr 1fr; }

  .flow-line { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(237, 233, 225, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a {
    color: var(--ink) !important;
    padding: 0.95rem 0.25rem;
  }

  .feature-row,
  .services-mosaic,
  .services-compact,
  .flow-line,
  .season-panel,
  .chapter-split,
  .manage-grid,
  .request-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .chapter-split { min-height: 0; }
  .split-media { min-height: 48vh; }
  .feature-block {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }

  .hero-content {
    max-width: none;
    padding-bottom: 4.5rem;
  }

  .hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .shell,
  .feature-row,
  .services-mosaic,
  .flow-line {
    width: min(100% - 1.5rem, var(--shell));
  }

  .season-switch button {
    flex: 1 1 40%;
    padding: 0.85rem 0.5rem;
  }

  .process-list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .visual-break { height: 38vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .media-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero-media img { transform: none; animation: none; }
}
