*{box-sizing:border-box}
:root{
  color-scheme:dark;
  --bg:#0d1116;
  --surface:#151b22;
  --surface-2:#202a34;
  --ink:#eef3f6;
  --muted:#a3b0bc;
  --line:#2c3844;
  --accent:#42aeb4;
  --accent-2:#d46a82;
  --gold:#d5a05b;
  --header-bg:rgba(13,17,22,.9);
  --nav-ink:#eef3f6;
  --hover-line:#465460;
  --note-ink:#d8e1e8;
  --shadow:0 22px 60px rgba(0,0,0,.36);
  --soft-shadow:0 8px 28px rgba(0,0,0,.24);
}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f7f8f6;
  --surface:#ffffff;
  --surface-2:#eef2f1;
  --ink:#101418;
  --muted:#65707b;
  --line:#dfe4e4;
  --accent:#0f6f74;
  --accent-2:#b34a62;
  --gold:#b98645;
  --header-bg:rgba(255,255,255,.88);
  --nav-ink:#20262c;
  --hover-line:#c7d1d1;
  --note-ink:#243038;
  --shadow:0 22px 60px rgba(16,20,24,.12);
  --soft-shadow:0 8px 28px rgba(16,20,24,.08);
}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-width:320px;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:66px;
  padding:0 34px;
  border-bottom:1px solid var(--line);
  background:var(--header-bg);
  backdrop-filter:blur(18px);
}
.brand{
  font-size:1.02rem;
  font-weight:760;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.site-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.site-nav>a,.nav-button{
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--nav-ink);
  cursor:pointer;
  font-size:.95rem;
  font-weight:650;
  padding:10px 12px;
}
.site-nav>a:hover,.nav-button:hover,.nav-group:focus-within>.nav-button{background:var(--surface-2)}
.nav-button::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:9px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-3px) rotate(45deg);
}
.nav-group{position:relative}
.dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  display:grid;
  min-width:250px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity 160ms ease,transform 160ms ease,visibility 160ms ease;
}
.dropdown a{
  border-radius:6px;
  color:var(--nav-ink);
  font-weight:620;
  padding:11px 12px;
}
.dropdown-label{
  color:var(--muted);
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.13em;
  padding:8px 12px 5px;
  text-transform:uppercase;
}
.dropdown a:hover,.dropdown a:focus-visible{background:var(--surface-2);outline:0}
.nav-group:hover .dropdown,.nav-group:focus-within .dropdown,.nav-group.open .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  padding:9px;
}
.nav-toggle span{display:block;height:2px;margin:5px 0;background:var(--ink)}
.site-header-actions{display:flex;align-items:center;gap:8px}
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--ink);
  cursor:pointer;
  font-size:.84rem;
  font-weight:800;
  padding:0 12px 0 9px;
}
.theme-toggle:hover{background:var(--surface-2)}
.theme-toggle-icon{
  position:relative;
  width:18px;
  height:18px;
  overflow:hidden;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(213,160,91,.18);
}
:root[data-theme="light"] .theme-toggle-icon{
  background:#f3c653;
  box-shadow:0 0 0 4px rgba(243,198,83,.2);
}
main{min-height:70vh}
.home-hero,.gallery-hero{
  position:relative;
  display:grid;
  align-items:end;
  overflow:hidden;
  color:#fff;
  background-image:linear-gradient(90deg,rgba(7,12,17,.82),rgba(7,12,17,.36) 52%,rgba(7,12,17,.12)),var(--hero-image);
  background-position:center;
  background-size:cover;
}
.home-hero{
  min-height:620px;
  height:calc(100svh - 126px);
  max-height:760px;
  padding:92px 6vw 84px;
}
.gallery-hero{
  min-height:430px;
  height:54svh;
  max-height:620px;
  padding:76px 6vw 64px;
}
.home-hero::after,.gallery-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:130px;
  background:linear-gradient(180deg,transparent,var(--bg));
}
.hero-copy,.gallery-hero>div{position:relative;z-index:1;max-width:760px}
.eyebrow{
  margin:0 0 13px;
  color:var(--accent);
  font-size:.76rem;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.home-hero .eyebrow,.gallery-hero .eyebrow{color:#9bd5d8}
h1,h2,h3,p{letter-spacing:0}
h1,h2,h3{margin:0;line-height:1.02}
h1{font-size:5.4rem;font-weight:780}
h2{font-size:3.35rem;font-weight:740}
h3{font-size:1.2rem;font-weight:760}
.home-hero h1{font-size:6.2rem;line-height:.96}
.hero-copy>p:not(.eyebrow),.gallery-hero p,.page-intro>p:not(.eyebrow){
  max-width:660px;
  color:inherit;
  font-size:1.18rem;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:8px;
  padding:0 18px;
  font-weight:800;
  transition:background 160ms ease,border-color 160ms ease,transform 160ms ease;
}
.button:hover{transform:translateY(-1px)}
.button.primary{background:var(--accent);color:#fff}
.button.primary:hover{background:#0b5d61}
.button.secondary{border:1px solid rgba(255,255,255,.62);color:#fff}
.button.secondary:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.section,.gallery-wrap,.page-intro,.content-body{
  width:min(1180px,calc(100% - 44px));
  margin:0 auto;
}
.section{padding:82px 0 0}
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:26px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.project-grid,.image-card-grid,.featured-project-grid{
  display:grid;
  gap:18px;
}
.project-grid,.image-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.featured-project-grid{grid-template-columns:minmax(0,560px)}
.project-card,.image-card{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  overflow:hidden;
  box-shadow:0 1px 0 rgba(16,20,24,.04);
  transition:transform 170ms ease,box-shadow 170ms ease,border-color 170ms ease;
}
.project-card:hover,.image-card:hover{
  transform:translateY(-4px);
  border-color:var(--hover-line);
  box-shadow:var(--soft-shadow);
}
.project-card{
  position:relative;
  min-height:248px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:13px;
  padding:24px;
}
.project-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:4px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2),var(--gold));
}
.project-card.plain-card::before{background:var(--accent)}
.project-card span,.image-card span{
  color:var(--muted);
  font-size:.74rem;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.project-card p{margin:0;color:var(--muted)}
.image-card img{
  width:100%;
  aspect-ratio:5/4;
  object-fit:cover;
  transition:transform 220ms ease,filter 220ms ease;
}
.image-card:hover img{transform:scale(1.025);filter:saturate(1.05) contrast(1.03)}
.image-card div{display:grid;gap:5px;padding:16px 17px 18px}
.page-intro{padding:76px 0 38px}
.page-intro h1{color:var(--ink);font-size:4.9rem}
.page-intro .hero-actions{margin-top:18px}
.page-intro .button.secondary{border-color:var(--line);color:var(--ink)}
.project-note{
  max-width:680px;
  margin:18px 0 0;
  padding:12px 14px;
  border-left:4px solid var(--accent);
  border-radius:6px;
  background:var(--surface-2);
  color:var(--note-ink);
  font-weight:760;
}
.gallery-hero span{
  display:inline-flex;
  margin-top:16px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  background:rgba(255,255,255,.12);
  font-weight:850;
}
.gallery-intro{
  padding:38px 0 8px;
}
.gallery-intro p{margin:0 0 18px;color:var(--muted);font-size:1.08rem}
.photography-hub-intro{padding-bottom:10px}
.photography-hub-grid{padding-top:38px}
.gallery-wrap{padding:46px 0 84px}
.gallery-grid{columns:3 280px;column-gap:18px}
.photo-card{
  display:block;
  width:100%;
  margin:0 0 18px;
  break-inside:avoid;
}
.photo-card button{
  display:block;
  width:100%;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  cursor:zoom-in;
  overflow:hidden;
}
.photo-card img{
  width:100%;
  height:auto;
  border-radius:8px;
  box-shadow:0 1px 0 rgba(16,20,24,.06);
  transition:transform 180ms ease,filter 180ms ease;
}
.photo-card:hover img{transform:scale(1.012);filter:contrast(1.04)}
.photo-card figcaption{
  margin:8px 2px 0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.4;
}
.project-stage{
  width:min(1500px,calc(100% - 24px));
  margin:0 auto 52px;
  border:1px solid #161b20;
  border-radius:8px;
  background:#111;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.project-frame{
  display:block;
  width:100%;
  height:780px;
  border:0;
  background:#111;
}
.project-frame-tall{height:1120px}
.content-hero{
  width:min(1180px,calc(100% - 44px));
  height:520px;
  margin:0 auto 36px;
  border-radius:8px;
  background-image:var(--hero-image);
  background-position:center;
  background-size:cover;
  box-shadow:var(--soft-shadow);
}
.content-body{max-width:860px;padding:0 0 84px}
.content-body p{font-size:1.08rem;color:var(--muted)}
.lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(8,10,12,.93);
  padding:28px;
}
.lightbox.open{display:flex}
.lightbox figure{
  margin:0;
  width:min(1120px,100%);
  height:min(82vh,900px);
  display:grid;
  grid-template-rows:1fr auto;
  gap:12px;
}
.lightbox img{width:100%;height:100%;object-fit:contain}
.lightbox figcaption{color:#d8d8d8;text-align:center}
.lightbox button{
  position:absolute;
  border:1px solid rgba(255,255,255,.24);
  border-radius:8px;
  background:rgba(255,255,255,.1);
  color:#fff;
  cursor:pointer;
}
.lightbox-close{top:18px;right:18px;width:44px;height:44px;font-size:2rem}
.lightbox-prev,.lightbox-next{top:50%;width:48px;height:64px;font-size:3rem;transform:translateY(-50%)}
.lightbox-prev{left:18px}
.lightbox-next{right:18px}
.site-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:80px;
  padding:36px 34px;
  background:#101418;
  color:#d8dde1;
}
.site-footer p{margin:0;font-weight:800}
.site-footer div{display:flex;flex-wrap:wrap;gap:18px;color:#aeb8c2}
.site-footer a:hover{color:#fff}
@media (max-width:1100px){
  .home-hero h1{font-size:4.8rem}
  h1{font-size:4.4rem}
  h2{font-size:2.7rem}
  .project-grid,.image-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .site-header{min-height:62px;padding:0 16px}
  .brand{font-size:.9rem}
  .theme-toggle{min-width:38px;padding:0 9px}
  .theme-toggle-text{display:none}
  .nav-toggle{display:block}
  .site-nav{
    position:fixed;
    left:12px;
    right:12px;
    top:72px;
    display:none;
    align-items:stretch;
    flex-direction:column;
    padding:10px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--surface);
    box-shadow:var(--shadow);
  }
  .site-nav.open{display:flex}
  .site-nav>a,.nav-button{width:100%;text-align:left}
  .dropdown{
    position:static;
    display:none;
    min-width:0;
    margin:0 0 4px;
    border:0;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    background:var(--surface-2);
  }
  .nav-group.open .dropdown{display:grid}
  .home-hero{
    min-height:520px;
    height:calc(100svh - 94px);
    max-height:680px;
    padding:92px 22px 66px;
  }
  .gallery-hero{min-height:380px;height:52svh;padding:86px 22px 58px}
  .home-hero h1,h1{font-size:3.1rem}
  h2{font-size:2.05rem}
  .hero-copy>p:not(.eyebrow),.gallery-hero p,.page-intro>p:not(.eyebrow){font-size:1.02rem}
  .section,.gallery-wrap,.page-intro,.content-body{width:min(100% - 24px,1180px)}
  .section{padding-top:58px}
  .section-heading{display:grid;gap:8px}
  .project-grid,.image-card-grid{grid-template-columns:1fr}
  .project-card{min-height:220px}
  .page-intro{padding-top:52px}
  .page-intro h1{font-size:3rem}
  .project-frame{height:760px}
  .project-frame-tall{height:1040px}
  .content-hero{width:min(100% - 24px,1180px);height:360px}
  .site-footer{align-items:flex-start;flex-direction:column;margin-top:56px;padding:30px 22px}
}
