﻿:root {
  color-scheme: dark;
  --black: #101010;
  --gold: #d4af37;
  --pale-gold: #f1d886;
  --white: #fff;
  --muted: #c1bdb5;
  --line: #39342a;
  --display: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--pale-gold); outline-offset: 4px; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.04; }
h1, h2 { font: 400 clamp(2.55rem, 5.3vw, 5.15rem)/1.02 var(--display); letter-spacing: -.055em; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; }
em { color: var(--pale-gold); }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
section[id] { scroll-margin-top: 86px; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: .6rem 1rem; background: var(--black); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: #101010f5; border-bottom: 1px solid var(--line); }
.bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--pale-gold); font: 700 1.35rem/1 var(--display); letter-spacing: .15em; white-space: nowrap; }
.mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); font-size: 1.75rem; font-style: italic; letter-spacing: 0; }
.mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-small { display: block; margin-top: .28rem; font: 650 .7rem/1 "Segoe UI", Arial, sans-serif; letter-spacing: .19em; }
.bar nav, footer nav { display: flex; align-items: center; gap: clamp(.8rem, 2.35vw, 2rem); }
.bar nav a, footer nav a { font-size: .92rem; font-weight: 600; }
nav a:hover { color: var(--pale-gold); }

.button, .menu { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .66rem 1.1rem; border: 1px solid var(--gold); font-weight: 700; font-size: .9rem; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.menu { display: none; }
.bar .button { min-height: 42px; }
.button:hover { transform: translateY(-2px); }
.gold { color: #171208; background: linear-gradient(125deg, #fae4a0, var(--gold) 72%); }
.gold:hover { color: #171208; background: var(--pale-gold); }
.outline, .menu { color: var(--pale-gold); background: transparent; }
.outline:hover, .menu:hover { background: #d4af371c; }
.button:disabled { opacity: .65; cursor: default; transform: none; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 81% 43%, #372609 0%, #17130f 38%, var(--black) 74%); }
.hero-grid { min-height: min(690px, 90vh); padding-block: clamp(4rem, 8vw, 7.5rem); display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.eyebrow { color: var(--pale-gold); font-size: .875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { font-size: .67em; margin-inline: .2em; }
.hero h1 { font-size: clamp(3.1rem, 6.15vw, 6rem); text-wrap: initial; }
.hero h1 em { display: block; }
.hero-copy > p:not(.eyebrow) { max-width: 38ch; }
.intro { margin: 1.35rem 0 .3rem; color: var(--white); font-weight: 650; font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

.hero-art { align-self: center; border: 1px solid #d4af3769; padding: .85rem; min-width: 0; background: linear-gradient(140deg, #d4af3715, #10101050); box-shadow: 0 25px 80px #0007; }
.art-frame { aspect-ratio: 1.05; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; background: radial-gradient(ellipse, #30200b 0%, #17110a 56%, #0e0c09 100%); }
.art-frame::before, .art-frame::after { content: ""; position: absolute; inset: 6%; border: 1px solid #d4af3733; }
.art-frame::after { inset: 9%; border-color: #d4af371a; }
.art-frame i { position: absolute; width: 105%; height: 35%; border: 1px solid #d4af3777; border-radius: 50%; transform: rotate(-31deg); box-shadow: 0 0 22px #d4af3728; }
.art-frame i:nth-child(2) { transform: rotate(35deg); }
.art-frame i:nth-child(3) { transform: rotate(78deg); }
.art-letter { z-index: 1; font: italic 400 70cqi/.9 var(--display); padding-right: .16em; color: var(--gold); background: linear-gradient(123deg, #8e5e1c 3%, #fce79b 31%, #b17b27 47%, #f6d67f 57%, #8b5519 85%); background-size: 150% 100%; background-clip: text; -webkit-text-fill-color: transparent; animation: glint 9s ease-in-out infinite alternate; }
@keyframes glint { to { background-position: 100% 0; } }

.section { padding-block: clamp(3.8rem, 7vw, 7rem); }
.band { background: #151411; border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { text-wrap: initial; }
.section-head > p:last-child:not(.eyebrow), .quote-grid h2 + p { margin-top: .9rem; max-width: 56ch; }
.services-grid, .work-grid, .pricing-grid, .about-grid, .quote-grid { display: grid; gap: 1rem; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-grid article, .price-card, .project { border: 1px solid var(--line); background: #171613; transition: border-color .2s, transform .2s; }
.services-grid article:hover, .price-card:hover, .project:hover { border-color: var(--gold); transform: translateY(-3px); }
.services-grid article, .price-card { padding: clamp(1.15rem, 2.4vw, 1.85rem); }
.services-grid h3 + p, .project h3 + p { margin: .7rem 0 0; }
.service-icon { display: block; font-size: 1.8rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }

.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-art { aspect-ratio: 1.65; display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
.project-info { padding: 1.4rem; }
.project-info .eyebrow { margin-bottom: .55rem; }

.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { display: flex; flex-direction: column; align-items: flex-start; }
.featured { border-color: var(--gold); background: linear-gradient(140deg, #2b2314, #171613 70%); }
.price-card h3 + p { margin: 1rem 0 0; }
.price { margin-bottom: .65rem; font: 400 clamp(2.6rem, 5vw, 4.4rem)/1.08 var(--display); color: var(--pale-gold); }
.price-card ul { padding-left: 1.2rem; margin: 0 0 1.4rem; }
.price-card li::marker { color: var(--gold); }
.price-card .button { margin-top: auto; }
.about-grid, .quote-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.about-grid { align-items: center; }
.about-copy p:last-child { margin-bottom: 0; }

form { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: #171613; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: block; margin-bottom: .9rem; font-weight: 600; }
label span { color: var(--muted); font-weight: 400; }
input, select, textarea { display: block; width: 100%; margin-top: .3rem; border: 1px solid #756b54; border-radius: 0; background: var(--black); color: var(--white); padding: .55rem .7rem; }
textarea { resize: vertical; }
.footer-location a { color: var(--pale-gold); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
#form-status { color: var(--pale-gold); margin: .8rem 0 0; }
#form-status:empty { margin: 0; }
footer { background: #0c0c0c; border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-grid p { margin: .4rem 0 0; }
.arrive { animation: arrive .55s ease-out both; }
@keyframes arrive { from { opacity: .6; translate: 0 12px; } }

@media (max-width: 950px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 66px; flex-wrap: wrap; padding-block: .6rem; }
  .bar nav { width: 100%; flex-wrap: wrap; }
  .menu:not([hidden]) { display: inline-flex; }
  .menu[aria-expanded="false"] + nav { display: none; }
  .menu[hidden] + nav { display: flex; }
  .hero-grid, .about-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 2rem; }
  .hero-art { width: min(100%, 420px); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 490px) {
  .services-grid, .work-grid, .field-grid { grid-template-columns: 1fr; }
  .field-grid { gap: 0; }

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

.brand-emblem { display: block; width: auto; height: 58px; }
.brand-emblem:not([hidden]) ~ span { display: none; }
.hero-emblem { display: block; width: 100%; height: auto; }
.hero-art:has(.hero-emblem:not([hidden])) .art-frame { aspect-ratio: 3 / 2; }
.art-frame:has(.hero-emblem:not([hidden]))::before,
.art-frame:has(.hero-emblem:not([hidden]))::after,
.hero-emblem:not([hidden]) ~ * { display: none; }

/* Agency refinements */
:root { --black: #0b0b0b; --line: #3f3524; }
section[id] { scroll-margin-top: 104px; }
.header { background: #090909f7; }
.bar { min-height: 88px; }
.brand-emblem { height: 76px; mix-blend-mode: lighten; }
.hero { position: relative; isolation: isolate; background: #090909; }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: -22% -12%;
  content: "";
  background: radial-gradient(ellipse at 75% 55%, #a36d222d, transparent 50%);
  animation: ambient 12s ease-in-out infinite alternate;
}
@keyframes ambient {
  from { opacity: .55; transform: translate3d(0, 0, 0); }
  to { opacity: .95; transform: translate3d(-3%, -2%, 0); }
}
.hero-grid { min-height: min(730px, 90vh); grid-template-columns: 1.23fr 1fr; gap: clamp(1rem, 3vw, 3rem); }
.hero h1 { font-size: clamp(2.35rem, 4.95vw, 4.75rem); letter-spacing: -.06em; }
.hero-art, .hero-art:has(.hero-emblem:not([hidden])) .art-frame { background: transparent; border: 0; padding: 0; box-shadow: none; }
.hero-art { mix-blend-mode: lighten; }
.hero-emblem { height: auto; object-fit: contain; }
.gold {
  border-color: #ebcb69;
  background: linear-gradient(165deg, #fff0b8 0%, #e5c362 41%, #b68627 43%, #e7c45f 100%);
  box-shadow: inset 0 1px #fff5bd, 0 5px 22px #b185252d;
}
.gold:hover { background: linear-gradient(165deg, #fff5d0, #f3d47e 50%, #ce9c3e); box-shadow: 0 8px 28px #cfa13d50; }
.services-grid, .work-grid, .pricing-grid { gap: clamp(.85rem, 2vw, 1.4rem); }
.services-grid article, .price-card { background: linear-gradient(145deg, #1c1913, #10100f 80%); }
.service-icon { width: 44px; height: 44px; padding: 9px; border: 1px solid #ab864963; background: #d4af3710; }
.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project { display: flex; flex-direction: column; overflow: hidden; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.project-info .button { margin-top: auto; }
.project-cover { width: 82%; padding: 1rem; display: grid; gap: .45rem; }
.project-cover span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.project-cover strong { display: block; font: 400 clamp(1.25rem, 8cqi, 2.3rem)/1.06 var(--display); }
.obsidian { background: repeating-linear-gradient(125deg, #142027 0 28px, #192931 29px 30px, #10191e 31px 55px); color: #e2f0f7; }
.obsidian .project-cover { border-block: 1px solid #83bfd2; }
.ember { background: radial-gradient(circle at 85% 100%, #9c422a, #662c24 51%, #411d18); color: #fff0cc; }
.ember .project-cover { border: 1px solid #efb884; border-radius: 45% 45% 0 0; padding-top: 1.65rem; text-align: center; }
.ironline { background: linear-gradient(135deg, #f0a749 45%, #232a27 45%); color: #fff; }
.ironline .project-cover { background: #242e2a; border-left: 4px solid #ffc36e; }
.ironline strong { font-family: "Segoe UI", sans-serif; font-weight: 850; text-transform: uppercase; }

.price-card { border-color: #69522b; }
.price-card.featured { background: linear-gradient(145deg, #332716, #15130f 78%); border-color: var(--gold); box-shadow: inset 0 3px var(--gold); }
.price-card .starting { margin: .9rem 0 0; }
.package-badge { margin: .7rem 0 0; color: var(--pale-gold); font-size: .88rem; font-weight: 700; }
.package-badge span { color: var(--muted); font-weight: 400; }
.maintenance {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.4rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #15130f;
  border: 1px solid #69522b;
}
.maintenance ul { margin: 0 0 .4rem; padding-left: 1.15rem; }
.maintenance p { margin: 0; }
.maintenance .price span { font: 500 1rem "Segoe UI", sans-serif; margin-left: .22em; }
.pricing-note { margin: 1rem 0 0; }
footer { background: #080808; padding: 2.6rem 0 1.2rem; }
footer nav { flex-wrap: wrap; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1.6rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-base a:hover { color: var(--pale-gold); }
.arrive { animation: arrive .7s cubic-bezier(.22,.61,.36,1) both; }
@keyframes arrive { from { opacity: .68; translate: 0 16px; } }

@media (max-width: 950px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maintenance { grid-template-columns: 1fr 1fr; }
  .maintenance .button { justify-self: start; }
}
@media (max-width: 760px) {
  .bar { min-height: 72px; }
  .brand-emblem { height: 64px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: clamp(2.65rem, 8.6vw, 4.7rem); }
  .hero-art { width: min(100%, 510px); margin-inline: auto; }
}
@media (max-width: 540px) {
  .work-grid, .maintenance { grid-template-columns: 1fr; }
}
.project-info h3 + p { margin-bottom: 1rem; }
