@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/ibm-plex-sans-arabic-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/ibm-plex-sans-arabic-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('./fonts/ibm-plex-sans-arabic-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('./fonts/ibm-plex-sans-arabic-700.woff2') format('woff2'); }
@font-face { font-family: 'Noto Naskh Arabic'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('./fonts/noto-naskh-arabic-variable.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --ink: #111512;
  --ink-soft: #252a26;
  --gold: #b58b39;
  --gold-light: #d8bb72;
  --paper: #f5f4ef;
  --paper-deep: #ebe9e1;
  --white: #fff;
  --muted: #767a73;
  --line: rgba(19, 24, 20, .13);
  --line-light: rgba(255, 255, 255, .17);
  --radius: 4px;
  --container: 1240px;
  --shadow: 0 28px 70px rgba(13, 17, 14, .12);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; right: 10px; transform: translateY(-150%); padding: 10px 18px; color: var(--white); background: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.microbar { background: var(--ink); color: rgba(255,255,255,.76); font-size: 11px; letter-spacing: .04em; }
.microbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.microbar p { margin: 0; }
.microbar .micro-accent { color: var(--gold-light); }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(245,244,239,.94); border-bottom: 1px solid rgba(17,21,18,.08); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 34px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 150px; height: 62px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.4vw, 36px); }
.main-nav > a:not(.nav-cta) { position: relative; padding-block: 8px; color: #454943; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.main-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 0; width: 0; height: 1px; content: ''; background: var(--gold); transition: width .25s ease; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--ink); }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { width: 100%; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 21px; border: 1px solid var(--ink); color: var(--white); background: var(--ink); font-size: 13px; font-weight: 600; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease; }
.nav-cta { min-height: 42px; padding-inline: 17px; font-size: 12px; }
.nav-cta:hover, .button:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-light); transform: translateY(-2px); }
.button-gold { border-color: var(--gold); color: var(--ink); background: var(--gold-light); }
.button-gold:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }
.button-quiet { border-color: rgba(17,21,18,.23); color: var(--ink); background: transparent; }
.button-quiet:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }
.button-arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-family: Arial, sans-serif; font-size: 13px; line-height: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--ink); transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; padding-block: 58px 82px; }
.hero::before { position: absolute; top: 28px; left: -140px; width: 440px; height: 440px; border: 1px solid rgba(181,139,57,.15); border-radius: 50%; content: ''; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(44px, 7vw, 100px); }
.hero-copy { padding-block: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #8e6b29; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.eyebrow::before { width: 34px; height: 1px; content: ''; background: var(--gold); }
.hero h1, .page-hero h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 6vw, 78px); font-weight: 600; letter-spacing: -.055em; line-height: 1.22; }
.hero h1 span, .page-hero h1 span { color: var(--gold); }
.hero-lead { max-width: 580px; margin: 25px 0 30px; color: #5e635d; font-size: clamp(16px, 1.7vw, 19px); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.hero-footnote::before { width: 23px; height: 1px; content: ''; background: var(--gold); }
.hero-visual { position: relative; min-width: 0; padding: 0 0 36px 34px; }
.hero-frame { position: relative; min-height: 520px; overflow: hidden; background: #a8a89e; box-shadow: var(--shadow); }
.hero-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(8,12,9,.02) 40%, rgba(8,12,9,.55) 100%); pointer-events: none; }
.hero-frame img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; }
.hero-frame::before { position: absolute; z-index: 1; top: 0; right: 0; width: 9px; height: 40%; content: ''; background: var(--gold); }
.hero-caption { position: absolute; z-index: 2; right: 26px; bottom: 26px; left: 26px; display: flex; align-items: end; justify-content: space-between; gap: 18px; color: white; }
.hero-caption strong { display: block; font-size: 16px; font-weight: 500; }
.hero-caption small { display: block; margin-top: 4px; color: rgba(255,255,255,.69); font-size: 11px; }
.hero-caption a { color: rgba(255,255,255,.68); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.hero-index { position: absolute; z-index: 3; bottom: 0; left: 0; display: flex; align-items: center; gap: 14px; min-width: 188px; padding: 17px 20px; border: 1px solid rgba(181,139,57,.55); color: var(--ink); background: var(--paper); }
.hero-index b { color: var(--gold); font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.hero-index span { font-size: 11px; line-height: 1.55; }

.trust-band { background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 18px; min-height: 102px; padding: 19px 24px; border-left: 1px solid var(--line-light); }
.trust-item:first-child { border-right: 1px solid var(--line-light); }
.trust-number { color: var(--gold-light); font-family: Georgia, serif; font-size: 25px; line-height: 1; }
.trust-item strong { display: block; font-size: 14px; font-weight: 600; }
.trust-item span:last-child { display: block; margin-top: 3px; color: rgba(255,255,255,.56); font-size: 11px; }

.section { padding-block: 112px; }
.section-tight { padding-block: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 43px; }
.section-heading h2 { max-width: 690px; margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1.32; }
.section-heading h2 span { color: var(--gold); }
.section-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-kicker { margin: 0 0 15px; color: #8e6b29; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.section-link { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); font-size: 13px; font-weight: 600; }
.section-link .button-arrow { color: var(--gold); }
.section-link:hover .button-arrow { color: var(--ink); background: var(--gold-light); }

.intro-section { padding-top: 104px; }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.intro-aside { padding-top: 8px; }
.intro-aside .eyebrow { margin-bottom: 18px; }
.intro-aside strong { display: block; max-width: 250px; font-family: 'Noto Naskh Arabic', serif; font-size: 29px; font-weight: 600; line-height: 1.55; }
.intro-copy h2 { margin: 0 0 20px; font-size: clamp(31px, 3.8vw, 49px); font-weight: 600; letter-spacing: -.04em; line-height: 1.4; }
.intro-copy p { max-width: 750px; margin: 0 0 18px; color: #676c65; font-size: 16px; line-height: 2; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--ink); font-size: 13px; font-weight: 600; }
.inline-link span { color: var(--gold); font-size: 19px; transition: transform .2s ease; }
.inline-link:hover span { transform: translateX(-5px); }

.services-section { background: #efeee8; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 27px 25px 24px; border: 1px solid rgba(17,21,18,.1); background: rgba(255,255,255,.52); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { z-index: 1; border-color: rgba(181,139,57,.6); background: var(--white); transform: translateY(-5px); }
.service-card-top { display: flex; align-items: start; justify-content: space-between; }
.service-no { color: #a2a49c; font-family: Georgia, serif; font-size: 13px; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(181,139,57,.42); color: var(--gold); }
.service-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.service-card h3 { margin: 33px 0 12px; font-size: 19px; font-weight: 600; line-height: 1.55; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.service-card .service-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; color: var(--ink); font-size: 12px; font-weight: 600; }
.service-more span:last-child { color: var(--gold); font-family: Arial, sans-serif; font-size: 18px; }

.feature-slab { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.feature-slab::before { position: absolute; top: -190px; left: -95px; width: 470px; height: 470px; border: 1px solid rgba(216,187,114,.25); border-radius: 50%; content: ''; }
.feature-slab::after { position: absolute; top: -135px; left: -40px; width: 360px; height: 360px; border: 1px solid rgba(216,187,114,.13); border-radius: 50%; content: ''; }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: 86px; align-items: center; }
.feature-copy .section-kicker { color: var(--gold-light); }
.feature-copy h2 { margin: 0 0 20px; font-size: clamp(35px, 4.1vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.35; }
.feature-copy p { max-width: 470px; margin: 0; color: rgba(255,255,255,.62); line-height: 2; }
.feature-copy .button { margin-top: 28px; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line-light); }
.step:first-child { border-top: 1px solid var(--line-light); }
.step-number { color: var(--gold-light); font-family: Georgia, serif; font-size: 20px; }
.step h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; }
.step p { max-width: 450px; margin: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.8; }

.projects-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.project-card { min-width: 0; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 1.36; background: #d3d1c9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-image img { transform: scale(1.045); }
.project-category { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; color: var(--ink); background: var(--paper); font-size: 10px; font-weight: 600; }
.project-info { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-top: 17px; }
.project-info h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.55; }
.project-info p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.project-arrow { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); color: var(--gold); font-family: Arial, sans-serif; font-size: 18px; transition: .2s ease; }
.project-card:hover .project-arrow { border-color: var(--gold); color: var(--ink); background: var(--gold-light); }
.project-more { margin-top: 38px; text-align: center; }
.project-more .button { min-width: 180px; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 44px 50px; color: var(--white); background: var(--gold); }
.cta-panel::after { position: absolute; top: -110px; left: 20%; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; content: ''; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 630px; margin: 0; font-size: clamp(27px, 3.4vw, 42px); font-weight: 600; line-height: 1.4; }
.cta-panel p { margin: 7px 0 0; color: rgba(17,21,18,.68); font-size: 13px; }
.cta-panel .button { border-color: var(--ink); color: var(--white); background: var(--ink); white-space: nowrap; }
.cta-panel .button:hover { border-color: var(--white); color: var(--ink); background: var(--white); }

.page-hero { position: relative; overflow: hidden; padding-block: 98px 89px; color: var(--white); background: var(--ink); }
.page-hero::before { position: absolute; top: -180px; left: -80px; width: 490px; height: 490px; border: 1px solid rgba(216,187,114,.25); border-radius: 50%; content: ''; }
.page-hero::after { position: absolute; top: -118px; left: -16px; width: 360px; height: 360px; border: 1px solid rgba(216,187,114,.15); border-radius: 50%; content: ''; }
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(43px, 6vw, 70px); }
.page-hero p { max-width: 680px; margin: 23px 0 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 2; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: rgba(255,255,255,.48); font-size: 11px; }
.breadcrumb span { color: var(--gold-light); }

.about-lead { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-lead .side-label { padding-top: 6px; color: #8e6b29; font-size: 12px; font-weight: 700; }
.about-lead .side-label::before { display: inline-block; width: 30px; height: 1px; margin-left: 11px; vertical-align: middle; content: ''; background: var(--gold); }
.about-lead h2 { margin: 0 0 24px; font-size: clamp(31px, 4vw, 50px); font-weight: 600; letter-spacing: -.04em; line-height: 1.38; }
.about-lead p { margin: 0 0 17px; color: #686d66; line-height: 2; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-item { padding: 31px 30px 32px 18px; border-left: 1px solid var(--line); }
.value-item:first-child { border-right: 1px solid var(--line); }
.value-item span { color: var(--gold); font-family: Georgia, serif; font-size: 13px; }
.value-item h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; }
.value-item p { max-width: 310px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.values-dark { color: var(--white); background: var(--ink); }
.values-dark .section-heading h2 { color: var(--white); }
.values-dark .section-heading p { color: rgba(255,255,255,.56); }
.values-dark .value-grid { border-color: var(--line-light); }
.values-dark .value-item { border-color: var(--line-light); }
.values-dark .value-item p { color: rgba(255,255,255,.56); }
.values-dark .value-item h3 { color: white; }

.service-list { display: grid; gap: 0; }
.service-row { display: grid; grid-template-columns: 80px minmax(210px,.72fr) 1.28fr; gap: 28px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row-no { color: var(--gold); font-family: Georgia, serif; font-size: 21px; }
.service-row h2 { margin: -4px 0 0; font-size: 23px; font-weight: 600; line-height: 1.5; }
.service-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.service-tags span { padding: 5px 10px; border: 1px solid var(--line); color: #676c65; font-size: 10px; }

.portfolio-controls { display: flex; flex-wrap: wrap; gap: 9px; margin: -6px 0 32px; }
.filter-button { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); color: #565b54; background: transparent; font-size: 12px; cursor: pointer; transition: .2s ease; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--ink); color: var(--white); background: var(--ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 19px; }
.portfolio-card[hidden] { display: none; }
.portfolio-card .project-image { aspect-ratio: 1.15; }
.project-abstract { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.15; color: var(--gold-light); background: var(--ink); }
.project-abstract::before, .project-abstract::after { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(216,187,114,.35); border-radius: 50%; content: ''; transform: translateX(-15%); }
.project-abstract::after { width: 51%; border-color: rgba(216,187,114,.19); }
.project-abstract b { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 45px; font-weight: 400; letter-spacing: .03em; }
.portfolio-card .project-info { padding-top: 15px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 10px; }
.project-meta span + span::before { margin-left: 11px; color: var(--gold); content: '•'; }
.portfolio-note { margin-top: 45px; padding: 16px 20px; border-right: 2px solid var(--gold); color: #676c65; background: #eeede7; font-size: 12px; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-intro h2 { margin: 0 0 17px; font-size: clamp(33px, 4vw, 49px); font-weight: 600; letter-spacing: -.04em; line-height: 1.4; }
.contact-intro p { max-width: 450px; margin: 0; color: var(--muted); line-height: 2; }
.contact-methods { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-method { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 17px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(181,139,57,.4); color: var(--gold); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.contact-method small { display: block; color: var(--muted); font-size: 11px; }
.contact-method strong { display: block; margin-top: 3px; font-size: 16px; font-weight: 600; direction: ltr; text-align: right; }
.contact-method .contact-go { color: var(--gold); font-family: Arial, sans-serif; font-size: 18px; }
.contact-note { margin-top: 30px; padding: 23px; color: rgba(255,255,255,.82); background: var(--ink); }
.contact-note strong { display: block; margin-bottom: 5px; color: var(--gold-light); font-size: 14px; }
.contact-note p { margin: 0; color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.9; }
.contact-action { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }

.site-footer { padding: 62px 0 24px; color: var(--white); background: #0d100e; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 60px; padding-bottom: 47px; }
.footer-brand { width: 154px; height: 65px; padding: 0; background: transparent; object-fit: contain; }
.footer-about p { max-width: 360px; margin: 18px 0 0; color: rgba(255,255,255,.53); font-size: 12px; line-height: 1.9; }
.footer-col h3 { margin: 2px 0 18px; color: var(--gold-light); font-size: 13px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: rgba(255,255,255,.63); font-size: 12px; transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.4); font-size: 10px; }
.footer-bottom p { margin: 0; }
.footer-credits { text-align: left; }
.footer-credits a { color: rgba(255,255,255,.58); text-decoration: underline; text-underline-offset: 3px; }

.reveal { animation: rise-in .7s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .main-nav { gap: 17px; }
  .nav-shell { gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 270px; }
  .feature-grid { gap: 50px; }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 36px); }
  .microbar-inner { min-height: 31px; }
  .nav-shell { min-height: 72px; }
  .brand img { width: 126px; height: 54px; }
  .menu-toggle { display: block; order: -1; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 28px rgba(0,0,0,.08); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a:not(.nav-cta) { padding: 12px 5px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 12px; }
  .hero { padding-block: 36px 57px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 590px; font-size: clamp(43px, 11vw, 67px); }
  .hero-lead { margin-block: 20px 23px; }
  .hero-visual { width: min(100%, 640px); margin-right: auto; padding-left: 20px; }
  .hero-frame, .hero-frame img { min-height: 0; height: clamp(330px, 84vw, 490px); }
  .hero-index { min-width: 165px; padding: 13px 16px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child { min-height: 75px; padding: 14px 4px; border: 0; border-top: 1px solid var(--line-light); }
  .trust-item:first-child { border-top: 0; }
  .trust-number { width: 42px; text-align: center; }
  .section { padding-block: 76px; }
  .section-tight { padding-block: 58px; }
  .section-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 30px; }
  .intro-grid, .feature-grid, .about-lead, .contact-section { grid-template-columns: 1fr; gap: 33px; }
  .intro-aside strong { max-width: none; }
  .feature-grid { gap: 30px; }
  .project-grid, .portfolio-grid { grid-template-columns: repeat(2,1fr); gap: 25px 14px; }
  .page-hero { padding-block: 70px 62px; }
  .page-hero h1 { font-size: clamp(42px, 10vw, 62px); }
  .service-row { grid-template-columns: 50px 1fr; gap: 15px 18px; }
  .service-row p { grid-column: 2; }
  .service-row-no { grid-row: span 2; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item, .value-item:first-child { padding: 23px 15px; border-right: 1px solid var(--line); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .cta-panel { grid-template-columns: 1fr; padding: 33px 27px; }
  .cta-panel .button { justify-self: start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 26px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .microbar-inner { font-size: 9px; }
  .hero h1 { font-size: clamp(39px, 12vw, 56px); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .hero-actions .button { justify-content: space-between; }
  .hero-caption { right: 16px; bottom: 16px; left: 16px; }
  .hero-caption a { max-width: 130px; text-align: left; }
  .hero-visual { padding-left: 12px; }
  .hero-frame, .hero-frame img { height: 350px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 238px; }
  .project-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 29px; }
  .project-image, .portfolio-card .project-image, .project-abstract { aspect-ratio: 1.35; }
  .contact-method { grid-template-columns: 46px 1fr auto; gap: 12px; }
  .contact-method strong { font-size: 14px; }
  .contact-icon { width: 42px; height: 42px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-credits { text-align: right; }
}


/* FASCO cinematic editorial homepage */
.hero-cinematic {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(850px, calc(100svh - 118px));
  min-height: max(700px, min(850px, calc(100svh - 118px)));
  padding-block: 72px 118px;
  color: var(--white);
  background: #0b0e0c;
}
.hero-cinematic::before {
  top: auto;
  bottom: 82px;
  left: clamp(-170px, -8vw, -95px);
  z-index: 1;
  width: clamp(360px, 42vw, 610px);
  height: clamp(360px, 42vw, 610px);
  border-color: rgba(216,187,114,.28);
  box-shadow: 0 0 0 34px rgba(216,187,114,.025), 0 0 0 78px rgba(216,187,114,.018);
  pointer-events: none;
}
.hero-cinematic::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(216,187,114,.72) 48%, rgba(255,255,255,.2), transparent);
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #0b0e0c;
}
.hero-backdrop::before {
  position: absolute;
  z-index: 1;
  top: -20%;
  left: 8%;
  width: clamp(370px, 48vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(216,187,114,.34);
  border-radius: 50%;
  content: '';
  transform: scaleX(1.35) rotate(-22deg);
  pointer-events: none;
}
.hero-backdrop::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: '';
  background:
    linear-gradient(to left, rgba(7,10,8,.96) 0%, rgba(7,10,8,.84) 26%, rgba(7,10,8,.55) 48%, rgba(7,10,8,.12) 78%, rgba(7,10,8,.24) 100%),
    linear-gradient(to bottom, rgba(7,10,8,.28) 0%, transparent 35%, rgba(7,10,8,.72) 100%);
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  opacity: .92;
  animation: hero-drift 24s ease-in-out infinite alternate;
}
.hero-cinematic .hero-grid {
  position: relative;
  z-index: 3;
  display: block;
  width: min(var(--container), calc(100% - 64px));
  min-height: inherit;
  margin-inline: auto;
}
.hero-cinematic .hero-copy {
  position: relative;
  z-index: 2;
  width: min(790px, 72%);
  margin-right: 0;
  margin-left: auto;
  padding: 0;
  text-align: right;
}
.hero-preline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-bottom: 26px; }
.hero-preline .eyebrow { margin: 0; color: var(--gold-light); font-size: 13px; }
.hero-preline > span { color: rgba(255,255,255,.63); font-size: 11px; letter-spacing: .08em; }
.hero-preline > span i { padding-inline: 5px; color: var(--gold-light); font-style: normal; }
.hero-cinematic h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(58px, 7.1vw, 104px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.24;
  text-wrap: balance;
}
.hero-cinematic h1 span {
  color: var(--gold-light);
  text-shadow: 0 0 42px rgba(216,187,114,.16);
}
.hero-cinematic .hero-lead {
  max-width: 610px;
  margin: 24px 0 30px;
  color: rgba(255,255,255,.7);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2;
}
.hero-cinematic .hero-actions { gap: 13px; }
.hero-cinematic .button { min-height: 54px; padding-inline: 24px; }
.hero-cinematic .button-quiet {
  border-color: rgba(255,255,255,.42);
  color: rgba(255,255,255,.92);
  background: rgba(8,11,9,.24);
  backdrop-filter: blur(8px);
}
.hero-cinematic .button-quiet:hover {
  border-color: var(--gold-light);
  color: var(--ink);
  background: var(--gold-light);
}
.hero-bottom-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.hero-signet {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216,187,114,.67);
  border-radius: 50%;
  color: var(--gold-light);
  transform: rotate(-12deg);
}
.hero-signet span { font-family: Georgia, serif; font-size: 22px; font-style: italic; }
.hero-origin strong { display: block; color: var(--white); font-size: 13px; font-weight: 600; }
.hero-origin small { display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: 10px; }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  transition: color .2s ease;
}
.hero-scroll:hover { color: var(--gold-light); }
.hero-scroll b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(216,187,114,.55);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  transition: transform .25s ease, background .25s ease;
}
.hero-scroll:hover b { background: rgba(216,187,114,.15); transform: translateY(3px); }
.hero-disclaimer {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: max(30px, calc((100vw - var(--container))/2));
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  letter-spacing: .02em;
}
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.09) translate3d(-1.2%, .4%, 0); }
}
@media (max-width: 1050px) {
  .hero-cinematic .hero-copy { width: min(740px, 82%); }
  .hero-cinematic h1 { font-size: clamp(58px, 8vw, 86px); }
}
@media (max-width: 780px) {
  .hero-cinematic {
    align-items: center;
    min-height: min(760px, calc(100svh - 103px));
    min-height: max(650px, min(760px, calc(100svh - 103px)));
    padding-block: 50px 103px;
  }
  .hero-cinematic::before {
    bottom: 90px;
    left: -240px;
    width: 430px;
    height: 430px;
  }
  .hero-cinematic::after { width: calc(100% - 36px); }
  .hero-backdrop::before { top: 3%; left: -50%; width: 94vw; }
  .hero-backdrop::after {
    background:
      linear-gradient(to left, rgba(7,10,8,.91) 0%, rgba(7,10,8,.72) 58%, rgba(7,10,8,.28) 100%),
      linear-gradient(to bottom, rgba(7,10,8,.2) 0%, rgba(7,10,8,.16) 35%, rgba(7,10,8,.82) 100%);
  }
  .hero-backdrop img { object-position: 42% center; }
  .hero-cinematic .hero-grid { width: calc(100% - 36px); min-height: inherit; }
  .hero-cinematic .hero-copy { width: 100%; }
  .hero-preline { gap: 6px 14px; margin-bottom: 24px; }
  .hero-preline .eyebrow { font-size: 11px; }
  .hero-preline > span { font-size: 9px; }
  .hero-cinematic h1 { max-width: 570px; font-size: clamp(49px, 12vw, 72px); line-height: 1.32; }
  .hero-cinematic .hero-lead { max-width: 480px; margin-block: 20px 24px; font-size: 15px; }
  .hero-cinematic .hero-actions { max-width: none; flex-direction: row; }
  .hero-cinematic .hero-actions .button { flex: 1 1 auto; justify-content: center; min-height: 50px; padding-inline: 14px; }
  .hero-bottom-meta { max-width: 100%; gap: 11px; margin-top: 34px; padding-top: 15px; }
  .hero-signet { width: 39px; height: 39px; }
  .hero-origin strong { font-size: 12px; }
  .hero-origin small { max-width: 140px; font-size: 9px; }
  .hero-scroll { gap: 7px; font-size: 10px; }
  .hero-scroll b { width: 27px; height: 27px; }
  .hero-disclaimer { right: 18px; bottom: 14px; left: 18px; max-width: none; font-size: 8px; text-align: right; }
}
@media (max-width: 430px) {
  .hero-cinematic { min-height: max(665px, min(760px, calc(100svh - 103px))); padding-block: 40px 96px; }
  .hero-cinematic .hero-grid { width: calc(100% - 30px); }
  .hero-cinematic h1 { font-size: clamp(46px, 12.2vw, 58px); }
  .hero-cinematic .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .hero-cinematic .hero-actions .button { justify-content: space-between; }
  .hero-bottom-meta { gap: 9px; }
  .hero-origin small { max-width: 112px; }
  .hero-scroll { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop img { animation: none; }
}


/* Three-field, manually controlled business carousel */
.business-slider { position: relative; }
.business-slides { min-width: 0; }
.business-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 204px;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 280px;
  padding: clamp(26px, 4.4vw, 50px);
  border: 1px solid rgba(17,21,18,.11);
  border-right: 4px solid var(--gold);
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 50px rgba(17,21,18,.045);
}
.business-slide[hidden] { display: none !important; }
.business-slide.is-active { animation: business-slide-in .36s ease-out both; }
.business-slide-copy { min-width: 0; }
.business-kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 17px; color: #8e6b29; font-size: 12px; font-weight: 700; }
.business-kicker > span { display: inline-flex; align-items: center; gap: 10px; }
.business-kicker > span::before { width: 27px; height: 1px; content: ''; background: var(--gold); }
.business-slide h3 { max-width: 620px; margin: 0; color: var(--ink); font-size: clamp(27px, 3.4vw, 43px); font-weight: 600; letter-spacing: -.04em; line-height: 1.42; }
.business-slide-copy > p:not(.business-kicker) { max-width: 640px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.business-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.business-tags span { padding: 5px 9px; border: 1px solid rgba(181,139,57,.25); color: #62665f; background: rgba(181,139,57,.045); font-size: 10px; }
.business-slide-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.business-slide .inline-link { margin-top: 17px; }
.business-slide-photo { width: 204px; margin: 0; justify-self: start; }
.business-photo-frame { overflow: hidden; aspect-ratio: 1.52; border: 1px solid rgba(181,139,57,.43); background: #d8d5ca; }
.business-photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.business-slide:hover .business-photo-frame img { transform: scale(1.045); }
.business-slide-photo figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 9px; color: #85877f; font-size: 9px; }
.business-slide-photo figcaption strong { color: #555a53; font-size: 10px; font-weight: 600; }
.business-slider-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.business-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.business-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 39px; padding: 7px 11px; border: 0; border-bottom: 2px solid transparent; color: #71756d; background: transparent; font: inherit; font-size: 11px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.business-tab > span { color: #a0a198; font-family: Georgia,serif; font-size: 11px; }
.business-tab:hover, .business-tab.is-active { border-bottom-color: var(--gold); color: var(--ink); }
.business-tab.is-active > span { color: var(--gold); }
.business-tab:focus-visible, .business-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.business-slider-actions { display: flex; align-items: center; gap: 8px; }
.business-counter { min-width: 48px; margin-inline-end: 6px; color: #777b73; font-family: Georgia,serif; font-size: 12px; text-align: center; }
.business-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(17,21,18,.16); color: var(--ink); background: transparent; font-family: Arial,sans-serif; font-size: 17px; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.business-arrow:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }
.hero-cinematic .business-slider-hero { margin-top: 16px; }
.hero-cinematic .business-slide { grid-template-columns: minmax(0,1fr) 190px; gap: clamp(18px,3vw,42px); min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.hero-cinematic .business-kicker { margin-bottom: 10px; color: var(--gold-light); }
.hero-cinematic .business-slide h1 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(38px,4.3vw,62px); font-weight: 600; letter-spacing: -.04em; line-height: 1.3; text-wrap: balance; }
.hero-cinematic .business-slide-copy > p:not(.business-kicker) { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.9; }
.hero-cinematic .business-tags { margin-top: 12px; }
.hero-cinematic .business-tags span { border-color: rgba(216,187,114,.36); color: rgba(255,255,255,.86); background: rgba(255,255,255,.07); }
.hero-cinematic .business-slide .inline-link { color: var(--white); }
.hero-cinematic .business-slide-photo figcaption { color: rgba(255,255,255,.55); }
.hero-cinematic .business-slide-photo figcaption strong { color: rgba(255,255,255,.86); }
.hero-cinematic .business-slider-footer { margin-top: 18px; }
.hero-cinematic .business-tab { color: rgba(255,255,255,.68); }
.hero-cinematic .business-tab > span { color: rgba(255,255,255,.42); }
.hero-cinematic .business-tab:hover, .hero-cinematic .business-tab.is-active { color: var(--white); }
.hero-cinematic .business-tab.is-active > span { color: var(--gold-light); }
.hero-cinematic .business-counter { color: rgba(255,255,255,.65); }
.hero-cinematic .business-arrow { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero-cinematic .business-arrow:hover { border-color: var(--gold-light); color: var(--ink); background: var(--gold-light); }
.hero-cinematic .business-autoplay-toggle { min-height: 36px; padding-inline: 10px; border: 1px solid rgba(216,187,114,.48); color: var(--gold-light); background: rgba(8,11,9,.22); font-size: 10px; cursor: pointer; }
.hero-cinematic .business-autoplay-toggle:hover { color: var(--ink); background: var(--gold-light); }
.hero-cinematic .hero-bottom-meta { max-width: 680px; margin-top: 24px; }
@keyframes business-slide-in { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.service-support { display: grid; grid-template-columns: 80px minmax(210px,.72fr) 1.28fr; gap: 28px; align-items: center; margin-top: 38px; padding: 25px 0; border-block: 1px solid var(--line); }
.service-support-mark { color: var(--gold); font-family: Georgia,serif; font-size: 28px; }
.service-support .section-kicker { margin: 0 0 7px; }
.service-support h2 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.55; }
.service-support > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

@media (max-width: 780px) {
  .hero-cinematic .business-slide { grid-template-columns: minmax(0,1fr) 138px; gap: 16px; }
  .hero-cinematic .business-slide h1 { font-size: clamp(32px,7vw,44px); }
  .hero-cinematic .business-slide-photo { width: 138px; }
  .hero-cinematic .hero-bottom-meta { margin-top: 18px; }
  .business-slide { grid-template-columns: minmax(0,1fr) 156px; gap: 22px; min-height: 0; padding: 26px; }
  .business-slide-photo { width: 156px; }
  .business-slide h3 { font-size: clamp(25px, 5.5vw, 36px); }
  .business-slide-copy > p:not(.business-kicker) { font-size: 13px; }
  .business-slider-footer { align-items: flex-end; }
  .business-pagination { gap: 4px; }
  .business-tab { gap: 6px; padding-inline: 8px; }
  .service-support { grid-template-columns: 50px 1fr; gap: 13px 18px; }
  .service-support > p { grid-column: 2; }
}
@media (max-width: 520px) {
  .hero-cinematic .business-slide { grid-template-columns: minmax(0,1fr) 88px; gap: 10px; }
  .hero-cinematic .business-slide h1 { font-size: clamp(28px,7.6vw,34px); line-height: 1.35; }
  .hero-cinematic .business-slide-copy > p:not(.business-kicker) { font-size: 10px; line-height: 1.75; }
  .hero-cinematic .business-slide-photo { width: 88px; }
  .hero-cinematic .business-slide-photo figcaption { font-size: 7px; }
  .hero-cinematic .business-slide-photo figcaption strong { font-size: 8px; }
  .hero-cinematic .business-slide .inline-link { font-size: 9px; }
  .hero-cinematic .business-slider-footer { margin-top: 12px; }
  .hero-cinematic .business-slider-actions { align-items: center; }
  .hero-cinematic .business-counter { min-width: 44px; font-size: 10px; }
  .business-slide { grid-template-columns: minmax(0,1fr) 104px; gap: 12px; padding: 19px 15px; border-right-width: 3px; }
  .business-kicker { gap: 8px; margin-bottom: 11px; font-size: 10px; }
  .business-kicker > span { gap: 7px; }
  .business-kicker > span::before { width: 18px; }
  .business-slide h3 { font-size: 23px; line-height: 1.45; }
  .business-slide-copy > p:not(.business-kicker) { margin-top: 9px; font-size: 11px; line-height: 1.8; }
  .business-tags { gap: 5px; margin-top: 10px; }
  .business-tags span { padding: 4px 6px; font-size: 8px; }
  .business-slide .inline-link { gap: 6px; margin-top: 10px; font-size: 10px; }
  .business-slide-photo { width: 104px; }
  .business-photo-frame { aspect-ratio: .94; }
  .business-slide-photo figcaption { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 6px; font-size: 8px; }
  .business-slide-photo figcaption strong { font-size: 9px; }
  .business-slider-footer { align-items: stretch; flex-direction: column; gap: 11px; margin-top: 14px; }
  .business-pagination { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .business-tab { justify-content: center; gap: 4px; min-height: 35px; padding: 5px 3px; font-size: 9px; white-space: nowrap; }
  .business-tab > span { font-size: 9px; }
  .business-slider-actions { justify-content: flex-end; }
  .business-arrow { width: 34px; height: 34px; }
  .service-support { grid-template-columns: 34px 1fr; gap: 8px 13px; margin-top: 28px; padding: 21px 0; }
  .service-support-mark { font-size: 23px; }
  .service-support h2 { font-size: 17px; }
  .service-support > p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .business-slide.is-active { animation: none; }
  .business-photo-frame img { transition: none; }
}

.business-slide { touch-action: pan-y; }


/* Standalone service detail pages */
.field-nav-section { padding-block: 16px; border-bottom: 1px solid var(--line); background: #efeee8; }
.field-switcher { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(17,21,18,.1); background: rgba(255,255,255,.45); }
.field-switcher a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; border-bottom: 2px solid transparent; color: #6c716a; font-size: 13px; font-weight: 600; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.field-switcher a + a { border-right: 1px solid var(--line); }
.field-switcher a span { color: #a0a198; font-family: Georgia,serif; font-size: 13px; }
.field-switcher a:hover, .field-switcher a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--ink); background: rgba(255,255,255,.82); }
.field-switcher a[aria-current="page"] span { color: var(--gold); }
.service-detail-hero h1 { max-width: 900px; }
.service-detail-hero .eyebrow span { color: rgba(255,255,255,.45); }
.service-detail-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 92px); align-items: center; }
.service-detail-copy h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.4; }
.service-detail-copy > p:not(.section-kicker) { margin: 0; color: #676c65; line-height: 2; }
.detail-points { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.detail-points li { display: flex; gap: 10px; color: #555b54; font-size: 13px; line-height: 1.85; }
.detail-points li::before { flex: 0 0 auto; color: var(--gold); content: '—'; }
.detail-visual { position: relative; overflow: hidden; min-height: 280px; margin: 0; aspect-ratio: 1.28; border: 1px solid rgba(181,139,57,.36); background: #d8d5ca; box-shadow: var(--shadow); }
.detail-visual::after { position: absolute; inset: 38% 0 0; content: ''; background: linear-gradient(180deg, transparent, rgba(8,11,9,.76)); pointer-events: none; }
.detail-visual img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.detail-visual figcaption { position: absolute; z-index: 1; right: 22px; bottom: 18px; left: 22px; display: flex; align-items: end; justify-content: space-between; gap: 14px; color: rgba(255,255,255,.72); font-size: 10px; }
.detail-visual figcaption strong { color: white; font-size: 14px; font-weight: 600; }
.scope-section { background: #efeee8; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.scope-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.scope-card { min-height: 222px; padding: 26px 27px; border: 1px solid rgba(17,21,18,.1); background: rgba(255,255,255,.76); transition: border-color .2s ease, transform .2s ease; }
.scope-card:hover { border-color: rgba(181,139,57,.55); transform: translateY(-3px); }
.scope-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(181,139,57,.4); color: var(--gold); font-family: Georgia,serif; font-size: 12px; }
.scope-card h3 { margin: 22px 0 9px; font-size: 18px; font-weight: 600; }
.scope-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; }
.scope-disclaimer { margin: 24px 0 0; padding: 14px 18px; border-right: 2px solid var(--gold); color: #676c65; background: rgba(255,255,255,.55); font-size: 12px; }
.farm-section { padding-top: 12px; }
.farm-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; padding: clamp(28px, 5vw, 58px); color: var(--white); background: var(--ink); border-right: 4px solid var(--gold); }
.farm-panel .section-kicker { color: var(--gold-light); }
.farm-mark { color: rgba(216,187,114,.68); font-family: Georgia,serif; font-size: 18px; }
.farm-panel h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 39px); font-weight: 600; line-height: 1.4; }
.farm-panel p { max-width: 700px; margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 2; }
.farm-panel .inline-link { color: var(--white); }
.farm-panel .inline-link span { color: var(--gold-light); }
.detail-gallery-section { padding-top: 42px; }
.detail-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.detail-project-card { position: relative; overflow: hidden; min-width: 0; margin: 0; aspect-ratio: 1.25; background: #d3d1c9; }
.detail-project-card::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(180deg, transparent, rgba(8,11,9,.78)); pointer-events: none; }
.detail-project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.detail-project-card:hover img { transform: scale(1.04); }
.detail-project-card figcaption { position: absolute; z-index: 1; right: 16px; bottom: 14px; left: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.7); font-size: 10px; }
.detail-project-card figcaption strong { color: var(--white); font-size: 12px; font-weight: 600; }

@media (max-width: 780px) {
  .field-switcher a { justify-content: center; gap: 8px; min-height: 50px; padding-inline: 9px; font-size: 11px; }
  .service-detail-intro { grid-template-columns: 1fr; gap: 30px; }
  .detail-visual { width: min(100%, 680px); margin-inline: auto; aspect-ratio: 1.45; }
  .scope-grid-three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .farm-panel { grid-template-columns: 1fr; gap: 12px; }
  .detail-gallery-section { padding-top: 20px; }
}
@media (max-width: 520px) {
  .field-nav-section { padding-block: 10px; }
  .field-switcher a { flex-direction: column; gap: 2px; min-height: 58px; padding: 7px 4px; font-size: 9px; }
  .field-switcher a span { font-size: 10px; }
  .service-detail-copy h2 { font-size: 31px; }
  .detail-points li { font-size: 12px; }
  .detail-visual { min-height: 230px; aspect-ratio: 1.15; }
  .detail-visual img { min-height: 230px; }
  .detail-visual figcaption { right: 14px; bottom: 12px; left: 14px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .scope-grid, .scope-grid-three, .detail-project-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 0; padding: 22px; }
  .scope-card h3 { margin-top: 17px; }
  .detail-project-card { aspect-ratio: 1.42; }
  .farm-panel { padding: 27px 21px; }
}


/* FASCO nursery and product catalogue */
.nursery-section { padding-top: 82px; }
.nursery-showcase { display: grid; grid-template-columns: .96fr 1.04fr; gap: clamp(34px, 6vw, 78px); align-items: center; }
.nursery-image { position: relative; overflow: hidden; min-width: 0; margin: 0; aspect-ratio: 1.12; border: 1px solid rgba(181,139,57,.42); background: #d8d5ca; box-shadow: var(--shadow); }
.nursery-image::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(180deg, transparent, rgba(8,11,9,.74)); pointer-events: none; }
.nursery-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.nursery-image:hover img { transform: scale(1.035); }
.nursery-image figcaption { position: absolute; z-index: 1; right: 20px; bottom: 17px; left: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.72); font-size: 10px; }
.nursery-image figcaption strong { color: white; font-size: 13px; font-weight: 600; }
.nursery-copy .section-kicker { margin-bottom: 9px; }
.nursery-copy .farm-mark { display: block; margin-bottom: 10px; }
.nursery-copy h2 { margin: 0 0 14px; font-size: clamp(38px, 5vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; }
.nursery-copy > p:not(.section-kicker) { max-width: 570px; margin: 0; color: #676c65; font-size: 15px; line-height: 2; }
.nursery-products { margin-top: 82px; }
.nursery-products .section-heading { margin-bottom: 29px; }
.nursery-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.nursery-product { min-height: 118px; padding: 17px 18px; border: 1px solid rgba(17,21,18,.11); background: rgba(255,255,255,.76); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.nursery-product:hover { border-color: rgba(181,139,57,.58); background: white; transform: translateY(-3px); }
.nursery-product span { color: var(--gold); font-family: Georgia,serif; font-size: 11px; }
.nursery-product h3 { margin: 17px 0 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.business-autoplay-toggle { min-height: 36px; padding: 5px 10px; border: 1px solid rgba(17,21,18,.15); color: #62665f; background: transparent; font: inherit; font-size: 10px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.business-autoplay-toggle:hover { border-color: var(--gold); color: var(--ink); background: rgba(181,139,57,.08); }
.business-autoplay-toggle[aria-pressed="true"] { border-color: rgba(181,139,57,.38); color: #765a24; }
.business-autoplay-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 1050px) {
  .nursery-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .nursery-product { padding-inline: 14px; }
}
@media (max-width: 780px) {
  .nursery-showcase { grid-template-columns: 1fr; gap: 30px; }
  .nursery-image { width: min(100%, 640px); margin-inline: auto; aspect-ratio: 1.35; }
  .nursery-products { margin-top: 60px; }
  .nursery-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .nursery-section { padding-top: 58px; }
  .nursery-image { aspect-ratio: 1.08; }
  .nursery-image figcaption { right: 14px; bottom: 12px; left: 14px; flex-direction: column; gap: 2px; }
  .nursery-copy h2 { font-size: 42px; }
  .nursery-copy > p:not(.section-kicker) { font-size: 13px; }
  .nursery-products { margin-top: 48px; }
  .nursery-product-grid { gap: 8px; }
  .nursery-product { min-height: 100px; padding: 14px 12px; }
  .nursery-product h3 { margin-top: 13px; font-size: 13px; }
  .business-autoplay-toggle { min-height: 34px; padding-inline: 7px; font-size: 9px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .nursery-image img { transition: none; }
  .nursery-product, .business-autoplay-toggle { transition: none; }
}

/* Standalone nursery catalogue and WhatsApp purchase request */
.nursery-hero { padding-block: 66px 78px; background: #efeee8; }
.nursery-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(34px,6vw,82px); align-items: center; }
.nursery-hero-copy .eyebrow { color: #8e6b29; }
.nursery-hero-copy h1 { margin: 0 0 18px; font-size: clamp(48px,6vw,76px); font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.nursery-hero-copy h1 span { color: var(--gold); }
.nursery-hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 0; color: #676c65; font-size: 15px; line-height: 2; }
.nursery-hero-copy .breadcrumb { margin-top: 24px; }
.nursery-hero-cta { margin-top: 25px; }
.nursery-hero-image { aspect-ratio: 1.1; }
.nursery-catalog { background: #faf9f5; }
.nursery-category-list { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.nursery-category { min-height: 42px; padding: 8px 17px; border: 1px solid rgba(17,21,18,.15); color: #555a53; background: transparent; font: inherit; font-size: 12px; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nursery-category:hover, .nursery-category.is-active { border-color: var(--ink); color: white; background: var(--ink); }
.nursery-category:focus-visible, .nursery-product-card button:focus-visible, .nursery-order-form button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nursery-catalog-notice { margin: 0 0 20px; padding: 13px 16px; border-right: 2px solid var(--gold); color: #676c65; background: #f0eee7; font-size: 12px; line-height: 1.8; }
.nursery-catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.nursery-product-card { display: flex; min-height: 200px; flex-direction: column; padding: 20px; border: 1px solid rgba(17,21,18,.12); background: white; }
.nursery-product-card .product-category-label { color: #8e6b29; font-size: 10px; }
.nursery-product-card h3 { margin: 13px 0 4px; font-size: 18px; font-weight: 600; }
.nursery-product-card .scientific-name { margin: 0; color: #62665f; font-family: Georgia,serif; font-size: 15px; font-style: italic; direction: ltr; text-align: right; }
.nursery-product-card .product-status { margin: 12px 0 18px; color: #858981; font-size: 10px; line-height: 1.8; }
.nursery-product-card button { display: inline-flex; justify-content: space-between; align-items: center; width: 100%; min-height: 40px; margin-top: auto; padding: 8px 11px; border: 1px solid rgba(17,21,18,.22); color: var(--ink); background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.nursery-product-card button:hover { border-color: var(--gold); background: #f7f2e5; }
.nursery-empty-state { padding: 26px; border: 1px dashed rgba(17,21,18,.24); background: rgba(255,255,255,.65); }
.nursery-empty-state strong { font-size: 17px; }
.nursery-empty-state p { max-width: 720px; margin: 9px 0; color: #676c65; font-size: 13px; line-height: 1.9; }
.nursery-order-section { color: white; background: var(--ink); }
.nursery-order-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px,7vw,92px); align-items: start; }
.nursery-order-intro .section-kicker { color: var(--gold-light); }
.nursery-order-intro h2 { margin: 0 0 18px; font-size: clamp(38px,4.4vw,56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.35; }
.nursery-order-intro h2 span { color: var(--gold-light); }
.nursery-order-intro > p:not(.section-kicker) { max-width: 470px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 2; }
.nursery-order-intro .nursery-order-disclaimer { margin-top: 20px; padding-right: 13px; border-right: 2px solid var(--gold-light); color: rgba(255,255,255,.88); }
.nursery-order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(20px,3vw,32px); color: var(--ink); background: #f7f6f1; }
.order-selected { grid-column: 1/-1; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(17,21,18,.13); color: #656a62; background: white; font-size: 12px; line-height: 1.8; }
.order-selected.has-product { border-color: rgba(181,139,57,.55); color: var(--ink); }
.nursery-order-form label { display: grid; gap: 6px; color: #4f544d; font-size: 11px; font-weight: 600; }
.nursery-order-form input, .nursery-order-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(17,21,18,.18); border-radius: 0; color: var(--ink); background: white; font: inherit; font-size: 13px; }
.nursery-order-form textarea { resize: vertical; }
.nursery-order-form input:focus, .nursery-order-form textarea:focus { outline: 2px solid rgba(181,139,57,.55); outline-offset: 1px; }
.order-notes-label { grid-column: 1/-1; }
.nursery-order-form > button { grid-column: 1/-1; justify-self: start; }
.order-form-hint { grid-column: 1/-1; margin: -5px 0 0; color: #74786f; font-size: 10px; }
.nursery-entry { background: #f0efe9; }
.nursery-entry-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: clamp(25px,5vw,52px); border: 1px solid rgba(17,21,18,.1); background: rgba(255,255,255,.76); }
.nursery-entry-card > div { max-width: 680px; }
.nursery-entry-card h2 { margin: 0 0 12px; font-size: clamp(32px,4vw,48px); font-weight: 600; line-height: 1.35; }
.nursery-entry-card h2 span { color: var(--gold); }
.nursery-entry-card p:not(.section-kicker) { margin: 0; color: #676c65; font-size: 13px; line-height: 1.9; }
.nursery-entry-card .section-kicker { margin-bottom: 8px; }
.nursery-entry-card > a { flex: 0 0 auto; }

@media (max-width: 780px) {
  .nursery-hero { padding-block: 44px 55px; }
  .nursery-hero-grid, .nursery-order-layout { grid-template-columns: 1fr; gap: 30px; }
  .nursery-hero-image { width: min(100%,580px); margin-inline: auto; aspect-ratio: 1.35; }
  .nursery-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nursery-entry-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .nursery-hero-copy h1 { font-size: 48px; }
  .nursery-hero-image { aspect-ratio: 1.08; }
  .nursery-category-list { gap: 7px; }
  .nursery-category { min-height: 38px; padding-inline: 11px; font-size: 10px; }
  .nursery-catalog-grid { gap: 8px; }
  .nursery-product-card { min-height: 185px; padding: 14px 12px; }
  .nursery-product-card h3 { font-size: 15px; }
  .nursery-product-card .scientific-name { font-size: 12px; }
  .nursery-product-card .product-status { font-size: 9px; }
  .nursery-order-form { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .order-selected, .order-notes-label, .nursery-order-form > button, .order-form-hint { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nursery-category, .nursery-product-card button { transition: none; }
}


/* Multi-item nursery demo shop and independent cart page */
.main-nav .nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 9px; border: 1px solid rgba(17,21,18,.16); color: var(--ink); font-size: 11px; white-space: nowrap; }
.main-nav .nav-cart:hover { border-color: var(--gold); background: rgba(181,139,57,.08); }
.nav-cart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.nav-cart b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 50%; color: white; background: #9a7027; font-family: Arial,sans-serif; font-size: 10px; line-height: 1; }
.demo-notice { display: flex; align-items: center; gap: 13px; margin-bottom: 28px; padding: 13px 16px; border-right: 3px solid var(--gold); color: #555a53; background: #f2eddf; font-size: 12px; line-height: 1.8; }
.demo-notice strong { flex: 0 0 auto; color: #765a24; }
.nursery-product-card { overflow: hidden; min-height: 0; padding: 0; }
.nursery-product-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ece9e1; }
.nursery-product-content { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.nursery-product-card .product-category-label { display: inline-block; align-self: flex-start; padding: 3px 7px; color: #765a24; background: #f5f0e5; font-size: 10px; }
.nursery-product-card h3 { margin-top: 10px; }
.nursery-product-card .scientific-name { margin-top: 0; font-size: 13px; }
.product-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-block: 14px; }
.product-option, .product-quantity { display: grid; gap: 5px; color: #62665f; font-size: 10px; }
.product-option select, .product-quantity input { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid rgba(17,21,18,.16); border-radius: 0; color: var(--ink); background: white; font: inherit; font-size: 11px; }
.product-option select:focus, .product-quantity input:focus { outline: 2px solid rgba(181,139,57,.55); outline-offset: 1px; }
.product-action-row { display: grid; grid-template-columns: 76px 1fr; align-items: end; gap: 9px; margin-top: auto; }
.product-quantity input { text-align: center; }
.product-action-row .add-to-cart { width: 100%; min-height: 39px; padding: 7px 10px; font-size: 11px; cursor: pointer; }
.nursery-demo-footnote { margin-top: 22px; color: #74786f; font-size: 11px; line-height: 1.8; }
.nursery-cart-hero { padding-block: 48px 32px; background: #efeee8; }
.nursery-cart-hero h1 { margin: 0; font-size: clamp(36px,4.4vw,54px); font-weight: 600; letter-spacing: -.04em; }
.nursery-cart-hero > .container > p:not(.eyebrow) { max-width: 650px; color: #676c65; font-size: 13px; line-height: 1.9; }
.nursery-cart-hero .breadcrumb { margin-top: 18px; }
.nursery-cart-section { padding-top: 48px; }
.nursery-cart-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(285px,.6fr); gap: 30px; align-items: start; }
.cart-content .demo-notice { margin-bottom: 18px; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; padding: 16px; border: 1px solid rgba(17,21,18,.12); background: white; }
.cart-line > img { width: 150px; height: 132px; object-fit: cover; background: #ece9e1; }
.cart-line-info { min-width: 0; }
.cart-line-info h2 { margin: 7px 0 2px; font-size: 17px; font-weight: 600; }
.cart-line-info .scientific-name { margin: 0; color: #62665f; font-family: Georgia,serif; font-size: 12px; font-style: italic; }
.cart-line-options { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 12px; padding: 0; list-style: none; color: #676c65; font-size: 10px; }
.cart-line-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cart-quantity-control { display: inline-flex; align-items: center; border: 1px solid rgba(17,21,18,.18); }
.cart-quantity-control button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; color: var(--ink); background: transparent; font-size: 17px; cursor: pointer; }
.cart-quantity-control button:hover { background: #f2eddf; }
.cart-quantity-control output { min-width: 32px; text-align: center; font-size: 12px; }
.cart-remove, .cart-clear { border: 0; color: #875e35; background: transparent; font: inherit; font-size: 10px; text-decoration: underline; cursor: pointer; }
.cart-clear { margin-top: 16px; }
.cart-empty { padding: 38px 25px; border: 1px dashed rgba(17,21,18,.25); text-align: center; background: #faf9f5; }
.cart-empty h2 { margin: 0 0 9px; font-size: 23px; }
.cart-empty p { margin: 0 0 18px; color: #676c65; font-size: 13px; }
.cart-checkout { position: sticky; top: 105px; padding: 23px; border: 1px solid rgba(17,21,18,.13); background: #f7f6f1; }
.cart-checkout h2 { margin: 0 0 11px; font-size: 22px; }
.checkout-note { margin: 0 0 18px; color: #676c65; font-size: 11px; line-height: 1.8; }
.cart-checkout-form { display: grid; gap: 12px; }
.cart-checkout-form label { display: grid; gap: 5px; color: #4f544d; font-size: 10px; font-weight: 600; }
.cart-checkout-form input, .cart-checkout-form textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(17,21,18,.18); border-radius: 0; color: var(--ink); background: white; font: inherit; font-size: 12px; }
.cart-checkout-form textarea { resize: vertical; }
.cart-checkout-form input:focus, .cart-checkout-form textarea:focus { outline: 2px solid rgba(181,139,57,.5); outline-offset: 1px; }
.cart-checkout-form > button { justify-self: stretch; margin-top: 4px; cursor: pointer; }
.cart-checkout[hidden], .cart-lines[hidden], .cart-empty[hidden], .cart-clear[hidden], .nav-cart b[hidden] { display: none !important; }
@media (max-width: 1050px) {
  .main-nav .nav-cart { padding-inline: 7px; }
  .nursery-cart-layout { grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); }
  .cart-line { grid-template-columns: 125px minmax(0,1fr); }
  .cart-line > img { width: 125px; height: 120px; }
}
@media (max-width: 780px) {
  .main-nav .nav-cart { align-self: flex-start; min-height: 43px; margin-block: 7px; padding: 10px 5px; border: 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cart b { top: 4px; right: 22px; }
  .nursery-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nursery-cart-layout { grid-template-columns: 1fr; }
  .cart-checkout { position: static; }
}
@media (max-width: 520px) {
  .nursery-catalog-grid { grid-template-columns: 1fr; }
  .nursery-product-image { aspect-ratio: 1.55; }
  .nursery-product-content { padding: 16px; }
  .demo-notice { align-items: flex-start; flex-direction: column; gap: 2px; }
  .cart-line { grid-template-columns: 94px minmax(0,1fr); gap: 12px; padding: 11px; }
  .cart-line > img { width: 94px; height: 96px; }
  .cart-line-info h2 { font-size: 14px; }
  .cart-line-options { display: grid; gap: 4px; }
  .cart-line-tools { align-items: flex-start; flex-direction: column; }
  .nursery-cart-hero { padding-top: 35px; }
  .cart-checkout { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-action-row .add-to-cart, .cart-quantity-control button { transition: none; }
}
