@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed.woff2?v=5bc49d41f328") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2?v=468d56b6b25b") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #181a17;
  --paper: #f4efe5;
  --rust: #90502e;
  --line: #cfc6b6;
  --header-height: 5.75rem;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .93; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - clamp(2.25rem, 12vw, 13rem), 81rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 3; padding: .75rem; color: #fff; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.masthead {
  position: relative;
  padding-top: var(--header-height);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(46rem, calc(100svh - 4.75rem));
  justify-content: center;
  color: var(--paper);
  background: #151917;
}

.landscape, .masthead::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape { z-index: -2; object-fit: cover; object-position: 65% center; }
.masthead::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #131817ae, #13181735 60%, transparent),
              linear-gradient(180deg, #13181783, transparent 30%, #13181753 78%, #131817b9);
}

.header { position: absolute; inset: 0 0 auto; z-index: 1; height: var(--header-height); color: var(--paper); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f4efe54d; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1; }
.brand { font: 600 2.6rem/.9 var(--display); }
.brand-detail { font-size: .65rem; font-weight: 700; letter-spacing: .14em; line-height: 1.3; }
nav { display: flex; gap: clamp(.85rem, 3.2vw, 3rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding-block: clamp(4rem, 10vh, 8rem) clamp(4rem, 11vh, 7rem); }
.hero h1 { font-size: clamp(3.6rem, 12vw, 10.2rem); letter-spacing: -.023em; }
.hero p { max-width: 32rem; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.65vw, 1.3rem); color: #f1eee6; }
.hero-link { display: inline-flex; align-items: center; gap: 1em; min-height: 44px; margin-top: 1.1rem; font-weight: 700; }
.hero-link span { color: #ffbe89; }

.work { padding-block: clamp(3.8rem, 9vw, 8rem); }
.work h1 { font-size: clamp(3.2rem, 7vw, 7rem); letter-spacing: -.025em; }
.feature { display: grid; grid-template-columns: 1fr minmax(17rem, 1fr); margin-top: 2rem; border-top: 1px solid var(--line); }
.feature-copy { align-self: center; padding: 2.5rem 2rem 2.5rem 0; }
.category { color: var(--rust); font-size: .78rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.feature h2 { margin-block: .7rem 1rem; font-size: clamp(2.8rem, 5.2vw, 5.2rem); }
.feature-copy > p:not(.category) { max-width: 29rem; }
.feature-copy a { display: inline-flex; align-items: center; gap: .75em; min-height: 44px; margin-top: 1rem; color: #783e20; font-weight: 700; }
.game-art { padding: 1.5rem; display: grid; place-items: center; background: radial-gradient(ellipse at 55% 42%, #554334, #232520 75%); }
.game-art img { width: clamp(9rem, 17vw, 13rem); height: auto; border: 1px solid #fff3; border-radius: .45rem; box-shadow: 0 16px 35px #0006; }
.work-row { display: grid; grid-template-columns: minmax(8rem, .42fr) 1fr; gap: 1.5rem; padding-block: 1.8rem; border-top: 1px solid var(--line); }
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row .category { padding-top: .35rem; }
.work-row h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); margin-bottom: .55rem; }

.contact { background: #1b211d; color: var(--paper); }
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.4rem;
  min-height: 4.75rem;
  padding-block: .5rem;
  color: #dfd5c6;
  font-size: .83rem;
}

@media (max-width: 42rem) {
  :root { --header-height: 4.5rem; }
  .masthead { min-height: max(32rem, calc(100svh - 4.75rem)); }
  .landscape { object-position: 58% center; }
  .masthead::after { background: linear-gradient(90deg, #131817c0, #13181755), linear-gradient(0deg, #1318178c, transparent 60%); }
  .feature { grid-template-columns: 1fr; }
  .feature-copy { padding: 1.75rem 0 1.5rem; }
  .game-art { padding-block: 1.5rem; }
  .work-row { grid-template-columns: 1fr; gap: .5rem; }
  .footer-line { flex-wrap: wrap; }
}

.inner-header { background: #1b211d; }
.inner-header .header { position: static; border-bottom: 0; }
nav a[aria-current="page"] { text-decoration: underline; }

.footer-contacts { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-contacts a { display: inline-flex; align-items: center; min-height: 44px; }

.profile { padding-block: clamp(3.8rem, 9vw, 7rem); }
.profile h1 {
  margin-block: .7rem 1.3rem;
  font-size: clamp(4.2rem, 9vw, 8rem);
  letter-spacing: -.025em;
}
.profile-lead { margin-bottom: .65rem; font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; }
.profile-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.profile-stories article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.profile-stories h2 { margin-bottom: .65rem; font-size: clamp(2rem, 3.4vw, 3rem); }
.profile-link { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; margin-top: .35rem; color: #783e20; font-weight: 700; }

@media (max-width: 42rem) {
  .profile-stories { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  :root { --header-height: 5.85rem; }
  .header { flex-direction: column; align-items: start; justify-content: center; }
  .header nav { width: 100%; justify-content: space-between; gap: .4rem; }
  .brand { font-size: 2.1rem; }
}

.profile-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 68rem;
}
.profile-photo { width: 100%; height: auto; }
.profile-contact { margin-top: clamp(2rem, 5vw, 4rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.profile-contact h2 { margin-bottom: .65rem; font-size: clamp(2rem, 3.4vw, 3rem); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }

@media (max-width: 42rem) {
  .profile-intro { grid-template-columns: 1fr; }
  .profile-photo { max-width: 10rem; }
}

.design-feature { align-items: center; }
.design-art { margin: 1.75rem 0; }
.design-art img {
  width: 100%;
  height: auto;
  /* Frame the concept capture: trim the half-visible lower panel, add a quiet edge. */
  aspect-ratio: 1252 / 596;
  object-fit: cover;
  object-position: top;
  border: 1px solid #1817143d;
  border-radius: .35rem;
  box-shadow: 0 14px 30px #18171429;
}

@media (max-width: 42rem) {
  .design-art { margin: 0 0 1.75rem; }
}

.services-lead { max-width: 43rem; margin-top: 1.35rem; font-size: 1.14rem; }
.services-promise { max-width: 43rem; margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--rust); }
.service-list { margin-top: 2rem; }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: .65rem 2rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.service-row h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.service-rate { margin-top: .45rem; color: #783e20; font-weight: 700; }
.service-contact { margin-top: 1.3rem; }

@media (max-width: 42rem) {
  .service-row { grid-template-columns: 1fr; }
}

.services-category { margin-bottom: .65rem; }

.footer-line .site-legal-links { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
/* Policy links sit below the contact links in the hierarchy; nav a keeps their 44px targets. */
.site-legal-links a { font-size: .78rem; font-weight: 400; color: #c9bfae; text-decoration: underline; text-decoration-color: #c9bfae80; }
.site-legal-links a:hover, .site-legal-links a[aria-current="page"] { color: var(--paper); text-decoration-color: currentColor; }
a[href^="tel:"] { white-space: nowrap; }
.policy { padding-block: clamp(2.6rem, 6vw, 5rem); }
.policy-text { max-width: 54rem; }
.policy h1 { font-size: clamp(3rem, 8vw, 6rem); }
.policy h2 { margin-top: 1.75rem; font-size: clamp(1.65rem, 4vw, 2.55rem); line-height: 1; }
.policy p { margin-top: .8rem; }
.policy-date { color: #545548; }
.policy code { overflow-wrap: anywhere; }
@media (max-width: 64rem) {
  .footer-line { flex-wrap: wrap; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-top: 1.1rem; }
.hero-actions .hero-link { margin-top: 0; }
.service-actions { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-top: 1.3rem; }
.service-actions .service-contact { margin-top: .35rem; }
.services-note { margin-top: 0; padding-top: 1.25rem; padding-right: max(0px, 100% - 43rem); border-top: 1px solid var(--line); }
.quote-primary, .quote-chat { max-width: 43rem; margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote-primary h2, .quote-checklist h2 { margin-bottom: .65rem; font-size: clamp(2rem, 3.4vw, 3rem); }
.quote-chat h2 { margin-bottom: .65rem; font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.quote-chat .category { margin-bottom: .45rem; }
.quote-chat p + p { margin-top: .65rem; }
.quote-action { margin-top: .75rem; font-size: 1.1rem; }
.quote-fallback { margin-top: .35rem; font-size: .95rem; }
.quote-address { font-weight: 700; white-space: nowrap; user-select: all; }
.quote-fallback a, .quote-note a { color: #783e20; font-weight: 700; }
.quote-checklist { max-width: 43rem; margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.quote-checklist ol { margin: 0; padding-left: 1.4rem; }
.quote-checklist li + li { margin-top: .4rem; }
.quote-checklist li::marker { color: var(--rust); font-weight: 700; }
.quote-note { margin-top: 1rem; }
.quote-closing { max-width: 43rem; margin-top: clamp(2rem, 5vw, 3rem); }

.consent { position: fixed; inset: auto 0 0; z-index: 4; padding: 1rem 0; background: var(--ink); color: var(--paper); border-top: 1px solid var(--rust); }
.consent-inner { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; width: min(100% - 2.25rem, 81rem); margin-inline: auto; }
.consent-text { flex: 1 1 22rem; font-size: .9rem; }
.consent-text a { color: var(--paper); }
.consent-actions { display: flex; gap: .75rem; }
.consent-button { min-height: 44px; padding: .5rem 1.1rem; font: 600 .95rem var(--body); color: var(--paper); background: transparent; border: 1px solid #c9bfae; cursor: pointer; }
.consent-allow { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.consent-button:focus-visible, .consent-settings:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.consent-settings { min-height: 44px; padding: 0; font: 400 .78rem var(--body); color: #c9bfae; background: none; border: 0; text-decoration: underline; text-decoration-color: #c9bfae80; text-underline-offset: .25em; cursor: pointer; }
.consent-settings:hover { color: var(--paper); }
