/* Oasis Visuals: dark & cinematic. Deep water-at-night teal, warm sand type, one brass accent. */
:root {
  --deep: #0c1517;      /* page */
  --basin: #132125;     /* raised surfaces */
  --reed: #22343a;      /* lines */
  --sand: #ece1cf;      /* text */
  --mist: #93a39f;      /* secondary text */
  --brass: #c79a5e;     /* the one accent: links, buttons, viewfinder marks */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;   /* wide cut for headlines: no serifs */
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--deep); color: var(--sand); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--brass); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-stretch: 125%; margin: 0; letter-spacing: -.015em; }
h3 { font-weight: 500; font-stretch: 112%; letter-spacing: -.005em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; font-weight: 300; }
h3 { font-size: 22px; line-height: 1.25; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--deep); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--gut);
  background: linear-gradient(rgba(12,21,23,.86), rgba(12,21,23,0)); }
.bar.solid { background: rgba(12,21,23,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--reed); }
.mark { font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 20px; color: var(--sand); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.mark span { color: var(--brass); }
.bar nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.bar nav a { color: var(--sand); text-decoration: none; font-size: 15px; opacity: .85; }
.bar nav a:hover { opacity: 1; color: var(--brass); }
.bar nav a.ask { opacity: 1; border: 1px solid var(--brass); color: var(--brass); padding: 7px 14px; border-radius: 3px; }
.bar nav a.ask:hover { background: var(--brass); color: var(--deep); }
@media (max-width: 860px) { .bar nav a:not(.ask) { display: none; } .mark { font-size: 21px; } }

/* Hero: the viewfinder */
.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 84px var(--gut) clamp(28px, 5vw, 56px); gap: 28px; }
.vf { position: relative; min-height: 56svh; }
.frames { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #18292e 0%, var(--deep) 70%); }
.frames .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.frames .slide.on { opacity: 1; }
.frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* A tall photo: whole, centered, over a dim blur of itself (nobody's head gets cropped) */
.frames .tall .bg { filter: blur(38px) brightness(.45) saturate(1.1); transform: scale(1.15); }
.frames .tall .fg { object-fit: contain; object-position: 50% 50%; }
.frames::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(12,21,23,.55), transparent); }
.vf .c { position: absolute; width: 34px; height: 34px; border: 0 solid var(--brass); pointer-events: none; z-index: 2; }
.vf .tl { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.vf .tr { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.vf .bl { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }
.vf .br { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }
.vfcap { position: absolute; right: 14px; bottom: 12px; margin: 0; z-index: 2; font-size: 13px; color: var(--sand); opacity: .9;
  text-shadow: 0 1px 8px rgba(0,0,0,.8); font-variant-numeric: tabular-nums; }
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.intro h1 { font-size: clamp(32px, 3.9vw, 62px); line-height: 1.04; font-weight: 300; grid-row: span 2; }
.intro h1 .hl span { white-space: nowrap; }
.intro h1 .hl { display: block; transition: opacity .45s ease, transform .45s ease; }
.intro h1 .hl.out { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { .intro h1 .hl { transition: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 420px) { .intro h1 .hl span { white-space: normal; } }
.intro p { margin: 0; color: var(--mist); max-width: 46ch; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro h1 { grid-row: auto; } .vf { min-height: 46svh; } }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 3px; border: 1px solid var(--brass);
  background: var(--brass); color: var(--deep); font: 600 15px var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { background: #d8ad72; border-color: #d8ad72; }
.btn.ghost { background: transparent; color: var(--sand); border-color: var(--reed); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn:disabled { opacity: .55; cursor: default; }

/* Work */
section { padding: clamp(64px, 9vw, 120px) var(--gut); }
.work .head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; }
.tabs { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gl { color: var(--mist); font-size: 13px; margin-right: 4px; }
.tabs button { background: none; border: 1px solid var(--reed); color: var(--sand); font: 500 14px var(--text); padding: 8px 13px; border-radius: 3px; cursor: pointer; }
.tabs button:hover { border-color: var(--mist); }
.tabs button[aria-selected="true"] { border-color: var(--brass); color: var(--brass); }
.blurb { color: var(--mist); max-width: 62ch; margin: 22px 0 26px; }
.rows { --h: clamp(180px, 22vw, 300px); display: flex; flex-wrap: wrap; gap: 8px; }
.rows .ph { position: relative; flex-grow: 1; height: var(--h); background: var(--basin); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; }
.rows .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rows .ph:hover img { transform: scale(1.025); }
.rows .ph:focus-visible { outline-offset: 2px; }
.rows::after { content: ""; flex-grow: 999; }
.empty { border: 1px dashed var(--reed); padding: 48px 24px; text-align: center; color: var(--mist); width: 100%; }
@media (max-width: 600px) { .rows { --h: 150px; gap: 6px; } }

/* Live galleries */
.live { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; background: var(--basin); }
.live .copy p { color: var(--mist); max-width: 54ch; }
.live ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 54ch; }
.live li { padding-left: 18px; border-left: 2px solid var(--brass); color: var(--mist); }
.live li b { color: var(--sand); font-weight: 600; }
.phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 18.5; border-radius: 34px; border: 1px solid var(--reed); padding: 12px; background: #0a1113; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.scr { height: 100%; border-radius: 24px; background: var(--deep); overflow: hidden; display: flex; flex-direction: column; }
.sh { padding: 16px 14px 10px; font-size: 12.5px; color: var(--sand); display: flex; align-items: center; gap: 7px; }
.sh .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff6b5e; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.phone .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 6px 6px; align-content: start; overflow: hidden; flex: 1; }
.phone .grid span { aspect-ratio: 1; background: var(--basin) center / cover no-repeat; }
.phone .grid span.new { animation: arrive .9s ease both; }
@keyframes arrive { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .live { grid-template-columns: 1fr; } }

/* Process: a real sequence, so it's numbered */
.process ol { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process li { counter-increment: s; border-top: 1px solid var(--reed); padding-top: 18px; }
.process li::before { content: counter(s); font-family: var(--display); font-stretch: 125%; font-weight: 300; font-size: 40px; color: var(--brass); display: block; line-height: 1; margin-bottom: 14px; }
.process li p { color: var(--mist); margin: 8px 0 0; font-size: 16px; }
@media (max-width: 900px) { .process ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process ol { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; border-top: 1px solid var(--reed); }
.about p { margin: 0; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.45; font-weight: 400; max-width: 38ch; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* Inquiry */
.inquire { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 64px; background: var(--basin); }
.inquire .copy p { color: var(--mist); max-width: 40ch; }
form { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--sand); }
label .lt { display: block; }
.opt { color: var(--mist); }
input, select, textarea { width: 100%; background: var(--deep); color: var(--sand); border: 1px solid var(--reed); border-radius: 3px; padding: 12px; font: 400 16px var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: none; }
input[type="date"] { color-scheme: dark; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formerr { color: #ff9c8a; margin: 0; min-height: 1.2em; font-size: 14px; }
form .btn { justify-self: start; }
.sent h3 { font-size: 26px; } .sent p { color: var(--mist); }
@media (max-width: 860px) { .inquire { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px var(--gut); color: var(--mist); font-size: 14px; border-top: 1px solid var(--reed); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 40; background: rgba(6,10,11,.96); display: grid; place-items: center; padding: 56px 64px 72px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb .x { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--sand); font-size: 36px; cursor: pointer; line-height: 1; padding: 4px 10px; }
.lb .nv { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid var(--reed); color: var(--sand); width: 46px; height: 64px; font-size: 28px; cursor: pointer; border-radius: 3px; }
.lb .pv { left: 10px; } .lb .nx { right: 10px; }
.lb .nv:hover { border-color: var(--brass); color: var(--brass); }
.lbcap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--mist); font-size: 14px; margin: 0; }
@media (max-width: 600px) { .lb { padding: 56px 8px 72px; } .lb .nv { display: none; } }
