/* The redesign is scoped below the original hero. */
.v2 {
  --text: #171717;
  --text-2: #626262;
  --line: #d5d5d5;
  color: var(--text);
  background: #f7f7f5;
  position: relative;
  color-scheme: light;
}
.v2-section { max-width: 1440px; margin: 0 auto; padding: 112px clamp(24px, 6vw, 96px); scroll-margin-top: 76px; }
.v2-work, .v2-about, .v2-process, .v2-stack, .v2-contact { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.v2 h2 { font-size: clamp(60px, 8vw, 112px); line-height: .95; letter-spacing: -.035em; margin: 0 0 48px; }
.v2 p { color: var(--text-2); }
.v2 a:focus-visible, .v2 button:focus-visible, .v2 summary:focus-visible { outline: 2px solid #171717; outline-offset: 7px; }
.v2 button { color: inherit; cursor: pointer; }
.v2-intro { max-width: 760px; font-size: clamp(22px, 3.1vw, 40px); line-height: 1.4; letter-spacing: -.035em; color: var(--text) !important; margin-bottom: 60px; }
.v2-services { display: grid; grid-template-columns: 1fr 2fr; gap: 9vw; padding-top: 100px; padding-bottom: 100px; }
.v2-services h2 { font: 500 14px var(--font-mono); letter-spacing: 0; text-transform: none; margin: 8px 0; }
.v2-service { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.v2-service:last-child { border-bottom: 1px solid var(--line); }
.v2-number { font: 400 11px var(--font-mono); color: #686868; padding-top: 5px; }
.v2-service h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 8px; }
.v2-service p { max-width: 470px; margin: 0; font-size: 14px; line-height: 1.7; }
.v2-work { border-top: 1px solid var(--line); }
.v2-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 32px; }
.v2-project { display: block; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.v2-project:first-child { grid-column: 1 / -1; }
.v2-project-image { overflow: hidden; background: #e6e6e3; aspect-ratio: 16 / 10; padding: 9%; display: flex; align-items: center; justify-content: center; }
.v2-project:first-child .v2-project-image { aspect-ratio: 2.2; padding: 5% 16%; background: #e0e0dd; }
.v2-project-image img { display: block; width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); transition: transform .4s ease, filter .4s ease; box-shadow: 0 8px 30px #00000012; }
.v2-project:hover img, .v2-project:focus-visible img { transform: scale(1.025); filter: grayscale(0); }
.v2-project-caption { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; }
.v2-project-title { font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.025em; margin: 0 0 6px; }
.v2-project-description { font-size: 13px; margin: 0; }
.v2-arrow { font: 32px var(--font-body); line-height: 1; }
.v2-archive { margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v2-archive summary { cursor: pointer; padding: 24px 0; list-style: none; display: flex; justify-content: space-between; font-size: 15px; }
.v2-archive summary::-webkit-details-marker { display: none; }
.v2-archive summary::after { content: '+'; font-size: 24px; line-height: 1; }
.v2-archive[open] summary::after { content: '\2212'; }
.v2-archive-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding-bottom: 24px; }
.v2-archive-list button { display: flex; justify-content: space-between; gap: 16px; background: none; border: 0; text-align: left; padding: 16px 0; font-size: 14px; }
.v2-archive-list button:hover { text-decoration: underline; text-underline-offset: 5px; }
.v2-about { display: grid; grid-template-columns: 1fr 1.3fr; align-items: start; gap: 10vw; border-top: 1px solid var(--line); }
.v2-portrait { margin: 0; }
.v2-portrait img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); display: block; }
.v2-portrait figcaption { font: 11px var(--font-mono); color: #626262; margin-top: 18px; }
.v2-about h2 { font-size: clamp(56px, 7vw, 96px); margin-bottom: 30px; }
.v2-about p { max-width: 540px; font-size: 16px; }
.v2-portrait img { transition: filter .4s ease; }
.v2-portrait img:hover { filter: grayscale(0); }
.v2-process, .v2-stack { border-top: 1px solid var(--line); }
.v2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.v2-steps li { border-top: 1px solid var(--line); padding-top: 22px; }
.v2-step-number { display: block; font: 12px var(--font-mono); color: #626262; margin-bottom: 32px; }
.v2-steps h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.v2-steps p { font-size: 14px; margin: 0; max-width: 280px; }
.v2-stack { display: grid; grid-template-columns: 1fr 2fr; gap: 9vw; align-items: start; }
.v2-stack h2 { margin-bottom: 0; }
.v2-stack-groups { display: grid; gap: 28px; }
.v2-stack-groups h3 { font: 12px var(--font-mono); color: #626262; margin-bottom: 10px; }
.v2-stack-groups p { font-size: clamp(18px, 2.1vw, 26px); color: #171717; margin: 0; line-height: 1.6; }
@media (min-width: 1081px) and (max-width: 1279px) { .site-header .header-cta { display: none; } }
.v2-contact { border-top: 1px solid var(--line); padding-top: 100px; padding-bottom: 96px; }
.v2-contact h2 { font-size: clamp(30px, 11.5vw, 170px); font-family: 'Big Shoulders Display', Impact, sans-serif; white-space: nowrap; margin-bottom: 28px; }
.v2-contact p { margin-bottom: 38px; }
.v2-email { display: inline-flex; gap: 24px; align-items: center; font-size: clamp(16px, 2.6vw, 32px); border-bottom: 1px solid #171717; padding-bottom: 10px; letter-spacing: -.03em; white-space: nowrap; }
.v2-socials { display: flex; gap: 30px; margin-top: 36px; font: 12px var(--font-mono); }
.v2-socials a:hover { text-decoration: underline; text-underline-offset: 5px; }
.v2-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 28px clamp(24px, 6vw, 96px); }
.v2-footer p, .v2-footer a { font: 11px var(--font-mono); margin: 0; }
.site-header:not(.on-hero):not(.at-top) { background: #f7f7f5f5; border-color: #d5d5d5; box-shadow: none !important; }
.site-header:not(.on-hero) .brand, .site-header:not(.on-hero) .lang-toggle, .site-header:not(.on-hero) .header-cta { color: #171717; }
.site-header .site-nav { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.site-header .site-nav a { color: #535353; }
.site-header .site-nav a:hover, .site-header .site-nav a.active { color: #111; background: #00000007; }
.site-header .menu-toggle { background: #eeeeec; color: #171717; }
.site-header .header-cta, .site-header .lang-toggle { border-color: #00000022; background: transparent; }
.site-header.is-open { background: #f7f7f5 !important; }
.project-modal { color-scheme: light; }
.project-modal .modal-content { background: #f7f7f5; border: 1px solid #d5d5d5; border-radius: 0; }
.project-modal .modal-title { color: #171717; }
.project-modal .modal-desc { color: #626262; }
.project-modal .modal-close { background: #f7f7f5; color: #171717; border-color: #ccc; }
.project-modal .modal-tag, .project-modal .modal-tools-list li { color: #444; border-color: #d5d5d5; background: transparent; }
.project-modal .modal-img-container { background: #e6e6e3; border-radius: 0; }
.project-modal .modal-img-container img { filter: grayscale(1); transition: filter .4s ease; }
.project-modal .modal-img-container img:hover { filter: grayscale(0); }
@media (max-width: 767px) {
  .v2-section { padding: 72px 24px; }
  .v2-services, .v2-about { grid-template-columns: 1fr; gap: 32px; }
  .v2-intro { margin-bottom: 36px; }
  .v2-projects { grid-template-columns: 1fr; gap: 36px; }
  .v2-project:first-child { grid-column: auto; }
  .v2-project:first-child .v2-project-image { aspect-ratio: 16 / 10; padding: 9%; }
  .v2-archive { margin-top: 40px; }
  .v2-archive-list { grid-template-columns: 1fr; }
  .v2-portrait img { max-width: 220px; }
  .v2-about h2 { max-width: 340px; }
  .v2 h2 { margin-bottom: 32px; }
  .v2-footer { align-items: flex-start; padding: 24px; }
  .v2-footer p { max-width: 190px; line-height: 1.7; }
  .v2-email { gap: 12px; }
  .v2-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .v2-stack { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 479px) {
  .v2-steps { grid-template-columns: 1fr; }
  .v2-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 20px; }
  .v2-step-number { grid-row: 1 / 3; margin: 5px 0 0; }
  .v2-steps p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .v2 *, .v2 *::before, .v2 *::after { transition: none !important; animation: none !important; } }

.v2-project-title, .v2-project-description { display: block; }
.v2-project-description { color: #626262; line-height: 1.7; }

/* A stronger editorial rhythm, using the hero's existing monochrome artwork. */
.v2-section { padding-top: 88px; padding-bottom: 88px; }
.v2-services { gap: 7vw; grid-template-columns: 1fr 1.6fr; }
.v2-services-title { position: relative; min-height: 440px; padding: 32px; overflow: hidden; background: #e4e4e1; display: flex; flex-direction: column; justify-content: space-between; }
.v2-services-title::before { content: ''; position: absolute; inset: -24px; background: url('../images/background.avif') center / cover; filter: grayscale(1) blur(12px); opacity: .2; }
.v2-services-title h2 { position: relative; font: 900 clamp(64px, 7vw, 100px)/.95 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; margin: 0; max-width: 360px; }
.v2-services-mark { position: relative; font: 700 clamp(56px, 7vw, 100px)/1 var(--font-mono); color: transparent; -webkit-text-stroke: 1px #171717; }
.v2-intro { font-size: clamp(24px, 2.7vw, 36px); margin-bottom: 38px; }
.v2-service { padding: 22px 0; }
.v2-work-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.v2-work-count { white-space: nowrap; font: 12px var(--font-mono); color: #626262; }
.v2-project-image { position: relative; border: 1px solid #0000000c; background: #e4e4e1; padding: 12% 8% 8%; }
.v2-project:first-child .v2-project-image { background: #1a1a1a; padding: 6% 14%; aspect-ratio: 2.05; }
.v2-frame-label { position: absolute; top: 20px; left: 24px; font: 10px var(--font-mono); letter-spacing: .1em; color: #626262; }
.v2-project:first-child .v2-frame-label { color: #c6c6c6; }
.v2-project-image img { box-shadow: 0 18px 48px #00000025; transition: transform .75s cubic-bezier(.22,1,.36,1), filter .5s ease; }
.v2-project:first-child .v2-project-image img { box-shadow: 0 20px 70px #00000080; }
.v2-project:hover img, .v2-project:focus-visible img { transform: scale(1.04); }
.v2-portrait { padding: 20px; background: #e4e4e1; }
.v2-portrait img { max-width: none; }
.v2-about { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 7vw; }
.v2-about h2 { font-size: clamp(56px, 7.4vw, 104px); }
.v2-steps { gap: 0; border-top: 1px solid var(--line); }
.v2-steps li { border: 0; padding: 28px 24px 12px; border-left: 1px solid var(--line); }
.v2-steps li:first-child { padding-left: 0; border-left: 0; }
.v2-step-number { font: 800 clamp(54px, 5vw, 72px)/1 var(--font-display); color: #8c8c88; margin-bottom: 24px; }
.v2-stack { display: block; }
.v2-stack-heading { margin-bottom: 40px; }
.v2-stack-heading h2 { margin-bottom: 20px; }
.v2-stack-heading p { max-width: 540px; margin: 0; }
.v2-stack-groups { display: block; columns: 2; column-gap: 32px; }
.v2-stack-group { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: 32px; border: 1px solid #d5d5d5; padding: 28px; background: #eeeeeb; }
.v2-stack-group:nth-child(2), .v2-stack-group:nth-child(3) { background: #e7e7e4; }
.v2-stack-group h3 { font: 500 22px var(--font-body); color: #171717; margin: 0 0 28px; letter-spacing: -.025em; }
.v2-tool-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 16px; }
.v2-tool-grid li { min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: #444; }
.v2-tool-grid img { display: block; width: 28px; height: 28px; object-fit: contain; filter: grayscale(1) brightness(.25); transition: filter .3s ease, transform .3s ease; }
.v2-tool-grid li:hover img { filter: grayscale(0) brightness(1); transform: translateY(-3px); }
.v2-contact { position: relative; overflow: hidden; }
.v2-contact::after { content: '~jno'; position: absolute; right: 4%; bottom: 60px; color: transparent; -webkit-text-stroke: 1px #cececa; font: 700 clamp(80px,14vw,220px)/1 var(--font-mono); pointer-events: none; }
.v2-contact > * { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .v2-section { padding-top: 60px; padding-bottom: 60px; }
  .v2-services, .v2-about { grid-template-columns: 1fr; gap: 32px; }
  .v2-services-title { min-height: 230px; padding: 24px; }
  .v2-services-title h2 { max-width: 270px; font-size: 64px; }
  .v2-services-mark { position: absolute; right: 24px; bottom: 24px; font-size: 64px; }
  .v2-work-count { display: none; }
  .v2-project:first-child .v2-project-image { aspect-ratio: 16/11; padding: 16% 8% 8%; }
  .v2-frame-label { top: 14px; left: 16px; font-size: 9px; }
  .v2-portrait { max-width: 360px; padding: 16px; }
  .v2-portrait img { max-width: none; }
  .v2-steps { gap: 24px; border: 0; }
  .v2-steps li, .v2-steps li:first-child { padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); }
  .v2-step-number { font-size: 48px; margin-bottom: 16px; }
  .v2-stack-groups { columns: 1; }
  .v2-stack-group { padding: 24px; margin-bottom: 20px; }
  .v2-stack-heading h2 { margin-bottom: 20px; }
  .v2-contact::after { right: 16px; bottom: 56px; font-size: 86px; opacity: .55; }
}
@media (max-width: 479px) {
  .v2-steps li { grid-template-columns: 42px 1fr; }
  .v2-step-number { margin: 0; font-size: 44px; }
  .v2-tool-grid { gap: 24px 12px; }
  .v2-tool-grid li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-project-image img, .v2-tool-grid img { transition: none; }
  .v2-project:hover img, .v2-tool-grid li:hover img { transform: none; }
}

.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: blur(18px); transform: scale(1.08); opacity: .8; pointer-events: none; }

@media (max-width: 600px) { .hero-bg { filter: none; } .hero::after { display: none; } .v2-services-title::before { background-image: url('../images/background-small.avif'); } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes hero-name-enter { from { transform: translateY(130%); } to { transform: translateY(0); } }
  @keyframes hero-corner-enter { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
  .site-header { animation: hero-enter .4s ease-out both; }
  .hero-strip-top span, .hero-strip-bottom span { animation: hero-enter .35s ease-out both; }
  .hero-name-a, .hero-name-b { animation: hero-name-enter .65s cubic-bezier(.16,1,.3,1) both; }
  .hero-name-b { animation-delay: .15s; }
  .ascii-kicker, #hero-title, .hero-lead, .hero-actions { animation: hero-enter .45s ease-out both; }
  .ascii-kicker { animation-delay: .25s; }
  #hero-title { animation-delay: .35s; }
  .hero-lead { animation-delay: .45s; }
  .hero-actions { animation-delay: .55s; }
  .hero-corner { animation: hero-corner-enter .4s ease-out .4s both; }
}
