/* Petts Wood Garden Rooms — shared styles */
:root {
  --bg: #faf7f3;
  --bg-alt: #f2ece3;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #6b6b68;
  --muted-2: #a8a8a4;
  --line: #e4e4e0;
  --line-strong: #cfcfc9;
  --accent: #111111;
  --maxw: 1200px;
  --gutter: clamp(24px, 6vw, 96px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(40px, 6.2vw, 88px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; }

p { margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo { height: 48px; width: auto; display: block; }
.brand-mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px auto auto;
  width: 6px; height: 6px;
  background: var(--ink);
}
.brand-name { font-size: 15px; white-space: nowrap; }
.brand-name small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
.nav-cta {
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: transparent; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { font-size: 16px; line-height: 1; }

/* Placeholder image */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      #ececea 0 1px,
      transparent 1px 10px
    ),
    #f2f2f0;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line-strong);
  pointer-events: none;
}
.ph span {
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--line);
  z-index: 1;
}

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Footer */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Utility */
.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker-row .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}

/* Mobile nav toggle button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle .bar {
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.open .bar-top { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open .bar-mid { opacity: 0; }
.nav-toggle.open .bar-bot { transform: translateY(-5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 39;
  border-top: 1px solid var(--line);
  padding: clamp(32px, 6vw, 56px) clamp(24px, 6vw, 96px);
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1;
}
.mobile-nav nav a:hover,
.mobile-nav nav a.active { color: var(--muted); }
.mobile-nav .mobile-cta {
  margin-top: 36px;
  align-self: flex-start;
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-name small { display: none; }
}

/* =================================================== */
/* HERO (Direction B, refined)                         */
/* =================================================== */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.page-head h1,
.about-hero h1 {
  font-size: clamp(32px, 4vw, 56px);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--muted);
}
.hero .kicker-row { margin-bottom: 28px; }
.hero .sub {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 44ch;
  line-height: 1.6;
}
.hero .cta-row { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.ph { font-size: 11px; }
.hero-img .caption {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(250,250,249,0.94);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}

/* Trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip > div {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.strip > div:last-child { border-right: 0; }
.strip .n { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.strip .l { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* Section headers */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head h2 { max-width: 16ch; }
.section-head p { color: var(--muted); font-size: 16px; max-width: 52ch; }

/* Services preview cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-grid .card {
  background: var(--bg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.svc-grid .card .svc-icon { width: 40px; height: 40px; color: var(--ink); flex-shrink: 0; }
.svc-grid .card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.svc-grid .card h3 { margin-top: 8px; max-width: 18ch; }
.svc-grid .card p { color: var(--muted); font-size: 15px; }
.svc-grid .card .more {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.005em;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

/* Testimonial block */
.testimonial {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg-alt);
}
.testimonial blockquote {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 28ch;
  font-weight: 500;
}
.testimonial .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.testimonial .attrib {
  font-size: 14px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  margin-top: 28px;
}
.testimonial .attrib b { color: var(--ink); display: block; font-weight: 500; font-size: 15px; margin-bottom: 2px; }

/* Process strip */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process > div {
  background: var(--bg);
  padding: 40px 28px;
}
.process .step-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.process h3 { font-size: 20px; margin-bottom: 10px; }
.process p { font-size: 14px; color: var(--muted); }
.process.process-3 { grid-template-columns: repeat(3, 1fr); }

/* Why garden rooms */
.why-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.why-img {
  min-height: 480px;
  overflow: hidden;
}
.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.why-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  margin: 16px 0 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 32px;
}
.why-card {
  padding: 36px 36px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.why-card:last-child { border-bottom: none; }
.why-card .why-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.why-card h3 {
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  max-width: 22ch;
}
.why-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  max-width: 44ch;
}

/* CTA band */
.cta-band {
  padding: clamp(64px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.cta-band .inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--muted); margin-top: 14px; max-width: 48ch; }

/* About page */
.about-hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.about-hero h1 { max-width: 18ch; margin-bottom: 32px; }
.about-hero .lede { font-size: 19px; color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.about-main {
  padding: clamp(72px, 10vw, 120px) 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.about-main .eyebrow { margin-bottom: 20px; }
.about-main h2 { max-width: 14ch; }
.about-main .prose {
  display: grid;
  gap: 24px;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}
.about-values {
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.about-values .vlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-values .v {
  padding: 40px 0 40px;
  border-bottom: 1px solid var(--line);
  padding-right: 32px;
}
.about-values .v:nth-child(3n+2),
.about-values .v:nth-child(3n) { padding-left: 32px; border-left: 1px solid var(--line); }
.about-values .v h3 { margin-bottom: 14px; }
.about-values .v p { color: var(--muted); font-size: 15px; }

/* Services page */
.page-head {
  padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-head .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { max-width: 16ch; }
.page-head p { color: var(--muted); max-width: 50ch; font-size: 17px; }

/* Services — alternating rows */
.services-list { padding: 0 0 64px; }
.services-list .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.services-list .row.reverse > .info { order: 2; }
.services-list .row.reverse > .img { order: 1; }
.services-list .row .info .head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.services-list .row .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.services-list .row h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  max-width: 14ch;
  margin-bottom: 14px;
}
.services-list .row .desc { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-bottom: 28px; max-width: 48ch; }
.services-list .row .includes { font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.services-list .row .includes h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 500;
}
.services-list .row .includes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.services-list .row .includes li { padding-left: 18px; position: relative; }
.services-list .row .includes li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--ink);
}
.services-list .row:last-child { border-bottom: 0; }
.services-list .row .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
}
.services-list .row .img img { width: 100%; height: 100%; object-fit: cover; }

/* Prices page */
.price-table {
  padding: 64px 0;
}
.price-table .tbl {}
.price-table .trow {
  display: grid;
  grid-template-columns: 64px 1.4fr 1fr auto;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.price-table .trow .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.price-table .trow h3 { font-size: 22px; margin-bottom: 6px; font-weight: 500; }
.price-table .trow h3 .size-tag {
  display: inline-block;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 10px;
  position: relative;
  top: -2px;
}
.price-table .trow p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.price-table .trow .price {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.price-table .trow .price small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}
.price-table .trow .cta { font-size: 13px; display: inline-flex; gap: 8px; align-items: center; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.price-notes {
  padding: 64px 0 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.price-notes h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-notes .notes { display: grid; gap: 20px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* Portfolio */
.folio-grid {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
}
.folio-item .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.folio-item .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.folio-item:hover .img img { transform: scale(1.02); }
.folio-item .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.folio-item h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.folio-item .loc { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Contact form (Prices / CTA) */
.contact-form {
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.contact-form .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-form h2 { max-width: 14ch; }
.contact-form .lede { color: var(--muted); margin-top: 18px; max-width: 42ch; }
.contact-form .contact-list {
  margin-top: 40px;
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.contact-form .contact-list div { display: flex; justify-content: space-between; gap: 16px; }
.contact-form .contact-list dt { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-form .contact-list dd { margin: 0; font-weight: 500; }

.form { display: grid; gap: 20px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form input, .form textarea, .form select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 8px 0 12px;
  border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form textarea { resize: vertical; min-height: 96px; }
.form button { justify-self: start; margin-top: 12px; }

/* Testimonials (3-up with stars) */
.quotes {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--bg-alt);
}
.quotes .section-head { margin-bottom: 48px; }
.qgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}
.qcard {
  background: var(--bg-alt);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qcard .stars {
  display: flex;
  gap: 3px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 1px;
}
.qcard blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-grow: 1;
}
.qcard .who {
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}
.qcard .who b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 2px;
}

/* About team section */
.team {
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: 48px;
}
.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.team-card .avatar {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
}
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  image-orientation: from-image;
  display: block;
}
.team-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.team-card .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.team-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Portfolio — unified layout (no off-tile) */
.folio-item .img { aspect-ratio: 4/3; }
.folio-item .img.real { border: 1px solid var(--line); }

/* Estimator */
.estimator {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
}
.est-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.est-intro h2 { max-width: 16ch; margin-bottom: 20px; }
.est-intro p { color: var(--muted); font-size: 16px; max-width: 46ch; line-height: 1.6; }
.est-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.est-note b { color: var(--ink); font-weight: 500; }

.est-panel {
  background: #fff;
  border: 1px solid var(--ink);
}
.est-row {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.est-row:last-of-type { border-bottom: 1px solid var(--ink); }
.est-row .label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.est-row .label .k {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.est-row .label .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.est-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--line-strong);
  outline: none;
  margin: 8px 0;
}
.est-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--ink);
  cursor: pointer;
  border: 0;
  border-radius: 0;
}
.est-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--ink);
  cursor: pointer;
  border: 0;
  border-radius: 0;
}
.est-row .ticks {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
}
.est-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.est-opts label {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  color: var(--ink-2);
  background: #fff;
}
.est-opts label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.est-opts input { position: absolute; opacity: 0; pointer-events: none; }
.est-total {
  padding: 28px;
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.est-total .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3b3ae;
  margin-bottom: 8px;
}
.est-total .num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.est-total .num small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b3b3ae;
  margin-top: 10px;
  font-weight: 400;
}
.est-total .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.est-total .btn:hover { background: transparent; color: #fff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(1), .strip > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .strip > div:nth-child(3) { border-right: 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .svc-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process.process-3 { grid-template-columns: 1fr; }
  .cta-band .inner { grid-template-columns: 1fr; }
  .why-section-grid { display: block; }
  .why-img { display: none; }
  .why-content { width: 100%; }
  .why-grid { width: 100%; }
  .why-card { padding: 28px 24px; }
  .why-card h3 { font-size: 20px; max-width: none; }
  .why-card p { max-width: none; }
  .about-main { grid-template-columns: 1fr; gap: 32px; }
  .about-story-grid { grid-template-columns: 1fr; }
  .page-head .container, .price-notes, .contact-form .wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-main h2 { position: static; }
  .about-values .vlist { grid-template-columns: 1fr; }
  .about-values .v:nth-child(3n+2), .about-values .v:nth-child(3n) { padding-left: 0; border-left: 0; }
  .services-list .row { grid-template-columns: 1fr; gap: 20px; }
  .services-list .row.reverse > .info { order: 1; }
  .services-list .row.reverse > .img { order: 2; }
  .services-list .row .includes ul { grid-template-columns: 1fr; }
  .price-table .trow { grid-template-columns: 40px 1fr; gap: 16px; }
  .price-table .trow .price, .price-table .trow .cta { grid-column: 2; }
  .folio-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .form .row-2 { grid-template-columns: 1fr; }
  .testimonial .grid { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 100px 1fr; gap: 20px; }
  .est-wrap { grid-template-columns: 1fr; }
  .est-total { grid-template-columns: 1fr; }
}


