:root {
  color-scheme: dark;
  --black: #10100f;
  --panel: #171614;
  --white: #f5f0e8;
  --muted: #bdb6aa;
  --gold: #d7b783;
  --line: #383129;
  --display: "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section[id] { scroll-margin-top: 6rem; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }

.skip-link { position: fixed; inset: 1rem auto auto 1rem; z-index: 5; padding: .6rem 1rem; background: var(--gold); color: var(--black); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 2; background: #10100ff5; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 5rem; }
.brand { display: block; flex: none; width: 7.5rem; }
.brand img { width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.5rem); color: var(--muted); font-size: .9rem; }
nav a, .site-footer a { transition: color .2s; }
nav a:hover, .site-footer a:hover { color: var(--gold); }
.menu-toggle { border: 1px solid var(--line); background: transparent; color: var(--white); padding: .45rem .8rem; min-height: 44px; font: inherit; cursor: pointer; }

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; min-height: clamp(35rem, 49vw, 48rem); }
.hero-copy { position: relative; z-index: 1; padding-block: 5rem; }
.hero-art { align-self: stretch; position: relative; margin-right: min(0px, calc((75rem - 100vw) / 2)); overflow: hidden; background: #161410; }
.hero-art img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 53% center; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black), transparent 29%), linear-gradient(0deg, #10100f8c, transparent 25%); pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--gold); font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1, h2 { line-height: 1; letter-spacing: -.055em; }
h1 { font-size: clamp(3.35rem, 6.3vw, 6.35rem); margin: 1.4rem 0; }
h2 { font-size: clamp(2.85rem, 5vw, 4.9rem); margin-top: .65rem; }
em { color: var(--gold); font-weight: inherit; }
.intro { max-width: 34ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.2rem; font-size: .875rem; font-weight: 650; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.button-gold { background: var(--gold); color: #17120d; }
.button-gold:hover { background: #f0d1a0; }
.button-outline { border-color: #76654e; color: var(--white); }
.button-outline:hover { border-color: var(--gold); background: #d7b78313; color: var(--gold); }

.section { padding-block: clamp(4rem, 8vw, 7.5rem); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-heading > p { max-width: 37ch; }
.section p:not(.eyebrow, .project-label) { color: var(--muted); }
h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.13; margin-bottom: .6rem; }
.service-grid, .portfolio-grid, .process-grid { display: grid; gap: 1rem; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel), var(--black)); padding: clamp(1.25rem, 3vw, 2rem); transition: border-color .25s, background .25s; }
.service:hover { border-color: #9b805c; background: var(--panel); }
.service-mark { display: block; position: relative; width: 2rem; height: 2rem; margin-bottom: 1.6rem; color: var(--gold); }
.design-mark { border: 1px solid; box-shadow: inset 0 6px var(--black); background: linear-gradient(currentColor, currentColor) 0 6px / 100% 1px no-repeat; height: 1.65rem; }
.development-mark::before, .development-mark::after { content: ""; position: absolute; width: .8rem; height: .8rem; border: solid currentColor; border-width: 0 0 1px 1px; top: .45rem; left: .15rem; transform: rotate(45deg); }
.development-mark::after { left: 1rem; transform: rotate(225deg); }
.marketing-mark { border-bottom: 1px solid; background: linear-gradient(currentColor, currentColor) 15% bottom / 3px 35% no-repeat, linear-gradient(currentColor, currentColor) 50% bottom / 3px 60% no-repeat, linear-gradient(currentColor, currentColor) 85% bottom / 3px 85% no-repeat; height: 1.65rem; }

.portfolio { background: #141311; }
.portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.portfolio-grid article { border: 1px solid var(--line); }
.project-art { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; }
.project-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-art-dark { background: radial-gradient(ellipse at top right, #5d5140, #22201c 65%); }
.mock-site { width: 74%; aspect-ratio: 1.8; display: grid; grid-template: 14% 1fr 1fr / 1.1fr 1fr; gap: 8%; padding: 5%; border: 1px solid #a38a66; box-shadow: 0 12px 36px #0007; transform: rotate(-5deg); transition: transform .35s ease; }
.portfolio-grid article:hover .mock-site { transform: rotate(0); }
.dark-site { background: #191816; color: #c9a678; transform: rotate(5deg); }
.mock-site span:nth-child(1) { grid-column: 1 / -1; border-bottom: 1px solid currentColor; opacity: .5; }
.mock-site span:nth-child(2) { align-self: end; height: 68%; background: linear-gradient(currentColor 38%, transparent 38% 59%, currentColor 59%) left center / 86% 100% no-repeat; }
.mock-site span:nth-child(3) { grid-column: 2; grid-row: 2 / 4; background: linear-gradient(135deg, #ae9371, #342e25); }
.dark-site span:nth-child(3) { background: linear-gradient(110deg, #33291e 15%, #a38a60 52%, #463c2d 54%, #211c18 86%); }
.mock-site span:nth-child(4) { height: 22%; width: 46%; background: currentColor; opacity: .65; }
.project-caption { padding: clamp(1.2rem, 3vw, 1.75rem); }
.project-label { color: var(--gold); font-size: .875rem; margin-bottom: .5rem; }
.project-link { margin-top: 1rem; }

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; margin: 0; list-style-position: inside; }
.process-grid li { padding: 1rem .6rem 0 0; border-top: 1px solid #76654e; }
.process-grid li::marker { color: var(--gold); }
.process-grid h3 { margin-top: .6rem; }

.about { background: #151412; }
.about-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.founder-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.founder-photos img { width: 100%; height: auto; aspect-ratio: .72; object-fit: cover; border: 1px solid var(--line); filter: saturate(1.1); }
.founder-portrait { object-position: 64% 80%; }
.founder-walk { object-position: 50% 70%; }
.about-copy h2 { margin-bottom: 1.35rem; }
.about-copy p + p { margin-top: 1rem; }

.contact { text-align: center; background: radial-gradient(ellipse at top, #261e15, var(--black) 68%); }
.contact-inner { max-width: 49rem; }
.contact .eyebrow { justify-content: center; }
.contact h2 { margin-bottom: 1rem; }
.contact-email { margin-top: 1rem; }
.contact-email a { color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }
.inquiry-form { max-width: 39rem; margin: 2rem auto 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--panel); text-align: left; }
.inquiry-form:not([hidden]), .inquiry-fields, .inquiry-form label { display: grid; gap: 1rem; }
.inquiry-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inquiry-form label { display: block; font-weight: 600; }
.inquiry-form label span, #inquiry-help { color: var(--muted); font-size: .875rem; font-weight: 400; }
.inquiry-form input, .inquiry-form textarea { display: block; width: 100%; margin-top: .35rem; padding: .65rem .75rem; border: 1px solid #76654e; background: var(--black); color: var(--white); font: inherit; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.inquiry-form button { justify-self: start; cursor: pointer; font-family: inherit; }
.site-footer { padding-block: 1.65rem; font-size: .875rem; color: var(--muted); }

[data-reveal] { transition: opacity .55s ease, transform .55s ease; }
.awaiting-reveal { opacity: 0; transform: translateY(13px); }
.awaiting-reveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 48rem) {
  .header-inner { min-height: 4.25rem; flex-wrap: wrap; gap: .6rem; padding-block: .55rem; }
  nav { flex-wrap: wrap; width: 100%; gap: .45rem 1.2rem; }
  nav.is-collapsible { display: none; }
  nav.is-open { display: grid; gap: 0; border-top: 1px solid var(--line); padding-top: .25rem; }
  nav.is-open > a { padding-block: .65rem; min-height: 44px; }
  nav.is-open .nav-contact { width: fit-content; margin-block: .25rem .5rem; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 3.5rem 1.75rem; }
  .hero-art { margin-inline: -1.5rem; min-height: clamp(14rem, 66vw, 27rem); }
  .hero-art img { object-position: center 60%; }
  .hero-art::after { background: linear-gradient(180deg, var(--black), transparent 32%); }
  .section-heading { display: grid; align-items: start; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .footer-inner { flex-wrap: wrap; gap: .75rem 1.5rem; }
}

@media (max-width: 32rem) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .inquiry-fields { grid-template-columns: 1fr; }
  .footer-inner p { order: 1; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .awaiting-reveal { opacity: 1; transform: none; }
}
