/* site-safety */
/* استوديو فناء. Lime plaster, palm green, clay and brass. Right to left, logical properties only. */
:root {
  --lime: #f4eee4;
  --lime-2: #ebe2d3;
  --sand: #e2d2b8;
  --sand-deep: #cdb48f;
  --paper: #fbf8f2;
  --ink: #1e2622;
  --ink-soft: #4b544e;
  --palm: #2e4a3e;
  --palm-2: #3f6353;
  --palm-tint: #d9e2d8;
  --clay: #9a4a28;
  --clay-2: #c26c43;
  --clay-tint: #f0d9c8;
  --brass: #b28a4c;
  --brass-tint: #f1e3c8;
  --head: "Readex Pro", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Readex Pro", Tahoma, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-xl: 48px;
  --r-lg: 34px;
  --r-md: 24px;
  --gutter: clamp(1.15rem, 5vw, 4.5rem);
  --shadow: 0 34px 60px -34px rgba(46, 38, 24, .38), 0 10px 24px -16px rgba(46, 38, 24, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.3; margin: 0; }
p { margin: 0; }
em { font-style: normal; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.skip { position: absolute; inset-inline-start: -9999px; top: 0; }
.skip:focus { inset-inline-start: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1.1rem; border-radius: 14px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--clay-2) 55%, transparent); outline-offset: 3px; border-radius: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-size: .95rem; font-weight: 500;
  color: var(--clay);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 3px; border-radius: 3px; background: currentColor; opacity: .6; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.top.scrolled{background:color-mix(in srgb, var(--lime) 84%, transparent);backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15);box-shadow:0 8px 24px rgb(46 38 24 / 0.08)}
.brand {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .65rem; min-height: 48px;
  font-family: var(--head); font-size: 1.3rem; font-weight: 600; text-decoration: none;
}
.brand-mark { width: 40px; height: 44px; flex: none; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: translateY(-3px) rotate(-4deg); }
.brand small { display: block; font-family: var(--body); font-size: .78rem; font-weight: 500; color: var(--ink-soft); line-height: 1.2; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.menu-toggle {
  position: relative; z-index: 2;
  width: 48px; height: 48px; margin-inline-end: -10px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle line { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .45s var(--spring), opacity .25s; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

#nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .2rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--sand);
  background-image: radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--palm) 14%, transparent) 0 18rem, transparent 18rem);
  clip-path: circle(0 at 2.8rem 2.6rem);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
#nav.open { clip-path: circle(150% at 2.8rem 2.6rem); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
#nav a {
  font-family: var(--head); font-size: clamp(2.2rem, 11vw, 3.4rem); line-height: 1.3; text-decoration: none; font-weight: 500;
  min-height: 48px; display: inline-flex; align-items: center; gap: .8rem;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s, transform .6s var(--spring), color .2s;
}
#nav a[aria-current="page"] { color: var(--clay); }
#nav a[aria-current="page"]::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
#nav.open a { opacity: 1; transform: none; }
#nav.open a:nth-child(2) { transition-delay: .05s; }
#nav.open a:nth-child(3) { transition-delay: .1s; }
#nav.open a:nth-child(4) { transition-delay: .15s; }
#nav a:hover { color: var(--clay); }
#nav .nav-cta { color: var(--palm); }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  #nav {
    position: static; clip-path: none; visibility: visible; background: none; padding: 0;
    flex-direction: row; align-items: center; gap: .3rem; transition: none;
  }
  #nav a { font-family: var(--body); font-size: 1rem; font-weight: 500; opacity: 1; transform: none; padding: 0 1.05rem; border-radius: 999px; transition: background .3s, transform .45s var(--spring), color .2s; }
  #nav a:hover { background: color-mix(in srgb, var(--palm) 9%, transparent); color: var(--ink); transform: translateY(-2px); }
  #nav a[aria-current="page"] { background: color-mix(in srgb, var(--clay) 11%, transparent); color: var(--clay); }
  #nav a[aria-current="page"]::after { display: none; }
  #nav .nav-cta { background: var(--palm); color: var(--paper); margin-inline-start: .5rem; padding: 0 1.4rem; }
  #nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
  #nav .nav-cta[aria-current="page"] { background: var(--clay); color: var(--paper); }
}

/* ---------- Buttons and links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:56px;padding:0 1.9rem;border:0;border-radius:999px;font:600 1.05rem/1 var(--head);text-decoration:none;cursor:pointer;background:var(--palm);color:var(--paper);box-shadow:0 8px 24px rgb(46 74 62 / 0.08);transition:transform .5s var(--spring), background .3s}
.btn:hover { transform: translateY(-3px) scale(1.03); background: var(--ink); }
.btn:active { transform: scale(.96); }
.btn .icon { transition: transform .45s var(--spring); }
.btn:hover .icon { transform: translateX(-5px); }
.btn-clay{background:var(--clay);box-shadow:0 8px 24px rgb(154 74 40 / 0.08)}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brass-tint); }

.cta-spec{min-height:60px;display:inline-flex;align-items:center;justify-content:center;font:600 1.1rem/1 var(--head);color:var(--paper);background:var(--palm);border-radius:999px;padding:0 2.2rem;box-shadow:0 8px 24px rgb(46 74 62 / 0.08);cursor:pointer}
.cta-spec[data-ai-code-use-state="ready"] { background: none; padding: 0; box-shadow: none; min-height: 0; }
.cta-spec .specular-button{min-height:60px;font-family:var(--head);font-weight:600;box-shadow:0 8px 24px rgb(46 74 62 / 0.08);transition:transform .5s var(--spring)}
.cta-spec .specular-button:hover { transform: translateY(-3px) scale(1.03); }
.cta-spec .specular-button:active { transform: scale(.96); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-family: var(--head); font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--clay-2), var(--clay-2)) no-repeat 100% 100% / 0 3px;
  transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 100% 3px; }
.text-link .icon { transition: transform .45s var(--spring); }
.text-link:hover .icon { transform: translateX(-6px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; gap: 2.6rem;
  padding: 7rem var(--gutter) 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 14.5vw, 7.4rem);
  font-weight: 500;
  margin: 1rem 0 1.4rem;
  text-wrap: balance;
}
.hero h1 em { color: var(--clay); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; inset-inline: -.05em; bottom: .12em; height: .16em; z-index: -1;
  background: var(--brass-tint); border-radius: 999px;
  transform-origin: 100% 50%;
}
.lede { max-width: 34rem; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }

.hero-art { position: relative; width: min(100%, 560px); justify-self: center; }
.hero-art .courtyard { width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 40px rgba(46, 38, 24, .16)); }
.chip-swatch {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .5rem .4rem 1rem; padding-inline-start: .45rem; padding-inline-end: 1rem;
  background: var(--paper); border-radius: 999px; box-shadow: var(--shadow);
  font-family: var(--head); font-size: .88rem; font-weight: 500; line-height: 1.3;
  animation: float 7s ease-in-out infinite alternate;
}
.chip-swatch .sw { width: 34px; height: 34px; }
.chip-a { inset-inline-end: -2%; top: 30%; }
.chip-b { inset-inline-start: -3%; top: 54%; animation-delay: -2s; }
.chip-c { inset-inline-end: 6%; bottom: 9%; animation-delay: -4s; }
.hero-note {
  position: absolute; inset-inline-start: -2%; top: 1%; z-index: 2; max-width: 12.5rem;
  background: var(--palm); color: var(--paper); padding: .9rem 1.1rem; border-radius: var(--r-md);
  font-size: .9rem; line-height: 1.6; box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}
.hero-note strong { display: block; font-family: var(--head); font-weight: 500; color: var(--brass-tint); }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 4rem; padding-top: 8rem; min-height: 100svh; }
  .hero-copy { position: relative; z-index: 2; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 8rem var(--gutter) 3.5rem;
  display: grid; gap: 2rem; align-items: end;
}
.page-hero h1 { font-size: clamp(2.7rem, 12vw, 6.2rem); margin-top: .8rem; text-wrap: balance; }
.page-hero h1 em { color: var(--clay); }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero .arch-mini { width: clamp(120px, 30vw, 220px); justify-self: end; }
@media (min-width: 900px) { .page-hero { grid-template-columns: 1fr auto; padding-top: 10rem; } }

/* ---------- Pattern band (mashrabiya) ---------- */
.lattice-band {
  height: 74px; margin: 0;
  background-color: var(--palm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23d9c4a0' stroke-width='2' opacity='.55'%3E%3Cpath d='M24 6 42 24 24 42 6 24Z'/%3E%3Cpath d='M11 11h26v26H11z'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 48px 48px;
  animation: drift 40s linear infinite;
}
@keyframes drift { to { background-position: -480px 0; } }

/* ---------- Loop band ---------- */
.loop-band { position: relative; background: var(--palm); color: var(--paper); padding: 1.2rem 0; overflow: hidden; }
.loop {
  min-height: 110px; display: flex; align-items: center; justify-content: center;
  font: 500 clamp(1.6rem, 6vw, 3rem)/1.3 var(--head); text-align: center; padding: .5rem var(--gutter); color: var(--paper);
}
.loop[data-ai-code-use-state="ready"] { padding: 0; display: block; min-height: 0; }
.loop .curved-loop-jacket { min-height: 0; }
.loop .curved-loop-svg { font-family: var(--head); text-transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 11vw, 9rem) var(--gutter); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head h2 { font-size: clamp(2.1rem, 8vw, 4.2rem); margin-top: .7rem; text-wrap: balance; }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); max-width: 36rem; }

/* Approach */
.approach { display: grid; gap: 3rem; }
.quote-card {
  position: relative; overflow: hidden;
  background: var(--sand); border-radius: var(--r-xl); padding: 2.4rem 1.8rem 2.2rem;
}
.quote-card blockquote { margin: 0; font-family: var(--head); font-size: clamp(1.6rem, 6vw, 2.5rem); line-height: 1.45; font-weight: 400; position: relative; z-index: 1; }
.quote-card p { margin-top: 1.4rem; color: var(--ink-soft); position: relative; z-index: 1; }
.quote-card svg { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 220px; opacity: .5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem;
  padding: 1.5rem 1.4rem; border-radius: var(--r-lg); background: var(--paper);
  transition: transform .6s var(--spring), background .3s;
}
.step:hover { transform: translateX(-6px); background: var(--brass-tint); }
.step-num { grid-row: span 2; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--clay-2); font-weight: 300; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--ink-soft); }
@media (min-width: 960px) {
  .approach { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 4rem; }
  .quote-card { position: sticky; top: 7rem; padding: 3.4rem 3rem; min-height: 26rem; }
  .steps { gap: 1.1rem; }
  .step { padding: 1.8rem 2rem; }
}

/* Featured project */
.feature { display: grid; gap: 2rem; align-items: center; }
.drawing {
  position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--paper);
  background-image: radial-gradient(color-mix(in srgb, var(--sand-deep) 40%, transparent) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  padding: clamp(1rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.drawing svg { width: 100%; height: auto; display: block; }
.drawing figcaption { margin-top: .8rem; font-size: .9rem; color: var(--ink-soft); }
.meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.meta li { background: var(--palm-tint); color: var(--palm); border-radius: 999px; padding: .2rem .9rem; font-size: .92rem; font-weight: 500; }
.feature h3, .project h2 { font-size: clamp(1.9rem, 7vw, 3.2rem); }
.feature p, .project-copy > p { color: var(--ink-soft); max-width: 34rem; }
@media (min-width: 960px) { .feature { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }

/* Swatches */
.swatches { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; margin: 1.6rem 0; padding: 0; list-style: none; }
.swatches li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; }
.sw{width:46px;height:46px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 3px rgba(255, 255, 255, .35),0 8px 24px rgb(46 38 24 / 0.08);transition:transform .5s var(--spring)}
.swatches li:hover .sw { transform: scale(1.18) rotate(-12deg); }
.sw-travertine { background: repeating-linear-gradient(170deg, #e8dcc5 0 6px, #dccbae 6px 8px, #ece2cf 8px 15px); }
.sw-walnut { background: repeating-linear-gradient(100deg, #5e3f2a 0 4px, #73503a 4px 7px, #563826 7px 12px); }
.sw-brass { background: radial-gradient(circle at 35% 30%, #f3dfae, #c39a52 45%, #8d6a33); }
.sw-linen { background: repeating-linear-gradient(0deg, #ebe4d6 0 2px, #e0d7c4 2px 3px), #e9e1d1; background-blend-mode: multiply; }
.sw-lime { background: radial-gradient(circle at 70% 30%, #fbf7ef, #ece3d2 60%, #ddd1bb); }
.sw-clay { background: radial-gradient(circle at 30% 30%, #d98a62, #b2603a 55%, #8e4628); }
.sw-marble { background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, .35) 42%, transparent 46%), linear-gradient(60deg, transparent 60%, rgba(255, 255, 255, .25) 62%, transparent 65%), #3c5b4c; }
.sw-wool { background: repeating-radial-gradient(circle at 50% 50%, #ddd0b8 0 3px, #d1c2a6 3px 5px); }
.sw-oak { background: repeating-linear-gradient(95deg, #cfaa7f 0 5px, #bf976a 5px 7px, #d6b48b 7px 13px); }
.sw-blue { background: radial-gradient(circle at 35% 30%, #7fa6bf, #3a6b88 55%, #24465c); }
.sw-cotton { background: #f5f1e9; }
.sw-palm { background: repeating-linear-gradient(45deg, #b8a27a 0 4px, #a68e64 4px 6px, #c2ad86 6px 10px); }
.sw-terrazzo { background: radial-gradient(circle at 30% 40%, #a9572f 0 3px, transparent 3.5px), radial-gradient(circle at 65% 65%, #2e4a3e 0 2.5px, transparent 3px), radial-gradient(circle at 60% 25%, #b28a4c 0 2px, transparent 2.5px), radial-gradient(circle at 25% 75%, #cdb48f 0 3px, transparent 3.5px), #efe7da; }

/* Services teaser */
.svc-grid { display: grid; gap: 1rem; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--r-lg); background: var(--paper);
  text-decoration: none; min-height: 15rem; overflow: hidden;
  transition: transform .6s var(--spring), box-shadow .4s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc h3 { font-size: 1.7rem; }
.svc p { color: var(--ink-soft); }
.svc .svc-ico { width: 64px; height: 64px; }
.svc .text-link { margin-top: auto; }
.svc-1 { background: var(--palm); color: var(--paper); }
.svc-1 p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.svc-1 .text-link { color: var(--paper); }
.svc-2 { background: var(--clay-tint); }
.svc-3 { background: var(--brass-tint); }
@media (min-width: 800px) { .svc-grid { grid-template-columns: 1.3fr 1fr 1fr; } .svc { min-height: 22rem; padding: 2.2rem; } }

/* CTA band */
.cta-band {
  margin: 0 var(--gutter) clamp(4rem, 9vw, 7rem);
  position: relative; overflow: hidden;
  display: grid; gap: 1.6rem; align-items: center;
  background: var(--clay); color: var(--paper);
  border-radius: var(--r-xl); padding: clamp(2.2rem, 6vw, 4.5rem);
}
.cta-band h2 { font-size: clamp(2.2rem, 9vw, 4.4rem); position: relative; z-index: 1; }
.cta-band p { color: color-mix(in srgb, var(--paper) 86%, transparent); max-width: 30rem; margin-top: .8rem; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; justify-self: start; }
.cta-band .band-arch { position: absolute; inset-inline-end: -30px; bottom: -60px; width: 260px; opacity: .22; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Projects page ---------- */
.project-list { display: grid; gap: clamp(4rem, 10vw, 8rem); padding: 1rem var(--gutter) clamp(4rem, 9vw, 7rem); }
.project { display: grid; gap: 1.8rem; align-items: center; }
.project-num { font-family: var(--head); font-size: 1rem; color: var(--clay); font-weight: 500; }
.project h2 { margin-top: .4rem; }
.did { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.did li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink-soft); }
.did .icon { color: var(--palm-2); transform: translateY(.2em); }
.drawing.tint-sand { background-color: var(--sand); }
.drawing.tint-green { background-color: var(--palm-tint); }
.drawing.tint-clay { background-color: var(--clay-tint); }
@media (min-width: 960px) {
  .project { grid-template-columns: 1.15fr .85fr; gap: 4.5rem; }
  .project:nth-child(even) .drawing { order: 2; }
}

/* ---------- Services page ---------- */
.service-block { display: grid; gap: 2rem; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.service-block + .service-block { padding-top: 0; }
.service-card {
  border-radius: var(--r-xl); padding: clamp(1.8rem, 5vw, 3.4rem);
  display: grid; gap: 1.6rem; position: relative; overflow: hidden;
}
.service-card.c1 { background: var(--paper); }
.service-card.c2 { background: var(--palm); color: var(--paper); }
.service-card.c2 .service-copy > p, .service-card.c2 .incl li { color: color-mix(in srgb, var(--paper) 84%, transparent); }
.service-card.c2 .incl .icon { color: var(--brass-tint); }
.service-card.c2 .tag { background: color-mix(in srgb, var(--paper) 14%, transparent); color: var(--brass-tint); }
.service-card.c3 { background: var(--brass-tint); }
.service-card h2 { font-size: clamp(2rem, 8vw, 3.6rem); margin: .6rem 0 1rem; }
.service-copy > p { color: var(--ink-soft); max-width: 36rem; }
.tag { display: inline-flex; background: var(--clay-tint); color: var(--clay); border-radius: 999px; padding: .2rem .95rem; font-size: .92rem; font-weight: 500; }
.incl { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.incl li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink-soft); }
.incl .icon { color: var(--palm-2); transform: translateY(.2em); }
.duration { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--head); font-weight: 500; }
.service-art { width: 100%; max-width: 420px; justify-self: center; }
.tilt-wrap { width: min(100%, 420px); aspect-ratio: 3 / 2; justify-self: center; position: relative; }
.tilt-wrap > [data-ai-code-use] { width: 100%; height: 100%; }
.tilt-wrap .fallback-img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.tilt-wrap [data-ai-code-use-state="ready"] .fallback-img { display: none; }
.tilt-note { font-size: .9rem; color: var(--ink-soft); margin-top: .8rem; text-align: center; }
@media (min-width: 960px) {
  .service-card { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
}

.faq { padding: clamp(3rem, 8vw, 6rem) var(--gutter); display: grid; gap: 2rem; }
.faq-list { display: grid; gap: .8rem; }
.faq details { background: var(--paper); border-radius: var(--r-md); padding: 0 1.4rem; transition: background .3s; }
.faq details[open] { background: var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--head); font-size: 1.15rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .5s var(--spring); font-size: 1.3rem; color: var(--clay); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3rem; color: var(--ink-soft); max-width: 44rem; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: 2rem; padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem); align-items: start; }
.form-card {
  position: relative; background: var(--paper); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 5vw, 3rem); box-shadow: var(--shadow);
  display: grid; gap: 1.2rem;
}
.form-card h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, fieldset legend { font-family: var(--head); font-weight: 500; font-size: 1rem; }
.field .opt { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .8rem 1.1rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--lime); border: 0; border-radius: 18px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--clay-2) 60%, transparent), 0 0 0 5px color-mix(in srgb, var(--clay-2) 16%, transparent); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231e2622' stroke-width='1.8' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: left 1rem center; padding-inline-end: 2.8rem; }
.field input[type="tel"], .field input[type="email"] { text-align: end; direction: ltr; }
.field input[type="tel"]::placeholder, .field input[type="email"]::placeholder { text-align: end; }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: 0 1.2rem;
  border-radius: 999px; background: var(--lime); font-weight: 500;
  transition: background .25s, color .25s, transform .45s var(--spring);
}
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--palm); color: var(--paper); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay-2) 35%, transparent); }
.form-card .btn { justify-self: start; margin-top: .4rem; }
.site-form-status { margin: 0; font-family: var(--head); font-weight: 500; color: var(--palm); }
.site-form-status:empty { display: none; }
.site-form-status:not(:empty) { background: var(--palm-tint); padding: .8rem 1.1rem; border-radius: 16px; }
.form-fine { font-size: .92rem; color: var(--ink-soft); }

.aside { display: grid; gap: 1rem; }
.next-steps { background: var(--sand); border-radius: var(--r-xl); padding: clamp(1.6rem, 5vw, 2.6rem); }
.next-steps h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.next-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.next-steps .n { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-family: var(--head); font-weight: 600; color: var(--clay); }
.next-steps p { color: var(--ink-soft); }
.next-steps strong { display: block; color: var(--ink); font-family: var(--head); font-weight: 500; }
.contact-card { background: var(--palm); color: var(--paper); border-radius: var(--r-xl); padding: clamp(1.6rem, 5vw, 2.6rem); }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-card li { display: flex; gap: .8rem; align-items: center; min-height: 44px; }
.contact-card .icon { font-size: 1.3rem; color: var(--brass-tint); }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--brass-tint); }
@media (min-width: 960px) { .contact { grid-template-columns: 1.25fr .75fr; gap: 3rem; } .aside { position: sticky; top: 7rem; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--lime); padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem; position: relative; overflow: hidden; }
.foot-word { font-family: var(--head); font-weight: 600; font-size: clamp(6rem, 34vw, 19rem); line-height: 1; color: color-mix(in srgb, var(--lime) 92%, transparent); margin-bottom: 2rem; }
.foot-word span { color: var(--clay-2); }
.foot-grid { display: grid; gap: 2rem; }
.foot h2 { font-size: 1rem; font-weight: 500; color: var(--brass); margin-bottom: .7rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.foot a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.foot a:hover { color: var(--brass-tint); }
.foot p { color: color-mix(in srgb, var(--lime) 78%, transparent); }
.foot-small { margin-top: 3rem; padding-top: 1.4rem; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; background: linear-gradient(color-mix(in srgb, var(--lime) 14%, transparent), color-mix(in srgb, var(--lime) 14%, transparent)) no-repeat top / 100% 2px; }
.foot-arches { position: absolute; inset-inline-start: -20px; top: 2rem; width: 300px; opacity: .1; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Line drawings + reveals ---------- */
.js .draw .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .draw.in .ln { stroke-dashoffset: 0; }
@media (scripting:enabled){.js .draw .fade-in{opacity:0;transition:opacity 1.2s .6s var(--ease)}}
.js .draw.in .fade-in { opacity: 1; }
.ln { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ln.thin { stroke-width: 1.3; }
.ln.thick { stroke-width: 3.2; }
.ln.light { stroke: var(--paper); }

@media (scripting:enabled){.js .reveal{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease), transform 1s var(--spring);transition-delay:calc(var(--i, 0) * 90ms)}}
.js .reveal.in { opacity: 1; transform: none; }

@supports (corner-shape: squircle) {
  .drawing, .quote-card, .step, .svc, .cta-band, .service-card, .form-card, .next-steps, .contact-card, .faq details, .hero-note { corner-shape: squircle; border-radius: calc(var(--r-xl) * 1.6); }
  .step, .faq details { border-radius: calc(var(--r-lg) * 1.5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .draw .fade-in { opacity: 1; transform: none; }
  .js .draw .ln { stroke-dashoffset: 0; }
}
.drawing text { font-family: var(--head); }
