/* Emily's: pool blue, warm plaster, expressive serif, quiet controls. */
:root {
  --pool-deep: #103e50;
  --pool: #18596c;
  --pool-light: #79d7ce;
  --plaster: #f7f4ee;
  --ink: #153e49;
  --muted: #4b666d;
  --on-water: #f7f4ee;
  --on-water-muted: #d5e8e8;
  --line: #c8d3d0;
  --line-on-water: #72959f;
  --font-display: Fraunces, Georgia, serif;
  --font-body: Inter, Arial, sans-serif;
  --text-small: .8125rem;
  --text-body: 1rem;
  --text-title: clamp(2.5rem, 4.6vw, 4rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --gutter: max(1.5rem, calc((100vw - 1200px) / 2));
  --radius: .25rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; scrollbar-color: #557f88 var(--plaster); }
body { margin: 0; color: var(--ink); background: var(--plaster); font-family: var(--font-body); font-size: var(--text-body); line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { background: var(--pool-light); color: var(--pool-deep); }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: var(--text-title); }
h3 { font-size: clamp(1.65rem, 2.6vw, 2rem); }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #ad732c; outline-offset: 5px; }
.nav :focus-visible, .scene :focus-visible, .footer :focus-visible { outline-color: var(--pool-light); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: .5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; color: var(--ink); background: var(--plaster); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.icon-arrow { flex: 0 0 20px; width: 20px; height: 20px; }
/* All calls to action use the same shape, type, and color meaning. */
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: var(--space-2); padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: 999px; background: var(--pool-light); color: var(--pool-deep); font-size: var(--text-small); font-weight: 600; line-height: 1.4; transition: background .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: #ace8e1; }
.btn:active { background: #60c8bf; }
.btn--small { min-height: 44px; padding: .65rem 1.25rem; }
.btn--ghost { color: var(--on-water); background: transparent; border-color: var(--line-on-water); }
.btn--ghost:hover { background: #ffffff12; border-color: var(--on-water); }
button:disabled { cursor: not-allowed; opacity: .55; }
/* Header and mobile disclosure. */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 92px; padding: 1rem var(--gutter); background: var(--pool-deep); color: var(--on-water); border-bottom: 1px solid #ffffff20; }
.nav__brand { display: flex; flex-direction: column; gap: 5px; line-height: 1.1; }
.nav__brand-name { font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.nav__brand-sub { color: var(--on-water-muted); font-size: .625rem; letter-spacing: .03em; }
.nav__links { display: flex; gap: var(--space-4); font-size: var(--text-small); }
.nav__links a { padding-block: .65rem; }
.nav__links a:hover, .footer__col a:hover { text-decoration: underline; }
.nav__toggle, .menu { display: none; }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__phone { padding-block: .65rem; font-size: var(--text-small); font-weight: 500; white-space: nowrap; }
.nav__phone:hover { text-decoration: underline; }
/* The water is the signature, not an additional layer on every section. */
.scene { position: relative; isolation: isolate; overflow: hidden; color: var(--on-water); background: var(--pool-deep); }
.scene__media { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, var(--pool-deep), var(--pool)); }
.water-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.water-canvas.is-on { opacity: 1; }
.scene__vignette { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #103e50a8, #103e5030); transition: opacity 1s var(--ease); }
/* The hero shader shades its own water for legibility and draws the pool edge, which a flat overlay would muddy. */
.hero .water-canvas.is-on + .scene__vignette { opacity: 0; }
.hero { display: flex; align-items: center; min-height: clamp(610px, 78svh, 790px); padding: var(--space-6) var(--gutter) 100px; }
.hero__content { max-width: 800px; }
.hero__title { font-size: clamp(4.5rem, 8.5vw, 6rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.hero__title em, .contact__title em { color: var(--pool-light); font-weight: inherit; }
.hero__sub { margin-top: var(--space-4); max-width: 490px; color: var(--on-water-muted); line-height: 1.8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.motion-toggle { position: absolute; bottom: calc(var(--pool-edge, 0px) + var(--space-3)); right: var(--gutter); min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-on-water); border-radius: 999px; color: var(--on-water); background: var(--pool-deep); font-size: .75rem; }
.motion-toggle:hover { background: var(--pool); }
/* One editorial grid and one plaster surface connect the supporting content. */
.story, .services, .work { padding-inline: var(--gutter); background: var(--plaster); }
.story { padding-block: var(--section-space); }
.story__content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.story__title { font-size: var(--text-title); }
.story__timeline { max-width: 65ch; padding-top: .35rem; }
.story__timeline p + p { margin-top: var(--space-2); }
.services { padding-bottom: var(--section-space); }
.services > .section-title { padding-top: var(--section-space); border-top: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-5); }
.service { display: flex; flex-direction: column; align-items: flex-start; }
.service__body { margin-top: var(--space-3); max-width: 65ch; }
.service__swatches { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block: var(--space-3); }
/* A small pool set into the plaster: the page is the deck around it. */
.finish-figure { margin-top: var(--space-5); }
.finish-pool { --pool-water: #7fcfd3; position: relative; overflow: hidden; height: clamp(220px, 28vw, 360px); border-radius: var(--radius); background: var(--pool-water); box-shadow: inset 0 0 0 14px #e4dac9; transition: background .6s var(--ease); }
.finish-pool[data-finish="quartz"] { --pool-water: #3d9fb8; }
.finish-pool[data-finish="pebble"] { --pool-water: #226d80; }
.finish-figure__caption { margin-top: .75rem; font-size: var(--text-small); line-height: 1.6; color: var(--muted); }
.finish-picker { min-width: 0; margin: var(--space-3) 0; padding: 0; border: 0; }
.finish-picker__legend { padding: 0; margin-bottom: .75rem; font-size: .75rem; color: var(--muted); }
.finish-picker__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.finish-picker .swatch { position: relative; min-height: 44px; padding: .5rem 1rem .5rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.finish-picker .swatch:hover { border-color: #8aa7a8; }
.finish-picker .swatch:has(:checked) { border-color: var(--ink); background: #fff; }
.finish-picker .swatch:has(:focus-visible) { outline: 3px solid #ad732c; outline-offset: 3px; }
.finish-picker input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-small); color: var(--muted); }
.swatch i { display: block; width: 16px; height: 16px; border-radius: 50%; background: #e3ddd1; border: 1px solid #a4b4b0; }
.swatch--quartz i { background: #bccfce; }.swatch--pebble i { background: #7d969c; }.swatch--tile i { background: #388b93; }.swatch--coping i { background: #d8cdb9; }.swatch--lighting i { background: #f3deb0; }
.service__link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding-block: .5rem; margin-top: auto; color: #12686c; font-size: var(--text-small); font-weight: 600; }
.service__link:hover { text-decoration: underline; }
.work { padding-bottom: var(--section-space); }
.work__head { border-top: 1px solid var(--line); padding-top: var(--section-space); }
.work__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.work-card { min-width: 0; }.work-card__media { overflow: hidden; border-radius: var(--radius); }
.work-card__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.work-card figcaption { margin-top: .75rem; font-size: var(--text-small); line-height: 1.6; color: var(--muted); }
/* The closing scene echoes the hero; the form uses the same quiet geometry. */
.contact { padding: var(--section-space) var(--gutter); }
.contact .scene__vignette { background: #103e50c7; }
.contact__title { font-size: var(--text-title); }
.contact__intro { margin-top: var(--space-3); color: var(--on-water-muted); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; margin-top: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form__field { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.form__field label { font-size: var(--text-small); color: var(--on-water); }
input, select, textarea { min-width: 0; width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--plaster); caret-color: #12686c; font-size: 1rem; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; }
input:user-invalid, textarea:user-invalid { border-color: #b63e36; outline: 2px solid #b63e36; outline-offset: 1px; }
.form__note, .form__status { margin-top: var(--space-2); max-width: 60ch; font-size: .75rem; line-height: 1.8; color: var(--on-water-muted); }
.form__status:empty { display: none; }
.form__status.is-error { color: #ffd4cf; font-weight: 500; }
.form__label { font-size: var(--text-small); color: var(--on-water); }
.form__optional { color: var(--on-water-muted); }
.upload { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: var(--space-3); border: 1px dashed var(--line-on-water); border-radius: var(--radius); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.upload:hover { border-color: var(--pool-light); background: #ffffff0d; }
.upload:focus-within { outline: 3px solid var(--pool-light); outline-offset: 3px; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__cta { color: var(--pool-light); font-size: var(--text-small); font-weight: 600; }
.upload__hint { color: var(--on-water-muted); font-size: .75rem; line-height: 1.6; }
.upload__list { display: grid; gap: var(--space-1); margin: var(--space-1) 0 0; padding: 0; list-style: none; }
.upload__list:empty { display: none; }
.upload__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.upload__item img, .upload__thumb-fallback { width: 48px; height: 48px; border-radius: var(--radius); object-fit: cover; background: var(--pool); }
.upload__thumb-fallback { display: grid; place-items: center; font-size: .625rem; color: var(--on-water-muted); }
.upload__name { overflow: hidden; font-size: .75rem; color: var(--on-water-muted); text-overflow: ellipsis; white-space: nowrap; }
.upload__remove { min-height: 44px; padding: .25rem .5rem; border: 0; color: var(--on-water); background: transparent; font-size: .75rem; text-decoration: underline; text-underline-offset: .3em; }
.upload__remove:hover { color: var(--pool-light); }
.form-done { padding: var(--space-4) 0; }
.form-done:focus { outline: none; }
.form-done__title { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--on-water); }
.form-done__body { margin-top: var(--space-2); max-width: 44ch; color: var(--on-water-muted); }
.form-done__body a { color: var(--on-water); text-decoration: underline; }
.contact__aside { border-top: 1px solid var(--line-on-water); padding-top: var(--space-3); }
.contact__aside-label { color: var(--on-water-muted); font-size: var(--text-small); margin-bottom: var(--space-1); }
.contact__big-link { display: inline-block; padding-block: .5rem; font-size: clamp(1rem, 1.8vw, 1.4rem); text-decoration: underline; overflow-wrap: anywhere; }
.contact__big-link--phone { display: block; width: fit-content; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); }.contact__big-link:hover { color: var(--pool-light); }.contact__area { margin-top: var(--space-3); color: var(--on-water-muted); max-width: 28ch; font-size: var(--text-small); }
.footer { padding: var(--space-5) var(--gutter) var(--space-3); background: var(--pool-deep); color: var(--on-water); border-top: 1px solid #ffffff20; }
.footer__inner { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: var(--space-4); }
.footer__wordmark { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }.footer__wordmark span { display: block; font-family: var(--font-body); color: var(--on-water-muted); font-size: .625rem; letter-spacing: .03em; margin-top: .5rem; }
.footer__tagline, .footer__legal { margin-top: var(--space-2); color: var(--on-water-muted); font-size: .75rem; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; font-size: var(--text-small); }.footer__col a { padding-block: .5rem; overflow-wrap: anywhere; }.footer__legal { border-top: 1px solid #ffffff20; padding-top: var(--space-3); margin-top: var(--space-4); }
@media (max-width: 900px) {
  .story__content, .services__grid, .contact__grid { gap: var(--space-4); }
  .nav__links { gap: var(--space-3); }.work__track { gap: var(--space-2); }
  .footer__inner { grid-template-columns: 1fr 1fr; }.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  :root { --gutter: 1.25rem; --text-title: clamp(2.25rem, 8vw, 3rem); }
  html { scroll-padding-top: 100px; }.nav { min-height: 80px; padding-block: .75rem; gap: .5rem; }.nav__brand-name { font-size: 1.75rem; }.nav__brand-sub { font-size: .5625rem; letter-spacing: 0; }.nav__links, .nav__phone { display: none; }.nav__actions { margin-left: auto; }.btn--small { padding: .65rem .85rem; font-size: .75rem; }
  .nav__toggle { display: block; flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }.nav__toggle span { display: block; width: 22px; height: 1px; margin-block: 7px; background: var(--on-water); }
  .menu.is-open { display: block; position: fixed; top: 80px; left: 0; right: 0; z-index: 19; padding: var(--space-2) var(--gutter); background: var(--pool-deep); color: var(--on-water); border-bottom: 1px solid var(--line-on-water); }.menu__links { display: flex; flex-direction: column; }.menu__links a { padding-block: .75rem; }
  .hero { min-height: 610px; padding-top: var(--space-5); padding-bottom: calc(var(--pool-edge, 0px) + 5.5rem); }.hero__title { font-size: clamp(3.75rem, 15vw, 5.5rem); }.hero__sub { font-size: .9375rem; margin-top: var(--space-3); }.hero__cta { gap: .75rem; margin-top: var(--space-3); }.hero__cta .btn { padding-inline: 1.1rem; gap: .6rem; }
  .story__content, .services__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--space-4); }.story__timeline { padding: 0; }.services__grid { gap: var(--space-5); margin-top: var(--space-4); }.service + .service { border-top: 1px solid var(--line); padding-top: var(--space-4); }
  .work__track { grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-4); }.work-card__img { aspect-ratio: 4 / 3; }.form__row { gap: var(--space-2); }.contact__grid { margin-top: var(--space-4); }.contact__aside { margin-top: var(--space-2); }.footer__inner { gap: var(--space-3); }.footer__col:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }*, *::before, *::after { transition: none !important; }
  .motion-toggle { display: none; }
}
