/* Digital Empire Co. — black & gold, taken from the logo */
:root {
  --black: #000000;
  --page: #0D0C0A;
  --card: #161410;
  --panel: #1A1814;
  --ivory: #F3EDE1;
  --muted: #B9B0A0;
  --gold: #C9A85C;
  --rule: #4A3F2A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip input:focus-visible + span {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
em { color: var(--gold); font-style: italic; }
p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--gold); color: var(--page); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

.label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--gold); }

/* Buttons: one pill style everywhere */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 30px;
  border: 0; border-radius: 999px; background: var(--gold); color: var(--page); cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
}
.pill:hover { opacity: .88; }
.pill-lg { height: 54px; padding: 0 36px; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; height: var(--header-h);
  background: var(--black); padding: 0 48px;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px;
}
.logo img { height: 72px; width: auto; }
.nav { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 36px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.nav ul a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .pill { height: 44px; padding: 0 24px; }
.social { display: flex; }
.social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .site-header { padding: 0 12px 0 20px; grid-template-columns: 1fr auto; }
  .logo img { height: 56px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--ivory); cursor: pointer; padding: 0;
  }
  .menu-toggle .icon-close { display: none; }
  .menu-open .menu-toggle .icon-open { display: none; }
  .menu-open .menu-toggle .icon-close { display: block; }
  .nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--black);
    grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 48px; padding: 24px;
  }
  .menu-open .nav { display: grid; }
  .nav ul { flex-direction: column; align-items: center; gap: 30px; font-size: 14px; letter-spacing: .26em; }
  .nav-actions { flex-direction: column; gap: 22px; }
  .nav-actions .pill { height: 50px; padding: 0 28px; }
}

/* ---------- Banner ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--black);
  height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 960px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
@media (orientation: portrait) { .hero { background: var(--black) url("../media/banner/vertical-poster.jpg") center / cover no-repeat; } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.75) 100%); }
.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 24px; }
.hero h1 {
  max-width: 1100px; font-size: clamp(48px, 7vw, 96px); line-height: 1.03;
  letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero h1 em { text-transform: lowercase; }
.hero-sub { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 12px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* ---------- Sections ---------- */
.sec { max-width: 1344px; margin: 0 auto; padding: 112px 48px; display: flex; flex-direction: column; gap: 56px; }
.sec.narrow, .narrow { max-width: 1200px; }
.ruled { border-top: 1px solid var(--rule); }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.sec-head h2 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.08; }
.lede { font-size: 17px; line-height: 1.7; max-width: 560px; color: var(--ivory); }
.ph { background: var(--panel); border: 1px dashed var(--rule); display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* 01 Work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tile { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.tile-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.tile-media > img, .tile-media > video, .slide > img, .slide > video { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { display: flex; flex-direction: column; gap: 8px; }
.tile .label { font-size: 11px; letter-spacing: .24em; }
.tile-name { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.tile-note { font-size: 12px; color: var(--muted); line-height: 1.5; }

.carousel .track { display: flex; height: 100%; transition: transform .45s ease; }
.carousel .slide { flex: 0 0 100%; height: 100%; }
.carousel .slide.ph { border: 0; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: rgba(0,0,0,.6); color: var(--ivory); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.car-btn:hover { background: rgba(0,0,0,.8); }
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: var(--ivory); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; letter-spacing: .12em; }

/* 02 / 03 cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 30px; line-height: 1.15; }
.card p { font-size: 16px; line-height: 1.7; }
.numeral { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); }
.card-media { padding: 0; overflow: hidden; gap: 0; }
.card-img { aspect-ratio: 4 / 5; border: 0; border-bottom: 1px dashed var(--rule); }
.card-img > img, .card-img > video { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.text-link { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--gold); border-bottom: 1px solid var(--gold); padding: 12px 0 4px; }

/* 04 Process */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 12.5%; right: 12.5%; top: 28px; height: 1px; background: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.step-n { width: 56px; height: 56px; border-radius: 999px; background: var(--page); border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; }
.steps h3 { font-size: 28px; }
.steps p { font-size: 15px; line-height: 1.7; max-width: 260px; }
.center-note { text-align: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* 05 About + 06 band */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; }
.photo-card { margin: 0; background: var(--card); border: 1px solid var(--gold); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 18px; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 8px; }
.photo-card figcaption { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.photo-card .label { font-size: 11px; letter-spacing: .22em; }
.photo-name { font-family: var(--serif); font-size: 28px; }
.story { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.story h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; }
.story p:not(.label) { font-size: 17px; line-height: 1.8; }
.story .signature { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold); }
.band { background: var(--black); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; padding-top: 96px; padding-bottom: 96px; }
.band-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 16px; background: radial-gradient(circle at 50% 45%, #1d1910 0%, #000 70%); }
.band-img img { width: 78%; height: auto; }

/* 07 FAQ */
.faq { max-width: 960px; gap: 48px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 24px; flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 48px 28px 0; font-size: 16px; line-height: 1.75; }

/* 08 Contact */
.contact { background: var(--card); border-top: 1px solid var(--rule); }
.contact-inner { max-width: 880px; gap: 48px; }
.inquiry { display: flex; flex-direction: column; gap: 24px; }
.form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.inquiry label, .chips legend { display: flex; flex-direction: column; gap: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.optional { letter-spacing: .1em; text-transform: none; color: var(--muted); font-weight: 400; }
.inquiry input:not([type=checkbox]), .inquiry select, .inquiry textarea {
  width: 100%; height: 52px; background: var(--page); border: 1px solid var(--rule); border-radius: 10px; color: var(--ivory);
  padding: 0 16px; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none;
}
.inquiry select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.inquiry select:disabled { opacity: .55; }
.inquiry textarea { height: auto; padding: 14px 16px; resize: vertical; }
.inquiry ::placeholder { color: #7d7566; }
.inquiry [aria-invalid="true"] { border-color: #E07A5F; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 12px; padding: 0; width: 100%; }
.chip { flex-direction: row !important; gap: 0 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
  font-size: 12px; letter-spacing: .14em; color: var(--ivory); background: var(--page); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--page); }
.trap { position: absolute !important; left: -9999px !important; }
.form-error { color: #F2A48F; font-size: 15px; text-align: center; }
.form-submit { display: flex; justify-content: center; padding-top: 8px; }
.inquiry button[disabled] { opacity: .6; cursor: wait; }

/* After-send screens: ivory panel so the gold-on-black button stands out */
.result { background: var(--ivory); color: var(--page); border-radius: 20px; padding: 56px 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px; outline: none; }
.result[hidden] { display: none; }
.result .label { color: #7A5F22; }
.result h3 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.result p:not(.label) { font-size: 17px; line-height: 1.75; max-width: 520px; }
.pill-solid { background: var(--page); color: var(--gold); margin-top: 8px; }

/* ---------- Floating booking button ---------- */
.float-book {
  position: fixed; z-index: 15; right: 0; top: 50%; transform: translate(100%, -50%) rotate(180deg);
  writing-mode: vertical-rl; background: var(--gold); color: var(--page); padding: 26px 14px; border-radius: 0 12px 12px 0;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.float-book.show { opacity: 1; pointer-events: auto; transform: translate(0, -50%) rotate(180deg); }
.float-book.show:hover { opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--rule); }
.foot { max-width: 1344px; margin: 0 auto; padding: 72px 48px 40px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand img { height: 96px; width: auto; }
.foot-brand .label { font-size: 11px; letter-spacing: .3em; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.copyright { padding: 20px 24px 32px; text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--muted); border-top: 1px solid #1F1C16; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .work-grid, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps-line { display: none; }
  .split { gap: 56px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .hero { min-height: 520px; }
  .sec { padding: 80px 24px; gap: 40px; }
  .work-grid, .grid3, .form2, .form3, .steps { grid-template-columns: minmax(0, 1fr); }
  .split, .band .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .band .split { padding-top: 72px; padding-bottom: 72px; }
  .faq-list summary { font-size: 21px; }
  .faq-list details p { padding-right: 0; }
  .result { padding: 44px 24px; }
  .float-book {
    writing-mode: horizontal-tb; top: auto; bottom: 16px; right: 16px; padding: 0 22px; height: 48px; display: flex; align-items: center;
    border-radius: 999px; letter-spacing: .2em; transform: translateY(24px);
  }
  .float-book.show { transform: none; }
  .foot { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 64px 24px 32px; }
  .foot-brand { align-items: center; }
}

/* Small print */
.form-legal { font-size: 13px; color: var(--muted); text-align: center; }
.form-legal a, .copyright a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Simple pages (404, privacy) ---------- */
.page-header { grid-template-columns: auto 1fr; }
.page-header .back { justify-self: end; }
.page { max-width: 760px; margin: 0 auto; padding: 96px 24px 120px; display: flex; flex-direction: column; gap: 22px; }
.page h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.08; }
.page h2 { font-size: 30px; margin-top: 20px; }
.page p, .page li { font-size: 17px; line-height: 1.8; }
.page ul { margin: 0; padding-left: 22px; }
.page a:not(.pill) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.notfound { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 48px 24px; }
.notfound h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.05; }
.notfound p:not(.label) { font-size: 17px; line-height: 1.7; max-width: 460px; }
.notfound .links { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
