:root {
  --bg: #dfefff;
  --surface: rgba(247, 251, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #edf6ff;
  --text: #222222;
  --muted: #5f6874;
  --line: #d8e6f5;
  --accent: #63aef2;
  --accent-dark: #3d8fda;
  --shadow: 0 18px 40px rgba(33, 62, 92, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(180deg, #eaf5ff 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(100%, 1480px);
  min-height: 100vh;
  margin: 0 auto;
  background: rgba(245, 250, 255, 0.84);
  border-top: 10px solid #202020;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 42px;
  border-bottom: 1px solid var(--line);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand {
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.lang-link.active,
.lang-link:hover {
  background: rgba(99, 174, 242, 0.13);
  color: var(--text);
}

.nav-shell {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-nav {
  width: min(860px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(99, 174, 242, 0.13);
  color: var(--text);
}

.main-content {
  padding-bottom: 72px;
}

.hero,
.content-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 38px;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.hero-simple {
  display: block;
}

.hero-copy.narrow {
  max-width: 820px;
}

.eyebrow,
.panel-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
}

.lead,
.text-card p,
.service-card p,
.activity-card p,
.contact-panel p,
.product-card p,
.placeholder-card p,
.form-skeleton label {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.lead {
  margin: 24px 0 0;
  max-width: 720px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}

.cta-row.centered {
  justify-content: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.section-actions.bottom {
  margin-top: 18px;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #78aff1 0%, #4f8fdf 52%, #3475c7 100%);
  border-color: rgba(33, 88, 159, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 28px rgba(52, 117, 199, 0.28);
  text-shadow: 0 1px 0 rgba(24, 66, 120, 0.28);
}

.button.secondary {
  color: #233140;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 56%, #e9f1fa 100%);
  border-color: rgba(161, 189, 219, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 28px rgba(130, 163, 198, 0.2);
}

.button:hover {
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: rgba(125, 164, 204, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 32px rgba(130, 163, 198, 0.24);
}

.button.tertiary {
  color: #f4f9ff;
  background: linear-gradient(180deg, #2f73c8 0%, #1f57a7 55%, #17458d 100%);
  border-color: rgba(15, 49, 103, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 28px rgba(23, 69, 141, 0.26);
  text-shadow: 0 1px 0 rgba(14, 38, 79, 0.28);
}

.hero-media {
  position: relative;
  align-self: start;
}

.hero-home .hero-media {
  margin-top: 44px;
}

.portrait {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.two-column-text,
.contact-strip,
.contact-layout,
.message-layout {
  display: grid;
  gap: 18px;
}

.two-column-text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 0 18px;
}

.text-card,
.contact-panel,
.service-card,
.activity-card,
.product-card,
.placeholder-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-link-card {
  display: block;
  text-decoration: none;
  border-color: rgba(99, 174, 242, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(237, 246, 255, 0.92));
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.activity-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.activity-link-card .activity-card {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.activity-link-card:hover .activity-card,
.activity-link-card:focus-visible .activity-card {
  transform: translateY(-2px);
  border-color: #a7c9e8;
  box-shadow: 0 20px 42px rgba(33, 62, 92, 0.12);
}

.service-link-card:hover {
  transform: translateY(-2px);
  border-color: #a7c9e8;
  box-shadow: 0 20px 42px rgba(33, 62, 92, 0.12);
}

.contact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 12px 0 0;
}

.contact-strip-home {
  width: min(1160px, calc(100% - 48px));
  margin-left: auto;
  margin-right: calc((100% - min(1160px, calc(100% - 48px))) / 2);
  padding-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel.large {
  padding-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-story-grid {
  margin-top: 24px;
}

.product-sheet-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 255, 0.92));
  box-shadow: var(--shadow);
}

.product-sheet-card h2 {
  margin-bottom: 18px;
}

.product-sheet-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.product-sheet-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-sheet-list li {
  line-height: 1.7;
}

.product-sheet-list li + li {
  margin-top: 10px;
}

.product-sheet-list a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.product-sheet-list a:hover {
  text-decoration: underline;
}

.product-sheet-subgroup + .product-sheet-subgroup {
  margin-top: 24px;
}

.product-sheet-subgroup h3 {
  margin-bottom: 12px;
}

.schools-link-box {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(61, 143, 218, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 255, 0.92));
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.schools-link-box:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 143, 218, 0.4);
  box-shadow: 0 18px 36px rgba(73, 114, 154, 0.12);
}

.schools-link-box + p {
  margin-bottom: 14px;
}

.schools-grid-tight {
  gap: 14px;
}

.schools-stack + .schools-stack {
  margin-top: 14px;
}

.schools-photos .reference-card {
  padding-bottom: 30px;
}

.schools-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.schools-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.schools-photo.portrait-crop {
  object-position: center 38%;
}

.schools-stack .product-sheet-cta {
  margin-top: 0;
}

.product-sheet-cta {
  display: block;
  margin-top: 26px;
  padding: 30px 34px;
  border: 1px solid rgba(61, 143, 218, 0.28);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(99, 174, 242, 0.18), rgba(255, 255, 255, 0.96));
  box-shadow: 0 22px 52px rgba(73, 114, 154, 0.12);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.product-sheet-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 143, 218, 0.42);
  box-shadow: 0 26px 60px rgba(73, 114, 154, 0.18);
}

.product-sheet-cta h2 {
  margin-bottom: 10px;
}

.product-sheet-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.product-sheet-cta.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
}

.product-sheet-cta-copy {
  flex: 1;
  min-width: 0;
}

.product-sheet-cta.compact .button {
  flex: 0 0 auto;
}

.stacked-cards {
  display: grid;
  gap: 18px;
}

.activity-card h2 {
  max-width: 900px;
}

.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}

.contact-hero-media {
  justify-self: end;
}

.contact-hero-portrait {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-story {
  padding-top: 14px;
}

.about-story p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
  text-align: justify;
  text-wrap: pretty;
}

.about-story p + p {
  margin-top: 18px;
}

.hero-home .lead,
.contact-strip-home .contact-panel p {
  text-align: justify;
  text-wrap: pretty;
}

.activity-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
}

.activity-copy {
  display: grid;
  gap: 10px;
}

.activity-card--counting h2 {
  font-style: italic;
}

.activity-visual {
  position: relative;
  min-height: 170px;
  width: 100%;
  border: 1px dashed #bfd8ef;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(99, 174, 242, 0.12), rgba(255, 255, 255, 0.56)),
    var(--surface-soft);
  display: grid;
  place-items: center;
  color: #7290ad;
  font-weight: 600;
  text-align: center;
  padding: 18px;
  overflow: hidden;
}

.activity-visual--media {
  padding: 18px;
  border-style: solid;
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(246, 238, 220, 0.14), rgba(220, 233, 219, 0.12)),
    var(--surface-soft);
}

.activity-visual--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 243, 214, 0.26), rgba(117, 154, 117, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(31, 51, 36, 0.08));
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.activity-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.92) sepia(0.08) hue-rotate(-6deg) brightness(1.04) contrast(0.94);
  transform: scale(1.02);
}

.message-stack {
  display: grid;
  gap: 20px;
  padding-top: 18px;
}

.section-intro h2 {
  max-width: 760px;
}

.meeting-placeholder {
  padding-top: 18px;
}

.placeholder-card h2 {
  margin-bottom: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reference-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.projects-section {
  margin-top: 42px;
}

.projects-panel h2 {
  margin-bottom: 18px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.project-item {
  padding: 2px 0 0;
}

.project-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  margin-bottom: 10px;
  color: #111;
}

.project-logo-image {
  display: block;
  max-width: 150px;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.project-logo-image--compact {
  max-height: 21px;
}

.project-logo-image--tall {
  max-height: 25px;
}

.project-logo-image--wide {
  max-width: 140px;
  max-height: 22px;
}

.project-logo-image--thein {
  max-width: 116px;
  max-height: 28px;
}

.project-logo-image--dark {
  filter: none;
}

.project-logo-image--plus-5 {
  transform: scale(1.05);
  transform-origin: left center;
}

.project-logo-image--plus-10 {
  transform: scale(1.1);
  transform-origin: left center;
}

.project-logo-image--plus-15 {
  transform: scale(1.15);
  transform-origin: left center;
}

.project-logo-image--plus-20 {
  transform: scale(1.2);
  transform-origin: left center;
}

.project-logo-image--plus-25 {
  transform: scale(1.25);
  transform-origin: left center;
}

.project-logo-image--minus-10 {
  transform: scale(0.9);
  transform-origin: left center;
}

.project-logo-image--sony {
  filter: grayscale(1) brightness(0.08);
}

.project-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.reference-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.reference-link:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: center;
  padding: 18px 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-link {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.legal-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.legal-page .hero {
  padding-bottom: 24px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 16px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li + li,
.legal-card p + p {
  margin-top: 10px;
}

.book-placeholder {
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border: 1px dashed #bfd8ef;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(99, 174, 242, 0.12), rgba(255, 255, 255, 0.5)),
    var(--surface-soft);
}

.ebook-placeholder {
  display: grid;
  place-items: center;
  border-style: solid;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(145deg, #202020 0%, #324151 52%, #3d8fda 100%);
}

.ebook-placeholder span {
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.product-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-color: rgba(99, 174, 242, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(237, 246, 255, 0.92));
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.product-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 174, 242, 0.45);
  box-shadow: 0 26px 60px rgba(73, 114, 154, 0.16);
}

.book-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(28, 48, 74, 0.14);
}

.product-meta-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-dark);
  font-weight: 600;
}

.ebook-shell {
  background: rgba(250, 253, 255, 0.92);
}

.ebook-hero {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.ebook-hero h1 {
  max-width: 780px;
}

.ebook-donation-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.ebook-donation-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.ebook-donation-card h2 {
  margin-top: 18px;
  font-size: 1.25rem;
}

.ebook-donation-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ebook-reader {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(33, 62, 92, 0.1);
}

.ebook-opening {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.ebook-heading {
  margin: 46px 0 18px;
  color: var(--text);
  line-height: 1.14;
}

.ebook-paragraph {
  margin: 0 0 18px;
  color: #334155;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  line-height: 1.86;
}

.ebook-figure {
  margin: 34px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbff;
}

.ebook-figure img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border-radius: 14px;
}

.ebook-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.ebook-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.ebook-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
  vertical-align: top;
}

.ebook-table img {
  max-width: 320px;
}

.message-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.form-skeleton {
  display: grid;
  gap: 16px;
}

.form-skeleton label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.form-skeleton input,
.form-skeleton textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font: inherit;
}

.helper-text {
  margin: 0;
  color: #7390aa;
  font-size: 0.93rem;
  line-height: 1.6;
}

.draw-skeleton {
  display: grid;
  align-content: start;
  gap: 18px;
}

.draw-toolbar,
.draw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.draw-control {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.93rem;
}

.draw-control input[type="color"] {
  width: 64px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 4px;
}

.draw-control input[type="range"] {
  width: 180px;
}

.draw-area {
  min-height: 360px;
  border: 2px dashed #aaccea;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(237, 246, 255, 0.72)),
    var(--surface-soft);
  display: grid;
  place-items: center;
  color: #7290ad;
  font-weight: 600;
}

.canvas-area {
  width: 100%;
  min-height: 360px;
  cursor: crosshair;
  touch-action: none;
}

@media (max-width: 980px) {
  .hero-home,
  .contact-hero,
  .two-column-text,
  .contact-strip,
  .card-grid,
  .product-sheet-grid,
  .contact-layout,
  .product-grid,
  .projects-grid,
  .ebook-hero,
  .activity-split,
  .message-layout {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 420px;
  }

  .contact-hero-media {
    justify-self: start;
  }

  .contact-strip-home {
    width: min(1160px, calc(100% - 48px));
    margin-right: auto;
  }

  .schools-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
  }

  .brand-cluster {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-shell {
    justify-content: stretch;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .content-section {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 48px;
  }

  .cta-row {
    flex-direction: column;
  }

  .product-sheet-cta.compact {
    flex-direction: column;
    align-items: stretch;
  }

  .section-actions {
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .draw-toolbar,
  .draw-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .draw-control input[type="range"] {
    width: 100%;
  }

  .schools-photo-grid {
    grid-template-columns: 1fr;
  }
}
