/* Precise Carpentry Concepts — site styles */

:root {
  --ink: #1a1815;
  --charcoal: #2b2823;
  --slate: #4a453d;
  --muted: #6f675c;
  --timber: #b06a30;
  --timber-dark: #8d5323;
  --sand: #f6f2ec;
  --sand-deep: #ece5d9;
  --line: #ddd4c5;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(26, 24, 21, .06), 0 8px 24px rgba(26, 24, 21, .06);
  --radius: 4px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Barlow', Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }

p { margin: 0 0 1.1em; }
a { color: var(--timber-dark); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px; max-width: var(--wrap); margin: 0 auto;
}

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-size: 1.35rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink);
}
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--timber); margin-top: 3px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 12px; cursor: pointer;
  font-family: inherit; font-size: .9rem; color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none; color: var(--slate); font-size: .93rem;
  padding: 8px 12px; border-radius: var(--radius); white-space: nowrap;
}
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--timber); }

.nav-call {
  background: var(--timber) !important; color: #fff !important;
  font-weight: 600; padding: 9px 16px !important; margin-left: 8px;
}
.nav-call:hover { background: var(--timber-dark) !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    padding: 8px 22px 18px; border-top: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid var(--sand-deep); border-radius: 0; }
  .nav-call { margin: 10px 0 0; text-align: center; border-bottom: none !important; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--charcoal);
  color: #e9e3d9;
  padding: clamp(56px, 10vw, 104px) 0;
  border-bottom: 5px solid var(--timber);
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 640px; color: #cdc5b8; }
.eyebrow {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--timber); font-weight: 600; margin-bottom: 14px;
}
.hero .eyebrow { color: #dda36a; }

.page-head {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 7vw, 72px) 0;
}
.page-head p { max-width: 640px; font-size: 1.08rem; margin-bottom: 0; color: var(--muted); }

/* ---------- buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-size: 1rem; padding: 14px 26px; border-radius: var(--radius);
  background: var(--timber); color: #fff; border: 2px solid var(--timber);
  transition: background .15s ease;
}
.btn:hover { background: var(--timber-dark); border-color: var(--timber-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; }

/* ---------- sections ---------- */

section { padding: clamp(48px, 8vw, 88px) 0; }
section.tint { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* ---------- grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--timber); font-weight: 600; margin-bottom: 10px;
}

/* ---------- process ---------- */

.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; background: var(--white);
  border: 1px solid var(--line); border-left: 3px solid var(--timber);
  border-radius: var(--radius);
}
.step-num {
  counter-increment: step; flex: 0 0 auto;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem;
  font-weight: 700; color: var(--timber); line-height: 1; min-width: 30px;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.1rem; margin-bottom: .25em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }

/* ---------- credentials strip ---------- */

.creds { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cred { background: var(--white); padding: 22px 20px; }
.cred .label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cred .value { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.cred .note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- suburbs ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 15px; font-size: .92rem; color: var(--slate);
}

/* ---------- lists ---------- */

.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 8px; height: 8px; background: var(--timber); border-radius: 2px;
}

/* ---------- placeholder blocks (remove before going live) ---------- */

.todo {
  border: 2px dashed #c9a227; background: #fdf8e6;
  border-radius: var(--radius); padding: 22px 24px; color: #6b5a12;
}
.todo .todo-label {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: #8a7314; margin-bottom: 8px; display: block;
}
.todo p:last-child { margin-bottom: 0; }

/* ---------- gallery ---------- */

.shot {
  background: var(--sand-deep); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.shot .frame {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #e6ded0, #e6ded0 12px, #ded5c4 12px, #ded5c4 24px);
  color: #9a8f7c; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
}
.shot .caption { background: var(--white); padding: 16px 18px; border-top: 1px solid var(--line); }
.shot .caption h3 { font-size: 1.05rem; margin-bottom: .2em; }
.shot .caption p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------- contact ---------- */

.contact-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.contact-list .big {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.contact-list .big:hover { color: var(--timber-dark); }

form.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
form.enquiry label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
form.enquiry .field { margin-bottom: 18px; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--sand);
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus {
  outline: 2px solid var(--timber); outline-offset: 1px; background: #fff;
}
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry button {
  width: 100%; font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 14px; border: none; border-radius: var(--radius);
  background: var(--timber); color: #fff; cursor: pointer;
}
form.enquiry button:hover { background: var(--timber-dark); }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--charcoal); color: #ded7cb; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 4px; color: #cdc5b8; }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #a79f92; font-size: .92rem; padding: 52px 0 30px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: .8rem; letter-spacing: .16em; }
.site-footer a { color: #cdc5b8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.legal {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #332f29;
  display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .86rem; color: #8b8377;
}
.legal strong { color: #cdc5b8; font-weight: 600; }

/* ---------- skip link ---------- */

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--timber);
  color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- hero with photo ---------- */

.hero-img { position: relative; padding: 0; overflow: hidden; background: var(--charcoal); }
.hero-img .hero-media { position: absolute; inset: 0; }
.hero-img .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,18,15,.88) 0%, rgba(20,18,15,.72) 45%, rgba(20,18,15,.35) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(64px, 11vw, 132px); padding-bottom: clamp(56px, 10vw, 120px);
}
.hero-img h1 { color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.hero-img .lede { color: #e2dbd0; }

@media (max-width: 640px) {
  .hero-img::after {
    background: linear-gradient(180deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,.74) 55%, rgba(20,18,15,.86) 100%);
  }
}

/* ---------- full-width photo band ---------- */

.band { line-height: 0; background: var(--sand-deep); }
.band img { width: 100%; height: clamp(200px, 30vw, 400px); object-fit: cover; }

/* ---------- home page work strip ---------- */

.strip { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.strip-item {
  display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.strip-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.strip-item span {
  display: block; padding: 14px 16px; color: var(--ink);
  font-weight: 600; font-size: .96rem; border-top: 1px solid var(--line);
}
.strip-item:hover span { color: var(--timber-dark); }
.strip-item:hover img { opacity: .92; }

/* ---------- gallery masonry ---------- */

.masonry { column-count: 3; column-gap: 20px; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }

.masonry .shot {
  break-inside: avoid; margin: 0 0 20px; display: block;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.masonry .shot img { width: 100%; height: auto; display: block; }
.masonry figcaption { padding: 15px 17px; border-top: 1px solid var(--line); }
.masonry figcaption h3 { font-size: 1.05rem; margin-bottom: .15em; }
.masonry figcaption p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }

/* ---------- service card with photo ---------- */

.card-with-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-with-img .card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card-with-img .card-body { padding: 26px 24px; }
.card-with-img .card-body p:last-child { margin-bottom: 0; }

/* ---------- refinements ---------- */

.hero-img .hero-inner { min-height: clamp(340px, 46vw, 560px); display: flex; flex-direction: column; justify-content: center; }
.hero-img .hero-media img { object-position: center 62%; }
@media (max-width: 640px) {
  .hero-img .hero-media img { object-position: 62% center; }
  .hero-img .hero-inner { min-height: 0; }
}
.grid-2 > .card-with-img, .grid-2 > .card { align-self: start; }

/* ---------- testimonial ---------- */

.quote {
  margin: 0 0 24px; padding: 34px 34px 30px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--timber); border-radius: var(--radius);
}
.quote p {
  font-family: 'Barlow Condensed', 'Barlow', Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem); line-height: 1.3;
  color: var(--ink); font-weight: 600; margin-bottom: .7em;
}
.quote p::before { content: "\201C"; color: var(--timber); margin-right: .05em; }
.quote p::after  { content: "\201D"; color: var(--timber); }
.quote cite { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-style: normal; }
.quote .who { font-weight: 600; color: var(--ink); }
.quote .where { font-size: .9rem; color: var(--muted); }

.trust .card h3 { font-size: 1.15rem; }

.full-review { margin: -8px 0 24px; }
.full-review summary {
  cursor: pointer; font-weight: 600; color: var(--timber-dark);
  padding: 10px 0; font-size: .95rem; list-style: none;
}
.full-review summary::-webkit-details-marker { display: none; }
.full-review summary::before { content: "+ "; font-weight: 700; }
.full-review[open] summary::before { content: "\2212 "; }
.full-review p {
  margin: 4px 0 0; padding: 20px 22px; background: var(--sand);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .98rem; color: var(--slate);
}

/* two-up quotes */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; margin-bottom: 24px; }
.quotes .quote { margin: 0; display: flex; flex-direction: column; height: 100%; padding: 30px 30px 26px; }
.quotes .quote p { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.quotes .quote cite { margin-top: auto; padding-top: 6px; }
.quotes .full-review { margin: 0 0 14px; }
.quotes .full-review p { font-family: 'Barlow', Helvetica, sans-serif; font-weight: 400; font-size: .95rem; }
.quotes .full-review p::before, .quotes .full-review p::after { content: none; }

.quotes-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quotes-3 .quote { padding: 28px 26px 24px; }
.quotes-3 .quote p { font-size: clamp(1.08rem, 1.5vw, 1.22rem); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* images carry real width/height now — keep them fluid */
.masonry .shot img, .strip-item img, .card-with-img .card-img,
.band img, .hero-img .hero-media img { max-width: 100%; }
.masonry .shot img { height: auto; }
