/* Greystone Building Company — site styles */
:root {
  --limestone: #EEE8DD;
  --mortar: #FAF7F1;
  --honey: #C8AE84;
  --honey-deep: #9C8058;
  --grey: #5E5A55;
  --slate: #2A2927;
  --line: rgba(42, 41, 39, .14);
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--mortar);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.lede { font-size: 1.2rem; color: var(--grey); max-width: 38em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 500 1rem/1 var(--body);
  padding: 1em 1.6em;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-stone { background: var(--honey); color: var(--slate); }
.btn-stone:hover { background: #d6bf98; }
.btn-dark { background: var(--slate); color: var(--mortar); }
.btn-dark:hover { background: var(--grey); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-header.solid, .site-header.always-solid { background: rgba(250, 247, 241, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-word { font-family: var(--display); font-size: 1.4rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.logo-word small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .32em; margin-top: 5px; opacity: .85; }
.solid .logo, .always-solid .logo { color: var(--grey); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: #fff; font-size: .98rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.solid .nav a:not(.btn), .always-solid .nav a:not(.btn) { color: var(--slate); }
.nav .btn { padding: .8em 1.25em; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.solid .menu-toggle, .always-solid .menu-toggle { color: var(--slate); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--slate);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; animation: settle 14s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,18,.45) 0%, rgba(20,19,18,.15) 35%, rgba(20,19,18,.72) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 104px); padding-top: 140px; }
.hero h1 { will-change: translate; font-size: clamp(2.7rem, 7.4vw, 6.2rem); line-height: 1.02; max-width: 12em; }
.hero h1 .course { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .course span { display: inline-block; transform: translateY(105%); animation: lay .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .course:nth-child(2) span { animation-delay: .22s; }
.hero h1 .course:nth-child(3) span { animation-delay: .44s; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 34em; margin: 28px 0 34px; opacity: 0; animation: fade .8s .95s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade .8s 1.1s forwards; }
@keyframes lay { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }

/* Services band under hero */
.trades { background: var(--slate); color: var(--limestone); }
.trades ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-family: var(--display); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.trades li { white-space: nowrap; }

/* Who we are */
.about { background: var(--grey); color: var(--mortar); }
.about .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.duo { position: relative; aspect-ratio: 1 / 1; max-width: 480px; }
.duo figure { position: absolute; margin: 0; width: 62%; }
.duo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: grayscale(1); border: 6px solid var(--grey); }
.duo figcaption { text-align: center; font-family: var(--display); font-size: 1.3rem; margin-top: 10px; }
.duo .kev { top: 0; left: 0; }
.duo .jack { bottom: -6%; right: 0; }
.duo .jack img { object-position: center 18%; }
.about h2 { margin-bottom: 28px; }
.about p { color: rgba(250,247,241,.86); max-width: 36em; }
.about .sig { font-family: var(--display); font-size: 1.25rem; color: var(--honey); margin-top: 26px; }

/* Services */
.services { background: var(--limestone); }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.services-head p { color: var(--grey); margin: 0; }
.ashlar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.block {
  background: var(--mortar);
  padding: 34px 30px 30px;
  border-radius: 2px;
  min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.block h3 { margin-bottom: 12px; }
.block p { color: var(--grey); margin: 0; font-size: 1rem; }
.block svg { width: 34px; height: 34px; color: var(--honey-deep); margin-bottom: 26px; }
.block:nth-child(1) { grid-column: span 5; }
.block:nth-child(2) { grid-column: span 4; }
.block:nth-child(3) { grid-column: span 3; }
.block:nth-child(4) { grid-column: span 3; }
.block:nth-child(5) { grid-column: span 5; }
.block:nth-child(6) { grid-column: span 4; }
.block.feature { background: var(--grey); color: var(--mortar); }
.block.feature p { color: rgba(250,247,241,.82); }
.block.feature svg { color: var(--honey); }
.block.photo { padding: 0; overflow: hidden; }
.block.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); margin-top: 72px; align-items: start; }
.promise p { color: var(--grey); }
.promise blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; }

/* Work gallery */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: 400 .98rem var(--body); padding: .6em 1.15em; border-radius: 40px;
  border: 1px solid var(--line); background: transparent; color: var(--slate); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--slate); color: var(--mortar); border-color: var(--slate); }
.masonry { columns: 3 300px; column-gap: 14px; }
.tile { break-inside: avoid; margin: 0 0 14px; position: relative; cursor: zoom-in; background: var(--limestone); border-radius: 2px; overflow: hidden; }
.tile button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile figcaption { padding: 14px 4px 4px; background: var(--mortar); font-size: .98rem; color: var(--grey); }
.tile figcaption strong { display: block; color: var(--slate); font-weight: 500; }
.tile.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,19,18,.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; animation: fade .25s forwards; opacity: 0; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 2px; }
.lightbox p { color: var(--limestone); text-align: center; margin: 16px 0 0; }
.lightbox figure { margin: 0; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 12px; }
.lb-btn svg { width: 30px; height: 30px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Why us */
.why { background: var(--slate); color: var(--mortar); }
.why h2 { margin-bottom: 56px; max-width: 14em; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(250,247,241,.18); }
.why-grid > div { padding: 36px 32px 8px 0; }
.why-grid > div + div { padding-left: 32px; border-left: 1px solid rgba(250,247,241,.18); }
.why .big { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--honey); display: block; margin-bottom: 16px; }
.why h3 { margin-bottom: 10px; }
.why p { color: rgba(250,247,241,.75); }

/* Testimonials */
.reviews .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.reviews-img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 2px; }
.reviews h2 { margin-bottom: 8px; }
.reviews .lede { margin-bottom: 40px; }
.carousel { display: grid; }
.quote { margin: 0; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.quote.active { opacity: 1; visibility: visible; }
.quote p { font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.38; margin-bottom: 24px; }
.quote footer { color: var(--grey); }
.carousel-nav { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.carousel-nav button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--slate); }
.carousel-nav button.arrow:hover { background: var(--limestone); }
.carousel-nav svg { width: 20px; height: 20px; }
.count { font-variant-numeric: tabular-nums; color: var(--grey); font-size: .95rem; }

/* Areas */
.areas { background: var(--limestone); }
.areas .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); }
.areas p { color: var(--grey); }
.town-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.town-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.25rem; break-inside: avoid; }

/* Enquiry */
.enquire-band { position: relative; color: var(--slate); background: var(--limestone) url("images/dry-stone-wall.jpg") center/cover; }
.enquire-band::before { content: ""; position: absolute; inset: 0; background: rgba(238,232,221,.88); }
.enquire-band .wrap { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list span { display: block; font-size: .9rem; color: var(--grey); }
.contact-list a { font-size: 1.15rem; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

.form-card { background: var(--mortar); padding: clamp(28px, 4vw, 48px); border-radius: 2px; box-shadow: 0 30px 60px -40px rgba(42,41,39,.45); }
.form-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form-card > p { color: var(--grey); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 500; }
.field label .opt { font-weight: 400; color: var(--grey); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--slate);
  padding: 13px 14px; border: 1px solid rgba(42,41,39,.25); border-radius: 2px; background: #fff; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--honey); outline-offset: 0; border-color: var(--honey-deep); }
.field .err { color: #9b2c1f; font-size: .88rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #9b2c1f; }
.field.invalid .err { display: block; }
.honey { position: absolute; left: -5000px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--grey); max-width: 26em; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 2px; display: none; }
.form-status.error { display: block; background: #f6e3de; color: #6e2015; }
.sent { display: none; text-align: left; }
.sent.show { display: block; animation: fade .4s forwards; opacity: 0; }
.sent svg { width: 52px; height: 52px; color: var(--honey-deep); margin-bottom: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Enquiry page */
.page-hero { background: var(--grey); color: var(--mortar); padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 12em; }
.page-hero p { max-width: 36em; font-size: 1.2rem; color: rgba(250,247,241,.85); margin: 22px 0 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 54px 1fr; gap: 4px 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--honey-deep); display: grid; place-items: center; font-family: var(--display); font-size: 1.15rem; color: var(--honey-deep); }
.steps strong { font-weight: 500; }
.steps span { color: var(--grey); }
.enquire-page .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

/* Footer */
.site-footer { background: var(--slate); color: rgba(250,247,241,.75); padding: 64px 0 32px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--mortar); margin-bottom: 18px; }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--mortar); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--mortar); text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(250,247,241,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* Mobile quote bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .about .wrap, .reviews .wrap, .areas .wrap, .enquire-band .wrap, .enquire-page .wrap, .services-head, .promise { grid-template-columns: 1fr; }
  .duo { max-width: 400px; margin: 0 auto 30px; width: 100%; }
  .block:nth-child(n) { grid-column: span 6; }
  .reviews-img { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--mortar);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { color: var(--slate); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .site-header.menu-open { background: var(--mortar); }
  .site-header.menu-open .logo, .site-header.menu-open .menu-toggle { color: var(--slate); }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid > div, .why-grid > div + div { padding: 28px 0 4px; border-left: 0; border-top: 1px solid rgba(250,247,241,.18); }
  .why-grid { border-top: 0; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--slate); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { justify-content: center; padding: .9em; }
  body { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .block:nth-child(n) { grid-column: span 12; min-height: 0; }
  .block.photo { height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .town-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .trades ul { justify-content: flex-start; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero h1 .course span { transform: none; }
  .hero-sub, .hero-actions { opacity: 1; }
}

/* Service & area pages */
.page-hero.has-img { background: var(--slate); padding: 190px 0 90px; }
.page-hero.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero.has-img .wrap { position: relative; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; font-size: .95rem; color: rgba(250,247,241,.8); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .hero-actions { opacity: 1; animation: none; margin-top: 32px; }

.content .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 20px; }
.prose h2:not(:first-child) { margin-top: 56px; }
.prose p { max-width: 38em; }
.prose p, .prose li { color: #45423e; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checklist li { padding: 13px 0 13px 30px; border-top: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 1.6px solid var(--honey-deep); border-bottom: 1.6px solid var(--honey-deep); transform: rotate(-45deg); }
.aside { position: sticky; top: 110px; background: var(--limestone); padding: 32px; border-radius: 2px; }
.aside h3 { margin-bottom: 10px; }
.aside p { color: var(--grey); font-size: 1rem; }
.aside .btn { width: 100%; justify-content: center; margin-top: 10px; }
.aside ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.aside li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.aside li a:hover { color: var(--honey-deep); }
.aside li a[aria-current] { font-weight: 500; }

.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.photo-row figcaption { font-size: .95rem; color: var(--grey); padding-top: 10px; }

.faq { background: var(--limestone); }
.faq .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--display); font-size: 1.3rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--body); font-size: 1.6rem; color: var(--honey-deep); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--grey); padding-bottom: 8px; margin: 0 0 16px; max-width: 40em; }

.related .wrap > h2 { margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-grid a { background: var(--limestone); padding: 26px 28px; text-decoration: none; border-radius: 2px; display: block; }
.related-grid a:hover { background: #e4dccd; }
.related-grid strong { font-family: var(--display); font-weight: 400; font-size: 1.3rem; display: block; margin-bottom: 6px; }
.related-grid span { color: var(--grey); font-size: .98rem; }

a.block { text-decoration: none; }
a.block:not(.feature):hover { background: #fff; }
a.block.feature:hover { background: #6a6560; }
.block .more { margin-top: 14px; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; color: inherit; }
.town-list a { text-decoration: none; }
.town-list a:hover { color: var(--honey-deep); }
.town-list a::after { content: " ›"; color: var(--honey-deep); }

@media (max-width: 980px) {
  .content .wrap, .faq .wrap { grid-template-columns: 1fr; }
  .aside { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .checklist, .related-grid { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:nth-child(3) { display: none; }
}

/* ---------- Motion (only when JS adds html.motion) ---------- */
html.motion .rv { opacity: 0; translate: 0 32px; transition: opacity .9s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1); }
html.motion .rv.in { opacity: 1; translate: 0 0; }
html.motion .rv-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html.motion .rv-words .w > span { display: inline-block; translate: 0 110%; transition: translate .85s cubic-bezier(.2,.75,.2,1); }
html.motion .rv-words.in .w > span { translate: 0 0; }
html.motion .rv-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.65,0,.2,1), scale 1.6s cubic-bezier(.2,.7,.2,1); }
html.motion .rv-img:not(.px-cover) { scale: 1.12; }
html.motion .rv-img.in { clip-path: inset(0 0 0 0); }
html.motion .rv-img.in:not(.px-cover) { scale: 1; }
.px-cover { scale: 1.16; will-change: translate; }
.hero-img, .page-hero.has-img img, .duo figure { will-change: translate; }
.duo figure img { transition: scale .6s; }

/* Tilt and magnetic buttons */
.tilt { transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .9s cubic-bezier(.2,.7,.2,1), translate .9s cubic-bezier(.2,.7,.2,1), background-color .2s; will-change: transform; }
.tilt:hover { transition: transform .15s linear, opacity .9s, translate .9s, background-color .2s; }
.tile.tilt::after, .photo-row figure.tilt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%);
}
.photo-row figure { position: relative; }
.tile.tilt:hover::after, .photo-row figure.tilt:hover::after { opacity: 1; }
.magnet { transition: translate .45s cubic-bezier(.2,.7,.2,1), background-color .2s, color .2s, border-color .2s; }
.magnet:hover { transition: translate .1s linear, background-color .2s, color .2s, border-color .2s; }

/* Custom cursor (mouse and trackpad only) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 1000; opacity: 0; transition: opacity .3s; }
html.cursor-on .cursor-dot, html.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--honey); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid var(--honey); display: grid; place-items: center;
}
.cursor-ring::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--honey); scale: 0; transition: scale .35s cubic-bezier(.2,.7,.2,1); }
.cursor-ring span { position: relative; font: 500 .85rem var(--body); color: var(--slate); opacity: 0; transition: opacity .2s; }
.cursor-ring { transition: opacity .3s, width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1), margin .35s cubic-bezier(.2,.7,.2,1), border-color .3s; }
html.cursor-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
html.cursor-link .cursor-dot { opacity: 0; }
html.cursor-view .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
html.cursor-view .cursor-ring::before { scale: 1; }
html.cursor-view .cursor-ring span { opacity: 1; }
html.cursor-view .cursor-dot { opacity: 0; }
html.cursor-down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
html.cursor-field .cursor-dot, html.cursor-field .cursor-ring { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor .tile, html.has-cursor .tile button { cursor: none; }
html.has-cursor .lightbox, html.has-cursor .lightbox button { cursor: auto; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select, html.has-cursor label { cursor: auto; }

@media (prefers-reduced-motion: reduce) {
  html.motion .rv, html.motion .rv-img, html.motion .rv-words .w > span { opacity: 1 !important; translate: none !important; clip-path: none !important; scale: none !important; }
}

/* ===================== Premium refinements ===================== */
body { font-weight: 400; letter-spacing: .005em; overflow-x: hidden; overflow-x: clip; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.005em; }

/* Buttons: charcoal and mortar, honey only as an accent */
.btn { font-weight: 400; letter-spacing: .02em; padding: 1.05em 1.75em; border-radius: 40px; }
.btn-light { background: var(--mortar); color: var(--slate); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--slate); color: var(--mortar); }
.btn-dark:hover { background: #45423e; }
.btn-ghost { border-color: rgba(255,255,255,.45); }
.btn-outline { border-color: rgba(42,41,39,.3); color: var(--slate); background: transparent; }
.btn-outline:hover { border-color: var(--slate); }
.btn-stone { background: var(--slate); color: var(--mortar); }
.btn-stone:hover { background: #45423e; }

/* Logo lockup from the brand mark */
.logo { gap: 0; }
.logo-set { display: flex; align-items: center; gap: 12px; }
.logo-icon { height: 40px; width: auto; }
.logo-word-img { height: 30px; width: auto; }
.logo-dark { display: none; }
.solid .logo-light, .always-solid .logo-light, .menu-open .logo-light { display: none; }
.solid .logo-dark, .always-solid .logo-dark, .menu-open .logo-dark { display: flex; }
.site-header .wrap { height: 92px; }
.nav { gap: 34px; }
.nav a:not(.btn) { font-size: .95rem; letter-spacing: .02em; position: relative; }
.nav a:not(.btn):hover { text-decoration: none; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.btn-light { color: var(--slate); }
.solid .nav .btn-light, .always-solid .nav .btn-light { background: var(--slate); color: var(--mortar); }
.site-footer .logo-set { gap: 16px; }
.site-footer .logo-icon { height: 64px; }
.site-footer .logo-word-img { height: 46px; }

/* Hero */
.hero::after { background: linear-gradient(180deg, rgba(20,19,18,.55) 0%, rgba(20,19,18,.38) 30%, rgba(20,19,18,.55) 60%, rgba(20,19,18,.86) 100%); }
.hero h1, .hero-sub { text-shadow: 0 2px 30px rgba(20,19,18,.35); }
.hero h1 { font-size: clamp(2.9rem, 8vw, 7.2rem); line-height: .98; letter-spacing: -.01em; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-sub { margin: 0; max-width: 28em; font-weight: 300; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

/* Logo intro (first visit only) */
.intro-screen { display: none; }
html.intro .intro-screen {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  position: fixed; inset: 0; z-index: 2000; background: var(--mortar);
  animation: introLift 1s cubic-bezier(.8,0,.2,1) 1.5s forwards;
}
.intro-icon { width: 92px; opacity: 0; translate: 0 18px; animation: introIn .9s cubic-bezier(.2,.7,.2,1) .1s forwards; }
.intro-word { width: min(320px, 70vw); opacity: 0; clip-path: inset(0 100% 0 0); animation: introWipe 1s cubic-bezier(.65,0,.2,1) .45s forwards; }
@keyframes introIn { to { opacity: 1; translate: 0 0; } }
@keyframes introWipe { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes introLift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.intro .intro-screen { clip-path: inset(0 0 0 0); }
html.intro .hero h1 .course span { animation-delay: 2.05s; }
html.intro .hero h1 .course:nth-child(2) span { animation-delay: 2.25s; }
html.intro .hero h1 .course:nth-child(3) span { animation-delay: 2.45s; }
html.intro .hero-sub, html.intro .hero-actions { animation-delay: 2.8s; }
html.intro .hero-img { animation-delay: 1.5s; }
.hero-sub, .hero-actions { animation-duration: 1s; }

/* Statement that fills in as you scroll */
.statement { background: var(--mortar); padding: clamp(96px, 14vw, 190px) 0; }
.statement-text { font-family: var(--display); font-size: clamp(1.8rem, 3.9vw, 3.3rem); line-height: 1.22; max-width: 22em; margin: 0; color: var(--slate); }
html.motion .statement-text .sw { color: rgba(42,41,39,.16); transition: color .25s linear; }
html.motion .statement-text .sw.lit { color: var(--slate); }

/* About */
.about h2 { font-size: clamp(2rem, 3.8vw, 3rem); }

/* Services list with floating photo */
.services-list { position: relative; }
.services-list .services-head { margin-bottom: 48px; }
.svc-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-rows li { border-bottom: 1px solid var(--line); }
.svc-rows a {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: clamp(24px, 3.2vw, 40px) 4px; text-decoration: none; position: relative; z-index: 2;
}
.svc-name { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.1; transition: translate .5s cubic-bezier(.2,.7,.2,1), color .3s; }
.svc-desc { color: var(--grey); font-size: 1.02rem; transition: opacity .3s; }
.svc-rows svg { width: 30px; height: 30px; color: var(--honey-deep); transition: transform .45s cubic-bezier(.2,.7,.2,1); justify-self: end; }
.svc-rows a:hover .svc-name { translate: 14px 0; }
.svc-rows a:hover svg { transform: rotate(45deg); }
.svc-rows:hover a:not(:hover) .svc-name { color: rgba(42,41,39,.35); }
.svc-rows:hover a:not(:hover) .svc-desc { opacity: .4; }
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 5; width: 260px; height: 330px; pointer-events: none; box-shadow: 0 30px 60px -30px rgba(42,41,39,.5);
  overflow: hidden; border-radius: 3px; opacity: 0; scale: .85; transition: opacity .35s, scale .5s cubic-bezier(.2,.7,.2,1);
  display: none;
}
.svc-float.show { opacity: 1; scale: 1; }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
html.has-cursor .svc-float { display: block; }

/* Project reel */
.reel { background: var(--limestone); padding: clamp(88px, 11vw, 140px) 0 clamp(56px, 7vw, 90px); overflow: hidden; overflow: clip; }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 44px; }
.reel-head p { color: var(--grey); margin: 0; max-width: 26em; }
.reel-track {
  display: flex; gap: 18px; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-item { flex: none; width: clamp(260px, 30vw, 440px); margin: 0; scroll-snap-align: start; background: transparent; }
.reel-item:nth-child(even) { width: clamp(300px, 38vw, 560px); }
.reel-item img { width: 100%; height: clamp(340px, 56vh, 600px); object-fit: cover; }
.reel-item figcaption { background: transparent; padding: 16px 2px 0; }
.reel-end { flex: none; width: clamp(260px, 26vw, 360px); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 0 24px; }
.reel-end p { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 0; }
.reel-progress { height: 1px; background: rgba(42,41,39,.15); margin-top: 40px; position: relative; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.reel-progress span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--slate); transform-origin: left; transform: scaleX(0); }
/* Pinned horizontal mode on larger screens */
html.reel-pinned .reel { padding: 0; }
html.reel-pinned .reel-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
html.reel-pinned .reel-track { overflow: visible; scroll-snap-type: none; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
html.reel-pinned .reel-item img { height: min(56vh, 600px); }

/* Process */
.process { background: var(--slate); color: var(--mortar); }
.process h2 { margin-bottom: 64px; }
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.process-steps li { counter-increment: s; padding: 34px 28px 10px 0; border-top: 1px solid rgba(250,247,241,.2); position: relative; }
.process-steps li + li { padding-left: 28px; border-left: 1px solid rgba(250,247,241,.2); }
.process-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-size: 1rem; color: var(--honey); margin-bottom: 40px; }
.process-steps h3 { margin-bottom: 12px; font-size: 1.5rem; }
.process-steps p { color: rgba(250,247,241,.7); font-size: 1rem; }
.why { background: var(--mortar); color: var(--slate); }
.why .why-grid { border-top-color: var(--line); }
.why .why-grid > div + div { border-left-color: var(--line); }
.why p { color: var(--grey); }
.why .big { color: var(--slate); }

/* Reviews */
.quote p { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.reviews h2 { margin-bottom: 40px; }
.reviews-img { aspect-ratio: 3/4; }

/* Form polish */
.form-card { border-radius: 4px; box-shadow: 0 40px 80px -50px rgba(42,41,39,.5); }
.field input, .field select, .field textarea { border-radius: 4px; border-color: rgba(42,41,39,.18); background: #fdfcfa; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(200,174,132,.35); }

/* Footer */
.site-footer { padding: 88px 0 36px; }

@media (max-width: 980px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc-rows a { grid-template-columns: 1fr 32px; }
  .svc-desc { grid-column: 1; grid-row: 2; }
  .svc-rows svg { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 860px) {
  .logo-icon { height: 34px; }
  .logo-word-img { height: 25px; }
  .nav .btn-light { background: var(--slate); color: var(--mortar); }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li, .process-steps li + li { padding-left: 0; border-left: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .reel-item, .reel-item:nth-child(even) { width: 78vw; }
  .reel-item img { height: 58vh; }
  .site-footer .logo-icon { height: 48px; }
  .site-footer .logo-word-img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  }

.form-status.error { background: #f3ece4; color: var(--slate); border-left: 3px solid var(--honey-deep); padding: 18px 20px; }
.form-status strong { font-weight: 500; }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.status-actions .btn { padding: .75em 1.2em; font-size: .95rem; }
.form-status small { color: var(--grey); word-break: break-word; }
section[id] { scroll-margin-top: 70px; }

/* Stronger tint on small screens, where the headline sits over the brightest part of the photo */
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(20,19,18,.6) 0%, rgba(20,19,18,.62) 45%, rgba(20,19,18,.8) 75%, rgba(20,19,18,.9) 100%); }
  .hero-img { object-position: 62% 60%; }
}
/* Space after the last card in the project reel so it can scroll fully into view */
.reel-track::after { content: ""; flex: 0 0 var(--gutter); }
.form-foot small a { color: inherit; }
.privacy .checklist { grid-template-columns: 1fr; } .privacy .prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); } .footer-base a { text-decoration: none; } .footer-base a:hover { text-decoration: underline; }
.reel-end .btn { align-self: flex-start; }

.site-footer .legal { margin: 18px 0 0; font-size: .82rem; line-height: 1.6; color: rgba(250,247,241,.55); max-width: 60em; }
