:root {
  --ink: #111a1d;
  --deep: #1d2b30;
  --gallery: #ecece7;
  --text: #f1f2ee;
  --secondary: #b7c1c1;
  --accent: #a3b9ba;
  --dark-accent: #405c61;
  --line: rgba(241, 242, 238, 0.22);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --header-clearance: calc(94px + env(safe-area-inset-top));
  --focus: var(--accent);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-clearance);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.js-only {
  display: none !important;
}
.js .js-only {
  display: flex !important;
}
.skip-link {
  position: fixed;
  z-index: 200;
  left: 12px;
  top: 8px;
  transform: translateY(-160%);
  padding: 16px;
  background: var(--gallery);
  color: var(--ink);
}
.skip-link:focus {
  transform: none;
}
.section-pad {
  padding: 64px 6vw;
}
.eyebrow,
.section-kicker,
.hero-bottom,
figcaption,
.site-footer {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.eyebrow {
  color: var(--secondary);
}
.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 38px 0;
}
.section-heading h1,
.section-heading h2 {
  font: clamp(42px, 5vw, 76px)/1.03 var(--serif);
  letter-spacing: -0.045em;
}
.section-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--secondary);
}
.site-header {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: calc(14px + env(safe-area-inset-top)) max(4vw, env(safe-area-inset-right)) 14px
    max(4vw, env(safe-area-inset-left));
  background: rgba(17, 26, 29, 0.97);
  border-bottom: 1px solid rgba(241, 242, 238, 0.13);
}
.wordmark {
  font-size: 23px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  min-height: 44px;
}
.brand-x {
  font-family: var(--serif);
  font-size: 1.13em;
  font-style: italic;
  margin-left: 4px;
}
.wordmark small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 2px;
}
.private-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--secondary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.header-actions > a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.header-actions > a:hover {
  color: var(--accent);
}
.motion-toggle {
  align-items: center;
  display: flex;
  gap: 9px;
  font-size: 11px;
  padding: 8px;
}
.motion-toggle:hover,
.motion-toggle.is-paused {
  background: rgba(241, 242, 238, 0.1);
}
.motion-toggle[aria-disabled='true'] {
  cursor: default;
}
.motion-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
}
.motion-icon:before,
.motion-icon:after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 12px;
  background: currentColor;
}
.motion-icon:before {
  left: 2px;
}
.motion-icon:after {
  right: 2px;
}
.is-paused .motion-icon:before {
  left: 2px;
  width: 0;
  height: 0;
  background: none;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.is-paused .motion-icon:after {
  display: none;
}
.photo-link {
  display: block;
  position: relative;
}
.expand-mark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(241, 242, 238, 0.8);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 26, 29, 0.8);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s;
}
.photo-link:hover .expand-mark {
  background: var(--ink);
}
.hero {
  position: relative;
  height: min(88svh, 860px);
  min-height: 570px;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-frame .expand-mark {
  bottom: 34px;
  right: 6vw;
  z-index: 3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 26, 29, 0.6), transparent 70%),
    linear-gradient(0deg, rgba(17, 26, 29, 0.65), transparent 70%);
}
.hero-copy {
  position: absolute;
  left: 6vw;
  bottom: 94px;
  pointer-events: none;
}
.hero-copy .eyebrow {
  display: inline-block;
  color: var(--text);
  background: var(--ink);
  padding: 7px 10px;
  font-size: 10px;
}
.hero-copy h1 {
  font: clamp(74px, 9vw, 132px)/0.92 var(--serif);
  letter-spacing: -0.065em;
  margin: 22px 0;
}
.hero-copy h1 em {
  color: var(--text);
}
.hero-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
}
.hero-copy .text-link {
  margin-top: 18px;
  pointer-events: auto;
}
.hero-bottom {
  position: absolute;
  left: 6vw;
  bottom: 34px;
  pointer-events: none;
  font-size: 10px;
}
.work-section {
  background: var(--gallery);
  color: var(--ink);
  --line: rgba(17, 26, 29, 0.25);
  --focus: var(--dark-accent);
}
.work-section em,
.portfolio-main em {
  color: var(--dark-accent);
}
.curated-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.work-card {
  min-width: 0;
}
.work-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.curated-grid .work-card:nth-child(3) {
  padding-top: 16%;
}
.curated-grid .work-card:nth-child(4) {
  padding-top: 40%;
}
.work-card figcaption {
  padding-top: 15px;
}
.work-card figcaption span {
  display: block;
  font-size: 10px;
  color: var(--dark-accent);
}
.work-card figcaption strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.edit-section {
  background: var(--ink);
}
.edit-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: end;
  margin: 35px 0;
}
.edit-heading h2 {
  font: clamp(42px, 5vw, 70px)/1.04 var(--serif);
  letter-spacing: -0.045em;
}
.edit-heading > p {
  max-width: 330px;
  justify-self: end;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.8;
}
.edit-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.edit-comparison figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 13px;
}
.edit-comparison figcaption > span {
  font-size: 10px;
  color: var(--secondary);
}
.edit-comparison figcaption strong {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.edit-comparison img {
  width: 100%;
  height: auto;
  filter: none;
  transform: none;
}
.edit-source-note {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 20px;
  color: var(--secondary);
}
.planning-section {
  background: var(--deep);
}
.planning-tool {
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header-clearance);
}
.planning-tool:last-of-type {
  border-bottom: 1px solid var(--line);
}
.planning-tool > summary {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  list-style: none;
  padding: 28px 0;
  min-height: 100px;
}
.planning-tool > summary::-webkit-details-marker {
  display: none;
}
.tool-number {
  color: var(--secondary);
  font-size: 11px;
  align-self: flex-start;
  padding-top: 7px;
}
.tool-copy {
  flex: 1;
  min-width: 0;
}
.tool-copy strong {
  display: block;
  font: 30px/1.2 var(--serif);
  letter-spacing: -0.03em;
}
.tool-copy small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--secondary);
  margin-top: 10px;
}
.tool-sign {
  font: 32px/1 var(--sans);
  width: 30px;
  text-align: center;
}
.planning-tool[open] > summary .tool-sign {
  transform: rotate(45deg);
}
.planning-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.8;
}
.planning-contact p {
  color: var(--secondary);
}
.planning-contact a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.planning-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--secondary);
  margin-top: 20px;
  max-width: 780px;
}
.close-tool {
  margin: 12px 0 28px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 12px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--secondary);
  border-top: 1px solid var(--line);
}
.site-footer > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  letter-spacing: 0;
}
.lightbox {
  padding: 76px 5vw 28px;
  border: 0;
  color: var(--text);
  background: rgba(10, 15, 17, 0.98);
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100dvh;
  inset: 0;
  margin: 0;
  overflow: auto;
  display: none;
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  position: absolute;
  right: max(5vw, env(safe-area-inset-right));
  top: max(15px, env(safe-area-inset-top));
  z-index: 2;
}
.close-button {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.close-button span {
  font-size: 28px;
}
.lightbox figure {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 100%;
  max-height: 100%;
}
.lightbox img {
  max-width: 90vw;
  max-height: calc(100dvh - 155px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 20px;
  font-size: 12px;
}
.modal-open {
  overflow: hidden;
}
.portfolio-main {
  padding-top: 130px;
  background: var(--gallery);
  color: var(--ink);
  --line: rgba(17, 26, 29, 0.25);
  --focus: var(--dark-accent);
}
.portfolio-main .section-heading {
  margin-bottom: 60px;
}
.portfolio-main .section-heading p {
  color: var(--dark-accent);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 48px 32px;
}
.portfolio-grid .photo-link {
  background: #dfe1db;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
}
.portfolio-grid .photo-link img {
  height: 100%;
  object-fit: contain;
}
.portfolio-end {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font: 32px/1.2 var(--serif);
}
.static-motion *,
.static-motion *:before,
.static-motion *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.static-motion {
  scroll-behavior: auto;
}
@media (max-width: 900px) {
  .private-label {
    display: none;
  }
  .motion-label {
    display: none;
  }
  .curated-grid {
    gap: 18px;
  }
  .work-card figcaption strong {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .section-pad {
    padding: 44px 6vw;
  }
  .site-header {
    padding: calc(10px + env(safe-area-inset-top)) 5vw 10px;
    gap: 10px;
  }
  .wordmark {
    font-size: 20px;
  }
  .header-actions {
    gap: 18px;
    font-size: 12px;
  }
  .hero {
    height: 83svh;
    min-height: 580px;
  }
  .hero-frame img {
    object-position: 56% 40%;
  }
  .hero-copy {
    bottom: 90px;
  }
  .hero-copy h1 {
    font-size: clamp(65px, 16vw, 95px);
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 22px;
    margin: 30px 0;
  }
  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(42px, 10vw, 65px);
  }
  .curated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
  .curated-grid .work-card:nth-child(3),
  .curated-grid .work-card:nth-child(4) {
    padding-top: 0;
  }
  .work-card figcaption {
    padding-top: 12px;
  }
  .work-card figcaption strong {
    font-size: 17px;
  }
  .edit-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  .edit-heading > p {
    justify-self: start;
  }
  .edit-heading h2 {
    font-size: 46px;
  }
  .edit-comparison {
    gap: 14px;
  }
  .edit-comparison figcaption {
    align-items: start;
    flex-direction: column;
    font-size: 10px;
  }
  .edit-comparison figcaption strong {
    font-size: 11px;
    min-height: 28px;
  }
  .edit-source-note {
    font-size: 10px;
  }
  .planning-tool > summary {
    gap: 16px;
    padding: 25px 0;
  }
  .tool-copy strong {
    font-size: 26px;
  }
  .tool-copy small {
    font-size: 12px;
  }
  .tool-number {
    font-size: 10px;
  }
  .planning-contact {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .site-footer {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .site-footer > span:first-child {
    width: 100%;
  }
  .portfolio-main {
    padding-top: 112px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 18px;
  }
  .portfolio-main .section-heading {
    margin-bottom: 35px;
  }
  .portfolio-end {
    align-items: start;
    flex-direction: column;
    font-size: 28px;
    margin-top: 40px;
  }
}
@media (max-width: 420px) {
  .site-header {
    padding-inline: 4vw;
    gap: 7px;
  }
  .site-header .wordmark {
    font-size: 17px;
  }
  .wordmark small {
    font-size: 8px;
    letter-spacing: 0.15em;
  }
  .header-actions {
    gap: 10px;
    font-size: 11px;
  }
  .motion-toggle {
    padding: 0;
    min-width: 32px;
  }
  .hero {
    min-height: 560px;
  }
  .curated-grid {
    gap: 25px 14px;
  }
  .work-card figcaption strong {
    font-size: 16px;
  }
  .section-kicker {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .section-kicker > span:last-child {
    text-align: right;
  }
  .tool-copy strong {
    font-size: 23px;
  }
  .planning-tool > summary {
    gap: 12px;
  }
  .tool-sign {
    width: 20px;
  }
  .edit-comparison {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .edit-comparison figcaption {
    flex-direction: row;
    align-items: baseline;
  }
  .edit-comparison figcaption strong {
    min-height: 0;
    font-size: 12px;
  }
  .hero-copy .eyebrow {
    max-width: 85vw;
  }
}
@media (max-height: 500px) {
  .hero {
    min-height: 540px;
  }
  .lightbox {
    padding-top: 56px;
    padding-bottom: 16px;
  }
  .lightbox img {
    max-height: calc(100dvh - 115px);
  }
  .lightbox figcaption {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.diagonal-arrow {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  margin-right: 3px;
}
.diagonal-arrow:after {
  content: '';
  position: absolute;
  width: 16px;
  height: 1px;
  background: currentColor;
  left: -2px;
  top: 5px;
  transform: rotate(-45deg);
}

/* Compact motion: compositor-friendly feedback, no extra scroll distance. */
.hero-frame {
  transform-origin: 50% 100%;
}
.tool-sign {
  transition: transform 0.28s var(--ease);
}
.text-link {
  transition:
    gap 0.25s var(--ease),
    color 0.2s;
}
.primary-button,
.secondary-button {
  transition:
    transform 0.16s var(--ease),
    background-color 0.2s;
}
.primary-button:not(:disabled):active,
.secondary-button:not(:disabled):active {
  transform: scale(0.985);
}
.photo-link .expand-mark {
  transition:
    transform 0.24s var(--ease),
    background-color 0.2s;
}
.photo-link:focus-visible .expand-mark {
  transform: rotate(90deg);
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    gap: 38px;
  }
  .photo-link:hover .expand-mark {
    transform: rotate(90deg);
  }
}

/* Native cross-document snapshots are disabled after interrupted-navigation errors.
   The page-local opening, gallery and outgoing motion remain in motion.js. */
