:root {
  color-scheme: dark;
  --bg: #171717;
  --panel: #202020;
  --white: #f5f5f5;
  --muted: #b9b9b9;
  --line: rgba(255,255,255,.22);
  --gutter: clamp(18px, 5.3vw, 82px);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.page-shell { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--gutter); }
.wix-ribbon { height: 25px; display: flex; align-items: center; justify-content: center; gap: 4px; background: #f4f4f4; color: #222; font-size: 10px; }
.site-header { min-height: 82px; display: grid; grid-template-columns: minmax(130px,1fr) auto minmax(130px,1fr); align-items: center; gap: 24px; padding: 13px var(--gutter); }
.brand { width: 150px; display: block; }
.brand img { width: 100%; height: 48px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 5px; border: 1px solid #fff; border-radius: 100px; background: #f7f7f7; color: #171717; }
.main-nav a { padding: 10px 19px; border-radius: 100px; color: inherit; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .18s,color .18s; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { background: #e4e4e4; outline: none; }
.social-nav { justify-self: end; display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 100px; }
.social-nav a { min-width: 40px; padding: 9px 10px; border-right: 1px solid rgba(255,255,255,.12); font-size: 10px; font-weight: 700; text-align: center; text-decoration: none; }
.social-nav a:last-child { border-right: 0; }
.social-nav a:hover, .social-nav a:focus-visible { background: #fff; color: #171717; outline: none; }
.menu-toggle { display: none; }
.home-hero { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(16px, 3vw, 44px); padding-top: 26px; padding-bottom: clamp(75px, 9vw, 130px); }
.hero-left { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #252525; }
.hero-photo { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center 44%; }
.hero-signature { width: min(52%, 360px); position: absolute; left: 5%; bottom: 3%; object-fit: contain; filter: drop-shadow(0 2px 9px rgba(0,0,0,.3)); }
.hero-panel { min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px,4vw,56px); border: 1px solid var(--line); border-radius: 17px; background: #1c1c1c; }
.hero-panel h1 { display: flex; flex-direction: column; gap: 15px; margin: 0; }
.hero-panel h1 strong { font-size: clamp(58px,8vw,112px); line-height: .86; letter-spacing: -.085em; font-weight: 900; }
.hero-panel h1 span { max-width: 570px; font-size: clamp(24px,3.15vw,42px); line-height: 1.02; letter-spacing: -.055em; font-weight: 500; }
.quick-links { margin-top: 34px; border-top: 1px solid var(--line); }
.quick-links a { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; transition: padding .18s; }
.quick-links a:hover { padding-inline: 7px; }
.quick-links b { font-size: 12px; font-weight: 600; }
.quick-links i { margin-left: 4px; font-size: 16px; font-style: normal; }
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px,8vw,130px); padding-top: clamp(55px,7vw,105px); padding-bottom: clamp(80px,10vw,150px); border-top: 1px solid rgba(255,255,255,.12); }
.section-label { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about-title h2 { max-width: 500px; margin: 25px 0 0; font-size: clamp(50px,6.8vw,92px); line-height: .9; letter-spacing: -.085em; }
.about-detail { align-self: end; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.category-pills span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; white-space: nowrap; }
.about-detail p { max-width: 780px; margin: 0; color: #dedede; font-size: clamp(15px,1.4vw,18px); line-height: 1.7; }
.white-pill { width: max-content; display: inline-flex; align-items: center; justify-content: center; margin-top: 25px; padding: 12px 19px; border: 1px solid #fff; border-radius: 100px; background: #f7f7f7; color: #171717; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .18s,color .18s; }
.white-pill:hover, .white-pill:focus-visible { background: transparent; color: #fff; outline: none; }
.featured-work { position: relative; height: clamp(300px,36vw,555px); min-height: 280px; overflow: hidden; margin-bottom: clamp(82px,11vw,155px); border: 1px solid rgba(255,255,255,.12); border-radius: 17px; }
.featured-work > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.30),transparent 65%); pointer-events: none; }
.feature-cta { position: absolute; left: clamp(20px,4vw,60px); bottom: clamp(20px,4vw,54px); margin: 0; }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin: 34px 0 28px; }
.page-heading h1 { margin: 0; font-size: clamp(42px,6vw,76px); line-height: .95; letter-spacing: -.075em; font-weight: 750; }
.page-heading p { margin: 0; color: #d5d5d5; font-size: clamp(16px,2.2vw,24px); }
.portfolio-main { padding-bottom: clamp(70px,10vw,140px); }
.portfolio-grid { display: flex; flex-direction: column; gap: 12px; }
.portfolio-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: start; }
.gallery-item { min-width: 0; position: relative; display: block; overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 9px; background: #202020; cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; height: auto; transition: transform .3s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.025); }
.gallery-item:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.gallery-item > span { position: absolute; top: 11px; left: 11px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; background: rgba(0,0,0,.55); font-size: 10px; line-height: 1; }
.gallery-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 29px auto 0; }
.gallery-pagination button { min-width: 39px; min-height: 37px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 100px; background: transparent; cursor: pointer; font-size: 11px; }
.gallery-pagination button:hover, .gallery-pagination button:focus-visible { background: #fff; color: #171717; outline: none; }
.lightbox { position: fixed; z-index: 50; inset: 0; display: none; grid-template-columns: 64px minmax(0,1fr) 64px; align-items: center; justify-items: center; padding: 55px 28px 72px; background: rgba(0,0,0,.94); }
.lightbox.is-open { display: grid; }
.lightbox figure { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; margin: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { padding-top: 12px; color: #e3e3e3; font-size: 12px; text-align: center; }
.lightbox button { z-index: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(25,25,25,.7); color: #fff; cursor: pointer; }
.lightbox-close { width: 42px; height: 42px; position: absolute; top: 15px; right: 19px; font-size: 29px; }
.lightbox-prev, .lightbox-next { width: 43px; height: 43px; font-size: 29px; }
.lightbox-count { position: absolute; bottom: 18px; left: 0; right: 0; color: #ccc; font-size: 12px; text-align: center; }
.site-footer { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(36px,7vw,105px); padding-top: clamp(44px,6vw,82px); padding-bottom: 27px; border-top: 1px solid var(--line); }
.contact-form { max-width: 440px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: #1c1c1c; }
.contact-form h2 { margin: 12px 0 24px; font-size: clamp(29px,3vw,38px); letter-spacing: -.055em; }
.contact-form label { display: block; margin-bottom: 13px; color: #e5e5e5; font-size: 12px; }
.contact-form input { width: 100%; height: 41px; display: block; margin-top: 6px; padding: 0 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; background: transparent; color: #fff; font-size: 13px; }
.contact-form input::placeholder { color: #999; }
.contact-form input:focus { outline: 2px solid #aaa; outline-offset: 1px; }
.contact-form > button { min-width: 98px; margin-top: 3px; padding: 11px 17px; border: 0; border-radius: 100px; background: #f5f5f5; color: #171717; cursor: pointer; font-size: 12px; font-weight: 700; }
.contact-form > button:hover { background: #d9d9d9; }
.form-status { min-height: 0; margin: 0; color: #ddd; font-size: 12px; line-height: 1.5; }
.form-status:not(:empty) { margin-top: 14px; }
.footer-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.author-pill { display: inline-flex; padding: 8px 13px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; }
.footer-columns { width: 100%; display: grid; grid-template-columns: .8fr 1.25fr .8fr; gap: 20px; margin-top: 43px; }
.footer-columns h3 { margin: 0 0 17px; font-size: 13px; }
.footer-columns a { display: block; width: max-content; max-width: 100%; margin: 0 0 10px; color: #d0d0d0; font-size: 11px; line-height: 1.35; text-decoration: none; }
.footer-columns a:hover, .copyright a:hover { text-decoration: underline; }
.copyright { margin: auto 0 0; padding-top: 48px; color: #a9a9a9; font-size: 10px; line-height: 1.6; }
.copyright a { text-decoration: none; }
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; }
  .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { width: 42px; height: 42px; grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; display: block; background: #fff; transition: transform .18s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { display: none; grid-column: 1/-1; grid-row: 2; justify-self: stretch; flex-wrap: wrap; border-radius: 15px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { flex: 1 1 auto; text-align: center; }
  .social-nav { grid-column: 1/-1; grid-row: 3; justify-self: start; display: none; }
  .main-nav.is-open + .social-nav { display: flex; }
  .hero-left, .hero-photo, .hero-panel { min-height: 380px; }
  .footer-columns { grid-template-columns: 1fr 1.25fr; }
  .footer-columns > div:last-child { grid-column: 1; }
}
@media (max-width: 780px) {
  .home-hero { grid-template-columns: 1fr; gap: 14px; padding-top: 14px; }
  .hero-left, .hero-photo { min-height: unset; height: clamp(300px,77vw,500px); }
  .hero-panel { min-height: 380px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .featured-work { height: 57vw; min-height: 255px; }
  .portfolio-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer { grid-template-columns: 1fr; }
  .contact-form { width: 100%; max-width: none; }
  .footer-info { min-height: 300px; }
}
@media (max-width: 540px) {
  :root { --gutter: 16px; }
  .site-header { min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
  .brand { width: 130px; }
  .brand img { height: 40px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 10px 12px; font-size: 11px; }
  .social-nav a { min-width: 36px; }
  .hero-left, .hero-photo { height: 78vw; min-height: 265px; }
  .hero-panel { min-height: 360px; padding: 23px; }
  .hero-panel h1 strong { font-size: clamp(56px,17vw,75px); }
  .hero-panel h1 span { font-size: clamp(24px,7vw,31px); }
  .quick-links a { font-size: 12px; }
  .about-title h2 { font-size: 58px; }
  .category-pills { gap: 6px; }
  .category-pills span { padding: 9px 12px; font-size: 11px; }
  .featured-work { height: 62vw; min-height: 230px; border-radius: 12px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 24px; }
  .page-heading h1 { font-size: 48px; }
  .portfolio-row { grid-template-columns: 1fr; }
  .gallery-pagination { gap: 4px; }
  .gallery-pagination button { min-width: 34px; min-height: 34px; padding-inline: 7px; }
  .lightbox { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 4px; padding: 52px 8px 67px; }
  .lightbox-prev, .lightbox-next { width: 34px; height: 34px; font-size: 23px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .footer-columns > div:last-child { grid-column: auto; }
  .copyright { padding-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
