/* Waterfront Solutions — Carpentry & Outdoor Living
   "Sunset" palette: warm cream and peach-sand grounds, the brand emblem's teal for the
   dark bands and its sunset orange as the single accent, shared with the property-care
   site. Serif display type (Cormorant Garamond) over a clean geometric sans (Jost).
   The --brass / --brass-lt names are kept from the earlier palette; they now hold the
   sunset orange accent. */
:root {
  --night: #124745;
  --deep: #0e6365;
  --pine: #0e6365;
  --bone: #fffaf3;
  --linen: #f9ebda;
  --stone: #e6d2b9;
  --ink: #1f2a2e;
  --muted: #5b6367;
  --brass: #d45f1b;
  --brass-lt: #ffb45c;
  --line: rgba(31, 42, 46, .13);
  --line-light: rgba(246, 242, 235, .18);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bone); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; }
h1 em, h2 em { color: var(--brass-lt); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 860px; }
.label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-bottom: 22px; }
.label-light { color: var(--brass-lt); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--bone); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-solid { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-solid:hover { background: #b24e14; border-color: #b24e14; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-line-light { color: var(--bone); }
.btn-line-light:hover { background: var(--bone); color: var(--night); border-color: var(--bone); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--brass); }
.link-arrow::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 40px; }
.link-arrow-light { color: var(--bone); border-color: var(--brass-lt); }

/* Masthead */
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--bone); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .4s var(--ease); }
/* No backdrop-filter here: on Android WebViews it stops content scrolling under the fixed header
   from repainting (photos stayed blank until tapped), and it trapped the fixed mobile menu. */
.masthead.solid { background: rgb(255, 250, 243); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.masthead.solid .masthead-inner { height: 72px; }
.mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.mark img { width: 46px; height: auto; }
.mark-text { display: flex; flex-direction: column; line-height: 1.1; }
.mark-text b { font-weight: 500; font-size: 15px; letter-spacing: .26em; text-transform: uppercase; }
.mark-text small { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .02em; opacity: .8; margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.btn) { font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.menu a:not(.btn):hover, .menu a.active { border-color: var(--brass-lt); }
.masthead.solid .menu a.active, .masthead.solid .menu a:not(.btn):hover { border-color: var(--brass); }
.menu .btn { min-height: 44px; padding: 0 22px; color: inherit; }
.masthead:not(.solid) .menu .btn:hover { background: var(--bone); color: var(--night); border-color: var(--bone); }
.menu-phone { opacity: .85; }
.menu a, .menu .btn { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 901px) { .menu { gap: 24px; } .menu a:not(.btn) { letter-spacing: .12em; } .menu-phone { display: none; } }
@media (max-width: 1080px) and (min-width: 901px) { .menu { gap: 18px; } .menu a:not(.btn) { font-size: 12px; letter-spacing: .08em; } .menu .btn { padding: 0 14px; letter-spacing: .1em; } .mark-text small { display: none; } }
.menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px; cursor: pointer; }

/* Scene (illustrated dusk lake) */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-photo { object-fit: cover; }
.hero .scene-photo { animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 46, 43, .62) 0%, rgba(12, 46, 43, .25) 55%, rgba(12, 46, 43, 0) 100%); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--bone); overflow: hidden; background: var(--night); }
.hero-inner { position: relative; padding-top: 190px; padding-bottom: 120px; }
.hero h1 { margin-bottom: 30px; }
.hero-lead { max-width: 520px; font-size: 19px; color: rgba(246, 242, 235, .86); margin-bottom: 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.pagehead { position: relative; min-height: 68vh; display: flex; align-items: flex-end; color: var(--bone); overflow: hidden; background: var(--night); }
.pagehead .scene { opacity: .95; }
.pagehead-inner { position: relative; padding-top: 170px; padding-bottom: 90px; }
.pagehead h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; max-width: 18ch; }

/* Sections */
section { position: relative; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures div { padding: 40px 20px; text-align: center; }
.figures div + div { border-left: 1px solid var(--line); }
.figures dt { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.figures dd { margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.about-story .figures { margin-top: 90px; }

.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 64px; flex-wrap: wrap; }
.exp { border-top: 1px solid var(--brass); padding-top: 28px; }
.exp h3 { margin-bottom: 14px; color: var(--bone); }
.exp p { color: rgba(246, 242, 235, .72); font-size: 16px; }

.portfolio { padding: 140px 0; }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.proj img { background: var(--linen); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proj { margin: 0; }
.proj figcaption { padding-top: 18px; color: var(--muted); font-size: 15px; }
.proj figcaption .label { display: block; margin-bottom: 6px; }
.proj figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }

.away { padding: 150px 0; }
.away-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.away-card { padding: 64px 56px; background: #fff; border: 1px solid var(--line); }
.away-card h2 { margin-bottom: 22px; }
.away-card > p { color: var(--muted); margin-bottom: 30px; }
.away-card-dark { background: var(--pine); border-color: var(--pine); color: var(--bone); }
.away-card-dark > p { color: rgba(246, 242, 235, .78); }
.ticks { list-style: none; }
.ticks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 24px; width: 18px; height: 1px; background: var(--brass); }

.consult { position: relative; overflow: hidden; color: var(--bone); background: var(--night); padding: 170px 0; }
.consult-shade { position: absolute; inset: 0; background: rgba(12, 46, 43, .5); }
.consult-inner { position: relative; max-width: 820px; text-align: center; }
.consult h2 { margin-bottom: 24px; }
.consult p:not(.label) { color: rgba(246, 242, 235, .85); max-width: 560px; margin: 0 auto 42px; }
.consult-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Home page */
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 34px; font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 242, 235, .86); }
.hero-trust span + span::before { content: "·"; margin-right: 26px; color: var(--brass-lt); }
.home-work { padding: 130px 0 120px; }
/* One large photo on the left and three stacked on the right. */
.work-grid { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(3, auto); gap: 24px; }
.work-grid .proj:first-child { grid-row: span 3; }
.work-grid .proj { position: relative; overflow: hidden; background: var(--linen); }
.work-grid .proj img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work-grid .proj:first-child img { aspect-ratio: auto; position: absolute; inset: 0; }
.work-grid .proj:first-child { min-height: 520px; }
.work-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; background: linear-gradient(0deg, rgba(12, 46, 43, .78), rgba(12, 46, 43, 0)); color: var(--bone); }
.work-grid figcaption .label { display: block; margin-bottom: 2px; color: var(--brass-lt); font-size: 11px; }
.work-grid .proj figcaption { padding-top: 40px; color: var(--bone); }
.work-grid .proj figcaption b { color: var(--bone); }
.work-grid figcaption b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.home-services { padding: 110px 0 130px; background: var(--linen); }
.home-services-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brass); }
.home-services h2 em, .estimate h2 em { color: var(--brass); }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.svc-list a::after { content: "→"; color: var(--brass); font-size: 20px; }
.svc-list a:hover { padding-left: 8px; }
.svc-list b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; }
.svc-list-copy { color: var(--muted); font-size: 16px; }
.why { padding: 130px 0 110px; background: var(--deep); color: var(--bone); }
.why-head { max-width: 760px; margin-bottom: 64px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why .figures { margin-top: 80px; border-color: var(--line-light); }
.why .figures div + div { border-color: var(--line-light); }
.why .figures dt { color: var(--bone); }
.why .figures dd { color: var(--brass-lt); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 80px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; margin-bottom: 14px; }
.quote footer { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lt); }
.estimate { padding: 130px 0 140px; }
.estimate-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 90px; align-items: start; }
.estimate-copy h2 { margin-bottom: 24px; }
.estimate-copy p:not(.label) { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.estimate-copy p.estimate-cred { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.form-aside p.aside-cred { margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.estimate-phone a { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); }
.quick-form { padding: 48px 44px 40px; background: #fff; border: 1px solid var(--line); }
.quick-form textarea { min-height: 90px; }
.form-note a { color: var(--ink); }

/* Phones: Call and Free estimate pinned to the bottom of the screen. */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding-bottom: env(safe-area-inset-bottom); background: var(--night); box-shadow: 0 -1px 0 var(--line-light); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
  .callbar-est { background: var(--brass); color: #fff !important; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .menu-open .callbar { display: none; }
  .home-services-inner, .estimate-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .proj:first-child { grid-row: auto; grid-column: span 2; min-height: 0; }
  .work-grid .proj:first-child img { position: static; aspect-ratio: 4 / 3; }
  .work-grid .proj:nth-child(4) { display: none; }
}
@media (max-width: 620px) {
  .hero-trust { font-size: 11px; gap: 4px 14px; letter-spacing: .12em; }
  .hero-trust { gap: 4px 18px; }
  .hero-trust span + span::before { content: none; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-grid .proj:first-child { grid-column: auto; }
  .work-grid .proj:nth-child(4) { display: block; }
  .work-grid .proj img { aspect-ratio: 4 / 3; }
  .svc-list a { grid-template-columns: 40px 1fr auto; }
  .svc-list b { font-size: 1.4rem; }
  .quick-form { padding: 32px 22px 28px; }
}

/* Services page */
.svc-detail { padding: 130px 0 90px; }
.svc-row { display: grid; grid-template-columns: 4fr 7fr; gap: 80px; padding: 70px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row-photo { background: var(--linen); display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 22px; }
.svc-row-caption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--muted); }
.art { color: var(--pine); }
.svc-row-art .art { width: 100%; max-width: 300px; height: auto; margin: 22px 0 0; color: var(--pine); }
.svc-row h2 { margin-bottom: 20px; }
.svc-row-lead { font-size: 19px; color: var(--muted); margin-bottom: 30px; max-width: 600px; }
.svc-row .ticks { max-width: 600px; }

/* Process page */
.process-detail { padding: 130px 0 60px; }
.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; padding: 48px 0; border-top: 1px solid var(--line); }
.timeline h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 14px; }
.timeline p { color: var(--muted); font-size: 18px; }
.timeline-link { margin-top: 24px; }
.faq { padding: 90px 0 150px; }
.faq h2 { margin-bottom: 50px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--brass); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 30px; color: var(--muted); max-width: 680px; }

/* About page */
.about-story { padding: 140px 0 110px; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 90px; }
.about-copy p { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.about-copy p:first-child { font-family: var(--serif); font-size: 1.7rem; line-height: 1.4; color: var(--ink); }
.about-photo { margin-top: 90px; }
.about-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about-photo figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.values { padding: 0 0 130px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value { border-top: 1px solid var(--brass); padding-top: 26px; }
.value h3 { font-size: 1.45rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 16px; }
.lakes { padding: 120px 0 140px; background: var(--linen); text-align: center; }
.lakes h2 { margin-bottom: 36px; }
.lakes-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 30px; color: var(--pine); }
.lakes .muted a { color: var(--ink); }

/* Consultation page */
.consult-form-section { padding: 120px 0 150px; }
.form-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 90px; align-items: start; }
.form fieldset { border: none; margin-bottom: 44px; }
.form legend { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 22px; }
.form label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 0; font: 300 17px var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none;
  background: transparent; border: none; border-bottom: 1px solid var(--stone); border-radius: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brass); }
.form .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 16px; text-align: center; }
.hp { position: absolute; left: -9999px; }
.alert { border-left: 2px solid #9c4a24; background: #f7ebe3; color: #6d2f13; padding: 16px 20px; margin-bottom: 36px; font-size: 15px; }
.form-aside { position: sticky; top: 120px; padding: 48px 40px; background: var(--linen); }
.form-aside .aside-phone { font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin-bottom: 14px; color: var(--ink); font-variant-numeric: lining-nums; }
.aside-phone a, .aside-email a { text-decoration: none; }
.form-aside p:not(.label) { color: var(--muted); font-size: 16px; }
.aside-email { margin-top: 12px; word-break: break-word; }
.aside-email a { color: var(--ink); border-bottom: 1px solid var(--brass); }
.form-aside hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.aside-steps { padding-left: 20px; color: var(--muted); font-size: 16px; }
.aside-steps li { padding: 4px 0; }
.aside-steps li::marker { font-family: var(--serif); font-style: italic; color: var(--brass); }

/* Footer */
.footer { background: var(--night); color: rgba(246, 242, 235, .7); padding: 100px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.5fr; gap: 48px; padding-bottom: 70px; }
.footer img { width: 64px; height: auto; margin-bottom: 20px; }
.footer-name { font-size: 14px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bone); margin-bottom: 4px; }
.footer .label { color: var(--brass-lt); margin-bottom: 18px; }
.footer-brand .label { margin-bottom: 22px; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--bone); max-width: 24ch; line-height: 1.35; }
.footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--bone); }
.footer-grid p { margin-bottom: 4px; }
.footer-sister { margin-top: 18px; }
.footer-sister a { color: var(--brass-lt); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; border-top: 1px solid var(--line-light); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Motion: content reveals on scroll (only when JS is running). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-in { animation: rise 1.2s var(--ease) both; }
.hero-in:nth-child(2) { animation-delay: .12s; }
.hero-in:nth-child(3) { animation-delay: .24s; }
.hero-in:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in, .hero .scene-photo { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .menu-phone { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .menu-btn { display: inline-block; position: relative; z-index: 2; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--night); color: var(--bone);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu a:not(.btn) { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; }
  .menu .menu-phone { display: block; font-family: var(--sans) !important; font-size: 1rem !important; letter-spacing: .14em !important; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  /* backdrop-filter on the scrolled header makes it the containing block for the fixed menu,
     squeezing the full-screen menu into the 72px bar. Drop it while the menu is open. */
  .menu-open .masthead { color: var(--bone); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .about-grid, .form-grid, .svc-row { grid-template-columns: 1fr; gap: 40px; }
  .form-aside { position: static; }
  .away-inner { grid-template-columns: 1fr; }
  .art { color: var(--pine); }
.svc-row-art .art { max-width: 200px; }
  .away, .portfolio, .home-work, .home-services, .why, .estimate { padding-top: 90px; padding-bottom: 90px; }
  .consult { padding: 120px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .masthead-inner { height: 76px; }
  .mark img { width: 38px; }
  .mark-text b { font-size: 12px; letter-spacing: .2em; }
  .mark-text small { font-size: 13px; }
  /* Keep the headline well clear of the logo and menu, even on short screens. */
  .hero-inner { padding-top: 150px; padding-bottom: 80px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn, .consult-actions .btn { width: 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(12, 46, 43, .2) 0%, rgba(12, 46, 43, .74) 70%); }
  .values-grid, .proj-grid, .footer-grid, .form .row { grid-template-columns: 1fr; }
  .figures { margin-top: 64px; }
  .figures div { padding: 28px 6px; }
  .figures dd { font-size: 10px; letter-spacing: .16em; }
  .form .row { gap: 0; }
  .away-card { padding: 44px 26px; }
  .timeline li { grid-template-columns: 54px 1fr; }
  .timeline-link { width: 100%; text-align: center; padding: 12px 16px; letter-spacing: .12em; line-height: 1.4; }
  .form-aside { padding: 36px 26px; }
  .footer-base { flex-direction: column; gap: 6px; }
  .pagehead { min-height: 60vh; }
  .pagehead-inner { padding-top: 140px; padding-bottom: 64px; }
}

/* A real photo is brighter than the illustration: deepen the shade so the copy stays legible. */
.scene-photo + .hero-shade, .scene-picture + .hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 46, 43, .58) 0%, rgba(12, 46, 43, .25) 50%, rgba(12, 46, 43, .02) 100%),
    linear-gradient(0deg, rgba(12, 46, 43, .4) 0%, rgba(12, 46, 43, 0) 45%),
    linear-gradient(180deg, rgba(12, 46, 43, .32) 0%, rgba(12, 46, 43, 0) 22%);
}
.consult .scene-photo + .consult-shade, .consult-shade { background: rgba(12, 46, 43, .5); }
@media (max-width: 620px) {
  .scene-photo + .hero-shade, .scene-picture + .hero-shade { background: linear-gradient(180deg, rgba(12, 46, 43, .34) 0%, rgba(12, 46, 43, .16) 35%, rgba(12, 46, 43, .74) 78%); }
}
