/* Venkata Sathish Gorijala — drafting-sheet portfolio (round 3) */
:root {
  --navy: #0e2740;
  --navy-2: #143353;
  --navy-deep: #0a1d30;
  --grid-dark: rgba(150, 190, 225, 0.13);
  --paper: #f3efe4;
  --ink: #13202e;
  --ink-2: #3f4d5a;
  --rule: rgba(19, 32, 46, 0.18);
  --cream: #eef2f5;
  --mute: #b3c6d7;
  --yellow: #f2c14e;
  --red: #e8795c;
  --red-ink: #a13d26;
  --blue: #7fb3e0;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --sec: clamp(64px, 8vw, 104px);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3, .jobtitle, .lead, .intro { text-wrap: balance; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 16px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: var(--cream); border-bottom: 1px solid var(--grid-dark); position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-top: var(--s2); padding-bottom: var(--s2); min-height: 64px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.02em; text-transform: uppercase; min-height: 44px; }
.brand .tag { width: 40px; height: 40px; border: 1.5px solid var(--yellow); color: var(--yellow); display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px var(--s4); align-items: center; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  text-decoration: none; font-size: 0.95rem; color: var(--mute);
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--cream); border-bottom-color: var(--yellow); }
.nav a.nav-cv { color: var(--navy); background: var(--yellow); padding: 0 14px; font-weight: 600; }
.nav a.nav-cv:hover { border-bottom-color: transparent; background: #ffd873; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--blue); color: var(--cream); font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "+"; font-size: 1rem; line-height: 1; color: var(--yellow); }
.menu[open] summary::after { content: "–"; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 40px));
  background: var(--navy-deep); border: 1.5px solid var(--blue); padding: 6px 0;
  box-shadow: 6px 6px 0 rgba(242, 193, 78, 0.22);
}
.menu nav ul { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; color: var(--cream); text-decoration: none; font-size: 1rem; }
.menu nav a:hover { color: var(--yellow); }
.menu nav a.nav-cv { background: var(--yellow); color: var(--navy); font-weight: 600; margin: 6px 12px 4px; padding: 0 16px; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  color: var(--cream);
  padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 120px);
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s8); align-items: end; }
.eyebrow-line { display: flex; align-items: center; gap: var(--s3); color: var(--mute); margin-bottom: var(--s6); }
.eyebrow-line::before { content: ""; width: 48px; height: 1.5px; background: var(--yellow); }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 10.5vw, 9.25rem);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--yellow); }
.jobtitle { margin-top: var(--s6); font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; color: var(--cream); letter-spacing: 0.01em; }
.summary { margin-top: var(--s4); max-width: 60ch; color: var(--mute); font-size: 1.0625rem; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; font: 600 1rem var(--f-text);
  text-decoration: none; border: 1.5px solid; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-secondary { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-resume { border-color: var(--blue); color: var(--cream); background: rgba(127, 179, 224, 0.08); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.btn-secondary:hover { box-shadow: 4px 4px 0 var(--blue); }
.btn-resume:hover { box-shadow: 4px 4px 0 var(--yellow); border-color: var(--yellow); }

/* title-block sheet */
.sheet {
  position: relative;
  background: rgba(10, 29, 48, 0.82);
  border: 1.5px solid var(--blue);
  padding: clamp(22px, 3vw, 36px);
}
.sheet::before {
  content: ""; position: absolute; inset: -12px; border: 1px dashed rgba(127, 179, 224, 0.35); pointer-events: none;
}
.sheet-top { display: flex; justify-content: space-between; color: var(--mute); padding-bottom: var(--s3); border-bottom: 1px solid var(--grid-dark); }
.readout { margin-top: var(--s5); font-family: var(--f-display); font-weight: 700; font-size: clamp(4.5rem, 9vw, 6.5rem); line-height: 0.9; color: var(--yellow); }
.dim { position: relative; height: 16px; margin: var(--s3) 0 var(--s2); border-left: 1.5px solid var(--yellow); border-right: 1.5px solid var(--yellow); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--yellow); }
.readout-label { color: var(--cream); font-size: 1rem; }
.readout-foot { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--grid-dark); color: var(--mute); }
.spec { margin-top: var(--s5); border-top: 1px solid var(--grid-dark); }
.spec div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--grid-dark); }
.spec dt { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); padding-top: 3px; }
.spec dd { color: var(--cream); font-size: 0.97rem; }

/* ---------- sections ---------- */
section { padding: var(--sec) 0; position: relative; }
.band-paper { background: var(--paper); color: var(--ink); }
.band-navy { background: var(--navy); color: var(--cream); background-image: linear-gradient(var(--grid-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px); background-size: 48px 48px; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--s6); align-items: end; margin-bottom: var(--s7); padding-bottom: var(--s5); border-bottom: 1.5px solid currentColor; }
.sec-head .mono { display: block; margin-bottom: var(--s3); opacity: 0.8; }
.sec-head h2 {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.005em;
}
.sec-head p { max-width: 42ch; font-size: 1rem; justify-self: end; }
.band-paper .sec-head p { color: var(--ink-2); }
.band-navy .sec-head p { color: var(--mute); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.22; color: var(--ink); max-width: 22ch; }
.about-body { display: grid; gap: var(--s4); }
.about-body p { max-width: 62ch; color: var(--ink-2); }

/* roles: the timeline grid; education sits on the same grid */
.timeline { position: relative; padding-left: 52px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 16px; width: 0; border-left: 2px dashed var(--ink-2); opacity: 0.6; }
.role { position: relative; padding-bottom: var(--s7); }
.role:last-child { padding-bottom: 0; }
.role::before {
  content: ""; position: absolute; left: -44px; top: 16px; width: 22px; height: 22px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
}
.role.current::before { background: var(--yellow); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(242, 193, 78, 0.25); }
.role-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.logo-chip {
  width: 112px; height: 72px; background: var(--navy); color: var(--cream);
  display: grid; place-items: center; padding: 8px; border: 1px solid var(--navy);
}
.logo-chip span { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.role h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; }
.role .company { font-size: 1.08rem; font-weight: 600; margin-top: 6px; }
.dates { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; margin-top: var(--s2); color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; background: var(--yellow); color: var(--ink); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.role .desc { margin-top: var(--s5); max-width: 66ch; color: var(--ink); font-size: 1.05rem; }
.hl { margin-top: var(--s5); display: grid; gap: var(--s3); max-width: 76ch; }
.hl li { position: relative; padding-left: 26px; color: var(--ink-2); }
.hl li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; border-top: 1.5px solid var(--red-ink); }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }
.tech li { min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--ink); font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink); }

.edu { margin-top: var(--s7); padding: var(--s6) 0 0 52px; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.edu-label { color: var(--ink-2); padding-top: 8px; }
.edu .school { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1; text-transform: uppercase; }
.edu .deg { color: var(--ink); margin-top: 6px; font-size: 1.05rem; font-weight: 600; }
.edu .dates { margin-top: var(--s2); }

/* projects: uniform three-column grid, one diagram size for all ten */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--navy-2); border: 1px solid rgba(150, 190, 225, 0.22);
  padding: 16px; display: flex; flex-direction: column; gap: var(--s3);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 6px 6px 0 rgba(242, 193, 78, 0.22); }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s5); }
.card--wide .plate { align-self: stretch; display: flex; align-items: center; }
.card--wide .plate svg { max-height: 100%; }
.card-body { display: flex; flex-direction: column; gap: var(--s3); flex: 1; min-width: 0; }
.card-kicker { display: flex; justify-content: space-between; gap: var(--s3); color: var(--mute); }
.card h3 { font-family: var(--f-display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: 0.01em; color: var(--cream); }
.card .desc { color: var(--cream); font-size: 0.96rem; line-height: 1.55; }
.card .hl { margin-top: 0; gap: 8px; }
.card .hl li { color: var(--mute); font-size: 0.93rem; line-height: 1.5; padding-left: 22px; }
.card .hl li::before { border-color: var(--yellow); width: 10px; top: 0.72em; }
.card-foot { margin-top: auto; padding-top: var(--s3); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.card .tech { margin-top: 0; gap: 6px; }
.card .tech li { min-height: 26px; padding: 0 8px; font-size: 0.74rem; color: var(--mute); border-color: rgba(150, 190, 225, 0.4); }
.card .src { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--yellow); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid transparent; }
.card .src:hover { border-bottom-color: var(--yellow); }
.plate {
  margin: 0; background: #0a1d30; border: 1px solid rgba(150, 190, 225, 0.2);
  background-image: linear-gradient(rgba(150,190,225,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(150,190,225,.08) 1px, transparent 1px);
  background-size: 16px 16px; padding: 8px;
}
.plate svg { display: block; width: 100%; height: auto; }
.plate svg text { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; fill: var(--mute); }
.plate svg .ln { stroke: var(--blue); fill: none; stroke-width: 1.2; }
.plate svg .dash { stroke: var(--blue); fill: none; stroke-width: 1; stroke-dasharray: 4 4; }
.plate svg .yl { stroke: var(--yellow); fill: none; stroke-width: 1.6; }
.plate svg .fb { fill: #2d5d8c; }
.plate svg .fcomp { fill: #4a7db0; }
.plate svg .fl { fill: var(--blue); }
.plate svg .fc { fill: var(--cream); }
.plate svg .fy { fill: var(--yellow); }
.plate svg .fr { fill: var(--red); }
.plate svg .fk { fill: #0e2740; }
.plate svg .tr { fill: #0e2740; }

/* skills: the tool path */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--paper); }
.station { position: relative; padding: var(--s5) var(--s5) var(--s6); border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: var(--s3); }
.station:last-child { border-right: 0; }
.station:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  background: var(--yellow); border: 1.5px solid var(--ink); clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%); z-index: 2;
}
.station .step { display: flex; justify-content: space-between; color: var(--ink-2); }
.station h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 2.1rem; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { border: 1px solid var(--ink); padding: 4px 9px; font-size: 0.88rem; line-height: 1.35; color: var(--ink); }

/* contact */
.kicker { display: block; color: var(--blue); margin-bottom: var(--s4); }
.contact h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: 0.86; }
.contact h2 span { color: var(--yellow); }
.contact-grid { margin-top: var(--s7); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.contact .intro { max-width: 40ch; color: var(--mute); font-size: 1.15rem; line-height: 1.5; }
.contact-list { border-top: 1.5px solid var(--cream); }
.contact-list li { border-bottom: 1px solid var(--grid-dark); }
.contact-list a {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--s3);
  min-height: 60px; padding: 10px 0; text-decoration: none; color: var(--cream);
}
.contact-list .k { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.contact-list .v { font-size: 1.15rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover .v { color: var(--yellow); }
.contact-list .arr { font-family: var(--f-mono); color: var(--yellow); transition: transform .2s ease; }
.contact-list a:hover .arr { transform: translateX(4px); }

/* footer */
.site-foot { background: var(--navy-deep); color: var(--mute); padding: var(--s6) 0; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.site-foot a { color: var(--yellow); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* motion: enhancements only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .about-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .sec-head { grid-template-columns: 1fr; gap: var(--s4); }
  .sec-head p { justify-self: start; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .station:nth-child(2) { border-right: 0; }
  .station:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .station:not(:last-child)::after { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  :root { --sec: 40px; }
  .nav-desk { display: none; }
  .menu { display: block; }
  .head-row { min-height: 0; }
  .brand { font-size: 1.05rem; }
  .hero { padding: 32px 0 44px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.2rem); }
  .eyebrow-line { margin-bottom: var(--s4); }
  .jobtitle { margin-top: 12px; font-size: 1.35rem; }
  .summary { font-size: 0.98rem; }
  .ctas { gap: var(--s2); margin-top: 20px; }
  .ctas .btn-primary, .ctas .btn-secondary { flex: 1 1 calc(50% - 4px); min-height: 46px; padding: 0 12px; font-size: 0.95rem; }
  .ctas .btn-resume { flex: 1 1 100%; min-height: 44px; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--yellow); padding: 0; justify-content: flex-start; }
  .ctas .btn-resume:hover { transform: none; box-shadow: none; }

  .sheet { padding: 16px 18px; }
  .sheet::before { display: none; }
  .readout { font-size: 3rem; margin-top: 12px; }
  .dim { margin: 8px 0 6px; }
  .readout-label { font-size: 0.92rem; }
  .readout-foot { margin-top: 14px; font-size: 0.7rem; }

  .sec-head { margin-bottom: 20px; padding-bottom: 12px; }
  .sec-head .mono { margin-bottom: 6px; }
  .sec-head h2 { font-size: clamp(2.8rem, 15vw, 3.6rem); }
  .sec-head p { font-size: 0.95rem; }
  .about-grid { gap: var(--s4); }
  .lead { font-size: 1.3rem; }
  .about-body { gap: var(--s3); }
  .about-body p { font-size: 0.95rem; line-height: 1.55; }

  .timeline { padding-left: 40px; }
  .timeline::before { left: 10px; }
  .role::before { left: -36px; width: 20px; height: 20px; top: 14px; }
  .role { padding-bottom: 22px; }
  .role-head { grid-template-columns: 84px minmax(0, 1fr); gap: var(--s3); }
  .logo-chip { width: 84px; height: 60px; }
  .logo-chip span { font-size: 1rem; }
  .role h3 { font-size: 1.8rem; }
  .role .company { font-size: 1rem; }
  .role .desc { margin-top: 10px; font-size: 0.93rem; line-height: 1.5; }
  .hl { margin-top: 10px; gap: 6px; }
  .hl li { font-size: 0.88rem; line-height: 1.42; padding-left: 18px; }
  .tech { margin-top: 10px; gap: 4px; }
  .tech li { min-height: 24px; padding: 0 6px; font-size: 0.68rem; }

  .edu { margin-top: 0; padding: 20px 0 0 40px; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s3); }
  .edu-label { font-size: 0.7rem; padding-top: 4px; }
  .edu .school { font-size: 1.6rem; }
  .edu .deg { font-size: 0.95rem; }

  .bento { grid-template-columns: 1fr; gap: 12px; }
  .card--wide { grid-column: auto; grid-template-columns: 1fr; gap: var(--s3); }
  .card { padding: 10px 12px 12px; gap: 6px; }
  .card--wide .plate { align-self: auto; }
  .plate { padding: 6px; }
  .plate svg { width: auto; height: 128px; margin: 0 auto; }
  .card h3 { font-size: 1.6rem; }
  .card .desc { font-size: 0.88rem; line-height: 1.42; }
  .card .hl { display: none; }
  .card-foot { padding-top: 0; gap: 0; }
  .card .tech { gap: 4px; }
  .card .tech li { min-height: 22px; font-size: 0.66rem; padding: 0 6px; }
  .card .src { min-height: 44px; font-size: 0.92rem; }
  .card-kicker { font-size: 0.7rem; }

  .flow { grid-template-columns: 1fr; }
  .station { border-right: 0 !important; border-bottom: 1px solid var(--ink); padding: 12px 14px 14px; gap: 6px; }
  .station:last-child { border-bottom: 0; }
  .station:not(:last-child)::after { display: none; }
  .station h3 { font-size: 1.6rem; }
  .station .step { font-size: 0.7rem; }
  .chips { gap: 4px; }
  .chips li { font-size: 0.78rem; padding: 2px 7px; line-height: 1.4; }

  .kicker { margin-bottom: var(--s3); }
  .contact-grid { margin-top: 20px; }
  .contact .intro { font-size: 1.02rem; }
  .contact-list a { grid-template-columns: 1fr auto; gap: 0 var(--s3); padding: 6px 0; min-height: 52px; }
  .contact-list .k { grid-column: 1 / -1; font-size: 0.7rem; }
  .contact-list .v { font-size: 1rem; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
}
