/* Almora Construction
   The idea: the site reads like a set of construction drawings.
   Paper, navy ink, one royal blue. Each section is a "sheet" with a title block. */
:root {
  --paper: #f4f5f2;
  --paper-2: #e6e9ec;
  --ink: #0c1f3f;
  --ink-2: #4a5568;
  --line: #0c1f3f;
  --hair: #c3cad3;
  --blue: #1d5fd1;
  --blue-2: #6fa0ff;
  --navy-text: #b3c0d6;
  --navy-dim: #8295b5;
  --pad: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 "Barlow", system-ui, sans-serif;
  padding-bottom: 72px; /* room for the phone call bar */
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}
p { margin: 0 0 14px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--paper); padding: 8px 12px; border: 2px solid var(--line); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { text-decoration: none; display: block; }
.brand b { display: block; font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%; font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.brand small { display: block; font: 500 8.5px/1 "IBM Plex Mono", monospace; letter-spacing: .42em; margin-top: 3px; }
.nav-links { display: none; }
.nav-links a { text-decoration: none; font-weight: 500; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.call-sm { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Mobile menu (no JS) */
.menu { position: static; }
.menu summary {
  list-style: none; cursor: pointer; border: 2px solid var(--line);
  height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 8px;
  font: 600 15px/1 "Barlow", sans-serif;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu[open] summary i { box-shadow: none; transform: rotate(45deg); }
.menu[open] summary i::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; transform: rotate(90deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 58px; background: var(--paper);
  border-bottom: 2px solid var(--line); padding: 8px var(--pad) 20px;
}
.menu-panel a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font: 700 26px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.menu-panel a span { font: 400 12px/2 "IBM Plex Mono", monospace; color: var(--ink-2); }
.menu-panel .btn { margin-top: 16px; width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  font: 600 18px/1 "Barlow", sans-serif;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
}
.btn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.solid:hover { background: #174fb0; border-color: #174fb0; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Title block + sheets ---------- */
.tb { display: inline-grid; grid-template-columns: auto auto; border: 2px solid var(--line); margin-bottom: 22px; max-width: 100%; }
.tb > span { padding: 6px 10px; }
.tb .no { border-right: 2px solid var(--line); background: var(--ink); color: var(--paper); font-weight: 500; }
.sheet { border-bottom: 2px solid var(--line); padding: 56px 0; }
.sheet.alt { background: var(--paper-2); }
.sheet h2 { font-size: clamp(40px, 9vw, 72px); margin-bottom: 16px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 38em; }
.more { display: inline-block; margin-top: 18px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Home hero: text on paper, video in a framed sheet ---------- */
.hero { border-bottom: 2px solid var(--line); }
.hero .wrap { padding-top: 36px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(48px, 13vw, 104px); max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.sub { font-size: 19px; color: var(--ink-2); max-width: 32em; margin: 18px 0 24px; }
.hero-frame { margin: 36px 0 0; border: 2px solid var(--line); }
.hero-media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 2px solid var(--line); background: var(--paper); }
.hero-frame figcaption span + span { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid var(--line); border-top: 0; }
.facts div { padding: 14px 12px; border-bottom: 1px solid var(--hair); }
.facts div:nth-child(odd) { border-right: 1px solid var(--hair); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts b { display: block; font: 700 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.facts .mono { color: var(--ink-2); }

/* ---------- Page header (inner pages) ---------- */
.page-head { border-bottom: 2px solid var(--line); padding: 40px 0 44px; }
.crumbs { margin-bottom: 18px; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(52px, 13vw, 112px); margin-bottom: 16px; }
.page-head h1 em { font-style: normal; color: var(--blue); }
.page-head .lede { margin-bottom: 24px; }

/* ---------- Photo placeholder ---------- */
.ph {
  position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--line);
  background: repeating-linear-gradient(45deg, transparent 0 9px, var(--hair) 9px 10px), var(--paper-2);
  display: grid; place-items: center; overflow: hidden;
}
.ph.wide { aspect-ratio: 16 / 9; }
.ph span { background: var(--paper); padding: 4px 8px; border: 1px solid var(--line); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service list / cards ---------- */
.svc { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--line); }
.svc li { border-bottom: 1px solid var(--hair); }
.svc a { display: grid; grid-template-columns: 44px 1fr 24px; gap: 4px 12px; padding: 20px 0; text-decoration: none; align-items: start; }
.svc .n { grid-row: span 2; color: var(--blue); font: 500 14px/1.6 "IBM Plex Mono", monospace; }
.svc h3 { font-size: 30px; }
.svc p { margin: 0; color: var(--ink-2); grid-column: 2; }
.svc .arr { grid-row: 1; grid-column: 3; font-size: 22px; line-height: 1; transition: transform .15s; }
.svc a:hover .arr { transform: translateX(4px); }
.svc a:hover h3 { color: var(--blue); }

.cards { display: grid; gap: 28px; margin-top: 28px; }
.card figcaption { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--line); border-top: 0; background: var(--paper); }
.card figcaption > * { padding: 10px 12px; }
.card h3 { font-size: 24px; }
.card .where { color: var(--ink-2); margin-top: 4px; display: block; }
.card .yr { border-left: 2px solid var(--line); display: grid; place-items: center; }
figure { margin: 0; }

/* ---------- Two column text + image ---------- */
.split { display: grid; gap: 28px; }
.split p { max-width: 34em; }
.sig { font: 700 26px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; margin-top: 8px; }

/* ---------- Checklist / steps ---------- */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; border-top: 2px solid var(--line); }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--hair); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; display: grid; gap: 0; border-top: 2px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: 700 40px/1 "Barlow Condensed", sans-serif; color: var(--blue); }
.steps h3 { font-size: 26px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; border-top: 2px solid var(--line); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 19px/1.3 "Barlow", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 28px/1 "IBM Plex Mono", monospace; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); max-width: 40em; padding-bottom: 6px; }

/* ---------- Area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.area-list li { border: 2px solid var(--line); padding: 6px 12px; font-weight: 500; }

/* ---------- Contact band (navy) ---------- */
.contact { background: var(--ink); color: var(--paper); border-bottom: 0; }
.contact .tb { border-color: var(--paper); }
.contact .tb .no { background: var(--blue); color: #fff; border-color: var(--paper); }
.contact .lede { color: var(--navy-text); }
.contact .btn { border-color: var(--paper); color: var(--paper); }
.contact .btn.solid { border-color: var(--blue); color: #fff; }
.big-phone { display: block; margin: 24px 0; text-decoration: none; font: 700 clamp(44px, 12vw, 96px)/1 "Barlow Condensed", sans-serif; }
.big-phone:hover { color: var(--blue-2); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 32px 0 0; }
.contact dt { color: var(--navy-dim); }
.contact dd { margin: 0; }

/* ---------- Estimate form ---------- */
.form { display: grid; gap: 16px; margin-top: 8px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: 400 17px/1.4 "Barlow", sans-serif; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 0; padding: 12px; width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--blue-2); outline-offset: 0; }
.form .note { font-size: 15px; color: var(--ink-2); margin: 0; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--navy-dim); border-top: 1px solid #23395e; padding: 36px 0 28px; }
footer .cols { display: grid; gap: 24px; }
footer .brand { color: var(--paper); }
footer h4 { margin: 0 0 10px; color: var(--paper); font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; color: var(--navy-text); }
footer a:hover { color: #fff; text-decoration: underline; }
footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid #23395e; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Phone call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--line); background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; text-decoration: none; font-weight: 600; font-size: 18px; }
.callbar a + a { background: var(--blue); color: #fff; }
.callbar svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
}

@media (min-width: 900px) {
  :root { --pad: 32px; }
  body { padding-bottom: 0; }
  .callbar, .menu { display: none; }
  .nav-links { display: flex; gap: 22px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(72px, 7.2vw, 104px); max-width: 17ch; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { border-bottom: 0; border-right: 1px solid var(--hair); padding: 16px; }
  .facts div:last-child { border-right: 0; }
  .page-head { padding: 64px 0 72px; }
  .page-head-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
  .sheet { padding: 88px 0; }
  .svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .split.top { align-items: start; }
  .contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  .call-sm { display: none; }
}

/* small-screen fixes */
.page-head-grid > .ph { margin-top: 32px; }
@media (min-width: 900px) { .page-head-grid > .ph { margin-top: 0; } }
@media (max-width: 899px) { .call-sm { display: none; } }
.menu-panel a.btn { justify-content: center; border-bottom: 2px solid var(--blue); font: 600 18px/1 "Barlow", sans-serif; text-transform: none; padding: 0 22px; }
