@font-face {
  font-family: "Cinzel";
  src: url("./assets/fonts/Cinzel-Regular-static.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-Regular-static.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-SemiBold-static.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-Bold-static.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --gold: #b89a5d;
  --black: #080808;
  --ink: #141414;
  --ivory: #f6f1e9;
  --paper: #fbfaf7;
  --radius: 8px;
  --radius-soft: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
  --bg: #080808;
  --surface: #101010;
  --surface-soft: #171717;
  --text: #f7f1e8;
  --muted: rgba(247, 241, 232, .62);
  --hairline: rgba(247, 241, 232, .12);
  --wash: rgba(247, 241, 232, .06);
  --hero-shade: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .38), rgba(0, 0, 0, .1));
}

html[data-theme="light"] {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f1eee7;
  --text: #101010;
  --muted: rgba(16, 16, 16, .58);
  --hairline: rgba(16, 16, 16, .12);
  --wash: rgba(16, 16, 16, .045);
  --hero-shade: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .32), rgba(0, 0, 0, .06));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(22px);
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
}

.brand span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  font-size: .84rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.theme-toggle,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: var(--wash);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.theme-toggle span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 6px -3px 0 0 var(--gold);
  border: 1px solid var(--gold);
}

html[data-theme="light"] .theme-toggle span {
  background: var(--gold);
  box-shadow: none;
}

.theme-toggle:hover,
.icon-button:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--wash) 72%, var(--gold));
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-h) + 54px) clamp(20px, 4vw, 56px) 34px;
}

.hero-media,
.hero-overlay,
.hero-media picture,
.hero-media img,
.hero-media .photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.96) contrast(.98);
}

.hero-overlay {
  z-index: 1;
  background: var(--hero-shade);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding-bottom: clamp(46px, 10vh, 96px);
}

.hero-availability {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(78px, 10vh, 124px);
  z-index: 2;
  width: min(210px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-soft);
  background: rgba(12, 12, 12, .38);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  animation: float-soft 7s ease-in-out infinite;
}

.hero-availability span,
.hero-availability small {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-availability strong {
  display: block;
  margin: 8px 0 2px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: .9;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.7vw, 6.7rem);
  line-height: .92;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: #fff;
  color: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

html[data-theme="light"] .button-primary {
  background: var(--ink);
  color: #fff;
}

html[data-theme="light"] .button-ghost {
  background: var(--wash);
  color: var(--text);
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
}

.notice {
  margin: 18px auto 0;
  width: min(1180px, calc(100% - 40px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
}

.notice p {
  margin: 0;
  overflow-wrap: anywhere;
}

code,
.notice strong {
  overflow-wrap: anywhere;
}

.section-pad {
  padding: clamp(58px, 7vw, 96px) clamp(20px, 4vw, 56px);
}

.process.section-pad {
  padding-bottom: clamp(58px, 6vw, 88px);
}

.about.section-pad {
  padding-top: clamp(54px, 6vw, 82px);
}

.section-heading,
.process-grid,
.about,
.contact-inner,
.site-footer {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  line-height: .98;
  font-weight: 400;
  overflow-wrap: break-word;
}

h3 {
  margin: 0;
  font-size: 1rem;
}

.section-heading h2 {
  max-width: 880px;
}

.text-link {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.featured-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  columns: 4 240px;
  column-gap: clamp(8px, 1vw, 14px);
}

.feature-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  margin: 0 0 clamp(8px, 1vw, 14px);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--hairline);
  break-inside: avoid;
  cursor: zoom-in;
}

.feature-item:nth-child(3n + 1) {
  aspect-ratio: 16 / 10;
}

.feature-item:nth-child(5n + 2) {
  aspect-ratio: 1 / 1;
}

.feature-item img,
.feature-item .photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}

.feature-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.cases-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.case-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--hairline);
  isolation: isolate;
}

.case-cover {
  aspect-ratio: 16 / 11;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #0d0d0d;
  cursor: pointer;
}

.case-cover img,
.case-cover .photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.case-card:hover .case-cover img {
  transform: scale(1.018);
}

.case-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 72px 18px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .34), transparent);
  color: #fff;
  pointer-events: none;
}

.case-copy h3 {
  max-width: 12ch;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.2vw, 2.8rem);
  line-height: .98;
}

.case-copy p {
  display: none;
}

.case-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #111;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: transform .2s ease, background-color .2s ease;
}

.case-action:hover,
.case-action:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.process {
  border: 0;
  background:
    linear-gradient(180deg, transparent, rgba(184, 154, 93, .055), transparent),
    var(--bg);
}

.process-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: stretch;
}

.process-note {
  display: grid;
  align-content: space-between;
  gap: 32px;
  min-height: 320px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-soft);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.process-note p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.04rem, 1.45vw, 1.36rem);
  line-height: 1.48;
}

.process-link {
  justify-self: start;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  gap: 12px;
}

.process-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  min-height: 120px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-soft);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.process-grid span {
  display: block;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.process-grid h3 {
  margin-bottom: 8px;
}

.process-grid p {
  grid-column: 2;
}

.process-grid p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(300px, .42fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy p {
  max-width: 680px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.about-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 28px 80px rgba(0, 0, 0, .22);
  animation: float-soft 8s ease-in-out infinite;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 36%;
}

.about-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.contact {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 4vw, 56px);
  background: #050505;
  color: #fff;
}

.contact-inner {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.contact h2 {
  max-width: 820px;
  color: #fff;
}

.contact-copy p {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .62);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.contact-panel > span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-panel .button {
  width: 100%;
}

.contact-panel dl {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.contact-panel div {
  display: grid;
  gap: 2px;
}

.contact-panel dt {
  color: rgba(255, 255, 255, .46);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: var(--muted);
  font-size: .78rem;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: inherit;
  padding: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
}

.photo-placeholder span {
  display: block;
  max-width: 24ch;
  font-family: var(--font-display);
  color: var(--gold);
  text-transform: uppercase;
}

.photo-placeholder small {
  display: block;
  margin-top: 8px;
  font-size: .72rem;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
}

.modal {
  z-index: 120;
}

.lightbox {
  z-index: 160;
}

.modal.is-open,
.lightbox.is-open {
  display: block;
}

.modal.is-open .modal-backdrop {
  animation: fade-in .24s ease both;
}

.modal.is-open .modal-panel {
  animation: modal-rise .34s var(--ease) both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .74);
}

.modal-panel {
  position: absolute;
  inset: clamp(12px, 3vw, 32px);
  overflow: auto;
  border-radius: var(--radius-soft);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55);
}

.modal-content {
  padding: clamp(28px, 5vw, 64px);
}

.modal-head {
  display: grid;
  gap: 10px;
  margin: 0 54px 34px 0;
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 7rem);
  line-height: .96;
  text-transform: uppercase;
}

.modal-head p {
  margin: 0;
  color: var(--muted);
}

.modal-gallery {
  columns: 3 260px;
  column-gap: 10px;
}

.modal-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 220px;
  margin: 0 0 10px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--hairline);
  break-inside: avoid;
  cursor: zoom-in;
}

.modal-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .035), rgba(184, 154, 93, .09), rgba(255, 255, 255, .03));
}

.modal-photo img,
.modal-photo .photo-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: contain;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 3;
  margin: 14px 14px 0 0;
}

.lightbox {
  background: rgba(4, 4, 4, .76);
  backdrop-filter: blur(18px);
}

.lightbox figure {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1180px, calc(100vw - 156px));
  height: min(82vh, 820px);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  margin: 0;
  transform: translate(-50%, -50%);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55);
  transition: opacity .18s ease, transform .3s var(--ease);
}

.lightbox.is-loading img {
  opacity: .76;
  transform: scale(.996);
}

.lightbox figcaption {
  display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(20px, 4vw, 52px);
}

.lightbox-next {
  right: clamp(20px, 4vw, 52px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 86px;
  }

  .site-header {
    align-items: start;
    padding: 14px 22px;
  }

  .site-nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .section-heading,
  .about,
  .process-layout,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .process-note {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 118px;
  }

  .site-header {
    display: grid;
  }

  .site-nav a {
    font-size: .76rem;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 28px;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero-availability {
    display: none;
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 {
    font-size: 2.95rem;
  }

  .section-heading h2 {
    max-width: 12ch;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-lead {
    max-width: 29ch;
  }

  .hero-foot,
  .site-footer {
    display: grid;
  }

  .hero-foot {
    display: none;
  }

  .featured-grid,
  .modal-gallery {
    columns: 1;
  }

  .feature-item {
    min-height: 310px;
    aspect-ratio: 4 / 5;
  }

  .case-cover {
    aspect-ratio: 4 / 5;
  }

  .case-copy {
    align-items: start;
    display: grid;
  }

  .modal-panel {
    inset: 10px;
  }

  .lightbox figure {
    width: calc(100vw - 28px);
    height: min(72vh, 620px);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-availability,
  .about-photo {
    animation: none !important;
  }
}
