:root {
  color-scheme: dark;
  --browser-background: #2b2c31;
  --background: #121315;
  --text: #f5f5f6;
  --muted: #b6b6bc;
  --faint: #9b9ba3;
  --line: rgba(255, 255, 255, 0.12);
  --surface: #24262c;
  --panel-base: #25272d;
  --panel-raised: #303239;
  --control: #ffffff08;
  --control-border: #ffffff1c;
  --page-background:
    radial-gradient(ellipse 150% 900px at 45% 80px, #2b2c3038 0%, transparent 80%) top / 100% 1100px no-repeat,
    linear-gradient(to bottom, #222327 0%, #1e1f23 24%, #191a1e 52%, #121315 100%) top / 100% 1300px no-repeat,
    linear-gradient(var(--background), var(--background)),
    var(--browser-background);
  --heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--heading-font);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--browser-background); scroll-behavior: smooth; scroll-padding-top: 28px; }
body { position: relative; isolation: isolate; min-width: 280px; min-height: 100dvh; margin: 0; background: var(--page-background); color: var(--text); font-size: 16px; line-height: 1.6; }
button, input { font: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Clip the unfocused link: Safari can expose offscreen fixed layers in its top blur. */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--text); color: #171719; border-radius: 6px; }
.skip-link:focus { width: auto; height: auto; padding: 12px 20px; overflow: visible; clip-path: none; }
.home-shell { width: calc(100% - 80px); max-width: 1160px; margin: 0 auto; padding-top: env(safe-area-inset-top, 0px); padding-right: env(safe-area-inset-right, 0px); padding-left: env(safe-area-inset-left, 0px); }

.home-brand { display: inline-flex; align-items: center; gap: 18px; flex-shrink: 0; }
.home-brand img { width: 52px; height: 38px; object-fit: contain; filter: invert(1); }
.home-brand > span { font-size: 11px; font-weight: 700; color: #dedee3; }
.home-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.header-about { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.header-about svg { width: 15px; height: 15px; }

.home-workspace { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; gap: 26px; padding: 0 0 48px; }
.home-hero { min-width: 0; padding: 44px 0 40px; text-align: left; }
.hero-heading { min-width: 0; }
.hero-details { min-width: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-family: var(--heading-font); font-size: 56px; font-weight: 700; line-height: 1.06; letter-spacing: 0; }
.title-line { display: block; }
.title-secondary { color: #dedee3; }
.hero-description { margin: 20px 0 0; font-size: 16px; font-weight: 400; line-height: 1.75; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 15px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: center; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button-primary { background: #f4f4f5; color: #19191b; border-color: #ffffffc9; box-shadow: 0 4px 18px #00000020, inset 0 1px 0 #fff; }
.button-primary:active { transform: translateY(1px); }
.portfolio-button { flex-shrink: 0; min-width: 208px; }
.portfolio-button svg { width: 19px; height: 19px; }
.services-line { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 26px; color: var(--faint); font-size: 12px; font-weight: 500; }

.project-section { min-width: 0; scroll-margin-top: 24px; }

.request-panel { position: relative; min-width: 0; height: 100%; padding: 32px; background: linear-gradient(125deg, #ffffff0a, #ffffff02 65%), var(--panel-base); border: 1px solid #ffffff24; border-right-color: #ffffff12; border-bottom-color: #ffffff0d; border-radius: 18px; box-shadow: 0 24px 64px #00000050, 0 4px 12px #00000020, inset 0 1px 0 #ffffff10; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-family: var(--heading-font); font-size: 23px; font-weight: 600; line-height: 1.3; }
.panel-chat-icon { width: 26px; height: 26px; color: #b5b5be; }
.visual-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; padding: 0; margin: 0; border: 0; }
.visual-option { position: relative; min-width: 0; cursor: pointer; }
.visual-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option-surface { display: block; height: 100%; min-width: 0; padding: 18px; border: 1px solid var(--control-border); border-radius: 8px; background: var(--control); transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.option-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.option-top > svg { width: 24px; height: 24px; }
.option-title { display: block; color: #e1e1e6; font-size: 15px; font-weight: 600; line-height: 1.3; }
.option-mark { display: grid; place-items: center; width: 19px; height: 19px; flex-shrink: 0; border: 1px solid #ffffff45; border-radius: 50%; color: #17181b; }
.option-mark svg { width: 12px; height: 12px; stroke-width: 2; opacity: 0; }
.visual-option input:checked + .option-surface { border-color: #ffffffb3; background: linear-gradient(145deg, #ffffff15, #ffffff07); box-shadow: inset 0 0 0 0.5px #ffffff45, 0 3px 8px #00000020; }
.visual-option input:checked + .option-surface .option-title { color: var(--text); }
.visual-option input:checked + .option-surface .option-top > svg { color: var(--text); }
.visual-option input:checked + .option-surface .option-mark { background: var(--text); border-color: var(--text); }
.visual-option input:checked + .option-surface .option-mark svg { opacity: 1; }
.visual-option input:focus-visible + .option-surface { outline: 2px solid var(--text); outline-offset: 4px; }
.visual-option-unknown { grid-column: 1 / -1; }
.visual-option-unknown .option-surface { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.visual-option-unknown .option-surface > svg { width: 20px; height: 20px; color: var(--muted); }
.visual-option-unknown .option-mark { margin-left: auto; }
.visual-option-unknown .option-title { font-size: 13px; }
.name-field { margin: 26px 0; }
.name-field label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: #e0e0e5; font-size: 13px; font-weight: 600; }
.name-field label span { color: var(--faint); font-size: 11px; font-weight: 400; }
.name-field input { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--control-border); border-radius: 8px; background: var(--control); box-shadow: inset 0 1px 3px #00000020, 0 1px 0 #ffffff04; color: var(--text); caret-color: var(--text); color-scheme: dark; font-size: 16px; font-weight: 400; line-height: 1.5; transition: border-color 200ms ease, box-shadow 200ms ease; }
.name-field input:focus { border-color: var(--text); box-shadow: 0 0 0 3px #ffffff10; }
.whatsapp-button { width: 100%; justify-content: flex-start; gap: 12px; min-height: 58px; }
.whatsapp-button > svg { width: 20px; height: 20px; }
.whatsapp-button > .button-arrow { margin-left: auto; width: 18px; height: 18px; }
.whatsapp-button:disabled { color: #a2a2aa; border-color: #ffffff12; background: #ffffff0a; box-shadow: none; }
.request-privacy { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.request-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.direct-contact { display: flex; justify-content: center; padding-top: 21px; margin-top: 22px; border-top: 1px solid var(--line); }
.direct-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 12px; }
.direct-contact svg { width: 15px; height: 15px; }
.field-error { color: #ffc0bb; font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.field-error a, .no-script-note a { text-decoration: underline; }
.no-script-note { color: var(--muted); font-size: 12px; }

.artist-guides { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-guides summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 65px; padding: 16px 0; cursor: pointer; color: var(--muted); font-size: 14px; list-style: none; }
.artist-guides summary::-webkit-details-marker { display: none; }
.artist-guides summary svg { width: 17px; height: 17px; transition: transform 180ms ease; }
.artist-guides[open] summary svg { transform: rotate(90deg); }
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 12px 0 32px; }
.guide-group { min-width: 0; }
.guide-group h3 { color: var(--faint); font-size: 11px; font-weight: 600; text-transform: uppercase; margin: 0 0 14px; }
.guide-group a { display: flex; align-items: center; width: fit-content; min-height: 44px; padding: 6px 0; color: #dedee3; font-size: 13px; line-height: 1.6; text-decoration: underline; text-decoration-color: #ffffff35; text-underline-offset: 4px; }
.home-footer { padding: 34px 0 calc(26px + env(safe-area-inset-bottom, 0px)); }
.footer-main, .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand img { width: 38px; height: 28px; }
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 12px; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 10px; gap: 8px; color: var(--faint); font-size: 11px; }
.footer-bottom p { margin: 0; }
.vat { display: block; margin-top: 4px; }
.footer-bottom nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 20px; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

.mobile-dock { display: none; }
@media (hover: hover) {
  .button-primary:hover { background: #fff; box-shadow: 0 6px 24px #00000030, inset 0 1px 0 #fff; }
  .visual-option:hover input:not(:checked) + .option-surface { border-color: #ffffff40; background: #ffffff0e; }
  .direct-contact a:hover, .footer-social a:hover, .header-about:hover, .artist-guides summary:hover { color: #fff; }
  .guide-group a:hover { text-decoration-color: #fff; }
}
@media (min-width: 901px) {
  .home-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 36px; padding: 48px 0 42px; }
  .hero-heading { flex: 1; }
  .hero-details { flex: 0 0 300px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px; }
  h1 { font-size: 56px; line-height: 1.02; }
  .hero-description { margin: 0; font-size: 14px; }
  .services-line { justify-content: flex-start; margin: 0; font-size: 11px; gap: 8px 16px; }
}
@media (min-width: 1101px) {
  h1 { font-size: 72px; }
}
@media (max-width: 1100px) {
  .request-panel { padding: 26px; }
  .panel-heading h2 { font-size: 21px; }
}
@media (max-width: 900px) {
  .home-workspace { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 36px; }
}
@media (max-width: 760px) {
  .home-shell { width: calc(100% - 40px); }
  .home-header { min-height: 76px; }
  .home-brand { gap: 12px; }
  .home-brand img { width: 42px; height: 31px; }
  .home-brand > span { font-size: 10px; }
  .home-hero { padding-top: 30px; padding-bottom: 32px; }
  h1 { font-size: 44px; line-height: 1.06; }
  .hero-description { margin-top: 18px; font-size: 15px; line-height: 1.8; }
  .portfolio-button { min-width: 194px; min-height: 52px; font-size: 13px; }
  .services-line { font-size: 11px; gap: 8px 17px; }
  .project-section { scroll-margin-top: 16px; }
  .request-panel { padding: 26px; }
  .guides-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-group a { font-size: 13px; }
  .footer-bottom { line-height: 1.8; }
  .home-footer { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
  .mobile-dock { position: fixed; z-index: 20; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: calc(100% - 32px); max-width: 420px; height: 74px; padding: 6px; border: 1px solid #ffffff2b; border-bottom-color: #ffffff14; border-radius: 32px; background: #242427ed; box-shadow: 0 10px 32px #00000055, inset 0 1px 0 #ffffff20; transition: width 300ms cubic-bezier(.2,.7,.2,1), max-width 300ms cubic-bezier(.2,.7,.2,1), height 300ms ease, opacity 180ms ease, visibility 180ms ease; }
  .dock-item { min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #c6c6cc; font-size: 10px; font-weight: 600; line-height: 1.2; border-radius: 25px; transition: background 180ms ease, color 180ms ease; }
  .dock-item > svg { width: 22px; height: 22px; }
  .dock-item[aria-current="location"] { color: #fff; background: #ffffff19; box-shadow: inset 0 1px 0 #ffffff12; }
  .dock-item:focus-visible { outline-offset: -3px; }
  .dock-compact .mobile-dock { width: calc(100% - 64px); max-width: 366px; height: 66px; }
  .dock-keyboard .mobile-dock { opacity: 0; visibility: hidden; pointer-events: none; }
  @supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
    .mobile-dock { background: linear-gradient(125deg, #ffffff12, #ffffff03), #202023b8; -webkit-backdrop-filter: blur(22px) saturate(0.65); backdrop-filter: blur(22px) saturate(0.65); }
  }
}
@media (max-width: 460px) {
  .home-shell { width: calc(100% - 36px); }
  .home-brand { gap: 10px; }
  .home-brand > span { font-size: 9px; line-height: 1.5; }
  h1 { font-size: 40px; }
  .hero-description { font-size: 14px; }
  .services-line { gap: 6px 16px; font-size: 11px; margin-top: 12px; margin-bottom: 22px; }
  .request-panel { padding: 22px; }
  .panel-heading { margin-bottom: 22px; padding-bottom: 22px; }
  .panel-heading h2 { font-size: 21px; }
  .option-surface { padding: 16px; }
  .visual-options { gap: 10px; }
  .option-top { margin-bottom: 20px; }
  .name-field { margin-top: 23px; margin-bottom: 23px; }
  .whatsapp-button { padding-right: 16px; padding-left: 16px; gap: 9px; font-size: 13px; }
  .direct-contact a { font-size: 11px; }
  .footer-social { gap: 18px; }
}
@media (min-width: 360px) and (max-width: 389px) {
  h1 { font-size: 38px; }
}
@media (max-width: 359px) {
  .home-shell { width: calc(100% - 28px); }
  .home-brand > span { display: none; }
  h1 { font-size: 32px; }
  .request-panel { padding: 18px; }
  .whatsapp-button { font-size: 12px; padding-right: 12px; padding-left: 12px; gap: 8px; }
  .whatsapp-button > svg { width: 17px; height: 17px; }
}
@media (max-width: 760px) and (display-mode: browser) {
  body { background: linear-gradient(to bottom, var(--browser-background) 0 1px, transparent 100px), var(--page-background); }
  /* Keep the native browser's solid fallback in step with the visible footer. */
  html[data-browser-edge="footer"],
  html[data-browser-edge="footer"] body { background-color: var(--background); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  html, body { background: var(--browser-background); }
  .request-panel { background: var(--panel-base); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mobile-dock { background: #242427; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Temporary dock-free preview: remove this block to restore the existing navigation. */
@media (max-width: 760px) {
  .mobile-dock { display: none; }
  .home-footer { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
}
