/* Draft brand colours. Replace these when the real palette is ready. */
:root {
  --color-charcoal: #14171b;
  --color-ink: #1b1e23;
  --color-ink-soft: #2a3038;
  --color-body: #2c323a;
  --color-muted: #4a5160;
  --color-slate: #3c4450;
  --color-line: #e3ddd4;
  --color-line-strong: #cfc7bb;
  --color-paper: #f3f0ea;
  --color-paper-deep: #e7e2d9;
  --color-white: #fffcf8;
  --color-accent: #e4570e;
  --color-accent-strong: #a33b08;
  --color-accent-strong-hover: #8a3208;
  --color-accent-ink: #8a3208;
  --color-on-accent: #ffffff;
  --color-on-dark: #f6f3ee;
  --color-on-dark-muted: #c9ced6;
  --color-on-dark-line: rgba(246, 243, 238, 0.42);
  --color-focus-inner: #ffffff;
  --shadow-soft: 0 18px 40px rgba(20, 23, 27, 0.08);
  --shadow-header: 0 10px 28px rgba(20, 23, 27, 0.06);
  --header-height: 72px;
  --font-display: "Barlow Condensed", Inter, "Liberation Sans", "Arial Narrow", sans-serif;
  --font-body: Barlow, Inter, "Liberation Sans", "Segoe UI", sans-serif;
  --measure: 68ch;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  color: var(--color-ink);
  text-wrap: balance;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 16px;
  background: var(--color-accent);
}

h3 {
  margin: 0;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-focus-inner);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--color-charcoal);
}

::selection {
  background: #f6c7ad;
  color: var(--color-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--color-white);
  color: var(--color-ink);
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.band-white {
  background: var(--color-white);
}

.band-paper {
  background: var(--color-paper);
}

.band-ink {
  background: var(--color-charcoal);
  color: var(--color-on-dark);
}

.band-ink h2,
.band-ink h3 {
  color: var(--color-on-dark);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.section-head p,
.lede {
  font-size: 1.125rem;
  line-height: 1.55;
}

.band-ink .lede,
.band-ink .section-head p {
  color: var(--color-on-dark-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-paper);
  border-top: 4px solid var(--color-accent);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 12px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--color-ink);
  line-height: 1;
  flex: none;
}

.wordmark-strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.wordmark-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-slate);
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  padding: 6px 20px 14px;
  box-shadow: var(--shadow-header);
}

.site-nav.is-open {
  display: block;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
}

.site-nav li:last-child a {
  border-bottom: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-line-strong);
  background: var(--color-white);
  color: var(--color-ink);
}

.nav-toggle-box {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.no-js .nav-toggle {
  display: none;
}

.no-js .site-nav {
  display: block;
  position: static;
  box-shadow: none;
  padding: 0 0 12px;
  border-bottom: 0;
  border-top: 1px solid var(--color-line);
}

.label-short {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: var(--color-on-accent);
}

.btn-primary:hover {
  background: var(--color-accent-strong-hover);
  border-color: var(--color-accent-strong-hover);
}

.btn-ghost {
  color: var(--color-on-dark);
  border-color: var(--color-on-dark-line);
}

.btn-ghost:hover {
  border-color: var(--color-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */

.hero {
  background-color: var(--color-charcoal);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--color-on-dark);
  padding: 36px 0 48px;
  border-bottom: 4px solid var(--color-accent);
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--color-on-dark);
}

.h1-sharp {
  display: block;
  font-size: clamp(4.6rem, 12vw, 7.4rem);
  letter-spacing: 0.02em;
  line-height: 0.84;
}

.h1-rest {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 12px;
  background: var(--color-accent);
  vertical-align: middle;
}

.tagline {
  margin: 0 0 12px;
  max-width: 38rem;
  color: var(--color-on-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
}

.hero .lede {
  max-width: 40rem;
  margin-bottom: 28px;
  color: var(--color-on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.owner-line {
  margin: 0;
  color: var(--color-on-dark-muted);
  font-size: 0.98rem;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-ink);
  border: 1px solid rgba(246, 243, 238, 0.18);
}

.hero-visual figcaption {
  margin-top: 10px;
  color: var(--color-on-dark-muted);
  font-size: 0.95rem;
}

/* Services */

.services-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 22px 20px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-charcoal);
}

.band-white .service-card {
  background: var(--color-paper);
}

.svc-index {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--color-accent-strong);
}

.service-card h3 {
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.02;
  color: var(--color-ink);
}

.service-card p {
  color: var(--color-body);
}

.ask {
  margin-top: auto;
  padding-top: 8px;
  color: var(--color-accent-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* About */

.about-grid,
.area-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.about-grid > *,
.area-grid > *,
.contact-grid > *,
.hero-grid > * {
  min-width: 0;
}

.legal-name {
  font-weight: 600;
  color: var(--color-ink);
}

.credentials {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
  color: var(--color-body);
}

.owner-card {
  padding: 28px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.portrait {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 10px;
  background: var(--color-charcoal);
  color: var(--color-on-dark);
  box-shadow: inset 0 -4px 0 var(--color-accent);
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.04em;
}

.portrait-note {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.owner-card h3 {
  font-size: 2.5rem;
  color: var(--color-ink);
}

.role {
  margin: 6px 0 14px;
  color: var(--color-accent-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Service area */

.area-places {
  margin: 8px 0 18px;
}

.area-places span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-on-dark);
}

.area-list-label {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.communities {
  display: grid;
  gap: 10px;
}

.communities li {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(246, 243, 238, 0.2);
  color: var(--color-on-dark);
  font-weight: 600;
}

.fine {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.band-ink .fine,
.band-ink p {
  color: var(--color-on-dark-muted);
}

.band-ink .area-lead {
  color: var(--color-on-dark);
  font-weight: 600;
}

/* Projects */

.project-grid {
  display: grid;
  gap: 22px;
}

.project {
  margin: 0;
}

.project-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-ink-soft);
  border: 1px solid var(--color-line);
}

.project-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project figcaption {
  padding-top: 10px;
  color: var(--color-ink);
  font-weight: 600;
}

/* Contact */

.contact-name {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-weight: 600;
}

.contact-block {
  font-style: normal;
}

.tap-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--color-line-strong);
  background: var(--color-white);
  text-decoration: none;
}

.tap-label {
  display: block;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tap-value {
  display: block;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.tap-icon {
  width: 22px;
  height: 22px;
  color: var(--color-accent-strong);
  flex: none;
}

.postal {
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-block .postal {
  color: var(--color-ink);
}

.site-footer .postal {
  font-weight: 400;
}

.quote-form {
  padding: 22px 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.form-note {
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.opt {
  color: var(--color-muted);
  font-weight: 400;
}

.req {
  color: var(--color-accent-ink);
  text-decoration: none;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-line-strong);
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: 0;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2 L6 6.2 L11 1.2' fill='none' stroke='%231b1e23' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 14px;
}

.form-help {
  margin: 4px 0 12px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 0 0 12px;
  color: var(--color-accent-ink);
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.quote-form .btn {
  width: 100%;
}

/* Footer */

.site-footer {
  background: var(--color-charcoal);
  color: var(--color-on-dark);
  padding: 56px 0 0;
}

.site-footer .wordmark {
  color: var(--color-on-dark);
  margin-bottom: 14px;
}

.site-footer .wordmark-sub {
  color: var(--color-on-dark-muted);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--color-on-dark);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.ask:hover,
.tap:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(246, 243, 238, 0.14);
  color: var(--color-on-dark-muted);
  font-size: 0.92rem;
}

.footer-base p {
  margin: 0;
}

.footer-base a {
  color: var(--color-on-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-base a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 519px) {
  .label-full { display: none; }
  .label-short { display: inline; }
  .wordmark-strong { font-size: 1.45rem; letter-spacing: 0.06em; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .communities { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .section-head {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 48px;
  }
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: 56px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    width: 100%;
  }
  .about-grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: start; }
  .area-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
  .contact-grid { grid-template-columns: 0.86fr 1.14fr; gap: 48px; align-items: start; }
  .quote-form { padding: 32px; }
}

@media (min-width: 980px) {
  :root { --header-height: 80px; }

  .wrap { width: min(1120px, calc(100% - 80px)); }

  .nav-toggle { display: none; }

  .site-nav,
  .site-nav.is-open,
  .no-js .site-nav {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px 22px;
  }

  .site-nav a {
    min-height: 44px;
    border: 0;
    font-size: 0.98rem;
  }

  .header-tools { margin-left: 22px; }

  .services-grid,
  .project-grid { grid-template-columns: 1fr 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.4fr 0.7fr 1fr; gap: 40px; }
}

@media (hover: hover) {
  .service-card:hover { border-top-color: var(--color-accent); }
  .project:hover img { transform: scale(1.035); }
  .project-frame img { transition: transform 0.35s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .project:hover img { transform: none; }
}

@media print {
  .nav-toggle,
  .skip-link { display: none !important; }

  .site-nav { display: block !important; position: static !important; }

  .hero,
  .band-ink,
  .site-footer {
    background: white !important;
    color: black !important;
  }

  .hero { min-height: 0 !important; border-bottom: 0; }

  .hero h1,
  .band-ink h2,
  .band-ink h3,
  .area-places span,
  .site-footer,
  .site-footer .wordmark {
    color: black !important;
  }
}
