:root {
  --paper: #111013;
  --ink: #f4f0ed;
  --muted: #b1a9b5;
  --purple: #c09cde;
  --red: #ed5966;
  --line: #373039;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 6px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--paper); padding: 12px; z-index: 5; }
.skip:focus { top: 16px; }
.site-header, .hero, .section, footer { width: 88%; max-width: 1408px; margin-inline: auto; }
.site-header { padding: 34px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 2.5rem; letter-spacing: -.065em; line-height: 1; font-weight: 600; }
.brand-dot { color: var(--red); }
.wordmark small { white-space: nowrap; display: block; font-size: .75rem; letter-spacing: .2em; line-height: 2.5; font-weight: 400; }
nav { display: flex; gap: 36px; font-size: .875rem; }
.nav-dot { display: none; }
h1, h2, h3, p { margin-top: 0; }
.hero { padding-top: 88px; padding-bottom: 68px; }
.eyebrow { font-size: .875rem; letter-spacing: .13em; font-weight: 400; color: var(--muted); margin-bottom: 28px; }
h1 { font-size: clamp(3rem, 6.8vw, 7rem); line-height: .98; font-weight: 400; letter-spacing: -.065em; margin-bottom: 44px; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--purple); letter-spacing: -.055em; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; }
.red-line { width: 68px; height: 2px; background: var(--red); }
.text-link { border-bottom: 1px solid var(--red); padding-bottom: 6px; font-size: .875rem; }
.section { padding-top: 60px; padding-bottom: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.section-heading h2 { font-size: 1.125rem; letter-spacing: 0; }
.section-heading p { color: var(--muted); font-size: .875rem; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.4rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 400; margin: 0; }
.project + .project { margin-top: 58px; }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 17px; gap: 20px; }
.project-meta h3 { font-size: 1.125rem; font-weight: 400; margin: 0; }
.project-meta > span { font-size: .75rem; letter-spacing: .1em; color: var(--muted); }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-placeholder { aspect-ratio: 1.5; background: #1a181d; position: relative; display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px solid #2e2931; }
.after { background: #211b29; border-color: #352c40; }
.photo-label { position: absolute; top: 18px; left: 22px; font-size: .875rem; letter-spacing: .12em; }
.after .photo-label { color: var(--purple); }
.placeholder-icon { display: none; }
.photo-placeholder p { font-size: .875rem; margin: 0; padding: 12px; }
.studio { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 75px; }
.studio h2 { font-size: clamp(2rem, 3.3vw, 3.5rem); }
.studio-intro > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); }
.studio-intro .service-area { font-size: .875rem; max-width: 400px; }
.services .eyebrow { color: var(--purple); }
.services ul { list-style: none; padding: 0; margin: 0; }
.services li { border-top: 1px solid var(--line); padding: 20px 0; font-size: 1.125rem; }
.contact { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; padding-block: 80px; }
.contact-details > p { color: var(--muted); margin-bottom: 26px; }
.contact-button { display: inline-block; border-left: 2px solid var(--red); padding-left: 20px; font-size: .875rem; }
.contact-button span { display: block; font-size: 1.5rem; letter-spacing: .025em; margin-top: 4px; }
footer { border-top: 1px solid var(--line); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .8125rem; color: var(--muted); }
footer p { margin: 0; }
@media (max-width: 700px) {
  .site-header { padding: 24px 0; }
  .wordmark { font-size: 2rem; }
  .wordmark small { font-size: .625rem; }
  nav { gap: 16px; font-size: .875rem; }
  .hero { padding-top: 65px; padding-bottom: 42px; }
  .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  h1 { font-size: clamp(2rem, 7.3vw, 3.3rem); margin-bottom: 38px; }
  .section { padding-block: 44px; }
  .project-meta { flex-direction: column; gap: 4px; }
  .comparison { gap: 8px; }
  .photo-placeholder { aspect-ratio: .85; }
  .photo-label { top: 13px; left: 13px; font-size: .75rem; }
  .photo-placeholder p { font-size: .8125rem; }
  .project + .project { margin-top: 36px; }
  .studio, .contact { grid-template-columns: 1fr; gap: 34px; padding-block: 50px; }
  .services li { font-size: 1rem; padding-block: 16px; }
  footer { font-size: .75rem; }
}
@media (max-width: 360px) {
  .site-header { align-items: flex-start; gap: 20px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-subtitle { color: var(--muted); font-size: 1rem; margin-bottom: 36px; }

/* Project photographs retain their full composition. */
.project-description { color: var(--muted); font-size: .9375rem; margin: -6px 0 24px; max-width: 650px; }
.project-photos { align-items: start; gap: 24px; }
.project-photos figure { margin: 0; min-width: 0; }
.project-photos a { display: block; background: #1a181d; }
.project-photos img { display: block; width: 100%; height: 420px; object-fit: contain; }
.project-photos figcaption { color: var(--muted); font-size: .875rem; padding-top: 10px; letter-spacing: .08em; }
.project-photos figure:nth-child(2) figcaption { color: var(--purple); }
@media (max-width: 700px) { .project-photos { grid-template-columns: 1fr; gap: 24px; } .project-photos img { height: auto; max-height: 600px; } }

/* Project index and complete libraries */
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 58px 30px; }
.project-card.showcase { grid-column: 1 / -1; }
.project-card img { display: block; width: 100%; height: 380px; object-fit: cover; background: #211b29; }
.project-card.showcase img { height: min(58vw,640px); }
.project-card h3 { margin: 18px 0 0; font-size: 1.25rem; font-weight: 400; }
.project-card a:hover h3 { color: var(--purple); }
.project-page { width: 88%; max-width: 1408px; margin: auto; }
.project-intro { padding: 60px 0 70px; }
.project-intro > .text-link { display: inline-block; margin-bottom: 45px; }
.project-intro h1 { font-size: clamp(2.5rem,6vw,6rem); overflow-wrap: anywhere; margin-bottom: 24px; }
.project-intro .eyebrow { color: var(--purple); margin-bottom: 18px; }
.gallery-note { max-width: 640px; color: var(--muted); margin: 0; }
.room { border-top: 1px solid var(--line); padding: 40px 0 65px; }
.room h2 { font-size: 1.75rem; margin-bottom: 28px; }
.room-stages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; align-items: start; }
.stage h3 { font-size: .875rem; color: var(--purple); font-weight: 400; letter-spacing: .08em; }
.stage figure { margin: 0 0 28px; }
.gallery-image { display: block; background: #1a181d; cursor: zoom-in; }
.gallery-image img { display: block; width: 100%; height: auto; max-height: 650px; object-fit: contain; }
.stage figcaption { font-size: .8125rem; color: var(--muted); padding-top: 9px; }
dialog { width: min(96vw,1500px); max-width: 96vw; max-height: 96vh; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 18px; }
dialog::backdrop { background: #000d; }
dialog img { display: block; max-width: 100%; max-height: 75vh; width: auto; height: auto; margin: auto; }
dialog p { font-size: .875rem; margin: 14px 0 0; }
.close-image { display: block; margin: 0 0 16px auto; padding: 8px 18px; background: transparent; color: var(--ink); border: 1px solid var(--muted); font: inherit; cursor: pointer; }
.close-image:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
@media(max-width:700px) {
 .project-grid { grid-template-columns: 1fr; gap: 36px; }
 .project-card img, .project-card.showcase img { height: auto; aspect-ratio: 4/3; }
 .project-card.showcase img { aspect-ratio: 1.25; }
 .room-stages { grid-template-columns: 1fr; gap: 12px; }
 .project-intro { padding-block: 40px; }
 .room { padding-bottom: 35px; }
}

/* Consistent category frames; the enlarged viewer retains each full image. */
.project-summary { color: var(--muted); font-size: 1rem; margin: 12px 0 0; max-width: 700px; }
.project-story { max-width: 760px; color: var(--muted); margin-bottom: 26px; }
.project-story p { margin-bottom: 14px; }
.draft-label { color: var(--purple); font-size: .8125rem; letter-spacing: .03em; margin-bottom: 24px; }
.stage figure { position: relative; }
.image-stage { display: block; margin-bottom: 12px; color: var(--purple); font-size: .875rem; letter-spacing: .08em; }
.gallery-image img { height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.portrait-room .gallery-image img { aspect-ratio: 3 / 4; }
.project-card img { height: auto; aspect-ratio: 4 / 3; }
.project-card.showcase img { height: auto; aspect-ratio: 16 / 9; }
@media(max-width:700px) { .project-card.showcase img { aspect-ratio: 4 / 3; } }

/* Unmatched views read in sequence: existing space, then its new possibilities. */
.stacked-stages .room-stages { grid-template-columns: 1fr; gap: 16px; }
.stacked-stages .stage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.stacked-stages .stage figure { margin-bottom: 14px; }
.stacked-stages .stage figure:only-child { grid-column: 1 / -1; width: calc((100% - 30px) / 2); justify-self: center; }
@media(max-width:700px) {
 .stacked-stages .stage { grid-template-columns: 1fr; gap: 20px; }
 .stacked-stages .stage figure:only-child { width: 100%; }
}
