    :root {
      --paper: #f5f2e9;
      --paper-deep: #ede8dc;
      --ink: #1d2b25;
      --muted: #647168;
      --line: #c7cbc0;
      --orange: #f25d3b;
      --orange-dark: #cf4328;
      --yellow: #f0cc6c;
      --mint: #c9e1c8;
      --board: #1a2b26;
      --max: 1440px;
      --serif: Georgia, 'Times New Roman', serif;
      --sans: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
      --mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
    body::before { content: ''; position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.15' filter='url(%23n)'/%3E%3C/svg%3E"); }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
    ::selection { background: var(--orange); color: #fff; }
    .skip { position: absolute; top: -100px; left: 20px; background: var(--ink); padding: 12px 18px; color: white; z-index: 200; }
    .skip:focus { top: 20px; }
    .wrap { width: min(calc(100% - 112px), var(--max)); margin-inline: auto; }
    .mono { font: 600 11px/1.5 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
    .topline { height: 6px; background: var(--ink); }
    .header { display: flex; justify-content: space-between; align-items: center; min-height: 102px; border-bottom: 1px solid var(--ink); gap: 22px; }
    /*
    .brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
    .brand-symbol { position: relative; display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--paper); border-radius: 4px 16px 4px 4px; font: italic bold 37px/.9 var(--serif); padding-bottom: 9px; }
    .brand-symbol::after { content: ''; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
    .brand-name { font-size: 16px; letter-spacing: -.04em; line-height: 1.01; font-weight: 800; }
    .brand-name small { display: block; font: 600 9px/1.8 var(--mono); letter-spacing: .05em; color: var(--muted); margin-top: 4px; }
    */
    .brand {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .brand-logo {
        display: block;
        width: 220px;
        max-width: 100%;
        height: auto;
    }
    .header-note { display: flex; align-items: center; gap: 11px; color: #405048; margin-left: auto; margin-right: auto; }
    .signal { width: 9px; height: 9px; border-radius: 50%; background: #5d9a72; box-shadow: 0 0 0 4px #d9e7d7; }
    .nav { display: flex; gap: clamp(18px, 2.1vw, 36px); align-items: center; }
    .nav a { font-size: 13px; font-weight: 700; position: relative; }
    .nav a:not(.nav-contact)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; border-bottom: 1px solid var(--ink); transition: right .2s ease; }
    .nav a:not(.nav-contact):hover::after { right: 0; }
    .nav-contact { background: var(--ink); color: var(--paper); padding: 14px 17px; border: 1px solid var(--ink); transition: background .2s, color .2s; }
    .nav-contact:hover { color: var(--ink); background: transparent; }
    .nav-contact span { color: var(--orange); margin-left: 7px; }

    /* A slightly unruly opening: more editorial spread than portfolio hero. */
    .hero { position: relative; padding: 80px 0 106px; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(350px, .87fr); gap: clamp(20px, 3vw, 58px); align-items: center; min-height: 695px; }
    .hero-copy { position: relative; z-index: 2; }
    .eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }
    .eyebrow .tiny-line { width: 38px; border-top: 2px solid var(--orange); }
    .eyebrow .mono { color: #52645b; }
    .hero h1 { margin: 0; font: normal clamp(72px, 8.55vw, 137px)/.9 var(--serif); letter-spacing: -.088em; }
    .hero h1 .line { display: block; white-space: nowrap; }
    .hero h1 em { font-style: italic; color: var(--orange); letter-spacing: -.095em; }
    .hero h1 .last-line { display: inline-flex; align-items: baseline; gap: .08em; }
    .hero h1 .period { color: var(--orange); font-size: .9em; }
    .hero-intro { max-width: 505px; margin: 34px 0 28px; padding-left: 21px; border-left: 3px solid var(--ink); font-size: clamp(17px, 1.55vw, 22px); line-height: 1.52; letter-spacing: -.015em; }
    .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-left: 23px; }
    .action-main { display: inline-flex; gap: 18px; align-items: center; background: var(--orange); padding: 17px 21px; color: #181e19; font-weight: 800; font-size: 14px; border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
    .action-main:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
    .action-main span { font-size: 21px; font-weight: normal; }
    .action-secondary { font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
    .action-secondary:hover { color: var(--orange-dark); }
    .hero-art { position: relative; isolation: isolate; min-height: 525px; display: grid; align-items: center; margin-right: -20px; }
    .hero-art::before { content: ''; position: absolute; inset: 40px 17px 25px 45px; border-radius: 49% 51% 53% 47% / 47% 38% 62% 53%; background: #e7e6d9; transform: rotate(-12deg); z-index: -1; }
    .hero-art::after { content: ''; position: absolute; width: 83px; height: 83px; background: var(--yellow); left: 1%; bottom: 8%; z-index: -1; border-radius: 50%; }
    .hero-illustration { width: 100%; max-width: 690px; overflow: visible; filter: drop-shadow(0 0 0 transparent); transform: rotate(-5deg); }
    .scribble { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
    .scribble-light { fill: none; stroke: #8b988b; stroke-width: 1.7; stroke-dasharray: 3 9; }
    .thread { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-thread 3s cubic-bezier(.42,0,.2,1) .3s forwards; }
    @keyframes draw-thread { to { stroke-dashoffset: 0; } }
    .art-label { font: 700 12px var(--mono); letter-spacing: 2px; fill: var(--ink); }
    .stamp { position: absolute; right: 1%; bottom: 6%; display: grid; place-items: center; width: 145px; height: 145px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); transform: rotate(14deg); text-align: center; line-height: 1.15; z-index: 2; box-shadow: 3px 5px 0 #d8d8ca; }
    .stamp::before { content: ''; position: absolute; inset: 6px; border: 1px dashed var(--muted); border-radius: 50%; }
    .stamp strong { font: bold 28px/1 var(--serif); font-style: italic; }
    .stamp small { display: block; margin-top: 8px; font: 700 9px/1.45 var(--mono); letter-spacing: .07em; }
    .margin-note { position: absolute; left: -34px; top: 49%; transform: rotate(-90deg) translateX(-50%); transform-origin: 0 0; color: #78867c; white-space: nowrap; }
    .hero-index { position: absolute; right: 0; bottom: 27px; color: #7a887c; }

    .ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
    .ticker-track { width: max-content; display: flex; align-items: center; gap: 31px; padding: 16px 0 15px; animation: ticker 42s linear infinite; }
    .ticker-item { font: 700 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
    .ticker-star { color: var(--orange); font-size: 20px; }
    @keyframes ticker { to { transform: translateX(-50%); } }

    .section { padding: 115px 0; }
    .section-tag { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--ink); padding-top: 13px; margin-bottom: 52px; }
    .section-tag .mono:last-child { color: #69786e; }
    .section-heading { font: normal clamp(47px, 6.2vw, 95px)/.99 var(--serif); letter-spacing: -.067em; margin: 0; }
    .section-heading em { color: var(--orange); font-style: italic; }
    .section-summary { font-size: 17px; line-height: 1.55; color: #4d5d52; max-width: 380px; }
    .lab-header { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 46px; }
    .lab { background: var(--paper-deep); }
    .lab-layout { display: grid; grid-template-columns: 34% 66%; border: 1px solid var(--ink); min-height: 535px; box-shadow: 9px 9px 0 rgba(29,43,37,.10); }
    .lab-list { padding: 27px clamp(18px, 2.5vw, 39px); background: var(--paper); border-right: 1px solid var(--ink); display: flex; flex-direction: column; }
    .lab-list-title { margin: 6px 0 28px; }
    .problem-tabs { display: flex; flex-direction: column; gap: 0; }
    .problem-tab { cursor: pointer; text-align: left; border: 0; border-top: 1px solid var(--line); color: var(--muted); background: transparent; padding: 25px 12px 27px 0; width: 100%; transition: color .2s, padding .2s; }
    .problem-tab:last-child { border-bottom: 1px solid var(--line); }
    .problem-tab[aria-selected="true"] { padding-left: 13px; color: var(--ink); box-shadow: inset 4px 0 var(--orange); }
    .problem-tab:hover { color: var(--ink); }
    .tab-num { display: block; color: #8b978e; font-size: 11px; font-family: var(--mono); margin-bottom: 11px; }
    .problem-tab[aria-selected="true"] .tab-num { color: var(--orange-dark); }
    .tab-text { display: block; font: 500 clamp(22px, 2.15vw, 31px)/1.14 var(--serif); letter-spacing: -.035em; }
    .tab-instruction { color: var(--muted); margin-top: auto; padding-top: 20px; font-size: 11px; line-height: 1.6; }
    .lab-board { background: var(--board); color: var(--paper); min-width: 0; display: flex; flex-direction: column; }
    .board-top { display: flex; justify-content: space-between; padding: 19px 25px; border-bottom: 1px solid #485a50; gap: 15px; }
    .board-top .mono { color: #bdd2bc; }
    .board-top .live { display: flex; align-items: center; gap: 10px; }
    .live::before { content: ''; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
    .board-visual { position: relative; height: 274px; overflow: hidden; background-image: linear-gradient(#ffffff10 1px, transparent 1px), linear-gradient(90deg, #ffffff10 1px, transparent 1px); background-size: 26px 26px; background-position: center; }
    .board-visual::before, .board-visual::after { position: absolute; content: '+'; z-index: 3; color: #9bb3a2; font: 19px var(--mono); }
    .board-visual::before { left: 19px; top: 12px; }
    .board-visual::after { right: 19px; bottom: 12px; }
    .board-visual svg { width: 100%; height: 100%; display: block; }
    .scene { transition: opacity .4s ease; opacity: 0; }
    .scene:not(.is-active) { visibility: hidden; }
    .scene.is-active { opacity: 1; visibility: visible; }
    .scene-text { fill: #e9ebd8; font: 600 13px var(--mono); letter-spacing: 1.3px; }
    .scene-small { fill: #abb8ae; font: 11px var(--mono); letter-spacing: 1px; }
    .scene-outline { fill: #1a2b26; stroke: #dce8d8; stroke-width: 2.4; }
    .scene-line { fill: none; stroke: #dce8d8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
    .scene-guide { fill: none; stroke: #a4b9a9; stroke-width: 1.7; stroke-dasharray: 6 8; }
    .scene-orange { stroke: #fa785b; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
    .scene-orange-fill { fill: #fa785b; }
    .board-result { flex: 1; padding: 26px clamp(25px, 3.2vw, 48px) 25px; border-top: 1px solid #485a50; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-content: center; }
    .board-result .mono { color: #b7c9b6; }
    .board-result h3 { font: normal clamp(28px, 3.2vw, 43px)/1.02 var(--serif); letter-spacing: -.04em; margin: 8px 0 12px; }
    .board-result p { max-width: 620px; font-size: 14px; line-height: 1.6; color: #cfdbcf; margin: 0; }
    .board-question { border-left: 1px solid #516458; max-width: 208px; padding-left: 21px; display: flex; flex-direction: column; justify-content: center; }
    .board-question p { color: var(--yellow); font: italic 20px/1.24 var(--serif); margin-top: 12px; }
    .board-foot { display: flex; justify-content: space-between; gap: 20px; padding: 14px 25px; border-top: 1px solid #485a50; color: #bdd0bf; }
    .page-dots { display: flex; align-items: center; gap: 8px; }
    .page-dots i { display: block; width: 24px; height: 3px; background: #5a6c60; }
    .page-dots i.active { background: var(--orange); }

    .approach { background: var(--paper); }
    .approach-intro { display: grid; grid-template-columns: 1fr .38fr; align-items: end; gap: 45px; margin-bottom: 60px; }
    .process { border-top: 2px solid var(--ink); }
    .process-row { display: grid; grid-template-columns: 13% 1fr 38%; align-items: center; gap: 16px; padding: 28px 6px; border-bottom: 1px solid var(--line); transition: background .22s, padding .22s; }
    .process-row:hover { background: #ecefe4; padding-inline: 17px; }
    .process-num { color: var(--orange-dark); font: 600 15px var(--mono); }
    .process-name { font: normal clamp(27px, 3.3vw, 49px)/1.05 var(--serif); letter-spacing: -.047em; }
    .process-desc { color: #516157; font-size: 14px; line-height: 1.5; max-width: 340px; margin: 0; }
    .margin-annotation { margin-top: 23px; display: flex; gap: 10px; color: #67766d; align-items: center; }
    .margin-annotation svg { flex: 0 0 auto; }

    .about { background: var(--mint); padding-bottom: 130px; }
    .about-content { display: grid; grid-template-columns: 47% 1fr; gap: 10%; align-items: start; }
    .about-headline { font: normal clamp(50px, 6.9vw, 104px)/.98 var(--serif); letter-spacing: -.073em; margin: 0 0 22px; }
    .about-headline em { font-style: italic; color: var(--orange-dark); }
    .about-label { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); padding: 11px 15px; transform: rotate(-3deg); }
    .about-label span { color: var(--orange); font-size: 17px; }
    .about-bio { font: 18px/1.64 var(--sans); max-width: 545px; margin: 10px 0 26px; }
    .about-bio strong { font-weight: 800; }
    .working-on { border-top: 1px solid var(--ink); }
    .working-on-head { padding: 20px 0; }
    .project-link { display: grid; grid-template-columns: 27px 1fr auto; gap: 17px; padding: 20px 0 22px; border-top: 1px solid #91ad97; align-items: start; transition: padding .2s; }
    .project-link:hover { padding-left: 8px; }
    .project-link .number { color: #4e6855; font: 600 11px var(--mono); margin-top: 4px; }
    .project-link strong { font-size: 18px; display: block; margin-bottom: 7px; }
    .project-link small { color: #415749; display: block; font-size: 13px; line-height: 1.5; max-width: 400px; }
    .project-link .arrow { font-size: 25px; line-height: 1; }
    .tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid #91ad97; padding-top: 22px; }
    .tools .mono { margin-right: 13px; color: #3f5c48; }
    .tool { padding: 8px 10px; border: 1px solid #75917d; font: 600 11px var(--mono); background: #dbebd6; }

    .footer { background: var(--ink); color: var(--paper); padding-top: 83px; }
    .footer .section-tag { border-color: #64766a; margin-bottom: 65px; }
    .footer .section-tag .mono:last-child { color: #94a89a; }
    .footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 35px; }
    .footer-title { font: normal clamp(67px, 9.4vw, 147px)/.9 var(--serif); letter-spacing: -.073em; margin: 0; }
    .footer-title em { color: var(--orange); font-style: italic; }
    .footer-aside { max-width: 265px; padding-bottom: 10px; }
    .footer-aside p { font-size: 15px; line-height: 1.6; color: #ccd8ca; margin: 0 0 26px; }
    .footer-button { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--orange); color: var(--ink); padding: 18px 19px; font-size: 14px; font-weight: 800; border: 2px solid var(--orange); transition: background .2s, color .2s; }
    .footer-button span { font-size: 21px; }
    .footer-button:hover { background: transparent; color: var(--paper); }
    .footer-bottom { margin-top: 109px; padding: 23px 0 29px; border-top: 1px solid #53685b; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
    .footer-bottom .mono { color: #a5b6a6; }
    .footer-links { display: flex; gap: 25px; }
    .footer-links a { text-decoration: underline; text-underline-offset: 5px; }
    .footer-links a:hover { color: var(--orange); }
    .star-doodle { display: inline-block; color: var(--orange); font-size: .8em; vertical-align: .12em; }
    [id] { scroll-margin-top: 18px; }

    @media (max-width: 1150px) {
      .wrap { width: min(calc(100% - 72px), var(--max)); }
      .header-note { display: none; }
      .hero { grid-template-columns: minmax(0,1.1fr) minmax(315px,.9fr); }
      .hero h1 { font-size: clamp(70px, 8.4vw, 106px); }
      .hero-art { margin-right: -34px; }
      .lab-layout { grid-template-columns: 38% 62%; }
      .board-result { grid-template-columns: 1fr; padding: 23px 28px; }
      .board-question { max-width: none; padding-left: 13px; }
      .board-question p { font-size: 17px; margin-top: 4px; }
    }
    @media (max-width: 830px) {
      .wrap { width: min(calc(100% - 44px), var(--max)); }
      .header { min-height: 85px; }
      .nav { gap: 16px; }
      .nav a { font-size: 12px; }
      .nav a[href="#approach"] { display: none; }
      .hero { padding: 64px 0 64px; grid-template-columns: 1fr; gap: 20px; min-height: 0; }
      .hero h1 { font-size: clamp(72px, 12vw, 115px); }
      .hero-art { min-height: 365px; max-width: 600px; width: 100%; margin: 0 auto; }
      .hero-art::before { inset: 20px 45px; }
      .hero-illustration { max-height: 435px; }
      .stamp { width: 120px; height: 120px; bottom: 4%; right: 5%; }
      .stamp strong { font-size: 23px; }
      .stamp small { font-size: 8px; }
      .margin-note { display: none; }
      .hero-index { bottom: 18px; }
      .section { padding: 84px 0; }
      .lab-header { align-items: start; }
      .lab-layout { grid-template-columns: 1fr; }
      .lab-list { border-right: 0; border-bottom: 1px solid var(--ink); }
      .problem-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
      .problem-tab { border-bottom: 1px solid var(--line); padding: 17px 0 !important; }
      .problem-tab[aria-selected="true"] { border-bottom: 4px solid var(--orange); box-shadow: none; }
      .tab-text { font-size: 22px; }
      .tab-instruction { display: none; }
      .approach-intro { grid-template-columns: 1fr; gap: 14px; }
      .about-content { grid-template-columns: 1fr; gap: 32px; }
      .about-headline { max-width: 680px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-aside { max-width: 340px; margin-top: 12px; }
      .footer-bottom { margin-top: 75px; }
    }
    @media (max-width: 540px) {
      .wrap { width: calc(100% - 36px); }
      .header { min-height: 77px; }
      .brand-symbol { width: 39px; height: 39px; font-size: 30px; }
      .brand-name { font-size: 14px; }
      .brand-name small { font-size: 8px; }
      .nav a:not(.nav-contact) { display: none; }
      .nav-contact { font-size: 11px !important; padding: 12px 11px; }
      .hero { padding: 57px 0 52px; }
      .eyebrow { margin-bottom: 22px; }
      .eyebrow .mono { font-size: 9px; }
      .hero h1 { font-size: clamp(61px, 12.8vw, 88px); }
      .hero-intro { font-size: 17px; margin: 27px 0 25px; padding-left: 15px; }
      .hero-actions { margin-left: 18px; gap: 18px; }
      .action-main { padding: 15px 14px; font-size: 12px; gap: 9px; }
      .action-secondary { font-size: 12px; }
      .hero-art { min-height: 300px; }
      .stamp { right: 0; bottom: -4%; transform: rotate(14deg) scale(.78); transform-origin: bottom right; }
      .hero-index { display: none; }
      .ticker-track { gap: 18px; padding-block: 13px; }
      .ticker-item { font-size: 10px; }
      .section { padding: 65px 0; }
      .section-tag { margin-bottom: 35px; }
      .section-tag .mono { font-size: 9px; }
      .section-heading { font-size: clamp(44px, 11vw, 66px); }
      .lab-header { flex-direction: column; gap: 15px; margin-bottom: 30px; }
      .section-summary { font-size: 15px; margin: 0; }
      .lab-list { padding: 20px 14px 9px; }
      .lab-list-title { margin: 0 0 13px; }
      .problem-tabs { gap: 8px; }
      .tab-text { font-size: 17px; }
      .tab-num { font-size: 9px; }
      .board-top { padding: 15px 16px; }
      .board-top .mono { font-size: 9px; }
      .board-visual { height: 225px; }
      .board-result { padding: 20px 18px; }
      .board-result h3 { font-size: 32px; }
      .board-result p { font-size: 13px; }
      .board-foot { padding: 13px 16px; }
      .process-row { grid-template-columns: 36px 1fr; gap: 7px 14px; padding-block: 22px; }
      .process-name { font-size: clamp(28px, 6.9vw, 38px); }
      .process-desc { grid-column: 2; font-size: 13px; }
      .about-headline { font-size: 63px; }
      .about-bio { font-size: 16px; }
      .project-link { gap: 9px; grid-template-columns: 22px 1fr 16px; }
      .project-link strong { font-size: 16px; }
      .project-link small { font-size: 12px; }
      .footer { padding-top: 60px; }
      .footer-title { font-size: clamp(60px, 13vw, 86px); }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
      .footer-links { gap: 17px; }
    }
    @media (max-width: 365px) {
      .hero h1 { font-size: 55px; }
      .brand { gap: 8px; }
      .brand-name small { display: none; }
      .nav-contact { padding-inline: 8px; }
      .tab-text { font-size: 15px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
      .thread { stroke-dashoffset: 0; }
    }


/* The field notebook: supporting pages. The home design remains unchanged. */
.nav a[aria-current="page"] { color: var(--orange-dark); }
.nav a[aria-current="page"]::after { right: 0 !important; }
.page-top { padding: 68px 0 0; }
.page-number { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--ink); padding: 14px 0 0; color: var(--muted); }
.page-number .mono:first-child { color: var(--ink); }
.page-hero { min-height: 460px; padding: 75px 0 96px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(250px,.8fr); gap: 60px; align-items: center; }
.page-hero h1 { font: normal clamp(71px, 8.4vw, 129px)/.9 var(--serif); letter-spacing: -.082em; margin: 0; }
.page-hero h1 em { color: var(--orange); font-style: italic; }
.page-hero p { max-width: 550px; margin: 32px 0 0; font-size: clamp(17px, 1.65vw, 21px); line-height: 1.55; }
.page-hero-visual { position: relative; min-height: 285px; display: flex; justify-content: center; align-items: center; }
.page-hero-visual::before { content: ''; position: absolute; width: 95%; height: 89%; top: 3%; left: 2%; border: 1px dashed #a6b1a5; border-radius: 50%; transform: rotate(-22deg); }
.page-hero-visual svg { width: 100%; max-width: 430px; position: relative; overflow: visible; }
.tagline-small { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.tagline-small::before { content: ''; width: 32px; border-top: 3px solid var(--orange); }
.page-section { padding: 100px 0; }
.page-section.alt { background: var(--paper-deep); }
.page-section.mint { background: var(--mint); }
.section-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); padding-top: 15px; margin-bottom: 51px; }
.section-topline .mono:last-child { color: var(--muted); }
.page-section h2 { font: normal clamp(42px, 5.7vw, 77px)/1.03 var(--serif); letter-spacing: -.068em; margin: 0 0 25px; }
.page-section h2 em { color: var(--orange-dark); font-style: italic; }
.section-lead { max-width: 655px; margin: 0 0 52px; font-size: 17px; line-height: 1.62; color: #465b4c; }
.big-figure { font: normal clamp(100px, 16vw, 250px)/.8 var(--serif); letter-spacing: -.095em; color: #bccdbd; }
.work-entry { display: grid; grid-template-columns: 86px minmax(0,1fr) minmax(230px,37%); gap: 26px; padding: 52px 0 66px; border-top: 1px solid var(--line); align-items: start; }
.work-entry:last-child { border-bottom: 1px solid var(--line); }
.work-entry .entry-num { font: bold 14px var(--mono); color: var(--orange-dark); padding-top: 11px; }
.work-entry h3 { font: normal clamp(36px, 4.4vw, 63px)/1 var(--serif); letter-spacing: -.06em; margin: 0 0 18px; }
.work-entry p { max-width: 580px; color: #49584e; font-size: 16px; line-height: 1.65; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.pill { border: 1px solid #9ba99c; padding: 8px 11px; font: 600 10px var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: baseline; gap: 17px; font-weight: 800; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
.text-link span { color: var(--orange-dark); font-size: 21px; font-weight: 400; }
.work-sketch { align-self: stretch; min-height: 300px; background: #e4e9db; border: 1px solid #a7b1a2; display: flex; align-items: center; justify-content: center; padding: 15px; transform: rotate(1.5deg); }
.work-sketch.dark { background: var(--ink); transform: rotate(-1.6deg); border-color: var(--ink); }
.work-sketch svg { display: block; width: 100%; max-width: 370px; }


    /* Your Way Software */
    .work-sketch.yws {
        background: #c9e1c8;
        border-color: #a7b1a2;
        transform: rotate(1.5deg);
    }

    /* HubPage */
    .work-sketch.hubpage {
        background: #1d2b25;
        border-color: #1d2b25;
        transform: rotate(-1.6deg);
    }

    /* Multitier */
    .work-sketch.multitier {
        background: #dce6ea;
        border-color: #a4b9c4;
        transform: rotate(1deg);
    }

.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.capability { min-height: 255px; padding: 25px 22px 30px; border-right: 1px solid #9caf9e; }
.capability:last-child { border-right: 0; }
.capability .mono { color: var(--orange-dark); }
.capability h3 { font: normal 28px/1.09 var(--serif); letter-spacing: -.045em; margin: 56px 0 13px; }
.capability p { font-size: 13px; line-height: 1.6; color: #4e6454; margin: 0; }
.paper-note { background: #fffaf0; padding: 27px; border: 1px solid #c2bdaf; box-shadow: 7px 7px 0 #d9d4c6; transform: rotate(-3deg); max-width: 360px; }
.paper-note p { font: italic 27px/1.2 var(--serif); margin: 20px 0; }
.paper-note small { color: var(--muted); }
.idea-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.idea-card { border: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; min-height: 495px; }
.idea-card:nth-child(2) { background: #dcead8; }
.idea-card:nth-child(3) { background: #f5d7ba; }
.idea-card-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 16px 19px; }
.idea-card-body { padding: 35px 23px 23px; flex: 1; }
.idea-card-mark { height: 102px; display: flex; align-items: center; font: italic normal 82px/1 var(--serif); color: var(--orange-dark); }
.idea-card h3 { font: normal clamp(29px, 3vw, 43px)/1.06 var(--serif); letter-spacing: -.05em; margin: 15px 0; }
.idea-card p { font-size: 14px; line-height: 1.6; color: #3c5042; }
.idea-card details { border-top: 1px solid #6c806e; padding: 16px 22px 20px; }
.idea-card summary { cursor: pointer; font: 800 13px var(--sans); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.idea-card summary::-webkit-details-marker { display: none; }
.idea-card summary::after { content: '+'; font: 28px/1 var(--serif); color: var(--orange-dark); }
.idea-card details[open] summary::after { content: '−'; }
.idea-card details p { margin: 18px 0 0; }
.field-steps { display: grid; grid-template-columns: repeat(4,1fr); border-top: 2px solid var(--ink); margin-top: 50px; }
.field-step { padding: 25px 22px; border-right: 1px solid #bac3b6; min-height: 215px; }
.field-step:last-child { border-right: 0; }
.field-step .mono { color: var(--orange-dark); }
.field-step h3 { font: normal 33px/1.1 var(--serif); letter-spacing: -.04em; margin: 45px 0 8px; }
.field-step p { font-size: 13px; color: #506155; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(285px,.7fr); gap: 75px; align-items: start; }
.brief-form { border-top: 2px solid var(--ink); }
.form-row { padding: 26px 0 29px; border-bottom: 1px solid var(--line); }
.form-row label { display: block; font: 700 12px/1.6 var(--mono); letter-spacing: .05em; margin-bottom: 13px; }
.form-row label span { color: var(--orange-dark); }
.form-row select, .form-row textarea { width: 100%; border: 1px solid #aeb9ac; border-radius: 0; padding: 15px 17px; color: var(--ink); background: #fffcf4; font: 16px/1.55 var(--sans); }
.form-row textarea { resize: vertical; min-height: 115px; }
.form-row :is(select,textarea):focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-hint { color: #617065; font-size: 13px; line-height: 1.55; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; padding-top: 28px; }
.form-actions button { cursor: pointer; border-radius: 0; }
.form-status { font-size: 13px; font-weight: 700; color: #34624a; min-height: 23px; }
.contact-side { position: sticky; top: 22px; }
.contact-side .paper-note { margin: 23px 0 57px; }
.contact-link { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); padding: 19px 23px; font-weight: 800; }
.contact-link:hover { background: #395047; }
.contact-link span { color: var(--orange); font-size: 22px; }
.subtle-note { color: #617167; font-size: 12px; line-height: 1.6; }
.lower-cta { background: var(--ink); color: var(--paper); padding: 65px 0 75px; }
.lower-cta-inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.lower-cta h2 { font: normal clamp(45px, 6vw, 85px)/.95 var(--serif); letter-spacing: -.06em; margin: 17px 0 0; }
.lower-cta h2 em { color: var(--orange); }
.lower-cta .action-main { flex-shrink: 0; }
.secondary-footer { padding-top: 36px; }
.secondary-footer .footer-bottom { margin-top: 0; }
.footer-links { flex-wrap: wrap; row-gap: 12px; }
@media (max-width: 1150px) {
 .capability-grid { grid-template-columns: repeat(2,1fr); }
 .capability:nth-child(2) { border-right: 0; }
 .capability:nth-child(-n+2) { border-bottom: 1px solid #9caf9e; }
 .field-steps { grid-template-columns: repeat(2,1fr); }
 .field-step:nth-child(2) { border-right: 0; }
 .field-step:nth-child(-n+2) { border-bottom: 1px solid #bac3b6; }
}
@media (max-width: 830px) {
 .nav .nav-lab { display:none; }
 .page-hero { padding: 55px 0 78px; min-height: 0; gap: 25px; }
 .page-hero h1 { font-size: clamp(64px, 9vw, 95px); }
 .page-section { padding: 74px 0; }
 .work-entry { grid-template-columns: 45px 1fr; }
 .work-sketch { grid-column: 2; min-height: 250px; }
 .idea-grid { grid-template-columns: 1fr 1fr; }
 .contact-grid { grid-template-columns: 1fr; gap: 45px; }
 .contact-side { position: static; }
 .contact-side .paper-note { max-width: 500px; }
}
@media (max-width: 620px) {
 .nav .nav-about { display:none; }
 .nav { gap: 13px; }
 .page-top { padding-top: 35px; }
 .page-hero { grid-template-columns: 1fr; padding: 43px 0 63px; }
 .page-hero h1 { font-size: clamp(62px, 12.2vw, 87px); }
 .page-hero p { margin-top: 25px; font-size: 16px; }
 .page-hero-visual { min-height: 220px; max-width: 340px; margin-inline: auto; }
 .section-topline { margin-bottom: 35px; }
 .section-topline .mono { font-size: 9px; }
 .page-section { padding: 62px 0; }
 .work-entry { grid-template-columns: 1fr; gap: 8px; padding: 35px 0; }
 .work-sketch { grid-column: 1; margin-top: 17px; }
 .idea-grid { grid-template-columns: 1fr; }
 .idea-card { min-height: 0; }
 .idea-card-body { padding-bottom: 35px; }
 .capability { min-height: 240px; padding: 19px 12px; }
 .capability h3 { font-size: 23px; }
 .field-step { padding: 18px 12px; }
 .field-step h3 { font-size: 27px; }
 .page-section h2 { font-size: 48px; }
 .lower-cta-inner { align-items: start; flex-direction: column; }
 .footer-links { gap: 15px; }
}
@media (max-width: 385px) {
 .nav { gap: 10px; }
 .nav a { font-size: 11px; }
 .nav-contact { padding: 10px 9px; }
 .page-hero h1 { font-size: 58px; }
 .field-steps { grid-template-columns: 1fr; }
 .field-step { border-right: 0; border-bottom: 1px solid #bac3b6; min-height: auto; }
 .field-step h3 { margin-top: 16px; }
}
/* Small-screen navigation: keep the new pages discoverable rather than hiding them. */
@media (max-width: 620px) {
  .header { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; gap: 13px; }
  .nav { display:flex; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
  .nav a:not(.nav-contact) { display: inline-block; }
  .nav .nav-lab, .nav .nav-about { display: none !important; }
  .nav-contact { padding: 10px 14px; }
}
@media (max-width: 620px) {
  html, body { overflow-x: clip; }
  .stamp { right: 9px; }
}
