:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --panel: #fbfaf6;
  --ink: #15212b;
  --muted: #5d6871;
  --line: #c8cdd0;
  --accent: #245474;
  --accent-dark: #193e59;
  --accent-soft: #dce7ee;
  --accent-pale: #eaf0f4;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  counter-reset: section-number;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  min-width: 0;
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}

.title-line {
  display: block;
}

.title-phrase,
.step-phrase {
  display: inline-block;
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(21, 33, 43, 0.16);
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  width: min(1210px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(700px, calc(100vh - 68px));
  padding: clamp(66px, 9vw, 112px) 0 clamp(58px, 7vw, 88px);
}

.hero::after {
  position: absolute;
  right: 6%;
  bottom: 14%;
  z-index: -1;
  width: 38%;
  height: 28%;
  border: 1px solid rgba(21, 33, 43, 0.12);
  content: "";
  transform: translate(28px, 28px);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(980px, 82%);
}

.hero-visual-card {
  position: absolute;
  top: clamp(54px, 8vw, 104px);
  right: 0;
  z-index: 0;
  width: min(460px, 41vw);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--accent-pale);
  opacity: 0.96;
}

.hero-visual-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 241, 234, 0.42) 0%, transparent 32%);
  content: "";
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) hue-rotate(4deg) contrast(1.02);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  counter-increment: section-number;
}

.section .eyebrow::before {
  margin-right: 0.8em;
  color: var(--accent);
  content: counter(section-number, decimal-leading-zero) " /";
}

h1 {
  max-width: 980px;
  font-size: clamp(46px, 4.8vw, 62px);
  font-weight: 620;
  font-kerning: normal;
  font-feature-settings: "palt" 0;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.hero-lead {
  max-width: 610px;
  margin-top: 22px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: #354655;
  font-size: 17px;
  line-height: 1.9;
}

.hero-bio {
  max-width: 650px;
  margin-top: 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: rgba(244, 241, 234, 0.68);
  color: var(--accent);
}

.button:hover {
  background: var(--ink);
  color: var(--white);
}

.section {
  padding: clamp(82px, 11vw, 138px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(280px, 0.35fr);
  gap: 16px clamp(36px, 6vw, 78px);
  align-items: end;
  margin-bottom: 42px;
}

.section-head .eyebrow,
.section-head h2 {
  grid-column: 1;
}

.section-head > p:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 15px;
}

h2 {
  max-width: 12em;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 620;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.section-visual {
  width: 68%;
  margin: 0 0 42px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--accent-pale);
}

.problems .section-visual {
  margin-left: auto;
}

.services .section-visual {
  margin-right: auto;
}

.problems,
.services {
  padding: clamp(64px, 8vw, 96px) 0;
}

.problems .section-head,
.services .section-head {
  margin-bottom: 28px;
}

.problems .section-visual,
.services .section-visual {
  margin-bottom: 28px;
}

.problems .section-intro,
.services .section-intro {
  --intro-gap: clamp(20px, 2vw, 32px);
  display: grid;
  align-items: center;
  column-gap: var(--intro-gap);
}

.problems .section-intro {
  grid-template-columns: calc(42% - var(--intro-gap)) 58%;
}

.services .section-intro {
  grid-template-columns: 58% calc(42% - var(--intro-gap));
}

.problems .section-intro .section-head,
.services .section-intro .section-head {
  display: block;
  margin-bottom: 0;
}

.problems .section-intro .section-visual,
.services .section-intro .section-visual {
  width: 100%;
  margin-bottom: 0;
}

.services .section-intro .section-head {
  order: 2;
}

.services .section-intro .section-visual {
  order: 1;
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) hue-rotate(16deg) contrast(0.96);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(38px, 7vw, 92px);
}

.problem-grid article {
  position: relative;
  min-height: 230px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--ink);
}

.problem-grid article:nth-child(even) {
  transform: translateY(34px);
}

.problem-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.problem-grid h3 {
  max-width: 16em;
  margin-top: 24px;
}

.problem-grid p {
  max-width: 42em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.problem-grid span {
  font-size: 12px;
}

.problem-grid h3 {
  font-size: clamp(25px, 2.25vw, 31px);
  line-height: 1.38;
}

.problem-grid p {
  font-size: 17px;
  line-height: 1.9;
}

.workstyle-panel,
.contact-panel {
  background: var(--accent-dark);
  color: var(--white);
}

.workstyle-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: clamp(30px, 4vw, 50px);
  align-items: center;
  padding: clamp(38px, 7vw, 78px);
}

.workstyle-panel h2 {
  max-width: none;
  font-size: clamp(36px, 3.6vw, 50px);
}

.workstyle-panel .eyebrow,
.contact-panel .eyebrow {
  color: #b9d0df;
}

.workstyle-panel .eyebrow::before,
.contact-panel .eyebrow::before {
  color: var(--white);
}

.workstyle-copy > p {
  color: var(--accent-soft);
  font-size: 15px;
}

.workstyle-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 253, 248, 0.4);
  list-style: none;
  counter-reset: work-step;
}

.workstyle-steps li {
  position: relative;
  min-width: 0;
  padding: 22px 12px 0 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  counter-increment: work-step;
}

.workstyle-steps li::before {
  display: block;
  margin-bottom: 8px;
  color: #b9d0df;
  font-size: 10px;
  letter-spacing: 0.1em;
  content: "0" counter(work-step);
}

.workstyle-steps li::after {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px) 18px;
}

.work-card {
  grid-column: span 4;
  min-width: 0;
}

.work-card:nth-child(1) {
  grid-column: span 7;
}

.work-card:nth-child(2) {
  grid-column: span 5;
}

.work-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 240ms ease;
}

.work-image:focus-visible img {
  transform: scale(1.015);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.work-copy {
  padding: 18px 2px 0;
}

.work-type {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-top: 9px;
  font-size: clamp(18px, 1.45vw, 22px);
}

.work-details {
  margin: 18px 0 0;
}

.work-details div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.work-details dt {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.work-details dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 29%) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 100px);
  align-items: center;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile-card p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 22px;
  color: #354655;
  font-size: 17px;
}

.profile-card p.profile-name {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.profile-tags li {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.contact {
  padding-bottom: 88px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(320px, 0.54fr);
  gap: clamp(34px, 5vw, 60px);
  padding: clamp(36px, 7vw, 76px);
}

.contact-panel h2 {
  max-width: none;
  font-size: clamp(34px, 3vw, 40px);
}

.contact-panel p {
  margin-top: 18px;
  color: var(--accent-soft);
}

.contact-form .contact-kicker {
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.34);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form span {
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border-color: var(--white);
  background: var(--white);
  color: var(--accent);
}

.privacy-note {
  font-size: 11px;
  line-height: 1.6;
}

details {
  min-width: 0;
}

summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 10px 2px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: "";
}

summary::after {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "＋";
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

details[open] > summary::after {
  content: "−";
}

summary:focus-visible {
  border-radius: 2px;
  outline-color: var(--accent);
}

summary h3 {
  min-width: 0;
}

.skill-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px clamp(34px, 6vw, 76px);
  align-items: start;
  padding: 28px 0 clamp(58px, 7vw, 86px);
  border-top: 1px solid var(--line);
}

.skill-overview-head h2 {
  max-width: 28em;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
}

.skill-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  position: relative;
  min-height: 44px;
  padding: 10px 0 10px 16px;
  border-top: 1px solid rgba(21, 33, 43, 0.24);
  color: #354655;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.55;
}

.skill-list li::before {
  position: absolute;
  top: 1.15em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  content: "";
}

.career-heading {
  grid-column: 1 / -1;
  margin-top: 22px;
}

.career-heading .eyebrow {
  margin-bottom: 8px;
}

.career-heading h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}

.career-table-wrap {
  grid-column: 1 / -1;
  overflow-x: auto;
}

.career-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.career-table th,
.career-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(21, 33, 43, 0.18);
  text-align: left;
  vertical-align: top;
}

.career-table th {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.career-table td:first-child {
  width: 25%;
  color: var(--accent);
  font-weight: 700;
}

.career-table td:nth-child(2) {
  width: 34%;
  color: #354655;
  font-weight: 700;
}

.career-table td:nth-child(3) {
  color: var(--muted);
}

.problem-grid article {
  min-height: 0;
  padding: 0;
}

.problem-grid article > details > summary {
  min-height: 116px;
  padding: 18px 4px 18px 0;
  border-top-color: var(--ink);
}

.problem-grid article > details > summary h3 {
  max-width: none;
  margin: 0;
}

.problem-grid summary h3 > span:first-child,
.problem-grid summary h3 > span:last-child {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.problem-grid summary h3 > span:first-child {
  margin-bottom: 8px;
}

.problem-grid summary h3 > span:last-child {
  margin-top: 9px;
}

.problem-grid summary h3 .title-phrase {
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.4;
  letter-spacing: 0;
}

.problem-grid details[open] > p {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.work-image-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(21, 33, 43, 0.84);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.work-result {
  margin-top: 12px;
  color: #354655;
  font-size: 14px;
  line-height: 1.7;
}

.work-copy > details {
  margin-top: 14px;
}

.work-copy > details > summary {
  color: var(--accent);
  font-size: 13px;
}

.work-copy > details[open] .work-details {
  margin-top: 8px;
}

.workstyle-copy > details {
  margin-top: 22px;
}

.workstyle-copy > details > summary,
.contact-panel > details > summary {
  border-top-color: rgba(255, 253, 248, 0.4);
  color: var(--white);
}

.workstyle-copy > details > summary:focus-visible,
.contact-panel > details > summary:focus-visible {
  outline-color: var(--white);
}

.workstyle-copy > details > p {
  margin-top: 12px;
  color: var(--accent-soft);
  font-size: 14px;
}

.profile-card details {
  margin-top: 18px;
}

.profile-card details > summary {
  color: var(--accent);
  font-size: 13px;
}

.profile-card details > p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 15px;
}

.profile-card details .profile-tags {
  margin-top: 18px;
  padding-top: 14px;
}

.contact-panel > details {
  min-width: 0;
}

.contact-panel > details > summary {
  padding: 12px 2px;
  font-size: 16px;
}

.contact-panel > details > p {
  margin: 14px 0 18px;
  font-size: 14px;
}

.contact-panel > details .contact-form {
  padding-top: 4px;
}

@media (hover: hover) and (pointer: fine) {
  summary:hover {
    border-top-color: var(--accent);
    background: rgba(36, 84, 116, 0.055);
  }

  .workstyle-copy > details > summary:hover,
  .contact-panel > details > summary:hover {
    border-top-color: var(--white);
    background: rgba(255, 255, 255, 0.07);
  }

  .work-image:hover img {
    transform: scale(1.015);
  }

}

@media (max-width: 980px) {
  .hero {
    display: grid;
    min-height: auto;
    padding-top: 72px;
  }

  .hero::after {
    display: none;
  }

  .hero-panel,
  .hero-visual-card {
    position: static;
    width: auto;
  }

  .hero-visual-card {
    order: -1;
    width: min(100%, 620px);
    aspect-ratio: 16 / 8;
    opacity: 1;
  }

  .hero-visual-card::after {
    display: none;
  }

  .hero-panel {
    margin-top: 38px;
  }

  .section-head,
  .skill-overview,
  .workstyle-panel,
  .profile-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-head > p:last-child {
    grid-column: 1;
    max-width: 640px;
  }

  .section-visual {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .problem-grid article:nth-child(even) {
    transform: none;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) {
    grid-column: span 6;
  }

  .profile-card img {
    width: min(100%, 340px);
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: static;
    display: block;
    padding: 14px 0 0;
    overflow: hidden;
  }

  .brand {
    display: block;
    padding: 0 16px 12px;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    width: 100%;
    padding: 11px 16px 14px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  main {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.14;
    letter-spacing: -0.006em;
  }

  .title-line {
    display: inline;
  }

  h2 {
    font-size: clamp(33px, 9.5vw, 42px);
  }

  .workstyle-panel h2,
  .contact-panel h2 {
    font-size: clamp(33px, 9.5vw, 40px);
  }

  .hero {
    padding: 34px 0 56px;
  }

  .hero-visual-card {
    aspect-ratio: 4 / 3;
  }

  .hero-panel {
    margin-top: 22px;
  }

  .hero-lead {
    margin-top: 18px;
    padding-left: 14px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-bio {
    margin-top: 14px;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.85;
  }

  .skill-overview {
    gap: 18px;
    padding: 22px 0 56px;
  }

  .skill-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-visual {
    margin-bottom: 30px;
    aspect-ratio: 4 / 3;
  }

  .problems,
  .services {
    padding: 52px 0;
  }

  .problems .section-head,
  .services .section-head {
    margin-bottom: 22px;
  }

  .problems .section-visual,
  .services .section-visual {
    margin-bottom: 22px;
  }

  .problems .section-intro,
  .services .section-intro {
    display: block;
  }

  .problems .section-intro .section-head,
  .services .section-intro .section-head {
    margin-bottom: 22px;
  }

  .problems .section-intro .section-visual,
  .services .section-intro .section-visual {
    width: 100%;
    margin-bottom: 22px;
  }

  .career-table {
    min-width: 0;
    font-size: 13px;
  }

  .career-table thead {
    display: none;
  }

  .career-table,
  .career-table tbody,
  .career-table tr,
  .career-table td {
    display: block;
  }

  .career-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(21, 33, 43, 0.18);
  }

  .career-table td {
    width: auto;
    padding: 0;
    border-bottom: 0;
  }

  .career-table td + td {
    margin-top: 7px;
  }

  .career-table td:first-child,
  .career-table td:nth-child(2) {
    width: auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .problem-grid article {
    min-height: 0;
    padding-top: 0;
  }

  .problem-grid h3 {
    margin-top: 0;
  }

  summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 10px;
    min-height: 48px;
    padding: 10px 0;
  }

  .problem-grid article > details > summary {
    min-height: 104px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .problem-grid summary h3 .title-phrase {
    font-size: clamp(19px, 5.8vw, 23px);
  }

  .work-image-label {
    right: 8px;
    bottom: 8px;
    min-height: 44px;
    padding: 9px 12px;
  }

  .work-copy {
    padding-top: 14px;
  }

  .contact-panel > details {
    width: 100%;
  }

  .workstyle-panel,
  .contact-panel {
    padding: 30px 18px;
  }

  .workstyle-steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
  }

  .workstyle-steps li {
    padding: 13px 0 13px 28px;
    border-top: 1px solid rgba(255, 253, 248, 0.32);
    font-size: 15px;
  }

  .workstyle-steps li::before {
    position: absolute;
    top: 15px;
    left: 0;
    margin: 0;
  }

  .workstyle-steps li::after {
    display: none;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) {
    grid-column: 1 / -1;
  }

  .profile-card {
    gap: 32px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026-08-28 visual refinement: consistent rhythm, alignment, and print layout */
:root {
  --bg: #f5f2eb;
  --panel: #fffdf8;
  --line: #cfd3d4;
  --shadow-soft: 0 18px 50px rgba(21, 33, 43, 0.08);
}

body {
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

.site-header {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

main {
  width: min(1180px, calc(100% - 48px));
}

.title-phrase,
.step-phrase {
  white-space: normal;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(44px, 6vw, 84px);
  align-items: center;
  min-height: auto;
  padding: clamp(72px, 8vw, 108px) 0 clamp(70px, 8vw, 104px);
}

.hero::after {
  right: -18px;
  bottom: 8%;
  width: 36%;
  height: 35%;
}

.hero-panel,
.hero-visual-card {
  position: relative;
  inset: auto;
  width: auto;
}

.hero-panel {
  z-index: 2;
}

.hero-visual-card {
  z-index: 1;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}

h1 {
  max-width: 11.8em;
  font-size: clamp(44px, 4.45vw, 60px);
  letter-spacing: -0.035em;
}

.hero-lead,
.hero-bio {
  max-width: 620px;
}

.skill-overview {
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  padding-top: 34px;
}

.skill-overview-head h2 {
  max-width: 14em;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.skill-list {
  gap: 12px 22px;
}

.skill-list li {
  min-height: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.career-heading {
  margin-top: 32px;
}

.career-table th,
.career-table td {
  padding: 17px 18px;
}

.section {
  padding: clamp(88px, 9vw, 116px) 0;
}

.section-head {
  gap: 18px clamp(40px, 7vw, 88px);
  margin-bottom: 48px;
}

h2 {
  letter-spacing: -0.04em;
}

.problems .section-intro,
.services .section-intro {
  --intro-gap: clamp(36px, 5vw, 70px);
}

.problems .section-intro {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.services .section-intro {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.problems .section-visual,
.services .section-visual {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-soft);
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
}

.work-card,
.work-card:nth-child(1),
.work-card:nth-child(2) {
  display: flex;
  grid-column: auto;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 33, 43, 0.15);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(21, 33, 43, 0.055);
}

.work-image {
  aspect-ratio: 4 / 3;
  padding: clamp(16px, 2.3vw, 28px);
  border-bottom: 1px solid rgba(21, 33, 43, 0.12);
  background: #eef1f1;
}

.work-image img {
  object-fit: contain;
}

.work-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
}

.work-copy h3 {
  min-height: 4.25em;
  margin-top: 10px;
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.42;
}

.work-copy h3 .title-phrase {
  display: inline;
}

.work-result {
  min-height: 3.4em;
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
}

.work-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.work-highlights li {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 9px 8px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.work-print-brief {
  display: none;
}

.work-detail-panel {
  margin-top: 24px;
  padding: 4px 18px 10px;
  border-top: 2px solid var(--accent);
  background: #f6f7f4;
}

.work-detail-panel > p {
  margin: 14px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.work-details {
  margin-top: 8px;
}

.work-details div {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
}

.work-details dd {
  font-size: 14px;
  line-height: 1.8;
}

.workstyle-panel,
.contact-panel {
  box-shadow: 0 18px 50px rgba(21, 33, 43, 0.13);
}

.workstyle-note {
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.4);
}

.workstyle-note h3 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0;
}

.workstyle-note p {
  margin-top: 10px;
  color: var(--accent-soft);
  font-size: 14px;
}

.contact-direct {
  align-self: center;
}

.contact-email {
  margin-top: 30px !important;
}

.contact-email a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
  color: var(--white);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 64px;
  }

  .hero-visual-card {
    order: -1;
    width: min(100%, 620px);
    aspect-ratio: 16 / 9;
  }

  .hero-panel {
    margin-top: 38px;
  }

  .skill-overview,
  .workstyle-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .skill-overview-head h2 {
    max-width: 24em;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    padding-inline: 0;
  }

  main {
    width: calc(100% - 32px);
  }

  .title-phrase,
  .step-phrase {
    white-space: normal;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual-card {
    aspect-ratio: 4 / 3;
  }

  .skill-overview-head h2 {
    font-size: 22px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-copy {
    padding: 22px 20px 24px;
  }

  .work-copy h3,
  .work-result {
    min-height: 0;
  }

  .work-highlights {
    grid-template-columns: 1fr;
  }

  .work-highlights li {
    min-height: 42px;
  }

  .work-detail-panel {
    margin-top: 20px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .work-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .workstyle-panel,
  .contact-panel {
    padding: 34px 22px;
  }

  .contact-email a {
    font-size: clamp(18px, 6vw, 23px);
  }
}

@page {
  size: A4;
  margin: 10mm 11mm;
}

@media print {
  :root {
    --bg: #ffffff;
    --panel: #ffffff;
    --ink: #111820;
    --muted: #45515c;
    --line: #b9c0c5;
  }

  html,
  body {
    width: auto;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--ink);
    font-size: 8.5pt;
    line-height: 1.45;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header {
    display: none;
  }

  main {
    width: auto;
    margin: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 42mm;
    gap: 9mm;
    min-height: 0;
    padding: 0 0 7mm;
    border-bottom: 1px solid var(--line);
  }

  .hero::after,
  .hero-visual-card::after {
    display: none;
  }

  .hero-visual-card {
    order: 2;
    width: 42mm;
    height: 50mm;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .hero-panel {
    margin: 0;
  }

  .eyebrow {
    margin-bottom: 2mm;
    font-size: 6.6pt;
  }

  h1 {
    max-width: none;
    font-size: 23pt;
    line-height: 1.08;
  }

  h2 {
    max-width: none;
    font-size: 16pt;
    line-height: 1.15;
  }

  h3 {
    font-size: 11pt;
  }

  .hero-lead {
    margin-top: 3mm;
    padding-left: 3mm;
    font-size: 9pt;
    line-height: 1.55;
  }

  .hero-bio {
    margin-top: 2mm;
    padding-left: 3mm;
    font-size: 7.4pt;
    line-height: 1.5;
  }

  .skill-overview {
    grid-template-columns: 44mm minmax(0, 1fr);
    gap: 3mm 7mm;
    padding: 5mm 0 6mm;
  }

  .skill-overview-head h2 {
    font-size: 11pt;
    line-height: 1.35;
  }

  .skill-list {
    gap: 1mm 3mm;
  }

  .skill-list li {
    min-height: 0;
    padding: 1.5mm 0 1.5mm 3mm;
    font-size: 7.4pt;
  }

  .career-heading {
    margin-top: 2mm;
  }

  .career-heading h3 {
    font-size: 10pt;
  }

  .career-table {
    min-width: 0;
    font-size: 6.8pt;
    line-height: 1.35;
  }

  .career-table th,
  .career-table td {
    padding: 1.8mm 2mm;
  }

  .career-table tr {
    break-inside: avoid-page;
  }

  .section {
    padding: 6mm 0;
    border-top: 1px solid var(--line);
  }

  .section-head {
    display: block;
    margin-bottom: 3mm;
  }

  .section-head > p:last-child {
    margin-top: 2mm;
    font-size: 7.6pt;
  }

  .problems,
  .services {
    display: inline-block;
    width: 49%;
    padding: 5mm 0;
    vertical-align: top;
  }

  .services {
    margin-left: 1.3%;
  }

  .problems .section-intro,
  .services .section-intro {
    display: block;
  }

  .problems .section-intro .section-head,
  .services .section-intro .section-head {
    margin-bottom: 2mm;
  }

  .problems .section-visual,
  .services .section-visual {
    width: 100%;
    height: 25mm;
    margin: 0;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .works {
    break-before: page;
    padding-top: 0;
    border-top: 0;
  }

  .works > .section-head {
    margin-bottom: 4mm;
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4mm;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) {
    display: grid;
    grid-template-columns: 39mm minmax(0, 1fr);
    gap: 3mm;
    break-inside: avoid-page;
    border: 1px solid var(--line);
    box-shadow: none;
  }

  .work-image {
    width: 39mm;
    height: 34mm;
    padding: 2mm;
    border: 0;
    border-right: 1px solid var(--line);
    aspect-ratio: auto;
  }

  .work-copy {
    display: block;
    padding: 2.5mm 2.5mm 2.5mm 0;
  }

  .work-type {
    font-size: 6pt;
  }

  .work-copy h3 {
    min-height: 0;
    margin-top: 1mm;
    font-size: 9pt;
    line-height: 1.28;
  }

  .work-result {
    min-height: 0;
    margin-top: 1.2mm;
    font-size: 7pt;
    line-height: 1.35;
  }

  .work-highlights,
  .work-detail-panel {
    display: none;
  }

  .work-print-brief {
    display: block;
    margin-top: 1.5mm;
    color: var(--muted);
    font-size: 6.5pt;
    line-height: 1.35;
  }

  .workstyle,
  .contact {
    padding: 5mm 0 0;
  }

  .workstyle-panel,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
    padding: 4mm;
    border: 1px solid var(--accent-dark);
    background: #ffffff;
    color: var(--ink);
    box-shadow: none;
    break-inside: avoid-page;
  }

  .workstyle-panel h2,
  .contact-panel h2 {
    font-size: 13pt;
  }

  .workstyle-panel .eyebrow,
  .contact-panel .eyebrow,
  .workstyle-copy > p,
  .workstyle-note p,
  .contact-panel p,
  .contact-email a {
    color: var(--muted);
  }

  .workstyle-panel .eyebrow::before,
  .contact-panel .eyebrow::before {
    color: var(--accent);
  }

  .workstyle-steps {
    margin-top: 2mm;
    border-top-color: var(--line);
  }

  .workstyle-steps li {
    padding-top: 3mm;
    color: var(--ink);
    font-size: 6.8pt;
  }

  .workstyle-steps li::after {
    background: var(--accent);
  }

  .workstyle-note {
    margin-top: 2mm;
    padding-top: 2mm;
    border-top-color: var(--line);
  }

  .workstyle-note h3 {
    color: var(--ink);
    font-size: 8pt;
  }

  .workstyle-note p,
  .contact-direct p {
    margin-top: 1mm;
    font-size: 6.8pt;
    line-height: 1.35;
  }

  .contact-email {
    margin-top: 2mm !important;
  }

  .contact-email a {
    border-bottom-width: 1px;
    font-size: 10pt;
  }

  h1,
  h2,
  h3,
  .eyebrow {
    break-after: avoid-page;
  }

  p,
  li,
  dd {
    orphans: 2;
    widows: 2;
  }

  img,
  figure,
  .section-intro,
  .work-card,
  .workstyle-panel,
  .contact-panel,
  .work-details div {
    break-inside: avoid-page;
  }

  a[href^="mailto:"]::after {
    content: none;
  }
}

/* Case artwork crops: show the source material only, without the embedded explanation panel. */
.work-image img {
  position: absolute;
  max-width: none;
  object-fit: fill;
}

.work-card:nth-child(1) .work-image img {
  top: -7.045%;
  left: -85.690%;
  width: 190.801%;
  height: 147.955%;
}

.work-card:nth-child(2) .work-image img {
  top: -7.045%;
  left: -85.690%;
  width: 190.801%;
  height: 194.091%;
}

.work-card:nth-child(3) .work-image img {
  top: -7.045%;
  left: -85.690%;
  width: 190.801%;
  height: 142.727%;
}

.work-card:nth-child(4) .work-image img {
  top: -7.045%;
  left: -5.290%;
  width: 191.126%;
  height: 202.727%;
}

.contact-email-row {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 26px;
}

.contact-email-row .contact-email {
  margin: 0 !important;
}

.contact-qr {
  flex: 0 0 auto;
  width: 116px;
  margin: 0;
  padding: 10px;
  background: var(--white);
  color: var(--accent-dark);
}

.contact-qr img {
  width: 100%;
  aspect-ratio: 1;
}

@media (max-width: 680px) {
  .contact-email-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-qr {
    width: 128px;
  }
}

@media print {
  header.site-header {
    display: none !important;
  }

  .work-image {
    height: 29.25mm;
  }

  .contact-email-row {
    gap: 3mm;
    align-items: center;
    margin-top: 2mm;
  }

  .contact-qr {
    width: 22mm;
    padding: 1.5mm;
    border: 1px solid var(--line);
  }

}

/* 2026-08-28 final polish: quieter surfaces, cleaner rhythm, clearer hierarchy */
.problems,
.services {
  counter-increment: none;
}

.hero::after,
.hero-visual-card::after {
  display: none;
}

.hero-visual-card {
  border: 1px solid rgba(21, 33, 43, 0.08);
  box-shadow: 0 16px 42px rgba(21, 33, 43, 0.075);
}

h1 {
  letter-spacing: -0.02em;
}

h2 {
  letter-spacing: -0.025em;
}

.problems {
  padding-bottom: clamp(58px, 6vw, 76px);
}

.services {
  padding-top: clamp(42px, 4.5vw, 58px);
  border-top: 0;
}

.problems .section-visual,
.services .section-visual,
.work-card,
.workstyle-panel,
.contact-panel {
  box-shadow: none;
}

.problems .section-visual,
.services .section-visual {
  border: 1px solid rgba(21, 33, 43, 0.1);
}

.work-card,
.work-card:nth-child(1),
.work-card:nth-child(2) {
  border-color: rgba(21, 33, 43, 0.13);
}

.work-image {
  padding: 0;
  border-bottom-color: rgba(21, 33, 43, 0.1);
}

.work-image img,
.work-card:nth-child(1) .work-image img,
.work-card:nth-child(2) .work-image img,
.work-card:nth-child(3) .work-image img,
.work-card:nth-child(4) .work-image img {
  height: auto;
}

.work-highlights {
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.work-highlights li {
  min-height: 52px;
  background: transparent;
}

.work-highlights li + li {
  border-left: 1px solid var(--line);
}

.work-detail-panel {
  padding: 2px 0 0;
  border-top: 1px solid var(--accent);
  background: transparent;
}

.work-detail-panel > p {
  margin-right: 2px;
  margin-left: 2px;
}

.work-details div {
  padding-right: 2px;
  padding-left: 2px;
}

.workstyle-panel,
.contact-panel {
  border: 1px solid rgba(21, 33, 43, 0.12);
}

.contact-email-row {
  justify-content: flex-start;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: center;
}

.contact-qr {
  width: 108px;
  padding: 9px;
  border: 1px solid rgba(255, 253, 248, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .work-card {
    transition: border-color 180ms ease;
  }

  .work-card:hover {
    border-color: rgba(36, 84, 116, 0.42);
  }
}

@media (max-width: 680px) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 10px 10px 13px;
    overflow: visible;
    font-size: 10.5px;
    text-align: center;
    white-space: normal;
  }

  .site-nav a {
    display: block;
    padding: 4px 2px;
    line-height: 1.35;
  }

  .problems {
    padding-bottom: 48px;
  }

  .services {
    padding-top: 24px;
  }

  .work-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-highlights li {
    min-height: 50px;
    padding: 8px 5px;
    font-size: 10.5px;
  }

  .contact-email-row {
    gap: 18px;
    align-items: center;
    flex-direction: row;
  }

  .contact-qr {
    width: 104px;
  }
}

@media (max-width: 380px) {
  .site-nav {
    font-size: 9.5px;
  }

  .contact-email-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .problems,
  .services {
    padding: 5mm 0;
  }

  .services {
    margin-left: 1.3%;
  }

  .contact-qr {
    width: 22mm;
    padding: 1.5mm;
  }
}

/* Full-content print edition: preserve every case-study detail. */
@media print {
  .works > .section-head {
    break-after: avoid-page;
  }

  .work-grid {
    display: block;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    break-inside: auto;
    box-shadow: none;
  }

  .work-card + .work-card {
    break-before: page;
  }

  .work-image {
    width: 80mm;
    height: 60mm;
    margin: 0 0 4mm;
    padding: 0;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
  }

  .work-copy {
    display: block;
    padding: 0;
  }

  .work-type {
    font-size: 6.5pt;
  }

  .work-copy h3 {
    margin-top: 1.5mm;
    font-size: 13pt;
    line-height: 1.3;
  }

  .work-result {
    margin-top: 2mm;
    font-size: 8.5pt;
    line-height: 1.45;
  }

  .work-highlights {
    display: grid;
    margin-top: 3mm;
  }

  .work-highlights li {
    min-height: 10mm;
    padding: 1.5mm 2mm;
    font-size: 7.5pt;
  }

  .work-detail-panel {
    display: block;
    margin-top: 4mm;
    padding-top: 1mm;
  }

  .work-detail-panel > p {
    margin: 2.5mm 0 0;
    font-size: 7.5pt;
    line-height: 1.5;
  }

  .work-details {
    margin-top: 2mm;
  }

  .work-details div {
    grid-template-columns: 15mm minmax(0, 1fr);
    gap: 3mm;
    padding: 2.5mm 0;
    break-inside: avoid-page;
  }

  .work-details dt {
    font-size: 7pt;
  }

  .work-details dd {
    font-size: 7.5pt;
    line-height: 1.5;
  }

  .work-print-brief {
    display: none;
  }

  .workstyle {
    break-before: page;
  }
}


/* Career highlights: summary before the detailed career table. */
.career-intro {
  grid-column: 1 / -1;
  max-width: 72em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.career-highlights {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.career-highlight {
  min-width: 0;
  padding: 22px clamp(18px, 2.1vw, 30px) 24px 0;
}

.career-highlight + .career-highlight {
  padding-left: clamp(18px, 2.1vw, 30px);
  border-left: 1px solid var(--line);
}

.career-highlight h4,
.career-highlight h5 {
  margin: 0;
  color: var(--ink);
}

.career-highlight h4 {
  min-height: 4.8em;
  font-size: 15px;
  line-height: 1.55;
}

.career-highlight h4 span {
  display: block;
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.career-highlight > p,
.career-client p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.82;
}

.career-highlight strong {
  color: var(--ink);
  font-weight: 750;
}

.career-client + .career-client {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid rgba(21, 33, 43, 0.18);
}

.career-client h5 {
  font-size: 13px;
  line-height: 1.65;
}

.career-client p {
  margin-top: 7px;
  font-size: 13px;
}

.career-highlights + .career-table-wrap {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .career-highlights {
    grid-template-columns: 1fr;
  }

  .career-highlight,
  .career-highlight + .career-highlight {
    padding: 19px 0 21px;
    border-left: 0;
  }

  .career-highlight + .career-highlight {
    border-top: 1px solid var(--line);
  }

  .career-highlight h4 {
    min-height: 0;
  }
}

@media print {
  .career-intro {
    font-size: 7.2pt;
    line-height: 1.45;
  }

  .career-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    break-inside: avoid-page;
  }

  .career-highlight,
  .career-highlight + .career-highlight {
    padding: 2.2mm 2.4mm 2.4mm 0;
    border-top: 0;
  }

  .career-highlight + .career-highlight {
    padding-left: 2.4mm;
    border-left: 1px solid var(--line);
  }

  .career-highlight h4 {
    min-height: 9mm;
    font-size: 7.4pt;
    line-height: 1.35;
  }

  .career-highlight h4 span {
    margin-top: 0.7mm;
    font-size: 6.2pt;
  }

  .career-highlight > p,
  .career-client p {
    margin-top: 1.4mm;
    font-size: 6.4pt;
    line-height: 1.4;
  }

  .career-client + .career-client {
    margin-top: 1.5mm;
    padding-top: 1.5mm;
  }

  .career-client h5 {
    font-size: 6.7pt;
    line-height: 1.35;
  }

  .career-client p {
    margin-top: 0.7mm;
  }

  .career-highlights + .career-table-wrap {
    margin-top: 1.5mm;
  }
}


/* Mobile portrait framing: screen only, print framing remains unchanged. */
@media screen and (max-width: 680px) {
  .hero-visual-card {
    aspect-ratio: 3 / 4;
  }

  .hero-visual-card img {
    object-position: 50% 42%;
  }
}


/* 2026-09-09: natural heading wraps and compact mobile contact/portrait. */
@media screen {
  .screen-phrase {
    display: inline-block;
    white-space: nowrap;
  }
}

@media screen and (max-width: 680px) {
  #hero-title .title-line {
    display: block;
  }

  .hero-visual-card {
    width: min(70%, 240px);
    justify-self: center;
  }

  .hero-panel {
    margin-top: 24px;
  }

  .contact-email-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-email-row .contact-email {
    width: 100%;
  }

  .contact-email a {
    white-space: nowrap;
  }
}

/* 2026-09-11 pricing and comparison */
.plan-link { display: inline-block; margin-top: 16px; padding: 9px 0; border-bottom: 1px solid currentColor; color: var(--accent-dark); font-weight: 700; font-size: 14px; line-height: 1.6; }
section[id] { scroll-margin-top: 100px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pricing-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.plan-number { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.pricing-card h3 { min-height: 3em; margin-top: 12px; font-size: 20px; line-height: 1.5; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 18px; color: var(--accent-dark); }
.plan-price strong { font-size: clamp(32px,3.1vw,44px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.plan-unit { font-size: 15px; }
.plan-terms { color: var(--muted); font-size: 12px; margin-top: 8px; }
.plan-description { flex: 1; font-size: 14px; margin-top: 22px; }
.pricing-card .plan-link { align-self: flex-start; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.comparison-header,.comparison-row { display: grid; grid-template-columns: 1fr 1.4fr 1.8fr; gap: 28px; padding: 24px; }
.comparison-header { padding-block: 14px; color: var(--accent-dark); background: var(--accent-pale); font-size: 13px; font-weight: 700; }
.comparison-row { border-bottom: 1px solid var(--line); }
.comparison-row h3 { font-size: 17px; line-height: 1.7; }
.comparison-row p { font-size: 14px; }
.comparison-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.comparison-position { padding: 22px 0 0 20px; border-left: 3px solid var(--accent); margin-top: 28px; color: var(--accent-dark); font-weight: 600; }
.contact-entry { margin-top: 20px; font-weight: 700; }
.contact-site { margin-top: 16px; font-size: 13px; }
@media screen and (max-width: 980px) {
 .pricing-grid { grid-template-columns: 1fr; }
 .pricing-card h3 { min-height: 0; }
 .plan-price strong { font-size: 38px; }
}
@media screen and (max-width: 680px) {
 .pricing-card { padding: 24px; }
 .comparison-header { display: none; }
 .comparison-row { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
 .comparison-label { position: static; width: auto; height: auto; clip-path: none; margin: 0 0 5px; font-size: 12px; color: var(--accent); }
 .comparison-position { padding: 0 0 0 16px; font-size: 14px; }
}
/* Readable full-content A4 edition, background graphics optional. */
@media print {
 * { print-color-adjust: economy; -webkit-print-color-adjust: economy; }
 body { overflow: visible; }
 .eyebrow,.work-type,.career-highlight h4 span { font-size: 7pt; }
 .hero-bio,.skill-list li,.career-intro,.career-highlight > p,.career-client p,.career-table,.section-head > p:last-child,.work-detail-panel > p,.work-details dd,.workstyle-note p,.contact-direct p,.workstyle-steps li { font-size: 8.5pt; line-height: 1.5; }
 .career-highlight h4,.career-client h5 { font-size: 8.5pt; }
 .pricing-note,.plan-description,.comparison-row p,.comparison-position { font-size: 8.5pt; line-height: 1.5; }
 .skill-overview { display: block; padding: 5mm 0; break-before: page; }
 .skill-overview-head { margin-bottom: 3mm; }
 .skill-list { display: grid; grid-template-columns: repeat(3,1fr); }
 .career-heading { margin-top: 4mm; }
 .career-highlights { margin-top: 3mm; }
 .career-table { table-layout: fixed; }
 .career-table th,.career-table td { overflow-wrap: anywhere; }
 .problems,.services { padding: 4mm 0; }
 .pricing { break-before: page; }
 .pricing-grid { gap: 3mm; }
 .pricing-card { padding: 4mm; background: white; break-inside: avoid; }
 .plan-number,.plan-terms { font-size: 7pt; }
 .pricing-card h3 { font-size: 11pt; min-height: 3em; margin-top: 2mm; }
 .plan-price { margin-top: 3mm; gap: 1mm; }
 .plan-price strong { font-size: 23pt; }
 .plan-unit { font-size: 8.5pt; }
 .plan-description { margin-top: 3mm; }
 .pricing-card .plan-link { font-size: 8.5pt; margin-top: 3mm; padding: 1mm 0; }
 .pricing-note { margin-top: 3mm; }
 .comparison { break-before: page; }
 .comparison-header,.comparison-row { gap: 4mm; padding: 4mm 2mm; grid-template-columns: 1fr 1.4fr 1.8fr; }
 .comparison-row { break-inside: avoid; }
 .comparison-header { border-block: 1px solid var(--line); font-size: 8.5pt; }
 .comparison-row h3 { font-size: 10pt; }
 .comparison-position { margin-top: 5mm; padding: 3mm; }
 .work-image { width: 100mm; height: 75mm; }
 .work-copy h3 { font-size: 16pt; }
 .work-details dt { font-size: 8.5pt; }
 .work-details div { padding: 4mm 0; }
 .workstyle-panel h2,.contact-panel h2 { font-size: 16pt; }
 .workstyle-panel,.contact-panel { padding: 7mm; gap: 7mm; }
 .workstyle-note h3 { font-size: 9pt; }
 .contact-site { font-size: 8.5pt; }
 .contact-qr { width: 26mm; padding: 2mm; background: white; }
 .contact-email-row { flex-direction: row; }
}
@media screen and (min-width:681px) and (max-width:980px) {
 .career-table { min-width: 0; table-layout: fixed; }
 .career-table th,.career-table td { padding: 12px 10px; overflow-wrap: anywhere; }
}
@media print {
 .skill-overview { break-before: auto; padding: 3mm 0; }
 .hero { padding-bottom: 3mm; }
 .career-table th:first-child { width: 24%; }
 .career-table th:nth-child(2) { width: 35%; }
 .career-table th:nth-child(3) { width: 41%; }
 .career-table th,.career-table td { padding: 1.5mm 2mm; }
 .problems { break-before: page; }
 .problems,.services { padding: 3mm 0; }
 .pricing,.comparison { break-before: auto; padding: 4mm 0; }
 .pricing-card { padding: 3mm; }
 .pricing-card h3 { min-height: 0; font-size: 10pt; }
 .plan-price { margin-top: 2mm; }
 .plan-description { margin-top: 2mm; }
 .comparison-header,.comparison-row { padding: 2.5mm 2mm; }
 .comparison-position { margin-top: 3mm; padding: 2mm; }
 .work-details dd,.work-detail-panel > p,.work-result { font-size: 10pt; line-height: 1.65; }
 .work-details div { padding: 5mm 0; }
}

/* Owner review r3: quiet pricing tiles integrated with the page. */
@media screen {
 .pricing-card { background: transparent; border-color: var(--line); color: var(--ink); }
 .pricing-card h3 { color: var(--ink); }
 .pricing-card .plan-price,.pricing-card .plan-number { color: var(--accent-dark); }
 .pricing-card .plan-terms,.pricing-card .plan-description { color: var(--muted); }
}
@media print {
 .work-image { width: 120mm; height: 90mm; }
 .work-details dd,.work-detail-panel > p,.work-result { font-size: 11pt; line-height: 1.65; }
 .workstyle-panel,.contact-panel { padding: 10mm; }
 .workstyle-copy > p,.workstyle-note p,.contact-direct p,.contact-panel > div > p:not(.eyebrow),.workstyle-steps li { font-size: 10pt; line-height: 1.6; }
 .workstyle-panel h2,.contact-panel h2 { font-size: 18pt; }
}
@media print {
 .workstyle-steps li { font-size: 8.5pt; }
 .workstyle-steps .step-phrase { display: block; white-space: nowrap; }
}

/* Owner review r4: separate plans with space and typography only. */
.pricing-card { border: 0; background: transparent; }

/* Owner review r5: understated budget guide after the comparison. */
.pricing .section-head { display: block; margin-bottom: 16px; }
.pricing .section-head .eyebrow { display: none; }
.pricing .section-head h2 { font-size: 22px; line-height: 1.5; }
.pricing .section-head > p:last-child { max-width: none; margin-top: 12px; font-size: 14px; }
.pricing-grid { gap: 24px; }
.pricing-card { padding: 0; }
.pricing-card h3 { min-height: 0; margin-top: 0; font-size: 16px; line-height: 1.5; }
.plan-price { margin-top: 8px; }
.plan-price strong { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.plan-unit { font-size: 14px; }
.plan-description { flex: initial; margin-top: 10px; font-size: 14px; line-height: 1.75; }
@media print {
 .pricing .section-head { margin-bottom: 3mm; }
 .pricing .section-head h2 { font-size: 11pt; }
 .pricing .section-head > p:last-child { margin-top: 2mm; font-size: 8.5pt; }
 .pricing-grid { gap: 5mm; }
 .pricing-card { padding: 0; }
 .pricing-card h3 { font-size: 9pt; }
 .plan-price { margin-top: 2mm; }
 .plan-price strong { font-size: 10pt; }
 .plan-unit,.plan-description { font-size: 8.5pt; }
 .plan-description { margin-top: 2mm; }
}

@media screen {
 .pricing { padding-block: 32px; }
 .pricing .plan-terms { margin-top: 6px; }
 .pricing-note { margin-top: 16px; }
}

/* Owner review r6: comparison removed, four navigation items. */
@media screen and (max-width:680px) {
 .site-nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* Owner review r7: purchasing-based Amazon sales option. */
.purchase-support {
  padding-top: clamp(54px, 7vw, 88px);
}

.purchase-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  padding: clamp(34px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purchase-panel .section-head {
  display: block;
  margin-bottom: 0;
}

.purchase-panel .section-head h2 {
  max-width: 11.5em;
  font-size: clamp(28px, 3.2vw, 43px);
}

.purchase-panel .section-head > p:last-child {
  max-width: 30em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.purchase-copy > p {
  color: #354655;
  font-size: 16px;
  line-height: 1.9;
}

.purchase-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.purchase-points article {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.purchase-points h3 {
  font-size: 16px;
  line-height: 1.55;
}

.purchase-points p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

@media screen and (max-width:980px) {
  .purchase-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .purchase-panel .section-head h2 {
    max-width: none;
  }
}

@media screen and (max-width:680px) {
  .purchase-support {
    padding-top: 56px;
  }

  .purchase-panel {
    padding: 30px 0;
  }

  .purchase-points {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }
}

@media print {
  .purchase-support {
    padding: 4mm 0;
  }

  .purchase-panel {
    display: block;
    padding: 4mm 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    break-inside: avoid-page;
  }

  .purchase-panel .section-head {
    margin-bottom: 2mm;
  }

  .purchase-panel .section-head h2 {
    font-size: 11pt;
  }

  .purchase-panel .section-head > p:last-child,
  .purchase-copy > p,
  .purchase-points p {
    font-size: 8.5pt;
    line-height: 1.5;
  }

  .purchase-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4mm;
    margin-top: 3mm;
  }

  .purchase-points article {
    break-inside: avoid;
    padding-top: 2mm;
  }

  .purchase-points h3 {
    font-size: 9pt;
  }
}

/* r9: rely on section dividers around Purchase & Sales to avoid doubled rules. */
.purchase-panel {
  border-top: 0;
  border-bottom: 0;
}

@media print {
  .purchase-panel {
    border-top: 0;
    border-bottom: 0;
  }
}

/* r8: narrow heading wraps and tablet portrait framing only. */
@media screen and (max-width:380px) {
 .purchase-panel .section-head h2 { font-size: clamp(24px,7vw,28px); }
}
@media screen and (min-width:681px) and (max-width:980px) {
 .hero-visual-card { width: min(100%,360px); aspect-ratio: 3 / 4; justify-self: center; }
 .hero-visual-card img { object-position: 50% 42%; }
}

/* r13: panels already frame these sections; keep only necessary inner dividers. */
.workstyle,
.contact {
  border-top: 0;
}

@media screen {
  .workstyle {
    padding-top: clamp(58px, 7vw, 92px);
    padding-bottom: clamp(54px, 6vw, 76px);
  }

  .contact {
    padding-top: clamp(54px, 6vw, 76px);
  }
}

.workstyle-steps,
.workstyle-note,
.contact-form .contact-kicker,
.contact-qr {
  border-color: rgba(255, 253, 248, 0.36);
}

.work-detail-panel {
  border-top: 0;
}

.work-details div {
  border-top: 0;
}

.work-details div + div {
  border-top: 1px solid var(--line);
}

.contact-email a {
  padding-bottom: 0;
  border-bottom: 0;
}

@media print {
  .workstyle,
  .contact,
  .work-detail-panel,
  .work-details div {
    border-top: 0;
  }

  .work-details div + div {
    border-top: 1px solid var(--line);
  }
}
