/* Clip horizontal overflow without creating a scroll container that breaks sticky. */
body { overflow-x: clip; }
/* A scroll-bound brand study with actual applications of one identity. */
.brand-story { position: relative; height: 480svh; background: #111811; border-block: 1px solid #333e31; }
.story-sticky { position: sticky; top: 4.4rem; min-height: 42rem; height: calc(100svh - 4.4rem); display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: center; gap: 5vw; padding: 2.5rem var(--gutter); overflow: hidden; }
.story-copy { min-width: 0; }
.story-copy .eyebrow { margin: 0 0 1.8rem; font-size: .75rem; }
.story-copy h2 { white-space: pre-line; font-size: clamp(2.8rem,4.1vw,5.5rem); letter-spacing: -.055em; margin: 0; }
.story-disclaimer { max-width: 26rem; color: #9da895; font-size: .85rem; line-height: 1.6; margin: 1.5rem 0 3rem; }
.story-caption > span { font: .75rem/1 monospace; color: #87997e; }
.story-caption h3 { font-size: clamp(1.6rem,2.3vw,2.5rem); font-weight: 400; letter-spacing: -.04em; margin: .8rem 0; }
.story-caption > p { max-width: 29rem; min-height: 5rem; font-size: 1rem; line-height: 1.7; color: #c1c8bb; }
.story-steps { display: flex; gap: .5rem; margin-top: 2rem; }
.story-steps button { background: none; border: 0; border-bottom: 1px solid #4c5c44; color: #9fae96; padding: .9rem; font: .875rem/1 monospace; cursor: pointer; }
.story-steps button[aria-current] { color: #fff; border-color: #edf0e7; }
.story-steps button:focus-visible { outline: 2px solid #ccdfc2; outline-offset: 3px; }
.story-instruction { font-size: .75rem; color: #819276; margin-top: 1.25rem; }
.brand-stage { position: relative; width: 100%; height: min(70svh,44rem); min-height: 25rem; overflow: hidden; background: #e7e9df; color: #182b23; }
.story-layer { position: absolute; inset: 0; opacity: 0; transform: translateY(7%) scale(.96); transition: opacity .65s ease, transform .85s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.brand-stage[data-step='0'] [data-layer='0'], .brand-stage[data-step='1'] [data-layer='1'], .brand-stage[data-step='2'] [data-layer='2'], .brand-stage[data-step='3'] [data-layer='3'], .brand-stage[data-step='4'] [data-layer='4'] { opacity: 1; transform: none; pointer-events: auto; }
.story-logo { display: grid; place-items: center; background: #e7e9df; }
.fjord-wordmark { font: 400 clamp(3rem,6.7vw,9rem)/1 Georgia,serif; letter-spacing: -.07em; text-align: center; }
.fjord-wordmark > span { display: block; font: 400 .75rem/1.5 Arial,sans-serif; letter-spacing: .45em; margin-top: 1.1rem; }
.identity-caption { position: absolute; left: 2rem; bottom: 2rem; font: .75rem/1.5 monospace; color: #53664e; }
.story-identity { background: #dce2d4; padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 3rem; }
.story-identity .fjord-wordmark { text-align: left; font-size: clamp(3rem,5.7vw,7rem); }
.story-identity .fjord-wordmark > span { padding-left: .4rem; }
.identity-system { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #b3bfaa; padding-top: 2rem; }
.identity-type { font: 6rem/1 Georgia,serif; letter-spacing: -.09em; }
.identity-swatches { display: flex; gap: .6rem; }
.identity-swatches i { width: clamp(2rem,4vw,4rem); height: 5rem; background: #182b23; }
.identity-swatches i:nth-child(2) { background: #8b9c73; }
.identity-swatches i:nth-child(3) { background: #eee9dd; }
.story-sign img, .story-campaign > img { width: 100%; height: 100%; object-fit: cover; }
.concept-label { position: absolute; bottom: 1rem; left: 1rem; padding: .5rem; color: #e7e9df; background: rgba(10,20,13,.8); font-size: .75rem; letter-spacing: .07em; }
.story-website { background: #e7e9df; display: flex; flex-direction: column; }
.concept-web-header { display: flex; justify-content: space-between; padding: 1.5rem; align-items: center; }
.concept-web-header > span:first-child { font: 2rem/1 Georgia,serif; }
.concept-web-header > span:last-child, .concept-web-footer { font-size: .65rem; letter-spacing: .1em; }
.concept-web-hero { position: relative; flex: 1; min-height: 0; }
.concept-web-hero > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.concept-web-hero > div { position: absolute; inset: 0; display: flex; justify-content: center; flex-direction: column; padding: 2rem; color: #e7e9df; }
.concept-web-hero h3 { font: 400 clamp(2rem,3.4vw,4rem)/1.1 Georgia,serif; margin: 0 0 1.5rem; letter-spacing: -.045em; }
.concept-web-hero > div > span { font-size: .85rem; }
.concept-web-footer { display: flex; justify-content: space-between; padding: 1.5rem; }
.story-campaign { color: #fff; }
.story-campaign > img { filter: brightness(.55); object-position: 65% center; transform: scale(1.06); }
.concept-ad { position: absolute; inset: 0; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.concept-ad > span { font-size: .75rem; letter-spacing: .09em; }
.concept-ad strong { font: 400 clamp(3rem,5vw,6rem)/1 Georgia,serif; letter-spacing: -.05em; }
.story-progress { position: absolute; inset: auto 0 0; height: 3px; background: rgba(0,0,0,.2); }
.story-progress > span { display: block; width: 100%; height: 100%; background: #8b9c73; transform: scaleX(0); transform-origin: left; }
/* Native modal, full-resolution images, explicit links and a keyboard-accessible gallery. */
.project-preview-trigger { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.project-preview-trigger > span { position: absolute; bottom: 1rem; right: 1rem; padding: .7rem 1rem; background: #edf0e7; color: #182b23; font-size: .875rem; opacity: 0; transform: translateY(8px); transition: .2s; }
.project-preview-trigger:hover > span, .project-preview-trigger:focus-visible > span { opacity: 1; transform: none; }
.project-preview-trigger:focus-visible { outline: 3px solid #ccdfc2; outline-offset: -3px; }
.project-dialog { width: min(94vw,100rem); height: min(92svh,62rem); max-width: none; max-height: none; border: 1px solid #4e5e46; background: #0d100e; color: #edf0e7; padding: 1.5rem 2rem; }
.project-dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(12px); }
.has-project-dialog { overflow: hidden; }
.project-dialog-top, .project-dialog-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.project-dialog-top { border-bottom: 1px solid #384333; padding-bottom: 1rem; }
.project-dialog-top > span { color: #99aa8f; font: .8rem/1 monospace; }
.project-dialog-actions { display: flex; gap: .5rem; }
.project-dialog button[aria-pressed='true'] { background: #263121; border-color: #ccdfc2; }
.project-dialog button { background: none; border: 1px solid #4a5942; color: #edf0e7; padding: .7rem 1rem; cursor: pointer; font-size: .875rem; }
.project-dialog button:hover { background: #263121; }
.project-dialog button:focus-visible { outline: 2px solid #ccdfc2; outline-offset: 3px; }
.project-dialog-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(18rem,1fr); gap: 2.5rem; height: calc(100% - 8rem); padding-block: 1.5rem; }
.project-dialog-preview { overflow: auto; background: #070a07; min-height: 0; align-content: center; }
.project-dialog-preview img { width: 100%; height: auto; object-fit: contain; }
.project-dialog-preview.is-zoomed { overflow: auto; max-height: 100%; align-content: start; }
.project-dialog-preview.is-zoomed img { width: auto; max-width: none; }
.project-dialog-preview img[hidden], .project-dialog-copy a[hidden] { display: none; }
.project-dialog-preview img + img { margin-top: 1rem; }
.project-dialog-copy { overflow: auto; padding-right: .5rem; }
.project-dialog-copy .eyebrow { margin: .5rem 0 1rem; }
.project-dialog-copy h2 { font-size: clamp(1.9rem,3vw,3.5rem); overflow-wrap: anywhere; margin: 0 0 1.5rem; }
.project-dialog-copy p { font-size: 1rem; color: #bbc6b4; line-height: 1.7; }
.project-dialog-copy h3 { font-size: .75rem; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; margin-top: 2rem; color: #92a685; }
.project-dialog-copy ul { padding-left: 1.1rem; line-height: 1.7; color: #bbc6b4; }
.project-dialog-copy a { display: inline-block; margin-top: 1rem; padding-bottom: .4rem; border-bottom: 1px solid #92a685; }
.project-dialog-bottom { border-top: 1px solid #384333; padding-top: 1rem; }
.project-dialog-bottom > span { font-size: .75rem; color: #99aa8f; }
/* Brief choices keep independent drafts so switching never loses typed notes. */
.brief-picker { padding: 0; margin: 0 0 2rem; border: 0; display: grid; grid-template-columns: 1fr; gap: .65rem; }
.brief-picker legend { font-size: 1.2rem; padding: 0 0 1rem; }
.contact-form .brief-picker label { margin: 0; display: block; cursor: pointer; }
.brief-picker input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.brief-picker label > span { display: block; border: 1px solid #4d5f46; padding: 1rem; color: #9dae94; font-weight: 400; transition: .2s; }
.brief-picker input:checked + span { border-color: #ccdfc2; background: #273721; color: #edf0e7; }
.brief-picker input:focus-visible + span { outline: 2px solid #ccdfc2; outline-offset: 3px; }
.contact-form .brief-detail { font-weight: 400; }
@media (max-width: 900px) {
  .story-sticky { gap: 3vw; }
  .story-copy h2 { font-size: 2.6rem; }
  .story-disclaimer { margin-bottom: 2rem; }
  .brand-stage { min-height: 20rem; }
  .project-dialog-layout { grid-template-columns: minmax(0,1fr) minmax(15rem,.7fr); gap: 1.5rem; }
}
@media (max-width: 650px) {
  .brand-story { height: 400svh; }
  .story-sticky { padding: 1.3rem var(--gutter); grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); gap: 1rem; min-height: 38rem; height: calc(100svh - 4.4rem); }
  .story-copy .eyebrow { font-size: .65rem; margin-bottom: .75rem; }
  .story-copy h2 { font-size: 2rem; white-space: normal; }
  .story-disclaimer { margin: .6rem 0 1rem; font-size: .75rem; }
  .story-caption h3 { font-size: 1.35rem; margin: .5rem 0; }
  .story-caption > p { margin: .5rem 0; min-height: 3rem; font-size: .875rem; line-height: 1.5; }
  .story-steps { margin-top: .6rem; }
  .story-steps button { padding: .65rem .9rem; }
  .story-instruction { display: none; }
  .brand-stage { height: 100%; min-height: 13rem; }
  .fjord-wordmark { font-size: 4.4rem; }
  .identity-caption { bottom: 1rem; left: 1rem; font-size: .65rem; }
  .story-identity { padding: 1.5rem; gap: 1rem; }
  .story-identity .fjord-wordmark { font-size: 3.4rem; }
  .identity-system { padding-top: .8rem; }
  .identity-type { font-size: 3.5rem; }
  .identity-swatches i { width: 2rem; height: 3rem; }
  .concept-web-header, .concept-web-footer { padding: .8rem; }
  .concept-web-header > span:first-child { font-size: 1.5rem; }
  .concept-web-header > span:last-child, .concept-web-footer { font-size: .55rem; }
  .concept-web-hero > div { padding: 1rem; }
  .concept-web-hero h3 { font-size: 1.8rem; margin-bottom: .6rem; }
  .concept-web-hero > div > span { font-size: .75rem; }
  .concept-ad { padding: 1.3rem; }
  .concept-ad strong { font-size: 2.7rem; }
  .project-preview-trigger > span { opacity: 1; transform: none; bottom: .7rem; right: .7rem; padding: .6rem .8rem; font-size: .75rem; }
  .project-dialog { width: 100vw; height: 100svh; margin: 0; padding: 1rem; border: 0; }
  .project-dialog-layout { display: block; height: calc(100% - 8rem); overflow: auto; padding-block: 1rem; }
  .project-dialog-preview { overflow: visible; background: none; }
  .project-dialog-copy { overflow: visible; margin-top: 2rem; }
  .project-dialog-bottom > span { display: none; }
}
@media (max-height: 650px) and (min-width: 651px) {
  .story-copy h2 { font-size: 2.4rem; }
  .story-disclaimer { margin-bottom: 1rem; }
  .story-sticky { min-height: 30rem; padding-block: 1rem; }
  .story-steps { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .story-layer, .project-preview-trigger > span, .brief-picker label > span { transition: none; transform: none; }
}
