:root {
  --ink: #1c1a17;
  --ink-soft: #4a443c;
  --sand: #f4ede1;
  --sand-deep: #e9dfcd;
  --paper: #fbf8f2;
  --brand: #9c552a;       /* their logo terracotta, darkened for 4.5:1 text and buttons */
  --brand-bright: #c47a45; /* same hue, large numerals on near-black only */
  --radius: 18px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* buttons: chunky, softly rounded */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.3rem;
  border-radius: 14px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-big { min-height: 58px; padding: .9rem 1.7rem; font-size: 1.1rem; }

/* header */
.site-header { background: var(--sand); border-bottom: 1px solid var(--sand-deep); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 88px; }
.brand { display: block; padding: 6px 0; }
.brand img { height: 70px; width: auto; }
.site-header nav { margin-left: auto; }
.site-header nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem 0; }
.site-header nav a:hover { color: var(--brand); }
.header-call .short { display: none; }

/* hero */
.hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.55fr .8fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.5rem); }
.lead { font-size: 1.2rem; color: var(--ink-soft); margin-top: 1.4rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; list-style: none; margin: 1.6rem 0 0; padding: 0; font-weight: 600; color: var(--ink-soft); }
.proof li + li::before { content: "·"; margin-right: 1.4rem; color: var(--ink-soft); }
.rating { color: var(--ink); font-weight: 800; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100vh - 170px); min-height: 360px; object-fit: cover; border-radius: var(--radius); }
figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: .6rem; font-weight: 600; }

/* section rhythm */
section { scroll-margin-top: 90px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); max-width: 30rem; font-size: 1.1rem; }

/* recent work: photo-led, asymmetric */
.work { background: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.work-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-areas: "wide tall" "list list"; gap: 3rem 2rem; }
.shot { margin: 0; }
.shot img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.shot-wide { grid-area: wide; }
.shot-wide img { aspect-ratio: 3 / 2; }
.shot-tall { grid-area: tall; display: flex; flex-direction: column; }
.shot-tall .frame { position: relative; flex: 1; min-height: 280px; }
.shot-tall .frame img { position: absolute; inset: 0; height: 100%; object-position: 50% 40%; }
.projects { grid-area: list; }
.projects h3 { margin-bottom: .6rem; }
.project-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2rem; }
.project-list li { break-inside: avoid; display: flex; flex-direction: column; padding: .65rem 0; border-top: 1px solid var(--sand-deep); }
.project-list li span:first-child { font-weight: 600; line-height: 1.35; }
.project-list li span:last-child { font-size: .92rem; color: var(--ink-soft); }
.more { margin-top: 1rem; color: var(--ink-soft); }

/* services: the one card grid */
.services { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.card .group { font-weight: 800; color: var(--brand); font-size: 1.05rem; padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 2px solid var(--sand-deep); }
.card h3 { margin-top: 1.1rem; }
.card .group + h3 { margin-top: 0; }
.card h3 + p { color: var(--ink-soft); margin-top: .3rem; }

/* how it works: near-black strip */
.how { background: var(--ink); color: var(--sand); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.how h2 { color: #fff; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: none; }
.steps li { border-top: 2px solid #3b3630; padding-top: 1.4rem; }
.steps .num { display: block; font-size: 4rem; font-weight: 800; line-height: 1; color: var(--brand-bright); margin-bottom: 1rem; }
.steps h3 { color: #fff; font-size: 1.4rem; }
.steps p { margin-top: .6rem; color: #e4dccd; }
.steps a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.steps a:hover { color: var(--sand-deep); }
.how :focus-visible { outline-color: #fff; }

/* reviews */
.reviews { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper); }
.reviews-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rating-big { display: inline-flex; align-items: center; min-height: 48px; margin-top: 1.4rem; padding: .6rem 1.2rem; border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; font-size: 1.1rem; }
.rating-big:hover { background: var(--ink); color: #fff; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1.2rem; font-size: 1rem; color: var(--ink); font-weight: 800; }

/* about */
.about { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-lead { font-size: 1.2rem; margin-top: 1.4rem; max-width: 40rem; }
.owner { margin: 2rem 0 0; padding-left: 1.3rem; border-left: 4px solid var(--brand); }
.owner p { font-size: 1.15rem; font-weight: 600; }
.owner footer { margin-top: .5rem; color: var(--ink-soft); font-weight: 600; }
.area { background: var(--sand-deep); border-radius: var(--radius); padding: 1.8rem; }
.area p { margin-top: .7rem; color: var(--ink); }

/* contact */
.contact { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info > p { margin: 1rem 0 1.6rem; font-size: 1.15rem; color: var(--ink-soft); }
.details { margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.details div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--sand-deep); }
.details dt { font-weight: 800; }
.details dd { margin: 0; }
.map iframe { display: block; border-radius: var(--radius); background: var(--sand-deep); min-height: 420px; }

/* footer */
.site-footer { background: var(--sand-deep); padding: 3rem 0 1.5rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer p + p { margin-top: .7rem; }
.f-name, .f-head { font-weight: 800; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brand); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #d6c9b2; color: var(--ink-soft); }

/* social icons (templates/social-icons.html) */
.social { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; min-height: 44px; }
.social svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.socials { display: flex; flex-direction: column; gap: 0; list-style: none; margin: .4rem 0 0; padding: 0; }

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

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .header-call { margin-left: auto; }
  .hero-grid, .reviews-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-photo img { max-height: none; aspect-ratio: 4 / 4.4; }
  .work-grid { grid-template-columns: 1fr; grid-template-areas: "wide" "tall" "list"; gap: 2rem; }
  .shot-tall .frame { position: static; }
  .shot-tall .frame img { position: static; aspect-ratio: 4 / 4.4; }
  .project-list { columns: 2; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; font-size: 1rem; }
  .header-row { min-height: 68px; gap: 1rem; }
  .brand img { height: 54px; }
  .header-call .long { display: none; }
  .header-call .short { display: inline; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.8rem); }
  .lead { font-size: 1.08rem; }
  .actions .btn { width: 100%; }
  .proof { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .proof li + li::before { content: none; }
  .project-list { columns: 1; }
  .service-grid { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: .2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-bar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    min-height: 64px; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none;
  }
  .call-bar:hover { color: #fff; background: var(--ink); }
  .call-bar:focus-visible { outline-color: var(--ink); outline-offset: -5px; }
}
