:root {
  color-scheme: dark;
  --ink: #090807;
  --ivory: #f6eddf;
  --muted: #bdb1a2;
  --gold: #e3b879;
  --line: #352a1e;
  --serif: "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
.shell { width: min(88%, 1340px); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; background: var(--ivory); color: var(--ink); padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 2; background: #0b0908; border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; gap: .8rem; align-items: center; line-height: 1; }
.brand-badge { width: 62px; height: 62px; flex: none; border-radius: 50%; }
.brand-name { color: #eeeae0; font: 1.5rem/1 var(--sans); letter-spacing: .18em; }
.brand-name small { display: block; margin-top: .7rem; color: var(--gold); font: .61rem/1 var(--sans); letter-spacing: .35em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.1rem); font-size: .85rem; }
nav a { color: var(--muted); }
nav a:hover, .footer a:hover { color: var(--gold); }
.nav-contact { color: var(--gold); border: 1px solid #645037; padding: .65rem .95rem; }
.nav-contact span { margin-left: .3em; }
.menu { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(790px, calc(100svh - 78px)); background: #080706; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #080706 0%, #080706dc 14%, #08070678 33%, transparent 57%), linear-gradient(0deg, #090807 0%, transparent 18%); }
.hero-content { padding-block: clamp(5rem, 10vh, 8rem) 7rem; }
.eyebrow { color: var(--gold); font-size: .67rem; line-height: 1.5; text-transform: uppercase; font-weight: 600; letter-spacing: .21em; display: flex; align-items: center; gap: .7rem; }
.eyebrow > span { width: 21px; height: 1px; background: currentColor; display: inline-block; flex: none; }
.eyebrow b { font-weight: 400; opacity: .75; border-left: 1px solid #80613f; padding-left: .7rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4rem, 7.1vw, 7.7rem); line-height: .96; letter-spacing: -.065em; margin-block: 1.25rem 1.6rem; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.intro { color: var(--muted); max-width: min(37%, 390px); font-size: clamp(.94rem, 1.25vw, 1.06rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.45rem; margin-top: 1.8rem; }
.button { display: inline-flex; gap: .85rem; align-items: center; justify-content: center; font-size: .83rem; font-weight: 700; padding: .85rem 1.05rem; min-height: 46px; border: 1px solid #a37b48; transition: background-color .2s, color .2s; }
.primary { color: #1b1108; background: #e4b97e; }
.primary:hover { background: #f5d5a6; }
.outline { color: var(--gold); }
.outline:hover { background: var(--gold); color: var(--ink); }
.text-link { width: fit-content; display: inline-flex; gap: .6rem; align-items: center; color: var(--gold); font-size: .82rem; border-bottom: 1px solid #72583b; padding-block: .26rem; }
.text-link:hover { color: #fae5c5; border-color: currentColor; }
.hero-foot { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid #a97e4c45; padding-block: .9rem; font-size: .58rem; letter-spacing: .19em; color: var(--muted); }
.hero-foot a { color: var(--gold); font-size: 1.2rem; padding-inline: .5rem; }

.section { padding-block: clamp(4.8rem, 9vw, 8.5rem); border-top: 1px solid #2a2118; }
.services { background: #0d0b09; }
.section-heading { display: grid; grid-template-columns: 1fr .64fr; align-items: end; gap: 2rem; margin-block: 1.1rem 2.8rem; }
h2 { font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: .96; letter-spacing: -.062em; }
.section-heading p, .nfc-copy > p:not(.eyebrow), .contact p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: grid; grid-template-columns: 3.3rem 1fr 2.1rem; align-items: center; gap: .65rem; padding-block: 1.05rem; cursor: pointer; font: clamp(1.45rem, 3vw, 2.65rem)/1.13 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gold); }
.index, .steps li > span { font: .7rem/1 var(--sans); letter-spacing: .15em; color: var(--gold); }
.toggle { width: 30px; height: 30px; position: relative; border: 1px solid #62482f; justify-self: end; }
.toggle::before, .toggle::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); }
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { display: none; }
.service-body { padding: 0 2.5rem 1.35rem 3.95rem; color: var(--muted); display: grid; gap: .65rem; }
.service-body p { max-width: 640px; }
.method { background: radial-gradient(ellipse at 76% 0%, #271a10 0%, #110d0a 38%, #0c0a08 74%); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0; margin: 0; }
.steps li { border-top: 1px solid #685035; padding: 1.25rem 1.3rem 0 0; }
.steps h3 { font-size: clamp(1.65rem, 3vw, 2.3rem); margin-block: .55rem .15rem; }
.steps p { color: var(--muted); max-width: 320px; }
.nfc { background: #080706; }
.nfc-layout { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.nfc h2 { font-size: clamp(3rem, 5.4vw, 5.2rem); margin-block: 1.1rem 1.35rem; }
.nfc-labels { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: 1.25rem; }
.nfc-labels span { padding: .25rem .52rem; color: var(--gold); border: 1px solid #584029; font-size: .68rem; }
.nfc figure { margin: 0; min-width: 0; }
.nfc figure img { width: 100%; height: auto; border: 1px solid #33251a; }
.nfc figcaption { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; margin-top: .7rem; text-align: right; }
.contact { text-align: center; background: radial-gradient(ellipse at 50% 100%, #291b10, #100c09 62%, #0b0907); }
.contact .eyebrow, .contact .actions { justify-content: center; }
.contact h2 { margin-block: 1.1rem 1.3rem; }
.contact p:not(.eyebrow) { margin-inline: auto; }
.footer { border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--muted); font-size: .78rem; }
.footer .shell { display: flex; gap: 1rem; justify-content: space-between; }

@media (min-width: 741px) and (max-width: 1050px) {
  .hero { min-height: 580px; }
  .hero-art img { object-position: 78% center; }
  .hero-content .actions { max-width: 370px; }
  .nfc-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  .shell { width: 89%; }
  .nav-wrap { min-height: 66px; flex-wrap: wrap; }
  .menu:not([hidden]) { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); background: transparent; color: var(--gold); padding: .55rem .8rem; font: inherit; font-size: .83rem; cursor: pointer; }
  nav { width: 100%; flex-wrap: wrap; gap: .8rem 1.25rem; padding-bottom: 1rem; }
  .menu:not([hidden]) + nav { position: absolute; background: #100d0a; inset: 100% 0 auto; padding: 1rem 5.5%; border-bottom: 1px solid var(--line); }
  .menu[aria-expanded="false"]:not([hidden]) + nav { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero::after { display: none; }
  .hero-art { position: relative; width: 100%; margin-top: -.45rem; order: 2; z-index: auto; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#080706, transparent 13%, transparent 90%, #090807); pointer-events: none; }
  .hero-art img { height: auto; aspect-ratio: 850 / 790; }
  .hero-content { position: relative; order: 1; z-index: 1; padding-block: 2.9rem .75rem; }
  h1 { font-size: clamp(3.4rem, 11.8vw, 5.8rem); margin-bottom: 1.1rem; }
  .intro { max-width: 410px; }
  .actions { gap: .6rem 1rem; margin-top: 1.3rem; }
  .hero-foot { position: static; transform: none; order: 3; font-size: .51rem; }
  .hero-foot a { display: none; }
  .section-heading, .nfc-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-heading { margin-bottom: 1.8rem; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  summary { grid-template-columns: 1.9rem 1fr 1.85rem; }
  .service-body { padding-left: 2.55rem; padding-right: .25rem; }
  .nfc-layout { gap: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.portfolio { background: #0c0a08; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.project-card { display: flex; flex-direction: column; align-items: start; gap: .65rem; padding: clamp(1.2rem, 3vw, 2.3rem); background: #120e0b; }
.project-card:hover { background: #19120d; }
.project-card h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.1; }
.project-card p { color: var(--muted); font-size: .9rem; }
.project-card .project-category, .footer-label { color: var(--gold); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.project-card .text-link { margin-top: auto; }
.site-footer { padding-block: 3rem 1.3rem; background: #0b0907; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .65fr .65fr; gap: 1.4rem; }
.footer-grid > div { display: grid; align-content: start; gap: .4rem; overflow-wrap: anywhere; }
.footer-brand { font: 1.5rem/1.15 var(--serif); color: var(--ivory); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.demo-page { background: radial-gradient(ellipse at 10% 2%, #1c140e, var(--ink) 45%); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.demo-intro h1 { font-size: clamp(3rem, 5.25vw, 5.8rem); }
.demo-intro > p:not(.eyebrow), .demo-steps p { color: var(--muted); }
.demo-steps { list-style: none; padding: 0; margin: 2.25rem 0; counter-reset: demo-step; }
.demo-steps li { position: relative; padding-left: 2rem; margin-bottom: 1.05rem; counter-increment: demo-step; }
.demo-steps li::before { content: counter(demo-step, decimal-leading-zero); position: absolute; left: 0; top: .25rem; color: var(--gold); font-size: .72rem; }
.demo-steps p { font-size: .9rem; }
.demo-catalogue { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.demo-form { color-scheme: light; padding: clamp(1.35rem, 3vw, 2.4rem); background: #f8f6f1; color: #191714; border: 1px solid #b19a72; }
.demo-kicker { color: #78541f; letter-spacing: .18em; text-transform: uppercase; font-size: .65rem; font-weight: 600; }
.demo-form h2 { font: 600 clamp(1.55rem, 2.4vw, 2.1rem)/1.15 var(--sans); letter-spacing: -.04em; margin: .85rem 0 2.6rem; }
.demo-form fieldset { margin: 0 0 2.65rem; padding: 0; border: 0; min-width: 0; }
.demo-form legend { display: block; width: 100%; border-top: 1px solid #d8d2c5; padding: .25rem 0 0; margin-bottom: 1.7rem; font-size: .78rem; }
.demo-form legend span { display: inline-block; margin-right: .45rem; padding: .1rem .3rem; background: #eee7d7; color: #78541f; font-size: .64rem; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem .9rem; }
.form-fields .full { grid-column: 1 / -1; }
.form-fields label { display: block; color: #44433b; font-size: .76rem; }
.form-fields small { margin-left: .25rem; color: #645745; font-size: .64rem; }
.form-fields :is(input, select, textarea) { display: block; width: 100%; min-height: 44px; margin-top: .4rem; border: 1px solid #cfc5b5; border-radius: 0; background: #fff; color: #191714; padding: .65rem .7rem; font: .85rem/1.4 var(--sans); }
.form-fields input { background: #f1f2e9; }
.form-fields textarea { resize: vertical; }
.demo-form :focus-visible { outline-color: #79511b; outline-offset: 2px; }
.privacy-check { display: flex; align-items: start; gap: .5rem; font-size: .76rem; }
.privacy-check input { margin: .25rem 0 0; accent-color: #7b5724; }
.privacy-check a, .form-status a { color: #684715; text-decoration: underline; }
.demo-submit { width: 100%; margin-top: 1.45rem; padding: .85rem 1rem; background: #191714; color: #fff; border: 0; font: inherit; }
.demo-submit:disabled { opacity: .58; cursor: not-allowed; }
.form-status { margin-top: .7rem; color: #544a3c; font-size: .8rem; }
.privacy-page { max-width: 820px; }
.privacy-page h1 { font-size: clamp(3rem, 6vw, 5rem); }
.privacy-page h2 { font: 600 1.3rem/1.3 var(--sans); letter-spacing: 0; margin: 2rem 0 .6rem; }
.privacy-page p:not(.eyebrow) { color: var(--muted); margin: .65rem 0; }
.privacy-page a { color: var(--gold); text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  .demo-layout, .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .form-fields, .site-footer .footer-grid { grid-template-columns: 1fr; }
  .demo-page .demo-intro h1 { font-size: 2.75rem; }
  .masthead .text-link { font-size: .72rem; }
}
.project-media { width: 100%; aspect-ratio: 16 / 8; overflow: hidden; margin-bottom: .45rem; border: 1px solid var(--line); background: #080707; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-media.logo img { object-fit: contain; object-position: center; }
.project-mark { display: grid; place-items: center; color: #e3b879; font: clamp(2.9rem, 6vw, 5.2rem)/1 var(--serif); letter-spacing: .02em; background: radial-gradient(ellipse at 65% 35%, #3b2718, #0c0a09 74%); }
.project-mark.auto { background: radial-gradient(ellipse at 65% 35%, #253243, #0b0b0f 74%); }
.project-mark.floral { background: radial-gradient(ellipse at 65% 35%, #342734, #110b10 74%); }
.project-mark.commerce { background: radial-gradient(ellipse at 65% 35%, #313b33, #0a100e 74%); }
