/* OSwrite medical-content LP
   Hero photo: Fa Barboza / Unsplash / https://unsplash.com/photos/Lf3S2zRXKXk
   Design basis: approved ChatGPT Sites layout + project specifications.
*/
:root {
  --green-950: #102d24;
  --green-900: #173b30;
  --green-800: #205343;
  --green-700: #2d6654;
  --green-500: #76947d;
  --sage-300: #cdd8c9;
  --sage-200: #dfe7db;
  --sage-100: #eef2ec;
  --paper: #f7f8f5;
  --white: #ffffff;
  --ink: #1e2d27;
  --body: #5c6963;
  --border: #d8ded8;
  --accent: #dce9aa;
  --shadow: 0 10px 30px rgba(21, 54, 44, 0.08);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 10px; top: -80px; z-index: 1000;
  background: var(--white); padding: 10px 16px; border: 1px solid var(--green-800);
}
.skip-link:focus { top: 10px; }

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(23,59,48,.08);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 84px;
  width: min(calc(100% - 64px), 1260px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; width: 178px; }
.brand img { display: block; width: 100%; }
.global-nav { display: flex; justify-content: flex-end; gap: 36px; }
.global-nav a {
  text-decoration: none; font-size: 15px; font-weight: 700; color: #223a31;
}
.global-nav a:hover, .global-nav a:focus-visible { color: var(--green-700); }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px;
  min-height: 54px; padding: 14px 26px;
  border-radius: 5px; border: 1px solid transparent;
  text-decoration: none; font-weight: 750; line-height: 1.3;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(118,148,125,.45);
  outline-offset: 3px;
}
.button-header { color: var(--white); background: var(--green-800); white-space: nowrap; min-height: 52px; }
.button-primary { color: var(--white); background: var(--green-800); min-width: 290px; }
.button-accent { color: var(--green-950); background: var(--accent); min-width: 315px; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.75); background: rgba(16,45,36,.15); min-width: 315px; }
.button-submit { width: 100%; color: var(--green-950); background: var(--sage-200); border: 0; font-weight: 800; }

/* Hero */
.hero {
  position: relative;
  min-height: 690px;
  color: var(--white);
  background-image: url("https://images.unsplash.com/photo-1610050731821-f58da5e8abc6?auto=format&fit=crop&w=2400&q=86");
  background-size: cover;
  background-position: center 54%;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,31,24,.93) 0%, rgba(9,37,29,.84) 37%, rgba(9,37,29,.40) 70%, rgba(9,37,29,.22) 100%),
    linear-gradient(180deg, rgba(8,28,22,.22) 0%, rgba(8,28,22,.40) 100%);
}
.hero-inner { position: relative; z-index: 1; min-height: 690px; display: flex; align-items: center; padding-block: 62px; }
.hero-copy { width: min(760px, 72%); }
.hero-kicker {
  margin: 0 0 24px; padding-left: 16px; border-left: 4px solid var(--accent);
  font-size: 16px; font-weight: 750;
}
.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.35; letter-spacing: .015em;
}
.hero-role { margin: 0 0 6px; font-weight: 750; font-size: 18px; }
.hero-name { margin: 0 0 28px; font-weight: 750; font-size: 25px; }
.hero-stats {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr;
  width: min(760px, 100%);
  background: rgba(255,255,255,.96);
  color: var(--green-900);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 20px 26px; }
.stat + .stat { border-left: 1px solid #d7ded8; }
.stat-label { display: block; font-size: 14px; font-weight: 750; margin-bottom: 2px; }
.stat-number { display: block; font-size: 52px; line-height: 1.15; font-weight: 760; letter-spacing: -.02em; }
.stat-number small { font-size: 14px; letter-spacing: .02em; margin-left: 5px; }
.hero-fields { margin: 18px 0 24px; color: rgba(255,255,255,.9); font-size: 15px; }
.hero-fields span { margin-inline: 10px; opacity: .7; }
.hero-actions { display: flex; gap: 14px; }

.hero-summary { padding: 36px 0 40px; border-bottom: 1px solid var(--border); }
.summary-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.summary-grid p { margin: 0; color: #53645c; font-size: 16px; }
.summary-grid strong { color: var(--green-900); }

/* General sections */
.section { padding: 94px 0; }
.section-muted { background: var(--paper); }
.section-reasons { padding-top: 82px; }
.section-flow { background: #f1f4ef; }
.section-heading { margin-bottom: 48px; }
.split-heading { display: grid; grid-template-columns: .95fr 1.05fr; gap: 82px; align-items: start; }
.section-index {
  margin: 0 0 28px; color: var(--green-800);
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
}
.section-index span { margin-left: 14px; padding-left: 14px; border-left: 1px solid #aebdb4; letter-spacing: .02em; }
.section-index.compact { margin-bottom: 22px; }
.section-heading h2, .profile-copy h2, .contact-copy h2 {
  margin: 0; font-size: clamp(34px, 3.25vw, 50px); line-height: 1.45; letter-spacing: .01em;
}
.section-lead p { margin: 0 0 16px; color: #52615a; }
.eyebrow-en { margin: 14px 0 0; color: #839188; font-size: 12px; letter-spacing: .22em; }
.heading-description { margin: 24px 0 0; color: #5c6862; }

/* Works */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card {
  background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--green-800);
  border-radius: var(--radius); padding: 27px 28px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.01);
}
.work-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.tag {
  display: inline-flex; background: #edf2e7; color: var(--green-800);
  padding: 4px 12px; border-radius: 3px; font-size: 12px; font-weight: 800;
}
.case-no { color: #8b9790; font-size: 12px; letter-spacing: .13em; }
.work-client { margin: 0 0 6px; color: #68746d; font-size: 14px; }
.work-card h3 { margin: 0 0 14px; font-size: 21px; line-height: 1.55; }
.work-card > p:not(.work-client):not(.work-scope) { color: #59665f; margin: 0 0 22px; }
.work-scope {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin: 0; padding: 13px 16px; background: #f4f5f2; border-radius: 4px; color: #59665f; font-size: 13px;
}
.work-scope strong { color: var(--green-800); padding-right: 12px; border-right: 1px solid #ccd4cd; }
.public-work {
  display: grid; grid-template-columns: .8fr 1.5fr; gap: 64px;
  margin-top: 28px; padding: 34px 38px;
  border: 1px solid #cad6c1; border-left: 5px solid var(--green-800);
  border-radius: var(--radius); background: #edf3e8;
}
.public-label { color: var(--green-800); font-size: 13px; font-weight: 800; }
.public-label span { margin-left: 13px; padding-left: 13px; border-left: 1px solid #aabda9; color: #657a6d; }
.public-work h3 { margin: 14px 0 12px; font-size: 26px; line-height: 1.5; }
.public-work-title > p:last-child { margin-bottom: 0; color: #617068; }
.public-work-body { align-self: center; }
.public-work-body p { color: #4e5d55; }
.text-link { display: inline-flex; gap: 12px; font-weight: 800; color: var(--green-800); text-underline-offset: 5px; }
.works-note { margin-top: 18px; color: #6b7770; font-size: 12px; }
.works-note p { margin: 5px 0; }

.portfolio-more { margin-top: 18px !important; font-size: 14px; }
.external-label {
  display: inline-flex;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid #c8d2ca;
  border-radius: 3px;
  color: #718078;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-item { padding-top: 20px; border-top: 1px solid #b7c8b8; }
.service-no { color: #758b7d; font-size: 13px; }
.service-item h3 { min-height: 82px; margin: 22px 0 12px; font-size: 20px; line-height: 1.55; }
.service-item p { color: #68736d; margin: 0; font-size: 14px; }

.service-item-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
  padding: 24px 28px 26px;
  border: 1px solid #cfdbcf;
  border-top: 3px solid var(--green-800);
  border-radius: var(--radius);
  background: #f5f8f2;
}
.service-item-wide h3 { min-height: 0; margin-bottom: 0; }
.service-item-wide p { margin: 0 0 14px; }
.center-cta { display: flex; justify-content: center; margin-top: 55px; }

/* Reasons */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.reason { border-top: 1px solid #b6c6b6; padding-top: 24px; }
.reason-label { margin: 0 0 20px; color: var(--green-800); font-size: 13px; font-weight: 800; }
.reason h3 { margin: 0 0 16px; font-size: 18px; font-weight: 750; line-height: 1.7; }
.reason h3 strong { font-size: 42px; font-weight: 500; color: var(--green-800); margin-inline: 4px; }
.reason h3 small { font-size: 15px; font-weight: 650; }
.reason p:last-child { color: #66736c; font-size: 14px; margin-bottom: 0; }

/* Flow */
.flow-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 52px;
}
.flow-grid li { position: relative; border-top: 1px solid #b4c4b4; padding-top: 40px; }
.flow-no {
  position: absolute; top: -26px; left: 0;
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-800); color: var(--white); font-size: 15px;
}
.flow-grid h3 { margin: 0 0 10px; font-size: 22px; }
.flow-grid p { color: #626f68; margin: 0; font-size: 14px; }

/* Editing */
.editing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 74px; }
.editing-grid article + article { border-left: 1px solid var(--border); padding-left: 48px; }
.line-icon { color: var(--green-800); font-size: 38px; line-height: 1; }
.editing-grid h3 { font-size: 22px; line-height: 1.55; margin: 18px 0 15px; }
.editing-grid p { color: #616f68; }
.editing-list ul { list-style: none; margin: 24px 0 0; padding: 0; }
.editing-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid #e2e5e2; color: #53615a; }
.editing-list li::before { content: "✓"; position: absolute; left: 0; color: #638a6b; font-weight: 900; }
.scale-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 38px;
}
.scale-card h3 { margin: 0; font-size: 27px; line-height: 1.65; }
.scale-card p { margin-top: 0; color: #59665f; }

/* Compliance */
.section-compliance {
  background: var(--green-950);
  color: var(--white);
}
.section-compliance .section-index { color: var(--accent); }
.section-compliance .section-index span { border-left-color: rgba(255,255,255,.28); }
.section-compliance .section-lead p { color: rgba(255,255,255,.76); }
.section-compliance .section-lead strong { color: var(--white); }
.compliance-heading { margin-bottom: 46px; }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.compliance-card {
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}
.compliance-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.compliance-card h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.55;
}
.compliance-card p:last-child {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.credentials-bar {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 8px;
  background: var(--sage-100);
  color: var(--green-950);
}
.credentials-label {
  margin: 0 0 7px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
}
.credentials-list { margin: 0; font-size: 16px; }
.credentials-list span { margin-inline: 9px; color: #86968d; }
.credentials-bar > p { margin: 0; color: #52635b; font-size: 13px; }
.compliance-note {
  margin: 18px 0 0;
  color: rgba(255,255,255,.56);
  font-size: 11px;
}

/* Profile */
.section-profile { padding-block: 86px; background: #fafbf9; }
.profile-grid { display: grid; grid-template-columns: 310px 1fr; gap: 72px; align-items: center; }
.profile-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 405px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef2ec;
}
.profile-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(1%);
  filter: drop-shadow(0 8px 14px rgba(16, 45, 36, 0.08));
}
.profile-copy h2 { margin-bottom: 8px; }
.profile-role { font-weight: 800; color: #283e35; margin: 0 0 22px; }
.profile-copy > p:not(.section-index):not(.profile-role):not(.profile-stats) { color: #59675f; }
.profile-stats {
  margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--border);
  color: var(--green-800); font-weight: 800;
}


/* Download resources */
.section-resources {
  background: #f3f6f1;
}
.resources-heading {
  max-width: 850px;
}
.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px 30px 28px;
  border: 1px solid #d2ddd2;
  border-radius: var(--radius);
  background: var(--white);
}
.resource-card-featured {
  border-top: 3px solid var(--green-800);
}
.resource-card-brochure {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: center;
  background: #fafbf9;
}
.resource-card-brochure .resource-topline {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}
.resource-card-brochure h3 {
  margin-bottom: 0;
}
.resource-card-brochure > p {
  margin: 0;
}
.resource-card-brochure .resource-actions {
  grid-column: 2;
}
.resource-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
}
.resource-label {
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
}
.resource-pages {
  color: #77857d;
  font-size: 11px;
}
.resource-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.55;
}
.resource-card > p {
  margin: 0 0 26px;
  color: #5e6c65;
  font-size: 14px;
}
.resource-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}
.button-resource-primary {
  min-height: 48px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--green-800);
}
.button-resource-secondary {
  min-height: 48px;
  padding: 12px 20px;
  color: var(--green-950);
  background: #e4eadf;
  border-color: #d2dccd;
}
.resource-view {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.resources-note {
  margin: 20px 0 0;
  color: #718078;
  font-size: 11px;
}

/* Contact */
.contact-section { padding: 86px 0; background: var(--green-800); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.section-index.inverse { color: var(--accent); }
.section-index.inverse span { border-left-color: rgba(255,255,255,.35); }
.contact-copy h2 { margin-bottom: 30px; }
.contact-copy > p { color: rgba(255,255,255,.78); }
.contact-fallback { margin-top: 30px; font-size: 13px; }
.contact-fallback a { color: var(--white); text-underline-offset: 4px; }
.contact-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 34px; }
.contact-form label { display: block; margin-bottom: 19px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-weight: 800; font-size: 14px; }
.contact-form em { font-style: normal; font-size: 11px; color: #6d826f; background: #edf2e7; border-radius: 3px; padding: 2px 7px; margin-left: 7px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; border: 1px solid #cad2cc; border-radius: 5px; padding: 13px 14px;
  color: var(--ink); background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.privacy-check { display: flex !important; align-items: flex-start; gap: 10px; }
.privacy-check input { width: 20px; height: 20px; margin-top: 4px; }
.privacy-check span { font-weight: 500 !important; }
.form-note {
  margin: 8px 0 20px; padding: 12px 14px; background: #f3f4f1; border-left: 2px solid #a5b79c;
  color: #6c756f; font-size: 12px;
}
.form-status { min-height: 1.5em; margin: 13px 0 0; color: var(--green-700); font-size: 13px; }

/* Footer */
.site-footer { padding: 30px 0 95px; background: #0f2d24; color: rgba(255,255,255,.6); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { width: 150px; filter: brightness(0) invert(1); opacity: .82; }
.footer-brand img { display: block; }
.site-footer p { margin: 0; font-size: 12px; }
.mobile-sticky-cta { display: none; }


/* v1.5 responsive line-break helpers */
.sp-break { display: none; }
.pc-break { display: inline; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 170px 1fr auto; gap: 16px; }
  .global-nav { display: none; }
  .hero-copy { width: 88%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-item-wide { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }
  .compliance-card:last-child { grid-column: 1 / -1; }
  .credentials-bar { grid-template-columns: 1fr; gap: 14px; }
  .reason-grid { grid-template-columns: 1fr 1fr 1fr; }
  .profile-grid { grid-template-columns: 280px 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  body { line-height: 1.88; padding-bottom: 64px; }
  .container, .header-inner { width: min(calc(100% - 40px), var(--container)); }
  .site-header { position: sticky; }
  .header-inner { min-height: 64px; grid-template-columns: 132px 1fr; }
  .brand { width: 126px; }
  .button-header { min-height: 42px; padding: 10px 14px; font-size: 12px; justify-self: end; }
  .button-header span { display: none; }

  /* SP hero: remove ambiguous stock-photo crop and let copy/data lead. */
  .hero {
    min-height: auto;
    background-image: none;
    background:
      linear-gradient(
        155deg,
        #102d24 0%,
        #173b30 58%,
        #205343 100%
      );
  }
  .hero-overlay {
    background:
      radial-gradient(
        circle at 85% 12%,
        rgba(220, 233, 170, 0.10),
        transparent 34%
      );
  }
  .hero-inner { min-height: 0; padding-block: 48px 52px; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-kicker { font-size: 12px; margin-bottom: 18px; }
  .hero h1 {
    font-size: 36px;
    line-height: 1.38;
    letter-spacing: .01em;
    margin-bottom: 24px;
    text-wrap: balance;
    line-break: strict;
    word-break: normal;
  }
  .hero-role { font-size: 15px; }
  .hero-name { font-size: 22px; margin-bottom: 22px; }
  .hero-stats { grid-template-columns: 1fr; width: min(100%, 430px); }
  .stat { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 12px 17px; }
  .stat + .stat { border-left: 0; border-top: 1px solid #d7ded8; }
  .stat-label { margin: 0; align-self: center; }
  .stat-number { font-size: 38px; }
  .hero-fields { font-size: 13px; line-height: 2; }
  .hero-fields span { margin-inline: 5px; }
  .hero-actions { flex-direction: column; }
  .button-ghost, .button-accent { width: 100%; min-width: 0; }

  .hero-summary { padding: 28px 0; }
  .summary-grid { grid-template-columns: 1fr; gap: 16px; }
  .summary-grid p { font-size: 14px; }

  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 36px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-index { margin-bottom: 20px; }
  .section-heading h2,
  .profile-copy h2,
  .contact-copy h2 {
    font-size: 28px;
    line-height: 1.48;
    letter-spacing: .005em;
    text-wrap: balance;
    line-break: strict;
    word-break: normal;
  }
  .section-lead p,
  .service-item p,
  .editing-grid p,
  .compliance-card p:last-child {
    line-height: 1.9;
  }
  .section-lead p { font-size: 14px; }

  .sp-break { display: inline; }
  .pc-break { display: none; }

  .work-card h3,
  .service-item h3,
  .editing-grid h3,
  .compliance-card h3 {
    text-wrap: balance;
    line-break: strict;
    word-break: normal;
  }

  .works-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { padding: 23px 20px 20px; }
  .work-card h3 { font-size: 19px; line-height: 1.55; }
  .work-client { font-size: 13px; }
  .work-card > p:not(.work-client):not(.work-scope) { line-height: 1.85; }
  .public-work { grid-template-columns: 1fr; gap: 22px; padding: 28px 23px; }
  .public-work h3 { font-size: 24px; }

  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-item-wide { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card:last-child { grid-column: auto; }
  .credentials-bar { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .credentials-list span { margin-inline: 5px; }
  .compliance-heading { gap: 22px; }
  .service-item h3 { min-height: 0; margin-top: 14px; }
  .center-cta { margin-top: 38px; }
  .button-primary { min-width: 0; width: 100%; }

  .reason-grid { grid-template-columns: 1fr; gap: 28px; }
  .reason h3 { font-size: 18px; }

  .flow-grid { grid-template-columns: 1fr; gap: 0; border-left: 1px solid #b4c4b4; margin-left: 24px; }
  .flow-grid li { border-top: 0; padding: 0 0 36px 44px; }
  .flow-no { top: -3px; left: -25px; width: 50px; height: 50px; }
  .flow-grid h3 { margin-top: 4px; }

  .editing-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
  .editing-grid article + article { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 30px; }
  .scale-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .scale-card h3 { font-size: 24px; }

  .section-profile { padding-block: 64px; }
  .profile-grid { grid-template-columns: 1fr; gap: 30px; }
  .profile-photo-wrap {
    width: min(82vw, 330px);
    min-height: 410px;
    margin-inline: auto;
  }
  .profile-photo {
    width: 108%;
  }

  .resources-grid { grid-template-columns: 1fr; gap: 18px; }
  .resource-card {
    min-height: 0;
    padding: 24px 20px 22px;
  }
  .resource-card-brochure {
    grid-column: auto;
    display: flex;
    gap: 0;
  }
  .resource-card-brochure .resource-topline,
  .resource-card-brochure .resource-actions {
    grid-column: auto;
  }
  .resource-card h3 {
    font-size: 21px;
    line-height: 1.55;
    text-wrap: balance;
  }
  .resource-topline {
    margin-bottom: 18px;
  }
  .resource-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .button-resource-primary,
  .button-resource-secondary {
    width: 100%;
  }
  .resource-view {
    justify-content: center;
    min-height: 38px;
  }
  .resources-note {
    line-height: 1.75;
  }

  .contact-section { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-form { padding: 24px 20px; }

  .footer-inner { align-items: flex-start; gap: 22px; flex-direction: column; }
  .site-footer { padding-bottom: 42px; }

  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    z-index: 90;
    left: 16px;
    right: 16px;
    bottom: 10px;
    min-height: 48px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--green-950);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 7px 24px rgba(9,37,29,.24);
    transition: opacity .2s ease, transform .2s ease;
  }
  body.hero-visible .mobile-sticky-cta,
  body.suppress-sticky-cta .mobile-sticky-cta,
  body.contact-visible .mobile-sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 34px; }
}

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


/* Google Apps Script contact form helpers */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-receiver {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.button-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}
.form-status.is-success { color: #2f684d; font-weight: 700; }
.form-status.is-error { color: #9f3f3f; font-weight: 700; }
