:root {
  color-scheme: dark;
  --ink: #f8f6ff;
  --muted: #c1bbcf;
  --base: #12111c;
  --surface: #1a1827;
  --line: #393548;
  --accent: #f2fc86;
  --lilac: #cbb9ff;
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--base); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--accent); color: var(--base); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); background: #14131e; }
.header-inner, .brand, nav, .actions, .footer { display: flex; align-items: center; }
.header-inner { min-height: 82px; justify-content: space-between; gap: 1rem; }
.brand { gap: .75rem; text-decoration: none; font-weight: 760; line-height: 1.1; }
.brand img { object-fit: contain; border-radius: 5px; }
.brand small { display: block; margin-top: .32rem; font-size: .8rem; font-weight: 500; color: var(--muted); }
nav { gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; padding: .5rem 0; }
nav a:hover, .footer a:hover { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary { background: var(--accent); color: #1a1b0e; }
.primary:hover { background: #fbffc0; }
.outline, .header-button { border-color: #60586f; background: transparent; color: var(--ink); }
.outline:hover, .header-button:hover { border-color: var(--accent); }
.header-button { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1fr .88fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: 530px; padding-block: 3.5rem; }
.hero-copy { padding-block: .5rem; }
.eyebrow { color: var(--lilac); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 1.35rem; height: 2px; background: var(--accent); }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 5.1vw, 5.2rem); margin-top: 1rem; }
h1 em { color: var(--accent); font-style: normal; }
.intro { margin: 1.4rem 0 1.75rem; font-size: 1.12rem; max-width: 34rem; color: var(--muted); }
.actions { flex-wrap: wrap; gap: .7rem; }
.hero-image { position: relative; isolation: isolate; border: 1px solid #4c415b; border-radius: 19px; background: #0a0911; overflow: hidden; }
.hero-image img { width: 100%; height: clamp(315px, 38vw, 458px); object-fit: cover; object-position: 50% 71%; }
.hero-image::after { position: absolute; inset: 54% 0 0; content: ""; background: linear-gradient(transparent,#0b0916e8); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; bottom: 1.1rem; left: 1.2rem; font-size: 1.05rem; font-weight: 700; }
.hero-image figcaption span { display: block; color: var(--accent); font-size: .77rem; text-transform: uppercase; letter-spacing: .10em; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section, .services { padding-block: clamp(3rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.65rem); margin: .55rem 0 1.6rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.service-grid, .project-grid { display: grid; gap: 1rem; }
.service-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-grid article { background: var(--base); padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.service-grid p, .project p:not(.eyebrow), .contact-card p:not(.eyebrow) { color: var(--muted); margin-top: .6rem; }
.service-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--accent); background: #292b27; border-radius: 7px; margin-bottom: 1rem; }
.service-icon svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.project { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--surface); }
.project-image { display: block; overflow: hidden; }
.project-image:focus-visible { outline-offset: -4px; }
.project-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s; }
.project-image:hover img { transform: scale(1.04); }
.project-image .arch { object-position: center 41%; }
.project-image .salon { object-position: center 41%; }
.project-image .cafe { object-position: center 69%; }
.project-copy { padding: 1.2rem; }
.project-copy h3 { margin-top: .4rem; }
.text-link { display: inline-block; color: var(--accent); font-weight: 650; text-underline-offset: .22em; margin-top: .75rem; }
.reel-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 2rem; align-items: center; }
.video { background: #0f0d16; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.video iframe { display: block; width: 100%; height: auto; border: 0; aspect-ratio: 560/314; }
.contact-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.4rem, 4vw, 3.5rem); background: linear-gradient(125deg,#261a3d,#1d1930 60%,#1e2339); border: 1px solid #453756; border-radius: 16px; }
.contact-card h2 { margin-bottom: .85rem; }
.contact-card .actions { margin-top: 1.25rem; }
address { font-style: normal; border-left: 1px solid #50465e; padding-left: 2rem; overflow-wrap: anywhere; }
address strong { color: var(--ink); }
address a { text-underline-offset: .2em; }
.contact-card address p { margin: 0 0 .65rem; }
.footer { min-height: 76px; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); }
dialog { width: min(92vw, 720px); max-height: 92vh; max-height: 92dvh; padding: 1rem; border: 1px solid #60586f; border-radius: 13px; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: #06050bde; }
.gallery-header, .gallery-controls { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.gallery-header h2 { font-size: clamp(1.3rem, 4vw, 2rem); margin: 0; }
dialog figure { margin: .8rem 0; }
dialog img { width: 100%; height: min(57vh, 560px); height: min(57dvh, 560px); object-fit: contain; background: var(--base); border-radius: 8px; }
dialog figcaption { padding-top: .5rem; color: var(--muted); }
.gallery-controls[hidden] { display: none; }
@media (min-width: 1024px) {
  html { scroll-padding-top: 100px; }
  .wrap { width: min(100% - 6rem, 1320px); }
  .header {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .skip { z-index: 3; }
  .header-inner { min-height: 76px; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 4.5vw, 4.75rem);
    min-height: 590px;
    padding-block: clamp(3.5rem, 5.2vw, 5rem);
  }
  h1 { font-size: clamp(3rem, 4.6vw, 4.8rem); }
  h1 em { text-wrap: balance; }
  .intro { max-width: 30rem; }
  .hero-image img {
    height: clamp(405px, 35vw, 510px);
    object-position: center 69%;
  }
  .hero-image figcaption { bottom: 1.35rem; left: 1.5rem; }
  .service-grid, .project-grid { gap: clamp(1.15rem, 1.7vw, 1.65rem); }
  .service-grid article, .project-copy { padding: clamp(1.25rem, 1.7vw, 1.65rem); }
  .project-image img { aspect-ratio: 5/4; }
  .reel-layout { grid-template-columns: 1fr 1.55fr; gap: clamp(2.5rem, 6vw, 6rem); }
  .contact-card { column-gap: clamp(3rem, 6vw, 6rem); }
  dialog { width: min(88vw, 920px); }
  dialog img { height: min(65dvh, 640px); }
}
@media (max-width: 900px) {
  .hero { gap: 2rem; min-height: auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; padding-block: .65rem; gap: .6rem; }
  nav { order: 3; width: 100%; padding-top: .35rem; border-top: 1px solid var(--line); }
  .brand img { width: 43px; height: 39px; }
  .header-button { min-height: 42px; padding-inline: .75rem; }
  .hero, .reel-layout, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-block: 2.2rem; gap: 1.5rem; }
  .hero-image img { height: clamp(275px, 82vw, 425px); }
  .project-grid { grid-template-columns: 1fr; }
  .project-image img { aspect-ratio: 16/10; }
  address { border-left: 0; border-top: 1px solid #50465e; padding: 1rem 0 0; }
}
@media (max-width: 380px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
