:root {
  color-scheme: light;
  --paper: #eeede6;
  --ink: #20221f;
  --muted: #555750;
  --line: #afafa3;
  --signal: #e3fa47;
  --display: "Arial", "Helvetica Neue", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", monospace;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--display); }
button, select, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
:focus-visible { outline: 3px solid #3969bb; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 5; transform: translateY(-150%); padding: .75rem; background: var(--signal); }
.skip:focus { transform: none; }
.top, footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 0 var(--gutter); }
.top { min-height: 4.8rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .65rem; font-size: 1.48rem; font-weight: 900; line-height: .84; letter-spacing: -.085em; }
.brand-sub { display: block; font: 700 .62rem/1.1 var(--mono); letter-spacing: .22em; margin-top: .28rem; }
.mark { display: block; width: 1.85rem; height: 2.1rem; background: currentColor; clip-path: polygon(0 0, 28% 0, 28% 100%, 0 100%, 0 0, 100% 0, 60% 49%, 100% 100%, 68% 100%, 28% 49%, 68% 0); }
nav { display: flex; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
nav a, .contact-link { font-size: .9rem; font-weight: 700; }
nav a:hover, footer > a:last-child:hover { text-decoration: underline; text-underline-offset: .35em; }
.contact-link { border: 1px solid var(--ink); padding: .58rem 1rem; }
.contact-link:hover { background: var(--signal); }
.hero { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); padding-inline: var(--gutter); }
.hero-copy { padding: clamp(2rem, 5vw, 4.75rem) clamp(1rem, 4vw, 4.5rem) 2.75rem 0; align-self: center; }
.eyebrow { font: 700 .875rem/1.35 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.index-mark { display: inline-block; margin-right: .35rem; width: .8rem; height: .8rem; background: var(--signal); border: 1px solid var(--ink); vertical-align: -.05rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 750; line-height: .92; letter-spacing: -.086em; }
h1 { font-size: clamp(4rem, 8.45vw, 9rem); margin: 1.45rem 0 1.3rem; }
h1 em, h2 em { font: italic 400 .96em/.9 var(--serif); letter-spacing: -.09em; }
.hero-description { max-width: 28rem; color: var(--muted); margin-bottom: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .55rem 1.1rem; background: var(--signal); color: var(--ink); border: 1px solid var(--ink); font-weight: 700; transition: background .2s, color .2s; }
.button:hover, .button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--signal); color: var(--ink); }
.hero-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; border-left: 1px solid var(--line); min-width: 0; }
.photo-frame { min-height: 26rem; position: relative; overflow: hidden; background: #858379; }
.photo-frame img { height: 100%; position: absolute; inset: 0; object-position: 58% center; }
.hero-tag { position: absolute; top: 1.5rem; right: 1.5rem; padding: .35rem .6rem; background: var(--signal); font: 700 .875rem/1.2 var(--mono); }
.photo-guides { pointer-events: none; position: absolute; inset: 1.5rem; }
.photo-guides i { position: absolute; width: 1rem; height: 1rem; color: white; }
.photo-guides i:nth-child(1) { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.photo-guides i:nth-child(2) { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.photo-guides i:nth-child(3) { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.photo-guides i:nth-child(4) { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
figcaption { min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .55rem 1rem; font: .875rem/1.35 var(--mono); border-right: 1px solid var(--line); }
figcaption span:first-child { font-weight: 700; }
.sector-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--signal); border-block: 1px solid var(--ink); padding-inline: var(--gutter); }
.sector-strip span { display: grid; place-items: center; min-height: 3.45rem; border-left: 1px solid var(--ink); font: 700 .875rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.sector-strip span:last-child { border-right: 1px solid var(--ink); }
.section { padding: clamp(3rem, 6.5vw, 6rem) var(--gutter); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
h2 { font-size: clamp(3rem, 6.35vw, 7rem); margin-top: .55rem; }
.filters, .stages { display: flex; gap: .4rem; flex-wrap: wrap; }
.filters button, .stages button { border: 1px solid var(--line); padding: .5rem .7rem; min-height: 2.75rem; background: transparent; font-weight: 700; font-size: .875rem; }
.filters button[aria-pressed="true"], .filters button:hover, .stages button[aria-pressed="true"], .stages button:hover { border-color: var(--ink); background: var(--signal); color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-grid.is-filtered { grid-template-columns: minmax(0, 46rem); }
.project-card { border-block: 1px solid var(--line); padding-top: .5rem; min-width: 0; }
.project-open { display: block; text-align: left; width: 100%; padding: 0; background: transparent; border: 0; overflow: hidden; }
.project-open img { aspect-ratio: 4/3; height: auto; transition: filter .35s, transform .55s cubic-bezier(.2, .65, .3, 1); }
.project-open:hover img, .project-open:focus-visible img { filter: brightness(.92); transform: scale(1.045); }
.project-card .project-image { display: block; overflow: hidden; }
.project-info { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .95rem 0; }
.project-type { display: block; font: .875rem/1.25 var(--mono); color: var(--muted); }
.project-title { display: block; font-size: clamp(1.2rem, 2vw, 1.85rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 750; margin-top: .35rem; }
.plus { display: grid; flex: 0 0 2.25rem; height: 2.25rem; place-items: center; border: 1px solid var(--line); font: 1.4rem/1 var(--mono); }
.project-open:hover .plus { background: var(--signal); border-color: var(--ink); }
.approach, .inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); }
.approach { color: var(--paper); background: #242621; }
.approach h2 em { color: var(--signal); }
.approach p:not(.eyebrow), .inquiry p:not(.eyebrow) { margin-top: 1.25rem; max-width: 31rem; }
.approach-list { align-self: center; border-top: 1px solid #737568; }
details { border-bottom: 1px solid #737568; }
summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font-size: 1.18rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--signal); font: 1.4rem/1 var(--mono); }
details[open] summary::after { content: '−'; }
.approach details p:not(.eyebrow) { margin: 0 0 1.15rem; color: #dcddd3; }
.journal-label { font: .875rem/1.35 var(--mono); }
.journal-inner { display: grid; grid-template-columns: 1.13fr 1fr; border: 1px solid var(--line); }
.journal-inner > img { height: 100%; min-height: 22rem; }
.journal-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.2rem, 4vw, 3.5rem); }
.journal-story h3 { font: 400 clamp(1.9rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.05em; }
.journal-story p { margin-top: 1rem; color: var(--muted); }
.inquiry { background: var(--signal); }
form { display: grid; gap: .85rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
form label { display: grid; min-width: 0; gap: .25rem; font-weight: 700; }
form input, form select, form textarea { width: 100%; background-color: #f3ffab; background-clip: padding-box; color: var(--ink); border: 1px solid var(--ink); padding: .65rem; border-radius: 0; font-weight: 400; }
form select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 1.15rem center, right .85rem center; background-size: .31rem .31rem; background-repeat: no-repeat; }
form textarea { min-height: 6rem; resize: vertical; }
form button { justify-self: start; }
.inquiry form .form-note { margin: 0; font-size: .875rem; }
footer { min-height: 6rem; font-size: .875rem; }
footer > a:last-child { font-weight: 700; }
dialog { max-width: min(48rem, calc(100vw - 2rem)); padding: 0; max-height: 90vh; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #20221fbd; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; }
.dialog-close { background: var(--signal); padding: .4rem .6rem; border: 1px solid var(--ink); }
.dialog-close span { margin-left: .35rem; }
dialog img { max-height: 45vh; height: auto; }
.dialog-copy { padding: 1.5rem; }
.dialog-copy h2 { font-size: clamp(2.45rem, 6vw, 4.75rem); }
.dialog-copy p { margin-top: .8rem; }
@media (max-width: 850px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top { column-gap: .7rem; }
  nav { gap: 1rem; }
  .hero { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
  figcaption { flex-wrap: wrap; }
}
@media (max-width: 650px) {
  .top { min-height: 0; padding-top: .9rem; display: grid; grid-template-columns: 1fr auto; }
  nav { grid-row: 2; grid-column: 1 / -1; padding-block: .45rem .7rem; justify-content: space-between; gap: .6rem; }
  .contact-link { justify-self: end; }
  .hero, .approach, .journal-inner, .inquiry { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.25rem 0 1.8rem; }
  h1 { font-size: clamp(4.1rem, 13vw, 6rem); }
  .hero-photo { border-left: 0; }
  .photo-frame { min-height: 0; aspect-ratio: 4/3; }
  figcaption { border-right: 0; padding-inline: 0; }
  .hero-tag { top: 1rem; right: 1rem; }
  .photo-guides { inset: 1rem; }
  .section-intro { align-items: start; flex-direction: column; }
  .project-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .project-open img { aspect-ratio: 3/2; }
  .journal-inner > img { min-height: 0; height: auto; aspect-ratio: 3/2; }
  .journal-story { min-height: 10.5rem; }
  footer { flex-wrap: wrap; padding-block: 1.4rem; }
  footer p { order: 1; flex-basis: 100%; }
}
@media (max-width: 330px) {
  .form-pair { grid-template-columns: 1fr; }
}
.hero-line { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-line {
    animation: title-enter .72s cubic-bezier(.2, .65, .3, 1) both;
  }
  .hero-line:nth-child(2) { animation-delay: .13s; }
  .hero-line:nth-child(3) { animation-delay: .26s; }
  .hero-description, .hero-copy > .button {
    animation: title-enter .65s cubic-bezier(.2, .65, .3, 1) .38s both;
  }
  .hero-copy > .button { animation-delay: .49s; }
  .photo-frame img {
    animation: photo-open 1.25s cubic-bezier(.22, .63, .25, 1) both;
  }
  .photo-frame::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    border-right: 3px solid var(--signal);
    pointer-events: none;
    animation: scan-across 1.2s cubic-bezier(.22, .63, .25, 1) both;
  }
  .photo-guides, .hero-tag {
    animation: title-enter .55s ease-out .68s both;
  }
  .motion-pending {
    opacity: 0;
    transform: translateY(2.25rem);
  }
  .motion-pending:focus-within, .motion-in {
    opacity: 1;
    transform: none;
    transition: opacity .75s ease-out, transform .75s cubic-bezier(.2, .65, .3, 1);
  }
  dialog[open] {
    animation: dialog-enter .34s cubic-bezier(.2, .65, .3, 1) both;
  }
  @keyframes title-enter {
    from { opacity: 0; transform: translateY(1.75rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes photo-open {
    from { clip-path: inset(0 89% 0 0); transform: scale(1.06); }
    to { clip-path: inset(0); transform: scale(1); }
  }
  @keyframes scan-across {
    0% { transform: translateX(-89%); opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateX(0); opacity: 0; }
  }
  @keyframes dialog-enter {
    from { opacity: 0; transform: translateY(1.25rem) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
