:root {
  color-scheme: dark;
  --ink: #070707;
  --soft-ink: #11100e;
  --paper: #f7f2e8;
  --paper-muted: #d9d0c0;
  --silver: #9ea19b;
  --amber: #d9a441;
  --rust: #8e3e2f;
  --blue: #4e6d7c;
  --line: rgba(247, 242, 232, 0.16);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.82), rgba(7, 7, 7, 0.1));
}

.brand,
nav,
.header-action {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(247, 242, 232, 0.48);
  border-radius: 50%;
  color: var(--paper);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.12rem;
}

nav {
  gap: clamp(14px, 2.6vw, 34px);
  color: rgba(247, 242, 232, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--paper);
}

.header-action {
  justify-self: end;
  min-height: 40px;
  justify-content: center;
  border: 1px solid rgba(247, 242, 232, 0.42);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.88), rgba(7, 7, 7, 0.42) 46%, rgba(7, 7, 7, 0.02)),
    linear-gradient(0deg, rgba(7, 7, 7, 0.82), rgba(7, 7, 7, 0.02) 52%);
}

.hero-copy {
  width: min(860px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 8vh, 84px) clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3.8rem, 8.2vw, 8rem);
}

h2 {
  font-size: clamp(2.65rem, 6.8vw, 6.4rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(247, 242, 232, 0.84);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--paper);
  color: var(--ink);
}

.secondary {
  border: 1px solid rgba(247, 242, 232, 0.44);
  color: var(--paper);
}

.statement {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.46fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  color: var(--ink);
}

.statement > p {
  max-width: 1000px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.9rem);
  line-height: 1.04;
}

.statement-stats {
  display: grid;
  gap: 10px;
}

.statement-stats span {
  border-bottom: 1px solid rgba(7, 7, 7, 0.18);
  padding: 12px 0;
  color: #38332b;
  font-weight: 800;
}

.services,
.client-paths,
.work,
.process,
.faq {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.client-paths {
  background:
    linear-gradient(135deg, rgba(78, 109, 124, 0.22), transparent 34%),
    #0c0c0b;
  border-block: 1px solid var(--line);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.path-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(247, 242, 232, 0.06);
}

.path-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.path-grid p,
.dm-list p,
.faq-grid p {
  color: rgba(247, 242, 232, 0.68);
}

.service-grid article {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-ink);
  box-shadow: var(--shadow);
}

.service-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.service-grid article:hover img {
  transform: scale(1.04);
}

.service-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.08) 62%);
}

.service-grid div {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.service-grid span,
.process-list span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-grid p,
.featured-copy p,
.process-list p,
.contact p,
footer {
  color: rgba(247, 242, 232, 0.68);
}

.featured {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding: clamp(70px, 10vw, 116px) clamp(18px, 5vw, 72px);
  background: #13120f;
  border-block: 1px solid var(--line);
}

.booking-guide {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding: clamp(68px, 9vw, 108px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  color: var(--ink);
}

.booking-guide .eyebrow {
  color: var(--rust);
}

.dm-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dm-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(7, 7, 7, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.dm-list span {
  color: var(--rust);
  font-weight: 900;
}

.dm-list p {
  margin: 0;
  color: #4b4439;
}

.featured-copy {
  max-width: 620px;
}

.featured-copy h2 {
  margin-bottom: 22px;
}

.featured-images {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  align-items: end;
}

.featured-images img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.featured-images img:first-child {
  grid-row: span 2;
  min-height: 610px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  color: rgba(247, 242, 232, 0.74);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  background: var(--paper);
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  min-height: 280px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #1a1916;
  cursor: zoom-in;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.045);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.process {
  background: var(--paper);
  color: var(--ink);
}

.process .eyebrow {
  color: var(--rust);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  border: 1px solid rgba(7, 7, 7, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.process-list p {
  color: #4b4439;
}

.faq {
  background: #0b0a09;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(247, 242, 232, 0.06);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.72)),
    url("assets/samcube/film-frame-1.jpg") center / cover;
}

.contact h2 {
  margin-bottom: 22px;
}

.contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(7, 7, 7, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-card a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.contact-card p {
  margin: 0;
  font-size: 0.92rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: #050505;
  font-size: 0.94rem;
}

footer span:first-child {
  color: var(--paper);
  font-weight: 900;
}

.mobile-booking {
  display: none;
}

.lightbox {
  width: min(1060px, calc(100vw - 26px));
  max-height: calc(100vh - 26px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #050505;
  color: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(14px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 118px);
  object-fit: contain;
  background: #050505;
}

.lightbox p {
  margin: 0;
  padding: 15px 18px 18px;
  color: rgba(247, 242, 232, 0.76);
  font-weight: 700;
}

.close-lightbox {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 242, 232, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: var(--paper);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1080px) {
  .service-grid,
  .process-list,
  .path-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .statement,
  .featured,
  .contact,
  .booking-guide {
    grid-template-columns: 1fr;
  }

  .featured-images {
    grid-template-columns: 1fr 1fr;
  }

  .featured-images img:first-child {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 13px 15px;
  }

  .brand span:last-child {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 90vh;
  }

  .hero > img {
    object-position: 54% center;
  }

  .hero-copy {
    width: calc(100% - 30px);
    margin: 0 15px 36px;
  }

  h1 {
    font-size: clamp(3.45rem, 17vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .hero-actions,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-action {
    width: 100%;
  }

  .header-action {
    width: auto;
  }

  .services,
  .client-paths,
  .work,
  .process,
  .faq,
  .statement,
  .featured,
  .booking-guide,
  .contact {
    padding-inline: 15px;
  }

  .service-grid,
  .path-grid,
  .process-list,
  .faq-grid,
  .gallery,
  .featured-images {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 420px;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
  }

  .featured-images img,
  .featured-images img:first-child {
    min-height: 360px;
  }

  .mobile-booking {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 30;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 7, 7, 0.18);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
    font-weight: 900;
  }
}
