/* Simple black and white portfolio styles */
:root {
  --black: #111111;
  --white: #ffffff;
  --gray: #e9e9e9;
  --muted: #686868;
  --line: #d7d7d7;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { animation: gradient-drift 16s ease-in-out infinite alternate; background-color: #070707; background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,.18), transparent 25%), radial-gradient(circle at 88% 28%, rgba(130,130,130,.22), transparent 28%), radial-gradient(circle at 48% 88%, rgba(255,255,255,.14), transparent 32%); background-size: 140% 140%, 125% 125%, 150% 150%; color: #f5f5f5; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; min-height: 100vh; }
body::before {
  content: none;
}
@keyframes gradient-drift {
  from { background-position: 0% 0%, 100% 0%, 50% 100%; }
  to { background-position: 100% 70%, 0% 100%, 80% 0%; }
}
a { color: inherit; text-decoration: none; }
.site-header { align-items: center; backdrop-filter: blur(14px); background: transparent; border-bottom: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; margin: 0 auto; max-width: var(--max-width); padding: 22px 24px; position: sticky; top: 0; z-index: 5; }
.brand { font-size: 13px; font-weight: 700; letter-spacing: .16em; }
nav { display: flex; gap: 28px; }
nav a, .text-link, .contact-link { font-size: 12px; font-weight: 700; }
nav a { color: #c7c7c7; position: relative; }
nav a::after { background: var(--white); bottom: -7px; content: ''; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; width: 100%; }
nav a:hover { color: var(--white); text-decoration: none; }
nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.theme-toggle { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: inherit; display: flex; font-size: 10px; font-weight: 700; gap: 8px; letter-spacing: .08em; padding: 5px 9px 5px 6px; text-transform: uppercase; transition: background .25s ease, border-color .25s ease; }
.theme-toggle-track { background: #222; border: 1px solid #666; border-radius: 20px; display: inline-flex; height: 20px; padding: 2px; transition: background .25s ease; width: 36px; }
.theme-toggle-thumb { background: var(--white); border-radius: 50%; display: block; height: 14px; transform: translateX(14px); transition: transform .25s ease; width: 14px; }
.theme-toggle:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.theme-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.hero, .intro, .work, .contact { margin: 0 auto; max-width: var(--max-width); padding: 96px 24px; }
.hero { display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - 68px); padding-bottom: 42px; padding-top: 82px; position: relative; }
.hero-topline, .hero-bottomline { align-items: center; display: flex; justify-content: space-between; }
.hero-topline .eyebrow, .hero-index, .hero-bottomline p { color: #a5a5a5; font-size: 11px; letter-spacing: .12em; margin-bottom: 0; text-transform: uppercase; }
.hero-index, .hero-bottomline p { font-size: 10px; }
.eyebrow, .section-number { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; margin: 0 0 24px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(3.2rem, 9vw, 7rem); letter-spacing: -.07em; line-height: .94; margin-bottom: 28px; max-width: 780px; }
em { font-weight: 400; }
.hero-copy { color: var(--muted); font-size: 18px; margin-bottom: 30px; max-width: 360px; }
.hero .hero-copy { margin-bottom: 0; }
.camera-scene { height: 430px; pointer-events: auto; position: absolute; right: 0; top: 13%; width: 54%; z-index: 0; }
#camera-canvas { display: block; height: 100%; width: 100%; }
.camera-label { bottom: 26px; color: #a5a5a5; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .1em; position: absolute; right: 0; text-transform: uppercase; }
.hero > :not(.camera-scene) { position: relative; z-index: 1; }
.scroll-link { border-bottom: 1px solid rgba(255,255,255,.55); font-size: 12px; padding-bottom: 7px; }
.scroll-link span { display: inline-block; margin-left: 10px; transition: transform .25s ease; }
.scroll-link:hover span { transform: translateY(4px); }
.button { background: var(--white); color: var(--black); display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 14px 22px; transition: transform .25s ease, background .25s ease; }
.button:hover { background: var(--gray); transform: translateY(-2px); }
.intro { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 40px; grid-template-columns: 1fr 2fr; }
.intro-copy { font-size: clamp(1.8rem, 4vw, 3.5rem); letter-spacing: -.05em; line-height: 1.05; max-width: 720px; }
.text-link { border-bottom: 1px solid var(--white); padding-bottom: 5px; }
.work { background: rgba(255,255,255,.06); max-width: none; padding-left: max(24px, calc((100% - var(--max-width)) / 2)); padding-right: max(24px, calc((100% - var(--max-width)) / 2)); }
.work-heading { align-items: end; display: flex; justify-content: space-between; margin: 0 auto 40px; max-width: var(--max-width); }
.work-filter { border-bottom: 1px solid rgba(255,255,255,.2); display: flex; gap: 26px; margin: 0 auto 40px; max-width: var(--max-width); padding-bottom: 13px; }
.work-filter button { background: none; border: 0; color: #969696; cursor: pointer; font-size: 11px; padding: 0; text-transform: uppercase; }
.work-filter button.active, .work-filter button:hover { color: var(--white); }
.work-filter button:focus-visible { outline: 1px solid var(--white); outline-offset: 5px; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.06em; line-height: .95; margin-bottom: 0; }
.gallery { display: grid; gap: 42px 24px; grid-template-columns: repeat(2, 1fr); margin: auto; max-width: var(--max-width); }
.project-image { background-color: var(--black); display: block; min-height: 300px; overflow: hidden; position: relative; transition: transform .45s ease, filter .45s ease; }
.project-image:hover { filter: brightness(1.22); transform: scale(.985); }
.project-image::after { background: linear-gradient(135deg, transparent 45%, rgba(255,255,255,.6) 46%, transparent 48%); content: ''; inset: 0; opacity: .45; position: absolute; }
.image-water { background-size: 145% 145%; transition: background-position .8s ease, transform .45s ease, filter .45s ease; }
.image-water::before { background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 12px, rgba(255,255,255,.45) 13px 15px, transparent 16px 28px); content: ''; inset: -35%; opacity: 0; position: absolute; transform: translateY(18%) scale(.8); transition: opacity .5s ease, transform .8s ease; }
.image-water:hover { animation: water-flow 2.2s ease-in-out infinite alternate; }
.image-water:hover::before { opacity: .62; transform: translateY(0) scale(1); }
@keyframes water-flow {
  from { background-position: 0 0; }
  to { background-position: 36px -24px; }
}
.image-mountain { background: linear-gradient(150deg, #111 0 42%, #777 43% 51%, #222 52%); }
.image-coast { background: linear-gradient(170deg, #222 0 38%, #aaa 39% 61%, #111 62%); }
.image-water { background: repeating-linear-gradient(160deg, #111 0 24px, #eee 25px 29px); background-size: 145% 145%; }
.image-forest { background: linear-gradient(110deg, #111 0 22%, #555 23% 34%, #eee 35% 45%, #222 46%); }
.project-tall .project-image { min-height: 430px; }
.project-meta { align-items: baseline; display: flex; justify-content: space-between; padding-top: 12px; }
.project-meta h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 400; margin-bottom: 0; }
.project-meta p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.contact { border-top: 1px solid rgba(255,255,255,.2); padding-bottom: 120px; }
.contact h2 { margin-bottom: 32px; }
.contact-hero { padding-bottom: 80px; }
.contact-intro { color: #b8b8b8; font-size: 18px; margin-bottom: 28px; max-width: 390px; }
.contact-options { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 60px; grid-template-columns: 1fr 2fr; margin: 0 auto; max-width: var(--max-width); padding: 80px 24px 120px; }
.contact-links { border-top: 1px solid rgba(255,255,255,.2); }
.contact-option { align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 20px; grid-template-columns: 40px 1fr auto; padding: 22px 0; transition: padding .3s ease, color .3s ease; }
.contact-option:hover { color: var(--white); padding-left: 10px; }
.contact-option-number, .contact-option small { color: #909090; font-size: 10px; }
.contact-option strong, .contact-option small { display: block; }
.contact-option strong { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 400; }
.contact-option small { margin-top: 3px; }
.contact-arrow { font-size: 22px; }
.about-hero { margin: 0 auto; max-width: var(--max-width); min-height: 620px; padding: 82px 24px 110px; }
.about-hero .hero-topline { align-items: center; display: flex; justify-content: space-between; }
.about-hero h1 { margin-top: 180px; }
.about-story { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 60px; grid-template-columns: 1fr 2fr; margin: 0 auto; max-width: var(--max-width); padding: 90px 24px 110px; }
.about-copy { color: #b8b8b8; font-size: 16px; margin: 36px 0; max-width: 520px; }
.about-details { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin: 0 auto; max-width: var(--max-width); padding: 42px 24px 110px; }
.about-details p:last-child { color: #b8b8b8; font-size: 14px; line-height: 1.8; }
.contact-link { border-bottom: 1px solid var(--white); display: inline-block; padding-bottom: 6px; }
footer { border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; margin: 0 auto; max-width: var(--max-width); padding: 24px; }
footer p, footer a { color: #aaa; font-size: 12px; margin: 0; }
footer div { display: flex; gap: 20px; }
body.light-mode { background-color: #f8f8f6; background-image: radial-gradient(circle at 12% 18%, rgba(0,0,0,.1), transparent 25%), radial-gradient(circle at 88% 28%, rgba(125,125,125,.15), transparent 28%), radial-gradient(circle at 48% 88%, rgba(0,0,0,.08), transparent 32%); background-size: 140% 140%, 125% 125%, 150% 150%; color: var(--black); }
body.light-mode .site-header { background: transparent; border-color: var(--line); }
body.light-mode nav a { color: var(--muted); }
body.light-mode nav a:hover { color: var(--black); }
body.light-mode .theme-toggle { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.22); }
body.light-mode .theme-toggle-track { background: var(--black); border-color: var(--black); }
body.light-mode .theme-toggle-thumb { transform: translateX(0); }
body.light-mode .theme-toggle:hover { background: rgba(0,0,0,.12); border-color: rgba(0,0,0,.5); }
body.light-mode .theme-toggle:focus-visible { outline-color: var(--black); }
body.light-mode .button { background: var(--black); color: var(--white); }
body.light-mode .button:hover { background: var(--muted); }
body.light-mode .intro, body.light-mode .contact, body.light-mode footer { border-color: var(--line); }
body.light-mode .contact-options, body.light-mode .contact-links, body.light-mode .contact-option { border-color: var(--line); }
body.light-mode .contact-intro { color: var(--muted); }
body.light-mode .about-story, body.light-mode .about-details { border-color: var(--line); }
body.light-mode .about-copy, body.light-mode .about-details p:last-child { color: var(--muted); }
body.light-mode .work { background: var(--gray); }
body.light-mode .text-link, body.light-mode .contact-link { border-color: var(--black); }
body.light-mode .hero-topline .eyebrow, body.light-mode .hero-index, body.light-mode .hero-bottomline p { color: var(--muted); }
body.light-mode .scroll-link, body.light-mode .work-filter { border-color: rgba(0,0,0,.3); }
body.light-mode .work-filter button { color: var(--muted); }
body.light-mode .work-filter button.active, body.light-mode .work-filter button:hover { color: var(--black); }
body.light-mode .work-filter button:focus-visible { outline-color: var(--black); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  .image-water:hover { animation: none; }
}
@media (max-width: 650px) {
  .site-header { padding: 18px 20px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .theme-toggle-label { display: none; }
  .theme-toggle { padding-right: 6px; }
  .hero, .intro, .work, .contact { padding: 64px 20px; }
  .hero { min-height: 500px; padding-top: 80px; }
  .camera-scene { height: 310px; margin: 18px -20px 0; position: relative; right: auto; top: auto; width: calc(100% + 40px); }
  .camera-label { bottom: 4px; right: 20px; }
  .hero-topline, .hero-bottomline { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-bottomline { align-items: flex-start; }
  .hero-index { display: none; }
  .about-hero { min-height: 500px; padding: 64px 20px 80px; }
  .about-hero h1 { margin-top: 120px; }
  .about-story, .about-details { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .intro, .gallery { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; padding-top: 64px; }
  .work-heading { align-items: start; display: block; }
  .work-heading h2 { margin-top: 18px; }
  .project-image, .project-tall .project-image { min-height: 300px; }
  footer { padding: 20px; }
}
