:root {
  --black: #050505;
  --white: #f7f7f4;
  --gray: #c9c9c3;
  --line-dark: rgba(255, 255, 255, .24);
  --line-light: rgba(0, 0, 0, .22);
  --condensed: "Arial Narrow", "Roboto Condensed", Impact, Haettenschweiler, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font: 16px/1.55 var(--sans); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem 4vw; background: var(--black); border-bottom: 1px solid var(--line-dark); position: relative; z-index: 10; }
.brand-logo { display: inline-flex; width: auto; min-width: 345px; height: 72px; align-items: center; gap: .72rem; flex: 0 0 auto; }
.brand-leaf { width: 76px; height: 58px; flex: 0 0 auto; }
.brand-leaf img { object-fit: contain; }
.brand-name { font: 800 clamp(1.55rem, 2.2vw, 2.25rem)/1 var(--condensed); letter-spacing: -.025em; text-transform: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
nav a:not(.nav-cta):hover { color: var(--gray); }
.cart-button { padding: .35rem 0; border: 0; border-bottom: 1px solid var(--white); background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.cart-button span { display: inline-flex; min-width: 1.2rem; height: 1.2rem; margin-left: .25rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--black); font-size: .62rem; }
.nav-cta { border: 1px solid var(--white); padding: .8rem 1rem; transition: .2s ease; }
.nav-cta:hover { background: var(--white); color: var(--black); }
.menu-button { display: none; border: 0; background: transparent; color: inherit; font: 700 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }

.hero { min-height: calc(100vh - 96px); display: grid; grid-template-columns: 1.05fr .95fr; position: relative; overflow: hidden; background: var(--black); }
.hero-copy { padding: clamp(4rem, 7vw, 7rem) 6vw 3rem; align-self: center; position: relative; overflow: hidden; }
.eyebrow { margin: 0 0 1.35rem; font-size: .71rem; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--condensed); font-stretch: condensed; font-weight: 800; letter-spacing: -.025em; text-transform: uppercase; }
h1 { font-size: clamp(5.1rem, 10.5vw, 10.8rem); line-height: 1.08; position: relative; z-index: 2; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--white); }
.lede { max-width: 36rem; margin: 2.4rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.48; color: var(--gray); position: relative; z-index: 2; }
.hero-actions { margin-top: 2.7rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; position: relative; z-index: 2; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .9rem 1.35rem; border: 1px solid currentColor; font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--black); }
.button-primary:hover { background: transparent; color: var(--white); }
.button-light { background: var(--black); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--black); }
.text-link { display: inline-block; padding-bottom: .18rem; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 700; letter-spacing: .06em; }
.hero-image { margin: 0; min-height: 640px; position: relative; background: #1b1b1b; }
.hero-image img { object-position: 50% 52%; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; padding: 1.1rem 1.35rem; background: var(--black); color: var(--white); font: 800 1.1rem/1 var(--condensed); letter-spacing: .03em; text-transform: uppercase; }
.vertical-note { position: absolute; right: calc(47.5% - 1.15rem); bottom: 1.2rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .62rem; letter-spacing: .22em; }

.ginkgo-mark { display: block; width: 110px; height: 78px; position: relative; flex: 0 0 auto; }
.ginkgo-mark img { object-fit: contain; }
.ginkgo-hero { width: min(31vw, 380px); height: min(23vw, 280px); position: absolute; right: -2.2rem; bottom: -1.2rem; opacity: .13; }
.ginkgo-dark { margin-top: 1.8rem; }
.ginkgo-quote { width: 124px; height: 92px; position: absolute; right: 2rem; top: 2rem; opacity: .28; }
.ginkgo-contact { width: 138px; height: 102px; margin: 0 auto 2.5rem; }

.intro { display: grid; grid-template-columns: 1fr 4fr; gap: 2rem; padding: clamp(5rem, 10vw, 10rem) 8vw; background: var(--white); color: var(--black); border-bottom: 1px solid var(--line-light); }
.section-number, .service-number { margin: 0; font: 700 .7rem/1 var(--sans); letter-spacing: .18em; }
.intro-statement { max-width: 68rem; margin: 0; font-family: var(--condensed); font-size: clamp(2.5rem, 5vw, 5.3rem); font-weight: 800; line-height: 1.16; letter-spacing: -.025em; text-transform: uppercase; }

.shop { padding: clamp(5rem, 9vw, 9rem) 5vw; background: var(--black); color: var(--white); }
.shop-heading { align-items: end; }
.shop-heading h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: 1.16; }
.shop-note { max-width: 31rem; margin: 0 0 .7rem; color: var(--gray); font-size: 1rem; }
.shop-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.2rem; }
.shop-filter { min-height: 44px; padding: .7rem 1rem; border: 1px solid var(--line-dark); background: transparent; color: var(--white); font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.shop-filter:hover, .shop-filter:focus-visible, .shop-filter.is-active { background: var(--white); color: var(--black); outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.product-card { min-width: 0; background: var(--black); }
.product-image { aspect-ratio: 4 / 5; overflow: hidden; background: #161616; }
.product-image img { transition: transform .6s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-copy { padding: 1.3rem 1.25rem 1.45rem; }
.product-category { margin: 0 0 .65rem; color: var(--gray); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.product-title-row { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.product-title-row h3 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); line-height: 1.12; }
.product-price { flex: 0 0 auto; font-weight: 700; }
.product-description { min-height: 3.1em; margin: .9rem 0 1.15rem; color: var(--gray); }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }
.product-size { min-width: 0; min-height: 46px; padding: 0 .75rem; border: 1px solid var(--line-dark); border-radius: 0; background: #0a0a0a; color: white; font: 700 .76rem/1 var(--sans); }
.add-to-cart { min-height: 46px; padding: .7rem 1rem; border: 1px solid var(--white); background: var(--white); color: var(--black); font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.add-to-cart:hover, .add-to-cart:focus-visible { background: transparent; color: white; }
.pricing-note { max-width: 58rem; margin: 1.6rem 0 0; color: var(--gray); font-size: .85rem; }

.portfolio { padding: clamp(5rem, 9vw, 9rem) 5vw; background: var(--white); color: var(--black); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 4rem; }
.section-heading h2, .service-intro h2, .studio-card h2, .contact h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: 1.16; }
.album-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.album-tab { min-height: 84px; padding: 1rem 1.15rem; border: 0; border-right: 1px solid var(--black); background: transparent; color: var(--black); text-align: left; font: 800 clamp(1rem, 1.6vw, 1.4rem)/1.15 var(--condensed); letter-spacing: .01em; text-transform: uppercase; cursor: pointer; }
.album-tab:last-child { border-right: 0; }
.album-tab span { display: block; margin-top: .55rem; font: 700 .66rem/1 var(--sans); letter-spacing: .18em; }
.album-tab:hover, .album-tab:focus-visible, .album-tab.is-active { background: var(--black); color: var(--white); outline: 0; }
.album-intro { max-width: 48rem; margin: 2rem 0 2.5rem; font-size: 1.05rem; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--black); border: 1px solid var(--black); }
.album-photo { min-width: 0; padding: 0; border: 0; aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: #d8d8d2; cursor: zoom-in; }
.album-photo:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.album-photo img { transition: transform .6s ease, filter .25s ease; }
.album-photo:hover img, .album-photo:focus-visible img { transform: scale(1.03); }
.album-photo:focus-visible { outline: 4px solid var(--white); outline-offset: -5px; }
.album-photo-number { position: absolute; right: .55rem; bottom: .55rem; padding: .25rem .4rem; background: rgba(0,0,0,.78); color: white; font-size: .65rem; letter-spacing: .12em; }
.lightbox { width: min(94vw, 1200px); height: min(94vh, 900px); padding: 0; border: 0; overflow: hidden; background: #090909; color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; }
.lightbox img { min-height: 0; object-fit: contain; }
.lightbox figcaption { padding: .75rem 1rem; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lightbox-close, .lightbox-arrow { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.7); color: white; cursor: pointer; }
.lightbox-close { top: .8rem; right: .8rem; padding: .65rem .8rem; font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.lightbox-arrow { top: 50%; width: 48px; height: 48px; border-radius: 50%; font-size: 1.35rem; transform: translateY(-50%); }
.lightbox-previous { left: .8rem; }
.lightbox-next { right: .8rem; }
.cart-dialog { width: min(96vw, 760px); max-height: 94vh; padding: 0; border: 0; background: var(--white); color: var(--black); }
.cart-dialog::backdrop { background: rgba(0,0,0,.78); }
.cart-shell { padding: clamp(1.4rem, 4vw, 2.5rem); }
.cart-header { display: flex; justify-content: space-between; gap: 2rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-light); }
.cart-header h2 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.05; }
.cart-close { padding: .65rem .8rem; border: 1px solid var(--black); background: transparent; font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cart-items { display: grid; gap: 0; }
.cart-empty { margin: 2rem 0; color: #555; }
.cart-row { display: grid; grid-template-columns: 68px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.cart-row img { width: 68px; height: 84px; }
.cart-row h3 { font-size: 1.25rem; line-height: 1.1; }
.cart-row p { margin: .35rem 0 0; color: #555; font-size: .78rem; }
.cart-row-actions { text-align: right; }
.cart-row-actions strong { display: block; }
.remove-item { margin-top: .45rem; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: #555; font-size: .72rem; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; padding: 1.25rem 0; font-size: 1.05rem; }
.cart-total strong { font-size: 1.25rem; }
.checkout-form { padding-top: 1.5rem; border-top: 1px solid var(--black); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid label { display: grid; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 46px; padding: .7rem .75rem; border: 1px solid #888; border-radius: 0; background: white; color: black; font: 1rem/1.35 var(--sans); text-transform: none; letter-spacing: normal; }
.form-grid textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.checkout-disclaimer { margin: 1rem 0; color: #555; font-size: .82rem; }
.checkout-button { width: 100%; cursor: pointer; }

.services { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 9vw, 9rem); padding: clamp(5rem, 9vw, 9rem) 7vw; background: var(--black); color: var(--white); }
.service-intro .section-number { margin-bottom: 3rem; }
.service-intro h2 { font-size: clamp(3.2rem, 6vw, 6.2rem); line-height: 1.08; }
.service-list article { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.3rem; padding: 2.2rem 0; border-top: 1px solid var(--line-dark); }
.service-list article:last-child { border-bottom: 1px solid var(--line-dark); }
.service-list h3 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.1; }
.service-list article > p:last-child { grid-column: 2; max-width: 35rem; margin: 1rem 0 0; color: var(--gray); }

.studio { min-height: 680px; display: block; overflow: hidden; background: var(--white); color: var(--black); }
.studio-card { max-width: 1120px; padding: clamp(5rem, 9vw, 9rem) 8vw; }
.studio-card > p:not(.eyebrow) { max-width: 42rem; margin: 2rem 0; font-size: 1.18rem; }
.studio-links { display: flex; flex-wrap: wrap; gap: 2rem 4rem; font-size: .84rem; font-weight: 700; letter-spacing: .06em; }
.studio-links a { border-bottom: 1px solid currentColor; }
.contact { padding: clamp(6rem, 12vw, 12rem) 6vw; text-align: center; background: var(--white); color: var(--black); }
.contact h2 { margin-bottom: 3rem; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 2rem; padding: 2rem 4vw; background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); }
.footer-logo { min-width: 300px; height: 72px; }
.footer-links { display: flex; gap: 1.5rem; font-size: .8rem; }
footer > p { margin: 0; color: var(--gray); font-size: .7rem; }

@media (max-width: 860px) {
  .site-header { min-height: 82px; }
  .brand-logo { min-width: 305px; height: 66px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 1.5rem 4vw; background: var(--black); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 4.5rem 7vw 4rem; }
  h1 { font-size: clamp(4.8rem, 21vw, 8rem); }
  .hero-image { min-height: 72vh; }
  .vertical-note { display: none; }
  .intro { grid-template-columns: 1fr; }
  .section-index { display: flex; align-items: start; justify-content: space-between; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-tabs { grid-template-columns: repeat(2, 1fr); }
  .album-tab:nth-child(2) { border-right: 0; }
  .album-tab:nth-child(-n+2) { border-bottom: 1px solid var(--black); }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 500px) {
  .site-header { padding-inline: 3vw; }
  .brand-logo { min-width: 245px; height: 58px; gap: .42rem; }
  .brand-leaf { width: 58px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .ginkgo-hero { width: 210px; height: 150px; }
  .album-tabs { grid-template-columns: 1fr; }
  .album-tab, .album-tab:nth-child(2) { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--black); }
  .album-tab:last-child { border-bottom: 0; }
  .album-photo:nth-child(7n + 1) { grid-column: span 2; }
  .product-grid { grid-template-columns: 1fr; }
  .product-description { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .cart-row { grid-template-columns: 58px 1fr auto; gap: .7rem; }
  .cart-row img { width: 58px; height: 72px; }
  .lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; }
  .lightbox-arrow { top: auto; bottom: 1rem; transform: none; }
  .service-list article { grid-template-columns: 2.2rem 1fr; }
  .studio-links { flex-direction: column; gap: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
