/* A quiet, editorial portfolio. Native scrolling, real product imagery. */
:root {
  --paper: #f7f8f5;
  --white: #ffffff;
  --ink: #20231f;
  --muted: #62675e;
  --line: #d9ddd3;
  --acid: #d1ed8b;
  --green: #4d652e;
  --forest: #253329;
  --olive: #dce3ce;
  --dark: #1d211c;
  --dark-muted: #b7bfb0;
  --font: 'DM Sans', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
h2 { font-size: clamp(2.7rem, 4.6vw, 4.6rem); letter-spacing: -.055em; line-height: 1.06; text-wrap: balance; }
h3 { letter-spacing: -.04em; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.page-width { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }
.section-space { padding-block: clamp(4.5rem, 8vw, 8rem); }
.eyebrow { font-size: .75rem; line-height: 1.5; font-weight: 500; letter-spacing: .085em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.035em; }
.status-dot { display: inline-block; height: 7px; width: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.section-index { color: var(--muted); margin-bottom: 1.25rem; }
.text-link { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 44px; font-size: .9rem; font-weight: 500; border-bottom: 1px solid var(--ink); }
.text-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 56px; padding: 7px 7px 7px 24px; font-size: .875rem; font-weight: 500; border-radius: 100px; transition: background .25s, transform .35s var(--ease); }
.button > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.button svg { width: 19px; height: 19px; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark > span { border-color: #62665d; }
.button-dark:hover { background: var(--green); }
.button-light { background: var(--olive); color: var(--forest); }
.button-light > span { border-color: #a5b39a; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Navigation */
.site-header { position: relative; z-index: 30; min-height: 96px; width: min(100% - var(--pad) * 2, var(--max)); margin: auto; display: flex; align-items: center; gap: 3rem; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.55rem; font-weight: 650; letter-spacing: -.075em; white-space: nowrap; }
.brand-dot { color: var(--green); }
.header-availability { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .8rem; }
.desktop-nav { display: flex; margin-left: auto; align-items: center; gap: 1.9rem; }
.desktop-nav a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: .875rem; }
.desktop-nav a::after { content: ''; position: absolute; height: 1px; bottom: 7px; left: 0; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }
.language-switch { display: flex; align-items: center; gap: .25rem; font-size: .75rem; }
.language-switch a { display: grid; place-items: center; min-width: 30px; min-height: 44px; color: var(--muted); }
.language-switch a[aria-current] { color: var(--ink); font-weight: 700; }
.language-switch > span { color: #969b90; }
.menu-toggle, .mobile-menu { display: none; }

/* Opening spread */
.hero { padding-top: 34px; }
.hero-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.location-clock { display: flex; gap: 1rem; }
#localTime { font-variant-numeric: tabular-nums; min-width: 4.3em; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 6%; padding: clamp(3rem, 5.3vw, 5.5rem) 0 4.5rem; align-items: end; }
.hero h1 { font-size: clamp(4.4rem, 8.45vw, 9.1rem); letter-spacing: -.075em; font-weight: 500; line-height: 1.01; }
.hero-line { display: block; }
.hero-serif { font: italic 1.12em/1.04 var(--serif); letter-spacing: -.046em; }
.heading-dot { color: var(--green); }
.hero-intro { display: flex; gap: 1.3rem; margin-top: 2.5rem; align-items: start; max-width: 510px; }
.small-cross { color: var(--green); font-size: 2.2rem; line-height: 1; }
.hero-intro p { font-size: 1.06rem; color: var(--muted); max-width: 41ch; }
.hero-main > .button { margin-top: 2rem; }
.hero-aside { padding-bottom: .2rem; }
.hero-person { display: flex; align-items: center; gap: .85rem; }
.hero-person > img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 27%; filter: grayscale(1); }
.hero-person strong { display: block; font-size: .875rem; font-weight: 550; }
.hero-person div > span { display: block; font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.hero-person-note { color: var(--muted); font-size: .875rem; line-height: 1.65; margin: 1rem 0 1.7rem; }
.focus-card { display: block; background: #e9eddf; border: 1px solid #d7ddcb; padding: 20px 22px 0; border-radius: 5px; transition: background .3s, transform .4s var(--ease); }
.focus-card:hover { background: var(--olive); transform: translateY(-4px); }
.focus-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--green); letter-spacing: .04em; }
.focus-card-top > span { display: flex; align-items: center; gap: .5rem; }
.focus-card-top svg { width: 17px; height: 17px; }
.focus-card-product { display: flex; gap: .7rem; align-items: center; margin: 1.6rem 0 .8rem; }
.focus-card-product img { height: 40px; width: 40px; border-radius: 10px; }
.focus-card-product strong { font-size: 1.5rem; letter-spacing: -.06em; font-weight: 550; }
.focus-card-copy { display: block; color: #58624f; font-size: .875rem; line-height: 1.55; }
.focus-card-foot { display: flex; justify-content: space-between; border-top: 1px solid #cdd4c0; margin-top: 1.25rem; padding: .8rem 0; font-size: .75rem; color: var(--green); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); }
.hero-bottom a { display: flex; gap: 2rem; align-items: center; min-height: 32px; }
.hero-bottom svg { width: 17px; height: 17px; }

/* Selected products */
.work-section { padding-top: 4.5rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.75rem; }
.section-aside { max-width: 30ch; color: var(--muted); font-size: .95rem; }
.ourflow-feature { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 610px; border-radius: 7px; overflow: hidden; }
.ourflow-story { display: flex; flex-direction: column; justify-content: space-between; background: var(--forest); color: var(--paper); padding: clamp(1.5rem, 3.2vw, 3.2rem); }
.ourflow-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ourflow-brand { display: flex; align-items: center; gap: .45rem; font-size: 1.6rem; letter-spacing: -.065em; font-weight: 650; }
.ourflow-brand img { width: 24px; height: 24px; }
.pill { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #5c6d53; padding: .35rem .7rem; font-size: .75rem; border-radius: 50px; color: var(--olive); }
.pill .status-dot { background: var(--acid); width: 5px; height: 5px; }
.ourflow-story-main { padding: 3.5rem 0 3rem; }
.ourflow-story-main > .eyebrow { color: #b6c2ac; margin-bottom: 1.35rem; font-size: .75rem; }
.ourflow-story h3 { font: 400 clamp(3.2rem, 4.5vw, 5rem)/1.02 var(--serif); letter-spacing: -.045em; }
.ourflow-story h3 em { color: #d4e0b8; }
.ourflow-story-main > p:not(.eyebrow) { color: #c3cbbd; font-size: .94rem; line-height: 1.7; max-width: 39ch; margin-top: 1.6rem; }
.ourflow-story .button { margin-top: 2rem; }
.ourflow-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid #485441; padding-top: 1rem; color: #b6c2ac; font-size: .75rem; }
.ourflow-visual { min-width: 0; min-height: 610px; position: relative; container-type: inline-size; background: var(--olive); overflow: hidden; }
.visual-kicker { position: absolute; z-index: 4; top: 2rem; left: 2rem; color: var(--forest); font-size: .75rem; }
.phone-composition { position: absolute; width: 100%; height: 100%; inset: 0; }
.app-screen { position: absolute; width: 35%; height: auto; border-radius: 26px; border: 5px solid #1a2118; box-shadow: 0 18px 30px #24301d33; }
.screen-center { z-index: 3; width: 37%; top: 16%; left: 32%; transform: rotate(-4deg); }
.screen-left { z-index: 2; top: 28%; left: -2%; transform: rotate(-12deg); }
.screen-right { z-index: 1; top: 23%; right: -2%; transform: rotate(10deg); }
.visual-footer { position: absolute; z-index: 4; top: 2rem; right: 2rem; display: flex; gap: 1.25rem; font-size: .75rem; color: var(--forest); }
@container (max-width: 560px) { .visual-footer > span:first-child { display: none; } }
@container (max-width: 370px) { .visual-kicker { right: 5.5rem; } }
.project-detail { border-bottom: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.project-detail > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 52px; padding-block: .85rem; font-size: .875rem; }
.detail-plus { font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .25s; }
details[open] > summary .detail-plus { transform: rotate(45deg); }
summary:hover { color: var(--green); }
.detail-body { padding: .4rem 0 1.8rem; color: var(--muted); font-size: .95rem; max-width: 76ch; }
.detail-body .role-line { font-size: .8rem; margin-top: 1rem; }
.detail-body .text-link { margin-top: 1rem; color: var(--ink); }
.ourflow-detail > summary { padding: 1.25rem 1px; }
.ourflow-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: none; padding-top: 1rem; }
.ourflow-detail-grid h4 { color: var(--ink); margin-bottom: .6rem; font-size: 1rem; }
.ourflow-ownership { grid-column: 1 / -1; font-size: .875rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tags > span { font-size: .75rem; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 3px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 2rem; margin-top: 3.5rem; }
.project-visual { position: relative; display: block; aspect-ratio: 1.38; border-radius: 5px; overflow: hidden; background: var(--project-bg); }
.project-vetra { --project-bg: #e5dacf; }
.project-linkedhype { --project-bg: #dce3eb; }
.project-pruva { --project-bg: #dce7e8; }
.project-appolife { --project-bg: #e8e6dc; }
.project-visual-top { position: absolute; top: 1.25rem; left: 1.5rem; right: 1.5rem; display: flex; justify-content: space-between; color: #51594f; font-size: .75rem; z-index: 3; }
.browser-frame { position: absolute; width: 82%; left: 9%; top: 20%; background: var(--white); border: 1px solid #25332925; border-radius: 6px; overflow: hidden; box-shadow: 0 16px 28px #20251c12; transition: transform .7s var(--ease); }
.browser-toolbar { display: flex; align-items: center; gap: 4px; height: 22px; background: #f3f4f3; padding: 0 8px; color: #646963; border-bottom: 1px solid #e3e5df; }
.browser-toolbar i { width: 4px; height: 4px; background: #a3a9a0; border-radius: 50%; }
.browser-toolbar > span { margin-left: auto; margin-right: auto; font-size: 9px; line-height: 1; }
.browser-frame img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: top; }
.project-vetra .browser-frame { width: 76%; left: 6%; top: 23%; }
.vetra-phone { position: absolute; width: 25%; height: auto; right: 7%; top: 16%; border: 4px solid #22211d; border-radius: 18px; box-shadow: 0 10px 20px #1b211b30; transform: rotate(7deg); transition: transform .7s var(--ease); }
.project-visual:hover .browser-frame { transform: translateY(-7px) scale(1.025); }
.project-visual:hover .vetra-phone { transform: rotate(3deg) translateY(-6px); }
.project-open { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; background: var(--paper); height: 42px; width: 42px; border-radius: 50%; z-index: 5; transition: background .25s, transform .35s; }
.project-open svg { width: 19px; height: 19px; }
.project-visual:hover .project-open { background: var(--acid); transform: rotate(45deg); }
.project-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.25rem 0 .75rem; }
.project-caption h3 { font-size: 1.7rem; font-weight: 500; margin-bottom: .2rem; }
.project-caption p { font-size: .9rem; color: var(--muted); }
.project-year { color: var(--muted); white-space: nowrap; }
.project-status { display: inline-block; font-size: .75rem; color: var(--muted); margin-left: .8rem; padding-left: .8rem; border-left: 1px solid var(--line); }
.project-archive { margin-top: 5rem; }
.archive-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.archive-heading h3 { font-size: 1.8rem; }
.archive-heading > span { color: var(--muted); }
.archive-item { border-top: 1px solid var(--line); }
.archive-item:last-child { border-bottom: 1px solid var(--line); }
.archive-item summary { display: grid; grid-template-columns: 40px 1.5fr 1fr 80px 20px; align-items: center; gap: 1rem; min-height: 88px; }
.archive-name { font-size: 1.2rem; font-weight: 450; letter-spacing: -.03em; }
.archive-number, .archive-category, .archive-year { color: var(--muted); }
.archive-category { font-size: .8rem; }
.archive-item .detail-body { margin-left: 56px; }

/* The person and process */
.about-section { background: var(--dark); color: var(--paper); }
.about-section .section-index { color: var(--dark-muted); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; margin-top: 2.5rem; align-items: center; }
.portrait-image { position: relative; overflow: hidden; border-radius: 5px; background: #050605; aspect-ratio: .82; }
.portrait-image > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .94; }
.portrait-label { position: absolute; bottom: 1.4rem; left: 1.4rem; color: var(--dark-muted); background: #171b16; padding: .35rem .7rem; font-size: .75rem; }
.portrait-block figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; margin-top: 1rem; }
.portrait-block figcaption .eyebrow { font-size: .75rem; color: var(--dark-muted); align-self: center; }
.about-copy h2 { font-size: clamp(2.8rem, 4.3vw, 4.4rem); margin-bottom: 2rem; }
.about-copy .serif { color: var(--acid); }
.about-copy > p { color: var(--dark-muted); margin-top: 1.1rem; font-size: .95rem; max-width: 55ch; }
.about-copy > .about-lead { color: var(--paper); font-size: 1.2rem; line-height: 1.6; }
.about-copy .text-link { margin-top: 1.7rem; border-color: #8a9580; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid #3d4436; padding-top: 1.75rem; margin-top: 2.4rem; }
.about-facts > div > * { display: block; }
.about-facts .eyebrow { color: #929e86; margin-bottom: .6rem; font-size: .75rem; }
.about-facts strong { font-size: .875rem; font-weight: 500; margin-bottom: .3rem; }
.about-facts > div > span:last-child { color: var(--dark-muted); font-size: .8rem; }
.approach-header { margin-top: 6rem; display: flex; gap: 2rem; justify-content: space-between; align-items: baseline; }
.approach-header h3 { font-size: 1.8rem; }
.approach-header > span { color: var(--dark-muted); }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 1.7rem; }
.approach-item { border-top: 1px solid #48503f; padding-top: 1.5rem; }
.approach-number { font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--acid); }
.approach-item h4 { font-size: 1.15rem; margin: 1.5rem 0 .7rem; letter-spacing: -.03em; }
.approach-item p { color: var(--dark-muted); font-size: .9rem; line-height: 1.75; }
.toolbox { border-top: 1px solid #3d4436; margin-top: 3.5rem; padding-top: 2rem; display: grid; grid-template-columns: 160px 1fr; gap: 1rem; align-items: baseline; }
.toolbox > .eyebrow { color: var(--dark-muted); }
.toolbox > div { display: flex; flex-wrap: wrap; column-gap: 1.4rem; row-gap: .7rem; }
.toolbox > div > span { color: #c7cfbf; font-size: .8rem; }

/* Journey and present */
.journey-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.journey-intro > p:not(.eyebrow) { color: var(--muted); max-width: 31ch; font-size: .95rem; margin: 1.5rem 0; }
.journey-intro h2 { font-size: clamp(2.6rem, 3.7vw, 4rem); }
.timeline { margin: 0; padding: 0 0 0 2rem; list-style: none; border-left: 1px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 2.5rem 1rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; top: .4rem; left: calc(-2rem - 4px); width: 7px; height: 7px; background: #a2aa97; border-radius: 50%; }
.timeline-item.is-current::before { background: var(--green); box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line); }
.timeline-date { display: flex; align-items: center; gap: 1rem; color: var(--muted); margin-bottom: .8rem; }
.timeline-now { color: var(--green); background: #e3ebd5; padding: .15rem .5rem; font-size: .75rem; }
.timeline-item h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .65rem; }
.timeline-item p { font-size: .9rem; color: var(--muted); }
.timeline-item .text-link { font-size: .8rem; margin-top: .7rem; }
.now-section { border-top: 1px solid var(--line); padding-top: 4rem; }
.updated-note { color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: stretch; }
.now-focus { display: flex; flex-direction: column; background: #e9eddf; border-radius: 5px; border: 1px solid #d7ddcb; padding: 2.5rem; transition: background .3s; }
.now-focus:hover { background: var(--olive); }
.now-focus > .eyebrow { color: var(--green); }
.now-product { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.now-product img { border-radius: 15px; }
.now-product h3 { font-size: 2.6rem; }
.now-arrow { display: grid; place-items: center; margin-left: auto; border: 1px solid #b2bd9f; width: 42px; height: 42px; border-radius: 50%; }
.now-focus > p { color: #5a654e; margin: 1.3rem 0 2rem; font-size: .95rem; }
.now-foot { display: block; border-top: 1px solid #cdd4c0; padding-top: 1rem; color: var(--green); font-size: .75rem; margin-top: auto; }
.now-side { display: flex; flex-direction: column; }
.now-side article { padding: .4rem 0 1.8rem; flex: 1; }
.now-side article + article { border-top: 1px solid var(--line); padding-top: 1.8rem; padding-bottom: 0; }
.now-side .eyebrow { color: var(--muted); }
.now-side h3 { font-size: 1.5rem; margin: .55rem 0 .6rem; }
.now-side p { color: var(--muted); font-size: .95rem; max-width: 48ch; }

/* Closing spread */
.contact-section { background: var(--dark); color: var(--paper); padding: 4rem 0; }
.contact-top { display: flex; align-items: center; justify-content: space-between; }
.contact-top .section-index { color: var(--dark-muted); margin: 0; }
.contact-availability { font-size: .75rem; color: var(--dark-muted); display: flex; align-items: center; gap: .6rem; }
.contact-availability .status-dot { background: var(--acid); }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: 3.3rem 0 4rem; }
.contact-heading h2 { font-size: clamp(3.2rem, 7.5vw, 8rem); letter-spacing: -.065em; line-height: 1.07; }
.contact-heading .serif { color: var(--acid); }
.contact-circle { display: grid; place-items: center; width: clamp(80px, 10vw, 150px); aspect-ratio: 1; border: 1px solid #667256; border-radius: 50%; flex-shrink: 0; transition: background .3s, color .3s, transform .5s var(--ease); }
.contact-circle svg { width: 45%; height: 45%; }
.contact-heading:hover .contact-circle { transform: rotate(45deg); background: var(--acid); color: var(--dark); }
.contact-bottom { border-top: 1px solid #48503f; padding-top: 2rem; display: flex; justify-content: space-between; gap: 4rem; }
.contact-bottom p { max-width: 50ch; font-size: .875rem; color: var(--dark-muted); }
.email-link { display: inline-block; font-size: 1.15rem; margin-top: 1.2rem; border-bottom: 1px solid #667256; padding-bottom: .25rem; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; flex-shrink: 0; align-content: start; }
.contact-links a { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: .875rem; min-height: 44px; }
.contact-links a svg { width: 14px; height: 14px; color: var(--dark-muted); }
.contact-links a:hover { color: var(--acid); }
.site-footer { background: var(--dark); color: var(--paper); }
.site-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 95px; padding-bottom: 60px; border-top: 1px solid #3d4436; }
.site-footer .brand-dot { color: var(--acid); }
.footer-copy, .footer-top { font-size: .75rem; color: var(--dark-muted); }
.footer-top { display: flex; align-items: center; gap: 1rem; min-height: 44px; }
.footer-top svg { width: 16px; height: 16px; }

/* Content stays visible without JavaScript. Only a brief entrance is animated. */
@keyframes arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-main, .hero-aside { animation: arrive .85s var(--ease) both; }
.hero-aside { animation-delay: .1s; }
html[lang="de"] .hero h1 { font-size: clamp(4.1rem, 7.7vw, 8.3rem); }
html[lang="de"] .ourflow-story h3 { font-size: clamp(2.8rem, 4vw, 4.5rem); }
html[lang="de"] .about-copy h2 { font-size: clamp(2.7rem, 3.7vw, 4rem); }
html[lang="de"] .contact-heading h2 { font-size: clamp(3.2rem, 6.8vw, 7.4rem); }

@media (min-width: 1600px) {
  .hero-layout { padding-block: 6rem; }
}
@media (max-width: 1100px) {
  .site-header { gap: 1.7rem; }
  .header-availability { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 3%; }
  .hero h1 { font-size: 8.8vw; }
  .hero-person-note { font-size: .85rem; }
  .hero-intro { max-width: 400px; }
  .ourflow-feature, .ourflow-visual { min-height: 550px; }
  .ourflow-meta { display: block; }
  .ourflow-meta > span { display: block; margin-top: .25rem; }
  .ourflow-top .pill { font-size: .75rem; }
  .ourflow-brand { font-size: 1.4rem; }
  .app-screen { border-width: 4px; border-radius: 21px; }
  .screen-center { width: 42%; left: 29%; top: 20%; }
  .screen-left, .screen-right { width: 40%; }
  .about-grid, .journey-layout { gap: 7%; }
  .about-facts { grid-template-columns: 1fr; gap: 1rem; }
  .portrait-block figcaption .eyebrow { display: none; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 20px; }
  .site-header { min-height: 78px; gap: 1rem; }
  .wordmark { font-size: 1.4rem; }
  .desktop-nav { display: none; }
  .language-switch { margin-left: auto; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle > span { width: 16px; height: 1px; background: var(--ink); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: calc(100% - 1px); left: calc(-1 * var(--pad)); width: calc(100% + var(--pad) * 2); background: var(--paper); padding: 1rem var(--pad) 2rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 24px #20231f0d; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu > a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.7rem; letter-spacing: -.05em; }
  .mobile-menu > a > .eyebrow { color: var(--muted); }
  .mobile-menu > a > svg { margin-left: auto; }
  .mobile-menu > .mobile-email { font-size: .9rem; border: 0; letter-spacing: 0; padding-bottom: 0; }
  .hero { padding-top: 24px; }
  .hero-topline { font-size: .75rem; letter-spacing: .045em; }
  .hero-topline .location-clock { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.7rem 0 2.5rem; }
  .hero h1, html[lang="de"] .hero h1 { font-size: clamp(3.8rem, 12vw, 6.7rem); }
  .hero-intro { margin-top: 2rem; max-width: 490px; }
  .hero-intro p { font-size: 1rem; }
  .hero-main > .button { margin-top: 1.5rem; }
  .hero-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
  .hero-person { grid-column: 1; margin-top: .5rem; }
  .hero-person-note { grid-column: 1; margin: 1rem 0; }
  .focus-card { grid-column: 2; grid-row: 1 / 3; }
  .hero-bottom { font-size: .75rem; letter-spacing: .035em; }
  .hero-bottom a { gap: .75rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.3rem; }
  .section-aside { max-width: 44ch; }
  .ourflow-feature { grid-template-columns: 1fr; }
  .ourflow-story { padding: 2rem; }
  .ourflow-story h3, html[lang="de"] .ourflow-story h3 { font-size: clamp(3.8rem, 10vw, 5rem); }
  .ourflow-story-main { padding: 2.5rem 0; }
  .ourflow-story-main > p:not(.eyebrow) { max-width: 52ch; }
  .ourflow-meta { display: flex; }
  .ourflow-visual { min-height: auto; aspect-ratio: 1.05; }
  .app-screen { width: 31%; }
  .screen-center { width: 35%; top: 12%; left: 32%; }
  .screen-left { top: 24%; left: 2%; }
  .screen-right { top: 20%; right: 1%; }
  .visual-kicker { top: 1.2rem; left: 1.5rem; }
  .visual-footer { top: 1.2rem; right: 1.5rem; gap: 1rem; }
  .project-grid { gap: 2.5rem 1.25rem; }
  .project-visual-top { left: .8rem; right: .8rem; top: .8rem; font-size: .75rem; letter-spacing: .015em; }
  .browser-toolbar { height: 15px; }
  .browser-toolbar > span { display: none; }
  .project-open { width: 32px; height: 32px; right: .6rem; bottom: .6rem; }
  .project-open svg { width: 14px; height: 14px; }
  .project-caption { gap: .5rem; }
  .project-caption h3 { font-size: 1.5rem; }
  .project-caption p { font-size: .85rem; }
  .project-year { font-size: .75rem; }
  .project-status { display: none; }
  .archive-heading { align-items: start; flex-direction: column; gap: .4rem; }
  .archive-item summary { grid-template-columns: 24px 1fr 70px 16px; gap: .7rem; }
  .archive-category { display: none; }
  .archive-name { font-size: 1rem; }
  .archive-item .detail-body { margin-left: 36px; }
  .about-grid { grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: start; }
  .about-copy h2, html[lang="de"] .about-copy h2 { font-size: clamp(2.4rem, 5.2vw, 3.2rem); }
  .about-copy > .about-lead { font-size: 1.05rem; }
  .about-copy > p { font-size: .9rem; }
  .approach-header { margin-top: 3.5rem; display: block; }
  .approach-header > span { display: block; margin-top: .5rem; }
  .approach-grid { gap: 1.5rem; }
  .approach-item h4 { font-size: 1.05rem; }
  .toolbox { grid-template-columns: 1fr; }
  .journey-layout { grid-template-columns: 1fr; gap: 3rem; }
  .journey-intro > p:not(.eyebrow) { max-width: 45ch; }
  .now-grid { gap: 2rem; }
  .now-focus { padding: 1.5rem; }
  .now-product { gap: .6rem; }
  .now-product img { width: 44px; height: 44px; border-radius: 11px; }
  .now-product h3 { font-size: 2rem; }
  .now-arrow { width: 30px; height: 30px; }
  .now-arrow svg { width: 16px; height: 16px; }
  .now-side h3 { font-size: 1.3rem; }
  .contact-bottom { gap: 2.5rem; }
  .contact-links { column-gap: 1.5rem; }
  .contact-heading { gap: 1rem; }
  .contact-heading h2, html[lang="de"] .contact-heading h2 { font-size: 7.5vw; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 12.2vw; }
  html[lang="de"] .hero h1 { font-size: 11.6vw; }
  .hero-intro { gap: .8rem; }
  .small-cross { font-size: 1.7rem; }
  .hero-aside { grid-template-columns: 1fr; gap: 0; }
  .hero-person { margin-top: 0; }
  .hero-person-note { margin: 1rem 0 1.5rem; }
  .focus-card { grid-column: 1; grid-row: auto; padding: 18px 20px 0; }
  .focus-card-product { margin-top: 1.1rem; }
  .focus-card-copy { max-width: 30ch; }
  .hero-bottom > span { max-width: 15ch; }
  .hero-bottom a { max-width: 20ch; font-size: .75rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .section-index { font-size: .75rem; }
  .ourflow-story { padding: 1.6rem; }
  .ourflow-story h3, html[lang="de"] .ourflow-story h3 { font-size: 3.6rem; }
  .ourflow-top .pill { font-size: .75rem; padding-inline: .5rem; }
  .ourflow-visual { aspect-ratio: .95; }
  .visual-kicker { font-size: .75rem; }
  .visual-footer { font-size: .75rem; }
  .app-screen { border-width: 3px; border-radius: 17px; }
  .screen-center { width: 39%; top: 15%; left: 30%; }
  .screen-left, .screen-right { width: 35%; top: 25%; }
  .screen-left { left: -2%; }
  .screen-right { right: -2%; }
  .ourflow-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
  .project-visual-top { font-size: .75rem; left: 1rem; right: 1rem; top: 1rem; }
  .browser-toolbar { height: 20px; }
  .browser-toolbar > span { display: block; }
  .project-open { height: 40px; width: 40px; bottom: .9rem; right: .9rem; }
  .project-open svg { height: 18px; width: 18px; }
  .project-caption h3 { font-size: 1.6rem; }
  .project-status { display: inline; }
  .archive-name { font-size: .95rem; }
  .archive-year { font-size: .75rem; }
  .archive-item summary { grid-template-columns: 20px 1fr 56px 16px; gap: .6rem; }
  .archive-item .detail-body { margin-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1.5rem; }
  .portrait-image { aspect-ratio: .95; }
  .portrait-image > img { object-position: center 32%; }
  .portrait-block figcaption .eyebrow { display: block; }
  .about-copy h2, html[lang="de"] .about-copy h2 { font-size: 2.8rem; }
  .about-copy > p { font-size: 1rem; }
  .about-copy > .about-lead { font-size: 1.15rem; }
  .about-facts { grid-template-columns: 1fr; }
  .approach-header h3 { font-size: 1.6rem; }
  .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .approach-item { display: grid; grid-template-columns: 40px 1fr; gap: .5rem 1rem; padding-top: 1.2rem; }
  .approach-item h4 { margin: .4rem 0 .4rem; font-size: 1.1rem; }
  .approach-item p { grid-column: 2; font-size: .95rem; }
  .toolbox > div { gap: .7rem 1rem; }
  .timeline { padding-left: 1.3rem; }
  .timeline-item { padding-left: .5rem; }
  .timeline-item::before { left: calc(-1.3rem - 4px); }
  .now-grid { grid-template-columns: 1fr; gap: 2rem; }
  .now-focus { padding: 1.75rem; }
  .now-product { gap: .8rem; }
  .now-product img { width: 54px; height: 54px; }
  .now-product h3 { font-size: 2.5rem; }
  .now-arrow { width: 38px; height: 38px; }
  .now-side h3 { font-size: 1.5rem; }
  .contact-section { padding-top: 3rem; }
  .contact-top { align-items: start; }
  .contact-availability { font-size: .75rem; max-width: 18ch; }
  .contact-heading { position: relative; padding: 3rem 0 7rem; }
  .contact-heading h2, html[lang="de"] .contact-heading h2 { font-size: 11vw; }
  .contact-circle { position: absolute; right: 0; bottom: 1.6rem; width: 64px; }
  .contact-bottom { flex-direction: column; gap: 2rem; }
  .contact-links { justify-content: start; column-gap: 3rem; }
  .site-footer > div { flex-wrap: wrap; padding: 1.5rem 0 60px; gap: .8rem; }
  .footer-copy { order: 3; width: 100%; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { font-size: 11pt; }
  .site-header, .hero-aside, .hero-bottom, .contact-section, .site-footer, .button, .project-visual, .ourflow-visual { display: none; }
  .hero-layout, .ourflow-feature, .about-grid, .journey-layout, .now-grid { display: block; }
  .about-section, .ourflow-story, .now-focus { background: white; color: black; }
  .portrait-block { display: none; }
  .section-space { padding-block: 2rem; }
  .hero h1 { font-size: 48pt; }
}
