:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --soft: rgba(245, 241, 232, 0.72);
  --muted: rgba(245, 241, 232, 0.52);
  --paper: #10100f;
  --panel: #171716;
  --line: rgba(245, 241, 232, 0.18);
  --accent: #d6b17b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 24px clamp(24px, 5vw, 84px);
  color: #fff;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 11, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 1.7vw, 1.52rem);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav > a,
.nav-item > a {
  position: relative;
  opacity: 0.76;
}

.nav > a:hover,
.nav > a.is-active,
.nav-item > a:hover,
.nav-item > a.is-active,
.has-submenu:hover > a,
.has-submenu:focus-within > a {
  opacity: 1;
}

.nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav > a:hover::after,
.nav > a.is-active::after,
.nav-item > a:hover::after,
.nav-item > a.is-active::after,
.has-submenu:hover > a::after,
.has-submenu:focus-within > a::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin: -10px 0;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -34px;
  right: -34px;
  height: 24px;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 210px;
  padding: 14px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(10, 10, 9, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.submenu a {
  display: block;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.instagram {
  justify-self: end;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 1;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
}

h2,
.market-card h3,
p {
  margin-top: 0;
}

h2,
.panel-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.work-index {
  background: #050505;
}

.work-panel {
  position: relative;
  min-height: clamp(300px, 42svh, 560px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: clamp(38px, 7vw, 86px) clamp(20px, 7vw, 118px);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-panel:first-child {
  min-height: clamp(480px, 68svh, 760px);
  padding-top: clamp(120px, 14vw, 180px);
}

.work-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transform: scale(1.01);
  transition: transform 850ms ease, filter 850ms ease;
}

.work-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.46)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
  transition: background 300ms ease;
}

.work-panel:hover .panel-bg {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.06);
}

.work-panel:hover::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42));
}

.bw-panel .panel-bg,
.fine-panel .panel-bg {
  filter: grayscale(1) contrast(1.04);
}

.bw-panel .panel-bg {
  object-position: center 78%;
}

.bw-panel:hover .panel-bg,
.fine-panel:hover .panel-bg {
  filter: grayscale(1) contrast(1.16);
}

.drone-panel .panel-bg {
  object-position: center 42%;
}

.panel-copy {
  max-width: 980px;
  margin-left: clamp(88px, 12vw, 260px);
}

.panel-title {
  display: block;
  margin-bottom: clamp(12px, 2vw, 20px);
  color: #fff;
  font-size: clamp(3rem, 8.2vw, 8.2rem);
  line-height: 0.9;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.panel-text {
  display: block;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.statement {
  display: grid;
  grid-template-columns: minmax(120px, 0.2fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 90px);
  padding: clamp(70px, 10vw, 140px) clamp(20px, 7vw, 118px);
  border-top: 1px solid var(--line);
}

.bio-copy {
  max-width: 980px;
}

.bio-copy p {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--soft);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.bio-copy .bio-lead {
  max-width: 980px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 3.25rem);
  line-height: 1.12;
}

.bio-copy p:last-child {
  margin-bottom: 0;
}

.contact {
  min-height: 100svh;
  display: grid;
  place-items: center;
  gap: clamp(28px, 5vw, 54px);
  padding: clamp(118px, 14vw, 170px) clamp(20px, 7vw, 118px) clamp(70px, 8vw, 120px);
  background:
    linear-gradient(rgba(22, 18, 14, 0.28), rgba(16, 13, 10, 0.42)),
    url("assets/contact-portico.jpeg") center / cover;
}

.contact-page-copy {
  text-align: center;
}

.contact-page-copy .eyebrow {
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.58);
}

.contact h2 {
  max-width: 880px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 4.9rem);
  line-height: 0.96;
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.62);
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  width: min(760px, 100%);
}

.market-card {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 280px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.94);
  color: #211c18;
  text-align: center;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
}

.market-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.market-card h3 {
  max-width: 280px;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.market-card p {
  max-width: 290px;
  margin-bottom: 26px;
  color: #5e554d;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #10100f;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.button:hover {
  color: #fff;
  background: transparent;
}

.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  background: #9b8f84;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-button:hover {
  background: #211c18;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 4.8vw, 72px);
  color: var(--muted);
  background: #080807;
  font-size: 0.82rem;
}

.category-page {
  min-height: 100svh;
  background: var(--paper);
}

.category-hero {
  position: relative;
  min-height: clamp(560px, 78svh, 820px);
  display: grid;
  align-items: end;
  padding: clamp(130px, 14vw, 190px) clamp(20px, 7vw, 118px) clamp(64px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  filter: saturate(0.96) contrast(1.02);
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.4)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.58));
}

.bw-hero .hero-bg {
  object-position: center 78%;
  filter: grayscale(1) contrast(1.08);
}

.fine-hero .hero-bg {
  filter: grayscale(1) contrast(1.08);
}

.drone-hero .hero-bg {
  object-position: center 42%;
}

.category-copy {
  max-width: 900px;
  margin-left: clamp(70px, 12vw, 220px);
}

.category-copy h1 {
  margin: 10px 0 clamp(14px, 2vw, 24px);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.category-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.category-detail {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 7vw, 118px);
}

.category-intro {
  max-width: 880px;
  margin: 0 auto clamp(34px, 5vw, 72px);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 3.4rem);
  line-height: 1.12;
  text-align: center;
}

.category-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
}

.category-gallery img {
  width: 100%;
  height: clamp(280px, 34vw, 540px);
  display: block;
  object-fit: cover;
  background: #050505;
}

.color-story {
  background: #0c0c0b;
}

.color-story .category-intro,
.bw-story .category-intro,
.fine-story .category-intro,
.drone-story .category-intro {
  max-width: 1040px;
}

.bw-story,
.fine-story,
.drone-story {
  background: #0b0b0a;
}

.color-gallery,
.bw-gallery,
.fine-gallery,
.drone-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  max-width: 1440px;
  background: transparent;
}

.color-gallery img,
.bw-gallery img,
.fine-gallery img,
.drone-gallery img {
  height: clamp(260px, 28vw, 470px);
  border: 1px solid rgba(245, 241, 232, 0.1);
}

.color-gallery .wide,
.bw-gallery .wide,
.fine-gallery .wide,
.drone-gallery .wide {
  grid-column: span 2;
}

.bw-gallery .panorama {
  grid-column: 1 / -1;
  height: clamp(180px, 17vw, 300px);
}

.video-section {
  max-width: 1440px;
  margin: clamp(54px, 7vw, 96px) auto 0;
}

.video-section h2 {
  margin: 10px 0 clamp(22px, 3vw, 42px);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: #050505;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
  transition: opacity 200ms ease;
}

.video-card::after {
  content: "PLAY";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
}

.video-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
  transition: transform 260ms ease, filter 260ms ease;
}

.video-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.12);
}

.page-back {
  display: table;
  margin: clamp(34px, 5vw, 60px) auto 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-dialog {
  width: min(780px, calc(100% - 28px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.contact-dialog form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 5vw, 52px);
  background: #11100f;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.contact-dialog .eyebrow,
.contact-dialog h2 {
  grid-column: 1 / -1;
}

.contact-dialog h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.contact-dialog label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-dialog input,
.contact-dialog textarea {
  width: 100%;
  border: 1px solid rgba(245, 241, 232, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-dialog input:focus,
.contact-dialog textarea:focus {
  border-color: var(--accent);
}

.wide-field {
  grid-column: 1 / -1;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.cookie-notice {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  background: rgba(10, 10, 9, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.cookie-notice p {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.cookie-notice .cookie-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.cookie-notice button {
  min-width: 108px;
  border: 1px solid rgba(245, 241, 232, 0.24);
  background: var(--ink);
  color: #11100f;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 16px 20px;
  }

  .brand,
  .instagram {
    justify-self: center;
  }

  .instagram {
    display: none;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
    font-size: 0.68rem;
  }

  .submenu {
    top: calc(100% + 14px);
    min-width: 180px;
  }

  .statement {
    grid-template-columns: 1fr;
  }

  .work-panel {
    min-height: 360px;
    grid-template-columns: 1fr;
    padding: 48px 22px;
  }

  .panel-copy {
    margin-left: 0;
  }

  .category-copy {
    margin-left: 0;
  }

  .panel-text {
    max-width: 520px;
  }

  .market-cards {
    grid-template-columns: 1fr;
  }

  .category-gallery {
    grid-template-columns: 1fr;
  }

  .color-gallery,
  .bw-gallery,
  .fine-gallery,
  .drone-gallery,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .color-gallery .wide,
  .bw-gallery .wide,
  .fine-gallery .wide,
  .drone-gallery .wide,
  .bw-gallery .panorama {
    grid-column: auto;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
  }

  .panel-title {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .work-panel {
    min-height: 330px;
  }

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

  .site-footer {
    display: block;
  }
}
