:root {
  color-scheme: light;
  --white: #ededeb;
  --black: #141413;
  --red: #a9292a;
  --grey: #777771;
  --mono: "Courier New", Courier, monospace;
  --sans: "Arial", "Helvetica Neue", Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); margin: 0; font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 14px; z-index: 20; background: var(--white); padding: 13px; }
.skip-link:focus { top: 14px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; height: 75px; margin: 0 clamp(22px, 3vw, 58px); border-bottom: 1px solid currentColor; position: relative; z-index: 2; }
.tiny-brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: 1.13rem; font-weight: 900; letter-spacing: -.075em; white-space: nowrap; }
.tiny-brand img { display: block; width: clamp(112px, 9.3vw, 150px); height: auto; }
.tiny-brand span { margin-left: 5px; font-family: var(--mono); font-weight: 400; letter-spacing: -.06em; font-size: .76rem; vertical-align: 2px; }
.topbar-right { display: flex; align-items: center; gap: clamp(18px, 3vw, 60px); }
.topbar nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 46px); }
.topbar nav a { font-family: var(--mono); font-size: .88rem; font-weight: bold; text-decoration: none; }
.topbar nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.opening { min-height: max(690px, calc(100svh - 75px)); display: flex; flex-direction: column; padding: 30px clamp(22px, 3vw, 58px) 40px; position: relative; }
.opening-cap, .opening-foot, .statement-top, .statement-bottom, .work-top, .click-field-foot, .work-bottom, .ending-cap, .ending-foot, .footer { font-family: var(--mono); font-size: .88rem; line-height: 1.5; }
.opening-cap { display: flex; justify-content: space-between; color: #4a4a48; }
.opening-cap-side { text-align: right; }
.wordmark-surface { position: relative; flex: 1 1 auto; min-height: 370px; width: 100%; cursor: crosshair; touch-action: pan-y; }
#wordmark { width: 100%; height: 100%; display: block; }
.wordmark-live { position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); font: .85rem var(--mono); color: var(--red); user-select: none; pointer-events: none; white-space: nowrap; opacity: 0; transition: opacity .5s; }
.wordmark-surface.is-active .wordmark-live { opacity: 1; }
.opening-foot { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.opening-foot-left { display: flex; align-items: start; gap: 16px; max-width: 350px; }
.opening-foot p { margin: 0; }
.small-rule { height: 1px; width: 34px; background: currentColor; flex: 0 0 auto; margin-top: 10px; }
.opening-foot-right { display: flex; align-items: end; gap: clamp(15px, 3vw, 50px); color: var(--grey); }
.interaction-label { max-width: 170px; }

.statement { min-height: 91vh; padding: 50px clamp(22px, 3vw, 58px) 42px; background: var(--black); color: var(--white); display: flex; flex-direction: column; }
.statement-top, .statement-bottom { display: flex; justify-content: space-between; gap: 20px; }
.statement-top { opacity: .66; }
.statement-scar { color: #ba3733; font-family: var(--serif); font-size: 3rem; line-height: .5; font-style: italic; }
.statement > p { font: normal clamp(2.5rem, 5.65vw, 6.25rem)/1.16 var(--serif); letter-spacing: -.06em; max-width: 1220px; margin: auto 0; padding: 80px 0 100px; }
.statement > p i { font-weight: normal; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); text-underline-offset: .14em; }
.statement-bottom { opacity: .5; }

.work { background: var(--white); padding: 38px clamp(22px, 3vw, 58px) 76px; }
.work-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.work-status { text-align: right; }
.click-field { margin-top: 95px; position: relative; isolation: isolate; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); height: clamp(480px, 68vw, 940px); overflow: hidden; }
.project-title-wrap { position: absolute; z-index: 2; left: 0; top: 45%; transform: translateY(-50%); width: 100%; }
.project-title-wrap h2 { font: 900 clamp(5rem, 17.5vw, 19.5rem)/.79 var(--sans); letter-spacing: -.106em; margin: 0; }
.project-title-wrap h2 > span { display: block; white-space: nowrap; }
#clickWord { color: var(--black); font: inherit; letter-spacing: inherit; line-height: inherit; display: block; appearance: none; background: none; border: none; padding: 0 .08em .05em 0; margin: 0; cursor: pointer; text-align: left; position: relative; z-index: 4; }
#clickWord::after { content: ""; position: absolute; left: 100%; width: 0; height: .055em; top: 61%; background: var(--red); transform: translateX(0); transition: width .4s ease; }
#clickWord:hover::after, #clickWord:focus-visible::after { width: 20vw; }
#clickWord:active { color: var(--red); }
.echoes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.echo { position: absolute; font: 900 clamp(5rem, 17.5vw, 19.5rem)/.79 var(--sans); letter-spacing: -.106em; color: var(--red); opacity: .45; mix-blend-mode: multiply; transform: translate(-1px, 0); white-space: nowrap; user-select: none; animation: echoAppear 3.5s ease-out both; }
.echo::before { content: ""; display: block; position: absolute; inset: 30% 0 19%; background: var(--white); opacity: .15; transform: scaleY(1.5); }
@keyframes echoAppear { 0% { opacity: .61; filter: blur(0); } 17% { opacity: .44; filter: blur(1px); } 70% { opacity: .2; filter: blur(2px); } 100% { opacity: 0; filter: blur(15px); } }
.click-field-foot { position: absolute; bottom: 23px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; gap: 20px; }
.click-field-foot output { display: inline-block; min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.work-bottom { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding-top: 48px; }
.work-note { max-width: 480px; font: normal clamp(1.35rem, 2.4vw, 2.15rem)/1.3 var(--serif); letter-spacing: -.03em; margin: 0; }
.work-enquire { font: bold .9rem/1.3 var(--mono); text-decoration: underline; text-underline-offset: 7px; white-space: nowrap; }
.work-enquire:hover { color: var(--red); }

.ending { min-height: 82vh; background: var(--black); color: var(--white); padding: 42px clamp(22px, 3vw, 58px) 46px; display: flex; flex-direction: column; justify-content: space-between; gap: 90px; }
.ending-cap { color: #9d9d9a; margin: 0; }
.email { font: 800 clamp(2.5rem, 6.5vw, 8rem)/1.13 var(--sans); letter-spacing: -.084em; text-decoration: none; overflow-wrap: anywhere; display: block; max-width: 95%; align-self: start; position: relative; }
.email span { border-bottom: 4px solid #a73b37; }
.email:hover { color: #c6c7c2; }
.ending-foot { display: flex; justify-content: space-between; color: #9d9d9a; gap: 24px; }
.footer { min-height: 72px; padding: 20px clamp(22px, 3vw, 58px); background: var(--black); border-top: 1px solid #555550; color: #adada9; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a, .footer button { color: inherit; background: none; border: none; padding: 0; text-decoration: none; font: inherit; cursor: pointer; }
.footer a:hover, .footer button:hover { color: var(--white); }

@media (max-width: 900px) {
  .opening { min-height: 85svh; }
  .statement { min-height: 70vh; }
  .statement > p { font-size: clamp(2.6rem, 7vw, 5rem); }
  .click-field { height: clamp(410px, 73vw, 760px); }
  .project-title-wrap h2, .echo { font-size: 17.1vw; }
  .ending { min-height: 66vh; }
}
@media (max-width: 620px) {
  .topbar { height: 65px; margin: 0 19px; gap: 10px; }
  .tiny-brand { font-size: 1rem; }
  .tiny-brand span { display: none; }
  .topbar-right { gap: 18px; }
  .topbar nav { gap: 14px; }
  .topbar nav a { font-size: .77rem; }
  .topbar nav a:nth-child(2) { display: none; }
  .opening { padding: 25px 19px 30px; min-height: max(650px, calc(90svh - 65px)); }
  .opening-cap { display: block; font-size: .75rem; }
  .opening-cap-side { display: none; }
  .wordmark-surface { min-height: 335px; }
  .opening-foot { align-items: start; font-size: .75rem; }
  .opening-foot-left { max-width: 170px; }
  .small-rule { width: 16px; }
  .opening-foot-right { gap: 8px; }
  .interaction-label { max-width: 105px; }
  .statement { padding: 38px 19px 34px; min-height: 72svh; }
  .statement-top, .statement-bottom { font-size: .71rem; }
  .statement-bottom span:last-child { max-width: 135px; text-align: right; }
  .statement > p { padding: 70px 0; font-size: clamp(2.25rem, 8.7vw, 4.3rem); line-height: 1.2; }
  .work { padding: 33px 19px 65px; }
  .work-top, .click-field-foot { font-size: .72rem; }
  .click-field { margin-top: 50px; height: 490px; }
  .project-title-wrap { top: 43%; }
  .project-title-wrap h2, .echo { font-size: clamp(3.3rem, 17vw, 8rem); letter-spacing: -.105em; }
  .click-field-foot { bottom: 20px; }
  .click-field-foot > span { max-width: 145px; }
  .work-bottom { padding-top: 36px; display: block; }
  .work-note { font-size: 1.55rem; max-width: 330px; margin-bottom: 45px; }
  .work-enquire { font-size: .77rem; }
  .ending { padding: 36px 19px; min-height: 67svh; gap: 55px; }
  .ending-cap { font-size: .75rem; }
  .email { font-size: clamp(2rem, 9.1vw, 4.8rem); max-width: 100%; letter-spacing: -.07em; }
  .email span { border-bottom-width: 2px; }
  .ending-foot { font-size: .72rem; }
  .footer { padding: 23px 19px; flex-wrap: wrap; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
