:root {
  color-scheme: light;
  --paper: #f8f2eb;
  --ink: #341a23;
  --wine: #441827;
  --muted: #745961;
  --line: #dbc8c4;
  --hero-fg: #fff5ea;
  font-family: 'Geeza Pro', Tahoma, Arial, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a6536d; outline-offset: 4px; }
.wrap { width: min(1150px, calc(100% - 96px)); margin-inline: auto; }
.topbar { background: #030303; color: var(--hero-fg); border-bottom: 1px solid #fff2e829; }
.nav { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 22px; display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.wordmark span { display: grid; gap: 3px; }
.wordmark small { font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .12em; }
.wordmark img { display: block; object-fit: contain; }
.nav nav, .social { display: flex; gap: clamp(18px, 3vw, 38px); font-size: 15px; }
.nav nav a:hover, .social a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 10px 17px; border: 1px solid #fff5ea66; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.nav-cta:hover { background: #fff5ea17; }
.hero {
  position: relative;
  isolation: isolate;
  color: var(--hero-fg);
  background: #291920;
}
.hero::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 57%; z-index: -1; background: linear-gradient(270deg, #291920 0%, #29192000 35%), url('assets/portfolio/feature.jpg') center 36% / cover no-repeat; }
.hero-inner { min-height: 600px; display: grid; align-items: center; padding-block: 75px 94px; }
.hero-copy { max-width: 550px; }
.location, .eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.location { display: flex; align-items: center; gap: 10px; color: #f2ccd1; }
.location span { width: 6px; height: 6px; background: #e2a4b0; border-radius: 50%; }
h1, h2, .wordmark { font-family: 'Damascus', 'Geeza Pro', Tahoma, serif; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(58px, 8.3vw, 117px); line-height: 1.06; }
h1 em { color: #e6adba; font-style: normal; }
h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.12; }
p { line-height: 1.7; }
.lede { color: #fbebe5; font-size: clamp(16px, 2vw, 21px); max-width: 30ch; margin: 26px 0 31px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 49px; padding: 11px 20px; border: 1px solid transparent; border-radius: 4px; font: inherit; font-weight: bold; cursor: pointer; }
.button-light { background: #f8eee3; color: var(--ink); }
.button-light:hover { background: #f2ccd1; }
.button-dark { background: var(--wine); color: #fff7ee; }
.button-dark:hover { background: #62283a; }
.text-link { padding-block: 9px; border-bottom: 1px solid #e6adba; }
.text-link span { margin-inline-start: 8px; }
.portfolio { padding-block: 77px 83px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; gap: 20px; }
.eyebrow { color: #8a4357; }
.gallery-filter { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 5px; }
.gallery-filter button { min-height: 38px; min-width: 66px; padding: 5px 13px; color: var(--ink); background: none; border: 0; border-radius: 3px; cursor: pointer; font: inherit; }
.gallery-filter button[aria-pressed='true'] { background-color: var(--wine); color: #fff7ee; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.look { margin: 0; min-width: 0; }
.look-media { position: relative; }
.look-media::after {
  content: '';
  position: absolute;
  --logo-x: calc(var(--logo-inset-x, 0%) + 7px);
  --logo-y: calc(var(--logo-inset-y, 0%) + 7px);
  bottom: var(--logo-y);
  right: var(--logo-x);
  width: clamp(18px, 7%, 28px);
  aspect-ratio: 780 / 800;
  border-radius: 3px;
  background: url('assets/ks.png') center / contain no-repeat;
  opacity: .84;
  pointer-events: none;
}
.look-media[data-logo-corner$="-left"]::after { left: var(--logo-x); right: auto; }
.look-media[data-logo-corner^="top-"]::after { top: var(--logo-y); bottom: auto; }
.look-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 5px; background-color: #d9bab3; }
.look-image-preview { cursor: zoom-in; }
.look-video-poster { cursor: pointer; }
.look-video-poster, video.look-photo { object-fit: contain; background-color: #21151c; }
.look-credit { display: flex; align-items: center; gap: 8px; min-height: 53px; padding-block: 4px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: bold; }
.look-action { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-inline-start: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--wine); cursor: pointer; font: 17px Arial, sans-serif; }
.look-action:hover { background: var(--wine); border-color: var(--wine); color: #fff7ee; }
.gallery-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 27px; }
.gallery-pages button { min-height: 44px; min-width: 70px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; color: var(--wine); background: transparent; font: inherit; cursor: pointer; }
.gallery-pages button:not(:disabled):hover { background: #ead6d3; }
.gallery-pages button:disabled { opacity: .5; cursor: default; }
.gallery-pages p { margin: 0; font-size: 14px; color: var(--muted); }
#portfolio-title { scroll-margin-top: 18px; }
.photo-viewer { --viewer-bar-height: 48px; width: max-content; max-width: calc(100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 6px; background: #21151c; }
.photo-viewer::backdrop { background: #140c11e6; }
.photo-viewer .look-media { width: fit-content; max-width: 100%; margin-inline: auto; }
.photo-viewer img { display: block; max-width: 100%; max-height: calc(100dvh - 24px - var(--viewer-bar-height)); margin-inline: auto; object-fit: contain; }
.photo-viewer-controls { display: flex; align-items: center; justify-content: flex-end; min-height: var(--viewer-bar-height); margin: 0; padding: 0 8px; background: none; box-shadow: none; }
.photo-viewer-controls button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff7ee; background: #21151ce6; font: 28px Arial, sans-serif; cursor: pointer; }
.booking { padding-block: 72px; background: #ead6d3; }
.booking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 100px); align-items: center; }
.booking-copy { margin-bottom: 0; font-size: 17px; color: var(--muted); }
form { padding: 25px; border-radius: 6px; background: #fff9f1; box-shadow: 0 8px 30px #4d1b2c0b; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 8px; font-weight: 700; font-size: 14px; min-width: 0; }
input, select { width: 100%; min-width: 0; padding: 9px; min-height: 44px; border: 1px solid #cdb9b5; border-radius: 4px; background: #fffdf8; color: var(--ink); font: inherit; }
.form-note { font-size: 13px; color: var(--muted); margin: -7px 0 0; }
.result { border: 1px solid var(--line); padding: 11px; background: var(--paper); border-radius: 4px; }
.result p { margin: 0 0 9px; white-space: pre-line; }
.copy { font: inherit; color: var(--wine); cursor: pointer; border: 0; background: transparent; padding: 7px 0; text-decoration: underline; }
.footer { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 20px; }
.social { color: var(--muted); flex-wrap: wrap; }
@media (max-width: 750px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 66px; gap: 12px; }
  .nav nav { display: none; }
  .hero-inner { min-height: 530px; padding-block: 60px; align-items: end; }
  .hero::before { width: 100%; background-image: linear-gradient(0deg, #291920fa 2%, #291920b0 44%, #29192012 78%), url('assets/portfolio/feature.jpg'); background-position: center, center 34%; }
  .hero-copy { max-width: 430px; }
  .portfolio, .booking { padding-block: 54px; }
  .booking-inner { grid-template-columns: 1fr; }
  .section-head { display: grid; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-credit { font-size: 13px; }
}
@media (max-width: 420px) {
  .footer { padding-block: 18px; align-items: start; flex-direction: column; justify-content: center; }
  form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
