/* Tucks Joinery Ltd: black of the badge, steel greys, one sky blue from the roof planes */
:root {
  --black: #000;
  --ink: #0e1114;
  --ink-2: #1b2026;
  --steel: #39434b;
  --steel-2: #8b959d;
  --silver: #c6cdd2;
  --line: #d8dde1;
  --ground: #f2f4f5;
  --ground-2: #e7ebee;
  --white: #fff;
  --sky: #3fa3dc;
  --sky-ink: #17628f;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 92px;
  --e-out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.04; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 2px; font: 600 16px/1 "IBM Plex Sans", sans-serif; text-decoration: none; letter-spacing: -0.005em; transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn--sky { background: var(--sky); color: var(--black); }
.btn--sky:hover { background: #69baea; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { border: 1.5px solid currentColor; color: var(--white); }
.btn--line:hover { background: rgba(255,255,255,.12); }
.btn--line-ink { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 3px; }
.more:hover { color: var(--sky-ink); }
.more::after { content: ""; width: 14px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M9 0l5 5-5 5-1.1-1.1L11.1 5.8H0V4.2h11.1L7.9 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M9 0l5 5-5 5-1.1-1.1L11.1 5.8H0V4.2h11.1L7.9 1.1z'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .3s var(--e-out); }
.more:hover::after { transform: translateX(4px); }
.on-dark .more { color: var(--white); }
.on-dark .more:hover { color: #9fd3f1; }

/* header: the badge's own black */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: var(--black); color: var(--white); transition: transform .45s var(--e-out); }
.nav.is-away { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; flex: none; height: 84px; width: 84px; }
.nav__logo img { width: 84px; height: 84px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: #e3e7ea; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav__links a:hover { color: var(--white); border-color: var(--sky); }
.nav__tel { text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.nav__tel svg { width: 16px; height: 16px; color: var(--sky); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav__menu, .nav__call { display: none; }

/* phone menu sheet */
.sheet { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--ground); color: var(--ink); padding: 28px var(--pad) 32px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.menu-open .sheet { visibility: visible; opacity: 1; transition: opacity .3s; }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .nav { transform: none !important; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; text-decoration: none; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.sheet__foot .btn { width: 100%; }
.sheet__tel { font-size: 22px; font-weight: 600; text-decoration: none; padding: 6px 0; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 66% 64% at 20% 74%, rgba(5,7,9,.84) 0%, rgba(5,7,9,.56) 55%, rgba(5,7,9,0) 100%),
  linear-gradient(0deg, rgba(5,7,9,.62) 0%, rgba(5,7,9,.22) 30%, rgba(5,7,9,0) 52%); pointer-events: none; }
.hero__in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(36px, 8vh, 88px); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); max-width: 17ch; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.45; max-width: 31em; color: #f4f6f7; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec--tight { padding-top: clamp(56px, 7vw, 96px); }
.sec--ground { background: var(--ground); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--black { background: var(--black); color: var(--white); }
.h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); max-width: 18ch; }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--steel); max-width: 34em; margin-top: 22px; }
.on-dark .lede { color: #c3cbd1; }
.body { color: var(--steel); margin-top: 16px; max-width: 34em; }
.on-dark .body { color: #c3cbd1; }

/* photographs */
.ph { margin: 0; }
.frame { position: relative; overflow: hidden; background: var(--ground-2); }
.on-dark .frame { background: var(--ink-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  a.ph:hover .frame img, .ph--hover:hover .frame img { transform: scale(1.035); }
}
a.ph { display: block; text-decoration: none; }
figcaption, .cap { margin-top: 12px; font-size: 14.5px; color: var(--steel); line-height: 1.4; }
.on-dark figcaption, .on-dark .cap { color: #b9c2c8; }

/* roofs */
.roofs { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.roofs__text { grid-column: 1 / 6; align-self: start; }
.roofs__small { grid-column: 1 / 5; margin-top: 44px; max-width: 380px; }
.roofs__big { grid-column: 6 / 13; grid-row: 1 / 3; align-self: start; }
.roofs__big .frame { height: clamp(520px, 84vh, 880px); }
.roofs__small .frame { aspect-ratio: 4 / 5; }
.steps-wrap { margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.steps-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.steps-head .h2 { grid-column: 1 / 8; max-width: 20ch; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.steps-head p { grid-column: 8 / 13; color: var(--steel); }
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.steps .frame { aspect-ratio: 3 / 4; }
.steps-foot { margin-top: 32px; }

/* inside */
.inside-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.inside-head .h2 { grid-column: 1 / 8; }
.inside-head .lede { grid-column: 8 / 13; margin: 0; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.m-kitchen { grid-column: 1 / 7; grid-row: 1 / 3; }
.m-kitchen .frame { height: 100%; min-height: 100%; }
.m-loch { grid-column: 7 / 13; }
.m-loch .frame { aspect-ratio: 16 / 10; }
.m-loch img { width: 134%; max-width: none; }
.m-barn { grid-column: 7 / 10; }
.m-sage { grid-column: 10 / 13; }
.m-barn .frame, .m-sage .frame { aspect-ratio: 3 / 4; }
.m-kitchen { display: flex; flex-direction: column; }
.m-kitchen .frame { flex: 1; }
.m-list { grid-column: 1 / 6; align-self: center; padding: clamp(8px, 2vw, 32px) clamp(0px, 2vw, 32px) 0 0; }
.m-hall { grid-column: 6 / 9; }
.m-herring { grid-column: 9 / 13; }
.m-hall .frame, .m-herring .frame { aspect-ratio: 3 / 4; }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.work-list li span { color: var(--steel); font-weight: 400; text-align: right; }
.list-title { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 18px; }

/* outside */
.outside { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.o-main { grid-column: 1 / 6; }
.o-main .frame { aspect-ratio: 1 / 1; }
.o-door { grid-column: 6 / 9; align-self: end; }
.o-door .frame { aspect-ratio: 3 / 4; }
.o-text { grid-column: 9 / 13; display: flex; flex-direction: column; }
.o-text .h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.o-porch { margin-top: auto; padding-top: 36px; }
.o-porch .frame { aspect-ratio: 4 / 3; }
.quote-inline { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--sky); }
.quote-inline p { font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.quote-inline footer { margin-top: 10px; font-size: 14.5px; color: var(--steel); }

/* business */
.biz { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); }
.biz__big { grid-column: 1 / 7; }
.biz__big .frame { aspect-ratio: 1320 / 1640; }
.biz__side { grid-column: 7 / 13; display: flex; flex-direction: column; }
.biz__side .h2 { max-width: 15ch; }
.biz__minis { margin-top: auto; padding-top: 40px; }
.biz__minis .frame { aspect-ratio: 4 / 3; }
.biz__oak { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); margin-top: 36px; }
.biz__oak .frame { aspect-ratio: 4 / 5; }

/* fitted pieces (unused) */
.made-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.made-head .h2 { grid-column: 1 / 8; }
.made-head .lede { grid-column: 8 / 13; margin: 0; }
.made { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.mf-media { grid-column: 1 / 6; }
.mf-media .frame { aspect-ratio: 4 / 5; }
.mf-desk { grid-column: 6 / 10; }
.mf-desk .frame { aspect-ratio: 3 / 4; }
.mf-ward { grid-column: 10 / 13; max-width: 340px; }
.mf-ward .frame { aspect-ratio: 3 / 4; }
.mf-eaves { margin-top: 24px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(36px, 5vw, 64px); }
.rv-main { grid-column: 1 / 9; }
.rv-main p { font-size: clamp(1.45rem, 2.35vw, 2.2rem); line-height: 1.28; letter-spacing: -0.015em; font-weight: 500; }
.rv-side { grid-column: 9 / 13; align-self: start; padding-top: 8px; border-top: 1px solid var(--line); padding-top: 22px; }
.rv-side p { font-size: 1.25rem; line-height: 1.4; font-weight: 500; }
blockquote { margin: 0; }
.who { margin-top: 18px; font-size: 15px; color: var(--steel); }
.who b { color: var(--ink); font-weight: 600; }
.reviews-foot { margin-top: 44px; }

/* area */
.area { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.area__logo { grid-column: 1 / 5; }
.area__logo img { width: 100%; max-width: 380px; height: auto; }
.area__text { grid-column: 6 / 13; }
.places { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid #2a3138; }
.places li { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #2a3138; }
.places b { font-weight: 600; font-size: 1.15rem; }
.places span { color: #bcc4ca; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); }
.contact__info { grid-column: 1 / 6; }
.contact__form { grid-column: 6 / 13; }
.big-tel { display: inline-block; margin-top: 30px; font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; border-bottom: 3px solid var(--sky); line-height: 1.15; }
.ways { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.ways li { border-bottom: 1px solid var(--line); }
.ways a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; font-weight: 600; }
.ways a span { color: var(--steel); font-weight: 400; }
.ways a:hover span { color: var(--sky-ink); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.f { display: flex; flex-direction: column; gap: 7px; }
.f--full { grid-column: 1 / -1; }
label { font-size: 15px; font-weight: 600; }
label small { font-weight: 400; color: var(--steel); }
input, textarea { font: 400 17px/1.4 "IBM Plex Sans", sans-serif; color: var(--ink); background: var(--white); border: 1.5px solid #b9c1c7; border-radius: 2px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(63,163,220,.35); }
input[type=file] { padding: 10px; background: var(--white); font-size: 15px; color: var(--steel); }
input[type=file]::file-selector-button { font: 600 15px/1 "IBM Plex Sans", sans-serif; color: var(--ink); background: var(--ground); border: 1.5px solid var(--ink); border-radius: 2px; padding: 12px 16px; margin-right: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
input[type=file]::file-selector-button:hover { background: var(--ink); color: var(--white); }
.hint { font-size: 14px; color: var(--steel); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot p { font-weight: 600; }
.hp { position: absolute; left: -5000px; }
.sent { display: none; grid-column: 1 / -1; background: var(--ground); border-left: 3px solid var(--sky); padding: 18px 20px; font-weight: 500; }
.is-sent .sent { display: block; }

/* footer */
.foot { background: var(--black); color: #d4dadf; padding: clamp(56px, 7vw, 88px) 0 40px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.foot__logo img { width: 112px; height: 112px; }
.foot h3 { font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #262c32; color: #aab3ba; font-size: 14px; line-height: 1.6; }

/* job pages */
.job-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); }
.job-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
.job-hero__text { grid-column: 1 / 7; align-self: center; }
.job-hero__text h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); max-width: 13ch; letter-spacing: -0.028em; }
.job-hero__ph { grid-column: 7 / 13; }
.job-hero__ph .frame { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - 80px); }
.crumb { font-size: 15px; color: var(--steel); text-decoration: none; display: inline-block; margin-bottom: 22px; }
.crumb:hover { color: var(--ink); }
.done { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.done li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.done li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 2px; background: var(--sky); }
.job-wide .frame { aspect-ratio: auto; width: 100%; height: min(86vh, 62vw); }
.job-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(12px, 1.6vw, 24px); align-items: start; }
.job-row .frame { aspect-ratio: 3 / 4; }
.jr-a { grid-column: 1 / 6; }
.jr-b { grid-column: 6 / 10; }
.jr-c { grid-column: 10 / 13; max-width: 360px; }
.jr-d { grid-column: 1 / 5; }
.jr-e { grid-column: 5 / 9; }
.jr-f { grid-column: 9 / 13; }
.job-note { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 48px); margin: clamp(48px, 6vw, 88px) 0 0; }
.job-note h2 { grid-column: 1 / 6; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.job-note p { grid-column: 7 / 13; color: var(--steel); font-size: 1.1rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band .h2 { max-width: 20ch; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.next-jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 36px; }
.next-jobs .frame { aspect-ratio: 16 / 10; }
.next-jobs h3 { font-size: 1.3rem; margin-top: 14px; }

/* laptop height: keep each composition on one screen */
@media (min-width: 1025px) and (max-height: 820px) {
  .roofs__big .frame { height: 80vh; }
  .m-loch .frame { aspect-ratio: 16 / 9; }
}

/* tablet */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__tel { margin-left: auto; }
  .roofs__text { grid-column: 1 / -1; }
  .roofs__big { grid-column: 1 / 9; grid-row: auto; }
  .roofs__small { grid-column: 9 / 13; margin-top: 0; }
  .steps-head .h2, .steps-head p { grid-column: 1 / -1; }
  .inside-head .h2, .inside-head .lede, .made-head .h2, .made-head .lede { grid-column: 1 / -1; }
  .m-list { grid-column: 1 / -1; padding: 16px 0; order: 9; }
  .m-hall { grid-column: 1 / 7; }
  .m-herring { grid-column: 7 / 13; }
  .o-main { grid-column: 1 / 8; }
  .o-door { grid-column: 8 / 13; }
  .o-text { grid-column: 1 / -1; }
  .biz__big, .biz__side { grid-column: 1 / -1; }
  .biz__big .frame { max-height: 80vh; aspect-ratio: 4 / 5; }
  .mf-media { grid-column: 1 / 7; }
  .mf-desk { grid-column: 7 / 13; margin-top: 0; }
  .mf-ward { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .mf-ward .mf-eaves { margin-top: 0; }
  .rv-main, .rv-side { grid-column: 1 / -1; }
  .area__logo { grid-column: 1 / 5; }
  .area__text { grid-column: 5 / 13; }
  .contact__info, .contact__form { grid-column: 1 / -1; }
  .job-hero__text, .job-hero__ph { grid-column: 1 / -1; }
  .job-note h2, .job-note p { grid-column: 1 / -1; }
}

/* phone: its own edit */
@media (max-width: 760px) {
  :root { --nav-h: 70px; }
  body { font-size: 16.5px; }
  .nav__in { gap: 10px; }
  .nav__logo, .nav__logo img { width: 62px; height: 62px; }
  .nav__tel, .nav .btn--sky { display: none; }
  .nav__call { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--white); border: 1.5px solid #3a4148; border-radius: 2px; }
  .nav__call svg { width: 18px; height: 18px; color: var(--sky); }
  .nav__menu { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: none; border: 1.5px solid #3a4148; color: var(--white); font: 600 15px/1 "IBM Plex Sans", sans-serif; border-radius: 2px; cursor: pointer; }
  .nav__menu i { position: relative; width: 16px; height: 2px; background: currentColor; transition: background .2s; }
  .nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .3s var(--e-out); }
  .nav__menu i::before { top: -5px; } .nav__menu i::after { top: 5px; }
  .menu-open .nav__menu i { background: transparent; }
  .menu-open .nav__menu i::before { transform: translateY(5px) rotate(45deg); }
  .menu-open .nav__menu i::after { transform: translateY(-5px) rotate(-45deg); }
  .hero { min-height: 560px; }
  .hero__img { object-position: 42% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(5,7,9,.86) 0%, rgba(5,7,9,.66) 38%, rgba(5,7,9,.18) 64%, rgba(5,7,9,0) 78%); }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.8rem); max-width: 13.5ch; }
  .hero__sub { font-size: 1.04rem; margin-top: 16px; }
  .hero__cta { margin-top: 22px; display: grid; grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .h2 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  .roofs, .steps-head, .inside-head, .mosaic, .outside, .biz, .made-head, .made, .reviews, .area, .contact, .job-hero__grid, .job-row, .job-note { grid-template-columns: 1fr 1fr; }
  .roofs > *, .steps-head > *, .inside-head > *, .outside > *, .biz > *, .made-head > *, .reviews > *, .area > *, .contact > *, .job-hero__grid > *, .job-note > * { grid-column: 1 / -1; }
  .roofs__big .frame { aspect-ratio: 4 / 5; height: auto; }
  .roofs__small { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .ph:first-child { grid-column: 1 / -1; }
  .steps .ph:first-child .frame { aspect-ratio: 4 / 3; }
  .m-kitchen, .m-loch, .m-list { grid-column: 1 / -1; grid-row: auto; }
  .m-kitchen .frame { aspect-ratio: 4 / 5; flex: none; }
  .m-loch .frame { aspect-ratio: 4 / 3; }
  .m-loch img { width: 140%; }
  .m-barn, .m-hall { grid-column: 1 / 2; }
  .m-sage, .m-herring { grid-column: 2 / 3; }
  .work-list li { flex-direction: column; gap: 2px; }
  .work-list li span { text-align: left; }
  .o-main { grid-column: 1 / -1; }
  .o-door { display: none; }
  .biz__big .frame { aspect-ratio: 4 / 5; }
  .mf-media, .mf-desk { grid-column: 1 / -1; }
  .mf-media .frame { aspect-ratio: 4 / 5; }
  .mf-desk .frame { aspect-ratio: 4 / 3; }
  .mf-ward { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 14px; }
  .area__logo img { max-width: 220px; margin: 0 auto; }
  .places li { grid-template-columns: 1fr; gap: 2px; }
  form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__logo img { width: 96px; height: 96px; }
  .jr-a, .jr-b, .jr-d, .jr-e, .jr-f { grid-column: 1 / -1; }
  .jr-c { grid-column: 1 / -1; max-width: 360px; }
  .job-hero__ph .frame { max-height: none; }
  .next-jobs { grid-template-columns: 1fr; }
  .cta-band__btns { width: 100%; display: grid; }
  .cta-band__btns .btn { width: 100%; }
}

/* fix round 1: aligned photo rows, no voids */
@media (min-width: 1025px) {
  .roofs { align-items: stretch; }
  .roofs__text { grid-row: 1; }
  .roofs__small { grid-row: 2; align-self: end; margin-top: 0; }
  .roofs__big { grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; }
  .roofs__big .frame { height: auto; flex: 1; min-height: 560px; }
  .outside { align-items: stretch; }
  .o-main, .o-door { display: flex; flex-direction: column; align-self: stretch; }
  .o-main .frame, .o-door .frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
}
@media (max-width: 760px) {
  a.ph.roofs__big { display: none; }
  .roofs__small { max-width: none; margin-top: 8px; }
}
/* gate round */
.roofs > *, .outside > *, .made > *, .mosaic > *, .reviews > *, .contact > *, .job-row > *, .mf-ward > * { min-width: 0; }
.crumb { padding: 6px 0; }
input[type=file] { font-size: 16px; }
@media (min-width: 1025px) {
  .frame { max-height: calc(100svh - var(--nav-h) - 40px); }
  .roofs__big .frame { min-height: 0; }
}
@media (max-width: 760px) {
  .mf-ward { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1024px) {
  .m-kitchen { display: block; }
  .m-kitchen .frame { width: 100%; height: auto; min-height: 0; }
}

/* ===== v2 (client round 1): contractor layout ===== */
.sec-h { max-width: none; }
.intro { padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.intro__grid .h2 { grid-column: 1 / 6; }
.intro__text { grid-column: 7 / 13; }
.intro__text .lede { margin-top: 0; color: var(--ink); }
.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; }

.svcs { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: clamp(40px, 6vw, 88px); }
.svc { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.svc__ph { grid-column: 1 / 7; }
.svc__ph .frame { aspect-ratio: 4 / 3; }
.svc__text { grid-column: 8 / 13; }
.svc--flip .svc__ph { grid-column: 7 / 13; grid-row: 1; }
.svc--flip .svc__text { grid-column: 1 / 6; grid-row: 1; }
.svc__text h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; padding-top: 18px; border-top: 3px solid var(--sky); display: inline-block; }
.svc__text p { margin-top: 16px; color: var(--steel); font-size: 1.1rem; max-width: 30em; }

.proj-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.proj-head .lede { margin: 0; }
.proj-clad { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.pc-side { grid-column: 1 / 6; grid-row: 1; }
.pc-main { grid-column: 6 / 13; grid-row: 1; }
.pc-main .frame { aspect-ratio: 4 / 3; }
.pc-side h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.12; padding-top: 18px; border-top: 3px solid var(--sky); display: inline-block; }
.pc-side > p { margin-top: 14px; color: var(--steel); max-width: 32em; }
.pc-wide { margin-top: 28px; }
.pc-wide .frame { aspect-ratio: 943 / 526; }
.proj-grid { margin-top: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.proj-grid .frame { aspect-ratio: 3 / 4; }
.proj-grid .pg-a .frame { aspect-ratio: auto; height: 100%; }
.proj-grid .pg-a { display: flex; flex-direction: column; }
.proj-grid .pg-a .frame { flex: 1; min-height: 0; }
.ph figcaption, a.ph figcaption { margin-top: 10px; font-size: 14.5px; color: var(--steel); }

.rv3 { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.rv3 blockquote { border-top: 3px solid var(--sky); padding-top: 22px; }
.rv3 p { font-size: 1.12rem; line-height: 1.5; font-weight: 500; }

.jr-g { grid-column: 1 / 7; } .jr-h { grid-column: 7 / 13; }

@media (max-width: 1024px) {
  .intro__grid .h2, .intro__text { grid-column: 1 / -1; }
  .svc__ph, .svc--flip .svc__ph { grid-column: 1 / 8; grid-row: 1; }
  .svc__text, .svc--flip .svc__text { grid-column: 8 / 13; grid-row: 1; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid .pg-a { grid-column: 1 / -1; }
  .proj-grid .pg-a .frame { aspect-ratio: 16 / 10; height: auto; flex: none; }
  .rv3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc { gap: 18px; }
  .svc__ph, .svc--flip .svc__ph, .svc__text, .svc--flip .svc__text { grid-column: 1 / -1; grid-row: auto; }
  .pc-main, .pc-side { grid-column: 1 / -1; }
  .pc-main, .pc-side { grid-row: auto; }
  .pc-main .frame { aspect-ratio: 4 / 5; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-grid .pg-a .frame { aspect-ratio: 4 / 3; }
  .proj-grid .frame { aspect-ratio: 4 / 3; }
  .facts div { grid-template-columns: 90px 1fr; }
  .jr-g, .jr-h { grid-column: 1 / -1; }
}
.svc > *, .proj-clad > *, .proj-grid > *, .rv3 > *, .intro__grid > * { min-width: 0; }


/* ===== v3 (client round 2): weight, contrast, density ===== */
.lede { font-size: clamp(1.12rem, 1.35vw, 1.28rem); color: var(--ink-2, #1f262c); line-height: 1.55; }
.body, .svc__text p, .pc-side > p, .job-note p { color: var(--steel); }
figcaption, .cap, .ph figcaption, a.ph figcaption { font-size: 15.5px; color: var(--steel); }
.who { font-size: 16px; color: var(--steel); }
.facts dt { font-size: 16px; color: var(--steel); }
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid #c9d0d5; }
.sec-top .lede { margin: 0; }
.sec--ground { background: #eef1f3; }

/* services: 2x2, large photos, text under */
.svc-grid { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.svc2 { min-width: 0; }
.svc2__ph .frame { aspect-ratio: 3 / 2; }
.svc2__ph { margin: 0; }
.svc2 h3 { margin-top: 22px; font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.15; }
.svc2 p { margin-top: 10px; font-size: 1.1rem; color: var(--ink); max-width: 34em; }

/* projects: uniform clickable cards */
.pj-grid { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 40px); }
.pj { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid #c9d0d5; background: var(--white); transition: border-color .25s, box-shadow .25s; min-width: 0; }
.pj .frame { aspect-ratio: 3 / 2; max-height: none; }
.pj__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pj h3 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); letter-spacing: -0.015em; line-height: 1.2; }
.pj p { margin-top: 10px; color: var(--steel); font-size: 1.02rem; }
.pj__go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ink); }
.pj__go svg { width: 18px; height: 18px; color: var(--sky-ink, #1f78ad); transition: transform .25s; }
.pj:hover { border-color: var(--ink); box-shadow: 0 6px 24px rgba(14,17,20,.08); }
.pj:hover .pj__go svg { transform: translateX(4px); }
.pj:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* reviews */
.rvw { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); }
.rvw__head { grid-column: 1 / 5; }
.rvw__src { margin-top: 16px; color: var(--steel); }
.rvw__head .reviews-foot { margin-top: 24px; }
.rvw__list { grid-column: 5 / 13; }
.rvw__lead { padding: 0 0 32px; border-bottom: 1px solid #c9d0d5; }
.rvw__lead p { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.rvw__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); padding-top: 32px; }
.rvw__pair p { font-size: 1.15rem; line-height: 1.5; font-weight: 500; }

/* file input */
.lab { font-size: 15px; font-weight: 600; }
.lab small { font-weight: 400; color: var(--steel); }
.file { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px dashed #9aa4ac; padding: 12px; background: var(--white); }
.file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.file__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--ink); background: var(--ground); font: 600 16px/1 "IBM Plex Sans", sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.file__btn:hover { background: var(--ink); color: var(--white); }
.file input:focus-visible + .file__btn { outline: 3px solid var(--sky); outline-offset: 2px; }
.file__name { font-size: 16px; color: var(--steel); min-width: 0; overflow-wrap: anywhere; }
label { font-size: 16px; }

/* footer */
.foot { font-size: 16.5px; color: #e1e6ea; }
.foot h3 { font-size: 16.5px; }
.foot ul { gap: 10px; }
.foot__legal { font-size: 15.5px; color: #c3cbd1; }

/* job pages */
.job-wide--natural .frame { aspect-ratio: 1413 / 727; height: auto; max-height: none; }
.jr-wide { grid-column: 1 / 9; }
.jr-wide .frame { aspect-ratio: 896 / 347; max-height: none; }
.done li { font-size: 17px; }

@media (max-width: 1024px) {
  .rvw__head, .rvw__list { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .svc-grid, .pj-grid, .rvw__pair { grid-template-columns: 1fr; }
  .svc2 h3 { margin-top: 16px; }
  .pj__body { padding: 18px 18px 20px; }
  .jr-wide { grid-column: 1 / -1; }
}
