body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: #fff; padding: 0.6rem 0.75rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.25rem; }
.logo { display: flex; align-items: center; min-height: 2.75rem; }
.logo img { height: 44px; width: auto; }
@media (min-width: 48rem) { .logo img { height: 60px; } }
.menu-toggle { display: none; background: none; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius); min-height: 2.75rem; padding: 0.35rem 0.9rem; font: inherit; font-weight: 600; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding-block: 0.6rem; text-decoration: none; font-weight: 500; }
.site-nav ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav .btn { padding: 0.55em 0.9em; text-align: center; }

@media (max-width: 48rem) {
  .header-row { flex-wrap: wrap; }
  .site-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 0.75rem; padding-bottom: 0.75rem; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { border-top: 1px solid rgba(255, 255, 255, 0.15); }
  .js .menu-toggle { display: inline-block; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

/* Type scale. brand.css holds the shared base; the public site sets its own sizes. */
body { font-size: 1.0625rem; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); text-wrap: balance; }
main h3 { font-size: 1.5rem; }

/* Hero: the page's one dark, image-led moment. Phones: the render on top, the copy below it on navy. */
.hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 78vh; background: var(--ink); color: #fff; }
.hero picture { position: absolute; inset: 0 0 auto; height: 62%; }
.hero img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(3, 20, 47, 0) 22%, var(--ink) 57%); }
.hero-text { position: relative; z-index: 1; padding-block: 2rem 1.25rem; }
.hero-text > * { animation: hero-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-text > :nth-child(2) { animation-delay: 70ms; }
.hero-text > :nth-child(3) { animation-delay: 140ms; }
.hero-text > :nth-child(4) { animation-delay: 210ms; }
.hero-text > :nth-child(5) { animation-delay: 280ms; }
.hero-text h1 { max-width: 11em; margin-bottom: 0.3em; }
.hero-text p { max-width: 34ch; font-size: 1.25rem; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions .btn { font-size: 1.1rem; padding: 0.8em 1.4em; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover, .hero .btn-outline:focus-visible { background: #fff; color: var(--ink); }
.hero :focus-visible { outline-color: var(--gold); }
.hero-text .hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; max-width: none; margin: 0 0 1rem; padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  border: 1px solid rgba(244, 216, 149, 0.5); border-radius: 999px; background: rgba(3, 20, 47, 0.6);
  color: var(--gold-light); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; backdrop-filter: blur(6px);
}
.hero-badge svg { color: var(--gold); }
/* Every service as a chip, so the first screen shows the full range. */
.hero-services { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 38rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.hero-services a {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 0.95rem; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px; background: rgba(3, 20, 47, 0.55); color: #fff; font-size: 0.95rem; text-decoration: none;
  backdrop-filter: blur(6px); transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hero-services a:hover, .hero-services a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-more a, .demo-caption a { display: inline-block; padding-block: 0.75rem; text-underline-offset: 4px; }
.hero-caption { position: absolute; z-index: 1; bottom: 0; right: 0; margin: 0; padding: 0.15rem 0.6rem; font-size: 0.85rem; background: rgba(3, 20, 47, 0.8); }
@media (min-width: 56rem) {
  .hero { align-items: center; min-height: 88vh; }
  .hero picture { inset: 0 0 0 auto; width: 62%; height: auto; }
  .hero::after { background: linear-gradient(90deg, var(--ink) 40%, rgba(3, 20, 47, 0) 72%); }
  .hero-text { padding-block: 3rem 5rem; }
  .hero-caption { top: 0; bottom: auto; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes hero-settle { from { transform: scale(1.04); } }
/* Info band: four cards that float over the hero's lower edge on wide screens. */
.info-wrap { position: relative; z-index: 2; margin-top: 1.25rem; }
@media (min-width: 56rem) { .info-wrap { margin-top: -2.75rem; } }
.info-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.info-band li {
  display: flex; align-items: center; gap: 0.9rem; min-height: 5rem; padding: 0.9rem 1.1rem;
  border: 1px solid var(--hairline); border-radius: 14px; background: #fff;
  box-shadow: 0 18px 36px -24px rgba(3, 20, 47, 0.45), 0 2px 6px -3px rgba(3, 20, 47, 0.12);
}
.info-icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: var(--gold-light); }
.info-band small { display: block; font-size: 0.8rem; color: var(--muted); }
.info-band b { display: block; font-weight: 600; line-height: 1.3; }
.info-band a { display: inline-block; padding-block: 0.3rem; text-decoration: none; }
.info-band a:hover, .info-band a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Motion. Buttons ease their color; scroll reveal hides content only when JavaScript runs and motion is allowed. */
.btn { transition: background-color 150ms, color 150ms, border-color 150ms; }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-light); }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* About: the text beside one render */
.about { display: grid; gap: 1.5rem 3rem; }
.about figure { margin: 0; }
.about img { width: 100%; }
.about-text p:first-child { font-size: 1.45rem; line-height: 1.35; font-weight: 500; }
@media (min-width: 56rem) { .about { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* Customer portal: its own section on the stage ground */
.portal { margin-top: clamp(2.75rem, 7vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); background: var(--stage); border-block: 1px solid #E4E4DF; }
.portal-grid { display: grid; gap: 2rem; }
.portal .ticks { columns: auto; max-width: 30rem; }
.portal .ticks li { border-color: #E4E4DF; }
.portal-demo { justify-self: center; }
.demo-caption { margin: 0.25rem 0 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 60rem) { .portal-grid { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; } }

/* Sections: a drawn rule, then a real heading */
.section { padding-block: clamp(2.75rem, 7vw, 5rem) 0; }
.lead { font-size: 1.35rem; line-height: 1.4; color: var(--muted); }
.section h2, .service-body h2 { margin-bottom: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--ink); }

/* Service cards: thumbnail beside the text on phones, on top from tablets up. */
.services-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.services-list a {
  display: grid; grid-template-columns: 6.5rem 1fr; grid-template-rows: auto 1fr; column-gap: 1rem; height: 100%; padding: 0.75rem;
  border: 1px solid var(--hairline); border-radius: 12px; background: #fff; text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
}
.services-list a:not(:has(img)) { grid-template-columns: 1fr; }
.services-list picture { grid-column: 1; grid-row: 1 / 3; overflow: hidden; aspect-ratio: 1; border-radius: 8px; background: var(--stage); }
.services-list img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.services-list b { grid-column: -2; align-self: end; padding-top: 0.2rem; font-size: 1.3rem; font-stretch: 75%; font-weight: 700; line-height: 1.15; }
.services-list span { grid-column: -2; margin-top: 0.3rem; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
@media (min-width: 40rem) {
  .services-list a { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
  .services-list picture { order: -1; aspect-ratio: 16 / 10; border-radius: 0; }
  .services-list b { align-self: auto; padding: 1rem 1.1rem 0; }
  .services-list span { padding: 0 1.1rem 1.25rem; }
}
.services-list a:hover, .services-list a:focus-visible { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 22px 40px -26px rgba(3, 20, 47, 0.45); }
.services-list a:hover img, .services-list a:focus-visible img { transform: scale(1.05); }

/* Masonry: every render keeps its own shape, so portraits and posters show whole. */
.gallery-grid { columns: 2 17rem; column-gap: 1.25rem; margin-bottom: 1.5rem; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 1.5rem; }
/* Home Design concepts: three columns on wide screens; each photo links to its service page. */
.work-grid { columns: 3 15rem; }
.page-hero figure { margin: 0; }
.zoom { display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--stage); cursor: zoom-in; }
.work-grid a { display: block; border-radius: 6px; overflow: hidden; background: var(--stage); }
.zoom img, .work-grid img { display: block; width: 100%; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.zoom:hover img, .zoom:focus-visible img, .work-grid a:hover img, .work-grid a:focus-visible img { transform: scale(1.03); }
.page-hero .zoom { display: inline-block; width: auto; background: none; }
.page-hero .zoom img { width: auto; }
.gallery-grid figcaption, .about figcaption, .page-hero figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--hairline); }
.work-grid figcaption { color: var(--ink); }
.work-grid figcaption small { display: block; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.02em; }
.gallery-group + .gallery-group { margin-top: 3rem; }
.gallery-group h2 a { display: inline-block; padding-block: 0.4rem; text-decoration: none; }
.gallery-group h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.more a, .crumb a, .footer-cols a, .contact-list a, .map a { display: inline-block; padding-block: 0.6rem; }
.more { margin: 0; font-weight: 600; }

/* Contact */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1.5fr 1fr; gap: 3.5rem; } }
.contact-form { display: grid; gap: 1.1rem 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--stage); }
@media (min-width: 40rem) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form-note, .contact-form .btn { grid-column: 1 / -1; }
}
.contact-form .btn { justify-self: start; font-size: 1.1rem; padding: 0.8em 1.4em; }
.field label { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: 0.95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem; font: inherit; color: var(--ink);
  border: 1px solid var(--muted); border-radius: var(--radius); background: #fff;
}
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); }
.botcheck { display: none; }
.field textarea { resize: vertical; }
.contact-direct h3 { margin-bottom: 0.75rem; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.contact-list li { display: grid; grid-template-columns: 6rem 1fr; align-items: center; min-height: 3.5rem; border-bottom: 1px solid var(--hairline); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.map { margin-top: 1.5rem; }
.map iframe { display: block; width: 100%; height: 16rem; border: 1px solid var(--hairline); }
.map a { font-weight: 600; }

/* Service pages */
.page-hero { padding-block: clamp(1.5rem, 4vw, 2.5rem) 0; }
.page-hero .wrap { display: grid; gap: 1.5rem 3rem; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lead { margin: 0; max-width: 28ch; }
.page-hero img { width: auto; max-height: 34rem; }
@media (min-width: 56rem) { .page-hero--image { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.crumb { margin-bottom: 0.5rem; }
.crumb a { color: var(--gold-text); font-weight: 600; }
.service-body { display: grid; gap: clamp(2.5rem, 6vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
.service-body > div:first-child { font-size: 1.2rem; }
.ticks { list-style: none; margin: 0; padding: 0; columns: 18rem 2; column-gap: 2.5rem; }
.ticks li { break-inside: avoid; padding: 0.5rem 0 0.5rem 1.4rem; position: relative; border-bottom: 1px solid var(--hairline); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 0.5rem; height: 0.5rem; background: var(--gold-text); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; padding: 0.8rem 0; border-bottom: 1px solid var(--hairline); }
.steps li::before { content: counter(step); font-stretch: 75%; font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--gold-text); }
.steps strong { display: block; }
.tagline { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; font-stretch: 75%; font-weight: 700; max-width: 26ch; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-body { padding-block: 2.5rem 2rem; display: grid; gap: 2rem; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-cols h2 { font-size: 1.5rem; color: var(--gold-light); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols ul { columns: 2 10rem; column-gap: 2rem; }
.footer-cols li { break-inside: avoid; }
.footer-cols p { margin: 0; }
.footer-note { color: #B9C2D3; font-size: 0.9rem; margin: 0; }

/* Image viewer */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(3, 12, 28, 0.95); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.25s ease-out; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: grid; justify-items: center; gap: 0.75rem; margin: 0; padding: 4rem 1rem 5rem; }
.lb-media img { display: block; width: auto; height: auto; max-width: min(92vw, 90rem); max-height: 76dvh; object-fit: contain; animation: lb-img 0.3s ease-out; }
.lightbox figcaption { max-width: 60ch; color: #C9D1DE; font-size: 0.95rem; text-align: center; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, 0.2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (max-width: 40rem) { .lb-prev, .lb-next { top: auto; bottom: 1.25rem; transform: none; } }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-img { from { opacity: 0; transform: scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .lightbox[open], .lb-media img { animation: none; } }
