/* Self-hosted fonts. Latin subset, same files Google Fonts serves.
   Archivo is a variable font, so one file covers weights 400-600. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/archivo-variable.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* FrameCore LLC — stylesheet
   Palette sampled from the client logo: black, gold, silver. */

:root {
  --black: #000000;
  --surface: #111111;
  --rule: #262626;
  --text: #f0f0f0;
  --text-2: #a3a3a3;
  --gold: #c9953a;
  --gold-dark: #b88838;
  --on-gold: #0a0800;

  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--black); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.nav, .list, .steps, .areas-list, .footer ul, .strip ul { list-style: none; }
h1, h2, h3 { margin: 0; }
h1, h2, .display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-family: var(--font); font-weight: 600; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.muted { color: var(--text-2); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 52ch; }

/* Header */
.header { border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(6px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand b { color: var(--gold); font-weight: inherit; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .phone { color: var(--on-gold); background: var(--gold); padding: 9px 14px; font-weight: 600; }
.nav .phone:hover { background: var(--gold-dark); color: var(--on-gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule); color: var(--text); padding: 8px 12px; font-size: 0.9rem; cursor: pointer; }
@media (max-width: 800px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .nav .phone { margin-top: 14px; text-align: center; border: 0; }
}

/* Buttons */
.btn { display: inline-block; padding: 15px 26px; background: var(--gold); color: var(--on-gold); text-decoration: none; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; }
.btn:hover { background: var(--gold-dark); }
.link { color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); font-weight: 500; }
.link:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 36px; }

/* Split hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); border-bottom: 1px solid var(--rule); }
.hero-text { padding: clamp(56px, 9vw, 128px) clamp(24px, 6vw, 88px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-text .label { margin-bottom: 22px; }
.hero-text h1 { max-width: 11ch; }
.hero-text h1 em { font-style: normal; color: var(--gold); }
.hero-text .lede { margin-top: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--text-2); }
.hero-facts b { color: var(--text); font-weight: 500; display: block; }
.hero-photo { margin: 0; position: relative; min-height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, 0.6); padding: 6px 10px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 4 / 5; max-height: 62vh; }
  .hero-text { padding-left: var(--gutter); padding-right: var(--gutter); padding-top: clamp(36px, 8vw, 56px); }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:last-child { grid-column: 1 / -1; }
}

/* Gold services band */
.strip { background: var(--gold); color: var(--on-gold); border-bottom: 1px solid var(--gold-dark); }
.strip ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.45vw, 1.35rem); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.strip li { display: flex; }
.strip a { flex: 1; padding: 15px 12px; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.strip a:hover { background: rgba(10, 8, 0, 0.12); }
.strip li + li { box-shadow: inset 1px 0 0 rgba(10, 8, 0, 0.22); }
@media (max-width: 860px) { .strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .strip li:nth-child(3n+1) { box-shadow: none; } .strip li:nth-child(n+4) { box-shadow: inset 1px 0 0 rgba(10,8,0,.22), inset 0 1px 0 rgba(10,8,0,.22); } .strip li:nth-child(4) { box-shadow: inset 0 1px 0 rgba(10,8,0,.22); } }
@media (max-width: 520px) { .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip li { box-shadow: none !important; padding: 12px 10px; } .strip li:nth-child(2n) { box-shadow: inset 1px 0 0 rgba(10,8,0,.22) !important; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 14px clamp(32px, 5vw, 64px); margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head h2 { max-width: 14ch; }
.section-head .lede { max-width: 42ch; margin: 0; padding-bottom: 6px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Featured work */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.feature figure { margin: 0; }
.feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; background: var(--surface); }
.feature-side { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.feature-side figure { display: flex; flex-direction: column; min-height: 0; }
.feature-side img { flex: 1; min-height: 0; aspect-ratio: auto; }
.feature-note { margin: clamp(28px, 3.5vw, 44px) 0 0; padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--rule); color: var(--text-2); max-width: 64ch; }
.feature figcaption, .gallery figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--text-2); line-height: 1.45; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature img, .feature-side img { height: auto; aspect-ratio: 4 / 5; }
  .feature-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-side figcaption { font-size: 0.8rem; }
}

/* Services list */
.list { border-top: 1px solid var(--rule); }
.list li { display: grid; grid-template-columns: 52px minmax(0, 1.05fr) minmax(0, 1.35fr) 120px; gap: 8px 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); transition: background 0.15s; }
.list li:hover { background: #0c0c0c; }
.list .n { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.list h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.list h3 a { text-decoration: none; }
.list li:hover h3 a { color: var(--gold); }
.list p { margin: 0; color: var(--text-2); font-size: 0.98rem; }
.list img { width: 120px; height: 120px; object-fit: cover; background: var(--surface); justify-self: end; }

@media (max-width: 760px) {
  .list li { grid-template-columns: 36px minmax(0, 1fr) 84px; gap: 6px 16px; align-items: start; padding: 18px 0; }
  .list p { grid-column: 2 / 3; }
  .list img { width: 84px; height: 84px; grid-row: 1 / 3; grid-column: 3; align-self: center; }
  .list h3 { font-size: 1.45rem; }
}

/* Areas as big type */
.areas-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1; margin-top: 20px; border-top: 1px solid var(--rule); }
.areas-list li { padding: 22px 0; border-bottom: 1px solid var(--rule); position: relative; padding-left: 34px; }
.areas-list li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; background: var(--gold); }
@media (max-width: 860px) { .areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .areas-list { grid-template-columns: 1fr; } .areas-list li { padding: 16px 0 16px 26px; } }
.areas-note { margin-top: 28px; color: var(--text-2); max-width: 52ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); border-top: 1px solid var(--rule); padding-top: 32px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.steps p { margin: 6px 0 0; color: var(--text-2); font-size: 0.98rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Big phone block */
.call { border-top: 1px solid var(--rule); background: var(--surface); padding: clamp(56px, 8vw, 112px) 0; }
.call .num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 11vw, 10rem); line-height: 0.9; color: var(--gold); text-decoration: none; margin: 14px 0 22px; letter-spacing: 0.01em; }
.call .num:hover { color: var(--text); }
.call-row { display: flex; flex-wrap: wrap; gap: 12px 40px; color: var(--text-2); font-size: 1rem; }
.call-row a { color: var(--text); text-decoration: none; }
.call-row a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* Page title */
.page-title { padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 5vw, 56px); }
.page-title .label { display: block; margin-bottom: 18px; }
.page-title .lede { margin-top: 22px; }

/* Gallery, first tile large */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 28px 24px; }
.gallery > figure:not(.big) { aspect-ratio: 4 / 5.35; }
.gallery figure { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.gallery img { width: 100%; flex: 1; min-height: 0; object-fit: cover; background: var(--surface); }
.gallery figcaption { min-height: 2.7em; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px 16px; }
  .gallery > figure, .gallery > figure:not(.big) { aspect-ratio: auto; }
  .gallery img { aspect-ratio: 4 / 5; flex: none; }
  .gallery figcaption { min-height: 0; }
  .gallery .big { grid-column: span 2; grid-row: auto; }
  .gallery .big img { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) { .gallery { gap: 16px 12px; } .gallery figcaption { min-height: 0; font-size: 0.8rem; } }
@media (max-width: 360px) { .gallery { grid-template-columns: 1fr; } .gallery .big { grid-column: auto; } }

/* Service detail */
.service { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.service .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.service .service-body { grid-column: 1; grid-row: 1; }
.service .service-photo { grid-column: 2; grid-row: 1; }
.service--flip .wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.service--flip .service-body { grid-column: 2; grid-row: 1; }
.service--flip .service-photo { grid-column: 1; grid-row: 1; }

.service .n { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--gold); margin-bottom: 8px; }
.service h2 { margin-bottom: 14px; }
.service .lede { margin-bottom: 14px; }
.service ul { list-style: disc; padding-left: 20px; columns: 2; column-gap: 32px; color: var(--text-2); font-size: 0.98rem; margin-top: 16px; }
.service ul li { break-inside: avoid; padding: 3px 0; }
.service-photo { margin: 0; }
.service-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }

@media (max-width: 900px) {
  .service .wrap, .service--flip .wrap { grid-template-columns: 1fr; gap: 28px; }
  .service .service-body, .service .service-photo,
  .service--flip .service-body, .service--flip .service-photo { grid-column: 1; }
  .service .service-body, .service--flip .service-body { grid-row: 1; }
  .service .service-photo, .service--flip .service-photo { grid-row: 2; }
  .service-photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .service ul { columns: 1; }
  .service-photo img { aspect-ratio: 4 / 5; }
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); padding-bottom: 20px; max-width: 60ch; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose p { max-width: 62ch; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.about-photo figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--text-2); line-height: 1.45; }
.promises { counter-reset: item; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--rule); }
.promises li { counter-increment: item; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.promises li::before { content: counter(item, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--display); color: var(--gold); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.promises li:last-child { grid-column: 1 / -1; }
.promises h3 { font-size: 1.1rem; }
.promises p { margin: 0; color: var(--text-2); font-size: 0.96rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } .promises { grid-template-columns: 1fr; } }

/* Form */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.field { display: block; margin-bottom: 20px; }
.field span { display: block; font-size: 0.9rem; margin-bottom: 8px; }
.field small { color: var(--text-2); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; background: var(--surface); border: 1px solid var(--rule); color: var(--text); color-scheme: dark; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.status { margin-top: 14px; font-size: 0.95rem; }
.status.ok { color: #8fd19e; }
.status.err { color: #f2a7a0; }
.hp { position: absolute; left: -9999px; }
.aside .big-num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--gold); text-decoration: none; margin-bottom: 24px; }
.aside dl div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.aside dl div:first-child { border-top: 1px solid var(--rule); }
.aside dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.aside dd { margin: 0; }
.aside dd a { text-decoration: none; }
.aside dd a:hover { text-decoration: underline; }
.aside .note { margin-top: 24px; color: var(--text-2); font-size: 0.95rem; }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding: 40px 0 32px; color: var(--text-2); font-size: 0.9rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.footer .brand { font-size: 1.25rem; color: var(--text); }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .copy { width: 100%; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.82rem; }

@media print { .header, .footer, .menu-btn, .strip { display: none; } body { background: #fff; color: #000; } }
