:root {
  --paper: #f9f8f4;
  --paper-2: #f1efe8;
  --ink: #1e1f1e;
  --ink-2: #55574f;
  --navy: #1b2f5c;
  --orange: #c8471a;
  --orange-dk: #a93a12;
  --rule: rgba(0, 0, 0, .1);
  --disp: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Sofia Sans", Arial, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; letter-spacing: -.01em; line-height: .98; margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: Jetson (12px corners, solid primary, 1px outlined secondary) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: var(--r); font: 700 17px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .choice:focus-visible, .linkbtn:focus-visible, .nav a:focus-visible, .fb:focus-visible, .mark:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-solid { background: var(--orange); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 500; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 16px; }
.btn-wide { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.mark-name { font: 800 27px/.9 var(--disp); color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.mark-sub { font: 700 12.5px/1.2 var(--body); color: var(--orange); margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: underline 1px transparent; text-underline-offset: 6px; font-size: 16px; color: var(--ink-2); padding: 6px 0; transition: text-decoration-color .15s ease, color .15s ease; }

/* hero: Sealed split, photo bleeds off the right edge */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 56px; padding: 64px 0 72px max(16px, calc((100% - 1200px) / 2)); }
.hero h1 { font-size: 56px; color: var(--navy); max-width: 11.5em; }
.hero-sub { font-size: 19px; color: var(--ink-2); margin: 20px 0 30px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 28px 0 0; font-size: 15px; font-weight: 500; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 15px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r) 0 0 var(--r); }

/* lead: Jetson centred paragraph */
.lead { padding: 40px 0 72px; border-top: 1px solid var(--rule); }
.lead p { max-width: 34em; margin: 0 auto; text-align: center; font-size: 25px; line-height: 1.4; }

/* services: Jetson's big word over the product */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; padding-bottom: 88px; }
.svc .big { font-size: clamp(56px, 7.4vw, 104px); color: var(--navy); letter-spacing: -.02em; margin-bottom: -.12em; position: relative; z-index: 1; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.svc ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.svc li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }

/* work: Quilt mosaic of photo tiles and colour fact tiles */
.work { padding: 72px 0 88px; border-top: 1px solid var(--rule); }
.work h2, .reviews h2 { font-size: 44px; color: var(--navy); margin-bottom: 32px; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 0; }
.tile { margin: 0; min-height: 300px; }
.tile.photo { position: relative; overflow: hidden; }
.tile.photo img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.tile.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 16px; color: #fff; font-size: 14.5px; font-weight: 500; background: var(--ink); }
.fact { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.fact-k { font: 800 46px/1 var(--disp); letter-spacing: -.01em; }
.fact p { margin: 10px 0 0; font-size: 17px; max-width: 18em; }
.f-orange { background: var(--orange); color: #fff; }
.f-navy { background: var(--navy); color: #fff; }
.f-paper { background: #fff; color: var(--navy); border: 1px solid var(--rule); text-decoration: none; transition: border-color .15s ease; }
.f-paper .fact-k { color: var(--orange); white-space: nowrap; }
.f-paper:active { transform: translateY(1px); }
.f-paper:focus-visible { outline: 2px solid var(--navy); outline-offset: -4px; }
.fact-link { margin-top: 14px; font-size: 15px; color: #fff; text-underline-offset: 3px; }

/* reviews */
.reviews { padding: 72px 0 88px; border-top: 1px solid var(--rule); }
.rev-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 56px; }
.rev { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); }
.rev p { margin: 0; font-size: 19px; line-height: 1.5; }
.rev footer { margin-top: 12px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.rev-main { grid-row: span 2; border-top: 2px solid var(--orange); }
.rev-main p { font: 700 34px/1.12 var(--disp); color: var(--navy); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 72px 0 96px; border-top: 1px solid var(--rule); }
.contact h2 { font-size: 44px; color: var(--navy); }
.ct-phone { display: inline-block; margin: 14px 0 26px; font: 800 52px/1 var(--disp); color: var(--orange); text-decoration: none; }
.ct-list { margin: 0 0 24px; border-top: 1px solid var(--rule); }
.ct-list div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ct-list dt { color: var(--ink-2); font-size: 15px; padding-top: 1px; }
.ct-list dd { margin: 0; }
.ct-list a { text-underline-offset: 3px; }
.fb { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 500; padding: 6px 0; }
.fb svg { color: #1877f2; }

/* text builder: Jetson-style boxed fields, 12px corners */
.ask { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.ask-h { grid-column: 1 / -1; margin: 0; font: 800 28px/1 var(--disp); color: var(--navy); }
.choices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.choice { font: 500 15.5px/1 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 11px 14px; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.choice:active { transform: translateY(1px); }
.choice[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.field-wide { grid-column: 1 / -1; }
.field input, .field textarea { font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid rgba(0, 0, 0, .14); border-radius: 10px; padding: 12px 14px; resize: vertical; transition: border-color .15s ease, background-color .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(27, 47, 92, .14); }
.field input[aria-invalid="true"] { border-color: var(--orange); }
.err { grid-column: 1 / -1; margin: 0; min-height: 0; color: var(--orange-dk); font-size: 15px; font-weight: 500; }
.err:empty { display: none; }
.err:not(:empty) { animation: rise .2s ease; }
.ready.out { animation: fall .2s ease forwards; }
@keyframes fall { to { opacity: 0; transform: translateY(6px); } }
.ask > .btn-wide { grid-column: 1 / -1; }
.ready { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; animation: rise .25s ease; }
.ready-msg { flex-basis: 100%; margin: 0; padding: 14px 16px; background: var(--paper); border-radius: 10px; font-size: 16px; white-space: pre-line; }
.linkbtn { background: none; border: 0; padding: 6px 0; font: 500 16px var(--body); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 32px 0 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; font-size: 15px; color: var(--ink-2); }
.foot-in > div { display: flex; flex-direction: column; }
.foot p { margin: 0; }
.foot a { text-underline-offset: 3px; }
.credit { width: 100%; font-size: 13.5px; }

.callbar { display: none; }

/* mouse-only hovers */
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--orange-dk); }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .nav a:hover { color: var(--ink); text-decoration-color: currentColor; }
  .choice:hover { border-color: var(--navy); }
  .choice[aria-pressed="true"]:hover { background: #142449; }
  .fb:hover span, .linkbtn:hover { color: var(--ink); }
  .f-paper:hover { border-color: var(--orange); }
  .fact-link:hover, .ct-list a:hover, .foot a:hover { text-decoration-thickness: 2px; }
}

/* tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 40px 16px 56px; }
  .hero-photo img { border-radius: var(--r); }
  .hero h1 { font-size: 50px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-bed { order: 5; }
  .f-paper { order: 6; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-main { grid-row: auto; }
}

/* phone */
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .top-in { min-height: 60px; gap: 12px; }
  .mark-name { font-size: 23px; }
  .mark-sub { font-size: 11px; }
  .top .btn-sm { display: none; }
  .hero { padding: 28px 16px 44px; gap: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; margin: 14px 0 22px; }
  .hero-photo { order: -1; }
  .hero-cta .btn { white-space: nowrap; padding: 0 14px; }
  .hero-cta .btn-solid { flex: 2 1 auto; }
  .hero-cta .btn-line { flex: 1 1 auto; }
  .proof .dot { display: none; }
  .proof { flex-direction: column; align-items: flex-start; }
  .lead { padding: 32px 0 52px; }
  .lead p { font-size: 20px; text-align: left; }
  .services { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; }
  .svc .big { font-size: 58px; }
  .work, .reviews { padding: 52px 0 60px; }
  .work h2, .reviews h2, .contact h2 { font-size: 36px; margin-bottom: 22px; }
  .tile { min-height: 210px; }
  .fact { padding: 18px; }
  .fact-k { font-size: 32px; }
  .f-paper .fact-k { font-size: 27px; }
  .fact p { font-size: 15px; }
  .tile.photo figcaption { font-size: 13px; padding: 8px 12px; }
  .rev p { font-size: 17px; }
  .rev-main p { font-size: 27px; }
  .contact { padding: 52px 0 64px; }
  .ct-phone { font-size: 44px; }
  .ask { grid-template-columns: 1fr; padding: 20px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--rule); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--orange); color: #fff; }
  .callbar a:last-child { border: 1px solid var(--ink); }
  .callbar a:active { transform: translateY(1px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
