:root {
  --m-black: #1d1d1b;
  --m-charcoal: #292927;
  --m-orange: #f28b18;
  --m-orange-dark: #c86d0d;
  --m-paper: #f7f2ea;
  --m-paper-2: #fffaf2;
  --m-muted: #6d6a64;
  --m-line: rgba(29, 29, 27, 0.16);
  --m-soft: rgba(242, 139, 24, 0.12);
  --m-shadow: 0 22px 60px rgba(29, 29, 27, 0.11);
  --m-radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--m-black);
  background:
    radial-gradient(circle at top left, rgba(242, 139, 24, 0.13), transparent 32rem),
    linear-gradient(180deg, var(--m-paper-2), var(--m-paper));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 27, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.m-shell {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.m-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 234, 0.82);
  border-bottom: 1px solid var(--m-line);
}

.m-header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.m-brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.m-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--m-charcoal);
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}

.m-nav a:hover {
  background: rgba(29, 29, 27, 0.07);
}

.m-nav .m-nav-cta {
  color: #fff;
  background: var(--m-black);
  border: 1px solid var(--m-black);
}

.m-nav .m-nav-cta:hover {
  background: var(--m-orange);
  border-color: var(--m-orange);
  color: var(--m-black);
}

.m-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  background: var(--m-paper-2);
  padding: 0 12px;
}

.m-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--m-black);
  margin: 6px 0;
}

.m-hero {
  padding: 86px 0 58px;
  position: relative;
}

.m-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.m-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--m-line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--m-charcoal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--m-orange);
  box-shadow: 0 0 0 6px rgba(242, 139, 24, 0.16);
}

.m-hero h1 {
  margin: 24px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.m-hero h1 span {
  color: var(--m-orange);
  position: relative;
}

.m-hero-text {
  max-width: 680px;
  color: var(--m-muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.m-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--m-black);
  background: var(--m-black);
  color: #fff;
  font-weight: 800;
  transition: 0.2s ease;
}

.m-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(29, 29, 27, 0.16);
}

.m-btn.secondary {
  background: transparent;
  color: var(--m-black);
}

.m-btn.secondary:hover {
  background: var(--m-soft);
  border-color: var(--m-orange);
}

.m-hero-board {
  position: relative;
  min-height: 500px;
}

.m-brand-card {
  position: relative;
  border: 2px solid var(--m-black);
  border-radius: 34px;
  background: var(--m-paper-2);
  box-shadow: var(--m-shadow);
  padding: 34px;
  transform: rotate(-1.4deg);
  overflow: hidden;
}

.m-brand-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -58px;
  top: -56px;
  border-radius: 50%;
  border: 28px solid var(--m-black);
  opacity: 0.1;
}

.m-brand-card img {
  width: min(360px, 100%);
  margin-bottom: 38px;
}

.m-brand-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.m-brand-card p {
  color: var(--m-muted);
  margin-bottom: 0;
}

.m-floating-note {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: min(260px, 70%);
  background: var(--m-orange);
  color: var(--m-black);
  border: 2px solid var(--m-black);
  border-radius: 24px;
  padding: 18px;
  font-weight: 900;
  box-shadow: 10px 10px 0 var(--m-black);
  transform: rotate(2deg);
}

.m-section {
  padding: 74px 0;
}

.m-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.m-section-head h2 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.m-section-head p {
  max-width: 430px;
  color: var(--m-muted);
  margin: 0;
}

.m-company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.m-company-card {
  position: relative;
  min-height: 320px;
  border: 1.5px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 24px;
  background: rgba(255, 250, 242, 0.8);
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06);
  transition: 0.22s ease;
  overflow: hidden;
}

.m-company-card:nth-child(2n) {
  transform: translateY(18px);
}

.m-company-card:hover {
  border-color: var(--m-black);
  transform: translateY(-4px);
  box-shadow: var(--m-shadow);
}

.m-company-card:nth-child(2n):hover {
  transform: translateY(12px);
}

.m-company-index {
  color: var(--m-orange);
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: 46px;
  line-height: 1;
}

.m-company-logo {
  width: 72px;
  height: 72px;
  border: 1px solid var(--m-line);
  border-radius: 20px;
  padding: 10px;
  background: #fff;
  object-fit: contain;
  margin: 18px 0;
}

.m-company-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.m-company-card p {
  color: var(--m-muted);
  margin: 0 0 24px;
}

.m-arrow-link {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-weight: 900;
  color: var(--m-black);
}

.m-arrow-link::after {
  content: " →";
  color: var(--m-orange);
}

.m-company-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -28px;
  bottom: -26px;
  border-radius: 50%;
  background: var(--m-soft);
}

.m-proof-strip {
  border-top: 1px solid var(--m-line);
  border-bottom: 1px solid var(--m-line);
  padding: 24px 0;
  background: rgba(255, 250, 242, 0.55);
}

.m-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.m-proof-item strong {
  display: block;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.m-proof-item span {
  color: var(--m-muted);
  font-weight: 700;
}

.m-article-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
}

.m-article-card {
  border: 1.5px solid var(--m-line);
  background: rgba(255, 250, 242, 0.82);
  border-radius: var(--m-radius);
  overflow: hidden;
  min-height: 100%;
  transition: 0.2s ease;
}

.m-article-card:hover {
  transform: translateY(-3px);
  border-color: var(--m-black);
  box-shadow: var(--m-shadow);
}

.m-article-card:first-child {
  grid-row: span 2;
}

.m-article-image {
  aspect-ratio: 16 / 10;
  background: var(--m-soft);
  overflow: hidden;
}

.m-article-card:first-child .m-article-image {
  aspect-ratio: 16 / 13;
}

.m-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-article-body {
  padding: 22px;
}

.m-article-body small {
  color: var(--m-orange-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.m-article-body h3 {
  margin: 10px 0;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.m-article-body p {
  color: var(--m-muted);
  margin: 0 0 18px;
}

.m-cta {
  margin: 72px 0;
}

.m-cta-box {
  border: 2px solid var(--m-black);
  border-radius: 36px;
  padding: clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at top right, rgba(242, 139, 24, 0.28), transparent 26rem),
    var(--m-black);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--m-shadow);
}

.m-cta-box h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.m-cta-box p {
  color: rgba(255,255,255,0.74);
  margin: 0;
}

.m-cta-box .m-btn {
  background: var(--m-orange);
  color: var(--m-black);
  border-color: var(--m-orange);
}

.m-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--m-line);
  background: rgba(29, 29, 27, 0.04);
}

.m-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr;
  gap: 30px;
}

.m-footer-mark {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.m-footer h3 {
  margin: 0 0 14px;
}

.m-footer a {
  display: block;
  color: var(--m-muted);
  margin: 8px 0;
  font-weight: 700;
}

.m-footer p {
  color: var(--m-muted);
  max-width: 480px;
}

.m-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--m-line);
  color: var(--m-muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .m-menu-toggle {
    display: block;
  }

  .m-nav {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--m-paper-2);
    border: 1px solid var(--m-line);
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--m-shadow);
  }

  .m-menu-open .m-nav {
    display: flex;
  }

  .m-nav a {
    border-radius: 16px;
  }

  .m-hero-grid,
  .m-cta-box {
    grid-template-columns: 1fr;
  }

  .m-hero-board {
    min-height: auto;
  }

  .m-company-grid,
  .m-proof-grid,
  .m-article-grid,
  .m-footer-grid {
    grid-template-columns: 1fr;
  }

  .m-company-card:nth-child(2n),
  .m-company-card:nth-child(2n):hover {
    transform: none;
  }

  .m-section-head {
    display: block;
  }

  .m-section-head p {
    margin-top: 14px;
  }

  .m-footer-bottom {
    flex-direction: column;
  }
}

.m-content-card,
.m-contact-card,
.m-readable-card {
  border: 1.5px solid var(--m-line);
  border-radius: var(--m-radius);
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06);
  padding: clamp(22px, 4vw, 38px);
}

.m-content-card {
  max-width: 980px;
}

.m-content-card p {
  color: var(--m-muted);
  font-size: 18px;
}

.m-public-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.m-public-media-card {
  overflow: hidden;
  border: 1.5px solid var(--m-line);
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 10px 28px rgba(29, 29, 27, 0.06);
  transition: 0.22s ease;
}

.m-public-media-card:hover {
  transform: translateY(-4px);
  border-color: var(--m-black);
  box-shadow: var(--m-shadow);
}

.m-public-media-thumb {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(242, 139, 24, 0.18), transparent 12rem),
    rgba(29, 29, 27, 0.04);
  border-bottom: 1px solid var(--m-line);
}

.m-public-media-thumb img,
.m-public-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-public-media-thumb span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--m-black);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.m-public-media-thumb b {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 2px solid var(--m-black);
  border-radius: 22px;
  background: var(--m-paper-2);
  color: var(--m-black);
  font-weight: 950;
}

.m-public-media-body {
  padding: 16px;
}

.m-public-media-body strong {
  display: block;
  line-height: 1.2;
}

.m-public-media-body p {
  color: var(--m-muted);
  margin: 8px 0 0;
  font-size: 14px;
}

.m-article-featured-image {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--m-line);
  box-shadow: var(--m-shadow);
  background: var(--m-soft);
}

.m-article-featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.m-readable-card {
  max-width: 920px;
  margin-inline: auto;
  font-size: 18px;
  color: var(--m-charcoal);
}

.m-readable-card h1,
.m-readable-card h2,
.m-readable-card h3 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.m-readable-card p {
  color: var(--m-muted);
}

.m-readable-card img {
  border-radius: 22px;
  margin: 20px 0;
}

.m-contact-card {
  max-width: 760px;
}

.m-contact-card label {
  display: block;
  margin: 15px 0 7px;
  font-weight: 900;
}

.m-contact-card input,
.m-contact-card textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--m-line);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}

.m-contact-card textarea {
  resize: vertical;
}

.m-contact-card button {
  margin-top: 18px;
}

.m-form-success {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(12, 107, 50, 0.1);
  color: #0c6b32;
  font-weight: 900;
}

.m-form-error {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(164, 0, 24, 0.1);
  color: #a40018;
  font-weight: 900;
}

.m-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.m-footer-socials a {
  display: inline-flex;
  margin: 0;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(29, 29, 27, 0.06);
  color: var(--m-black);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .m-public-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .m-public-media-grid {
    grid-template-columns: 1fr;
  }

  .m-public-media-thumb {
    height: 220px;
  }
}
/* =========================================================
   PHASE 5 PUBLIC POLISH + MOBILE RESPONSIVE
========================================================= */

@media (min-width: 921px) {
  .m-nav a {
    position: relative;
  }

  .m-nav a:not(.m-nav-cta)::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--m-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: .22s ease;
  }

  .m-nav a:not(.m-nav-cta):hover::after {
    transform: scaleX(1);
  }
}

.m-site-header {
  box-shadow: 0 8px 28px rgba(29, 29, 27, 0.04);
}

.m-brand img {
  transition: .2s ease;
}

.m-brand:hover img {
  transform: translateY(-1px);
}

.m-company-card,
.m-article-card,
.m-public-media-card,
.m-content-card,
.m-contact-card,
.m-readable-card {
  backdrop-filter: blur(8px);
}

.m-company-card h3,
.m-article-body h3 {
  text-wrap: balance;
}

.m-hero h1,
.m-section-head h2,
.m-cta-box h2 {
  text-wrap: balance;
}

.m-hero-text,
.m-section-head p,
.m-content-card p,
.m-readable-card p {
  text-wrap: pretty;
}

.m-btn {
  user-select: none;
}

.m-btn:focus-visible,
.m-nav a:focus-visible,
.m-company-card:focus-visible,
.m-article-card:focus-visible,
.m-public-media-card:focus-visible,
.m-contact-card input:focus,
.m-contact-card textarea:focus {
  outline: 3px solid rgba(242, 139, 24, 0.38);
  outline-offset: 3px;
}

.m-contact-card input:focus,
.m-contact-card textarea:focus {
  border-color: var(--m-orange);
}

/* Better article readability */
.m-readable-card {
  line-height: 1.75;
}

.m-readable-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 34px;
  margin-bottom: 12px;
}

.m-readable-card h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 28px;
  margin-bottom: 10px;
}

.m-readable-card ul,
.m-readable-card ol {
  padding-left: 24px;
  color: var(--m-muted);
}

.m-readable-card li {
  margin: 8px 0;
}

.m-readable-card blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 5px solid var(--m-orange);
  background: rgba(242, 139, 24, 0.09);
  border-radius: 18px;
  color: var(--m-charcoal);
  font-weight: 700;
}

/* Tablet layout */
@media (max-width: 1100px) {
  .m-shell {
    width: min(100% - 30px, 960px);
  }

  .m-hero {
    padding: 64px 0 44px;
  }

  .m-hero-grid {
    gap: 34px;
  }

  .m-brand-card {
    padding: 28px;
  }

  .m-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .m-article-card:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .m-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .m-footer-grid > div:first-child {
    grid-column: span 2;
  }
}

/* Mobile header + nav */
@media (max-width: 920px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(242, 139, 24, 0.14), transparent 20rem),
      linear-gradient(180deg, var(--m-paper-2), var(--m-paper));
  }

  .m-shell {
    width: min(100% - 24px, 720px);
  }

  .m-header-inner {
    height: 72px;
  }

  .m-brand img {
    height: 44px;
    max-width: 180px;
  }

  .m-menu-toggle {
    display: grid;
    place-content: center;
    gap: 0;
    cursor: pointer;
  }

  .m-menu-open .m-menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .m-menu-open .m-menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .m-menu-toggle span {
    transition: .2s ease;
  }

  .m-nav {
    top: 78px;
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 22px;
  }

  .m-nav a {
    padding: 14px 16px;
    font-size: 15px;
  }

  .m-nav .m-nav-cta {
    text-align: center;
  }

  .m-hero {
    padding: 48px 0 32px;
  }

  .m-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .m-hero h1 {
    margin-top: 20px;
    font-size: clamp(44px, 14vw, 72px);
    letter-spacing: -0.065em;
  }

  .m-hero-text {
    font-size: 17px;
  }

  .m-hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .m-btn {
    width: 100%;
    min-height: 50px;
  }

  .m-brand-card {
    transform: none;
    border-radius: 28px;
    padding: 24px;
  }

  .m-brand-card img {
    width: min(260px, 100%);
    margin-bottom: 24px;
  }

  .m-brand-card strong {
    font-size: 28px;
  }

  .m-floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
    box-shadow: 7px 7px 0 var(--m-black);
  }

  .m-section {
    padding: 52px 0;
  }

  .m-section-head {
    margin-bottom: 22px;
  }

  .m-section-head h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .m-company-grid,
  .m-article-grid,
  .m-proof-grid,
  .m-footer-grid {
    grid-template-columns: 1fr;
  }

  .m-article-card:first-child {
    grid-column: auto;
  }

  .m-company-card {
    min-height: 280px;
    padding: 22px;
  }

  .m-company-card:nth-child(2n),
  .m-company-card:nth-child(2n):hover {
    transform: none;
  }

  .m-company-card:hover,
  .m-article-card:hover,
  .m-public-media-card:hover {
    transform: none;
  }

  .m-company-index {
    font-size: 40px;
  }

  .m-company-logo {
    width: 64px;
    height: 64px;
  }

  .m-proof-strip {
    padding: 20px 0;
  }

  .m-proof-item {
    padding: 14px;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    background: rgba(255, 250, 242, 0.65);
  }

  .m-proof-item strong {
    font-size: 30px;
  }

  .m-cta {
    margin: 42px 0;
  }

  .m-cta-box {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .m-cta-box .m-btn {
    width: 100%;
  }

  .m-footer {
    padding: 42px 0 22px;
  }

  .m-footer-grid > div:first-child {
    grid-column: auto;
  }

  .m-footer-bottom {
    gap: 8px;
  }
}

/* Small mobile polish */
@media (max-width: 640px) {
  .m-shell {
    width: min(100% - 20px, 560px);
  }

  .m-header-inner {
    height: 68px;
  }

  .m-brand img {
    height: 38px;
    max-width: 155px;
  }

  .m-kicker {
    font-size: 11px;
    padding: 7px 11px;
  }

  .m-hero {
    padding-top: 38px;
  }

  .m-hero h1 {
    font-size: clamp(40px, 15vw, 60px);
  }

  .m-brand-card {
    padding: 20px;
    border-radius: 24px;
  }

  .m-brand-card strong {
    font-size: 24px;
  }

  .m-floating-note {
    font-size: 14px;
    border-radius: 20px;
  }

  .m-section {
    padding: 42px 0;
  }

  .m-section-head h2 {
    font-size: clamp(31px, 11vw, 42px);
  }

  .m-company-card,
  .m-article-card,
  .m-content-card,
  .m-contact-card,
  .m-readable-card {
    border-radius: 22px;
  }

  .m-company-card {
    min-height: 250px;
  }

  .m-arrow-link {
    position: static;
    display: inline-flex;
    margin-top: 12px;
  }

  .m-company-card::after {
    width: 70px;
    height: 70px;
  }

  .m-article-body {
    padding: 18px;
  }

  .m-article-body h3 {
    font-size: 21px;
  }

  .m-public-media-grid {
    grid-template-columns: 1fr;
  }

  .m-public-media-thumb {
    height: 210px;
  }

  .m-contact-card,
  .m-readable-card,
  .m-content-card {
    padding: 20px;
  }

  .m-readable-card {
    font-size: 16px;
    line-height: 1.72;
  }

  .m-contact-card input,
  .m-contact-card textarea {
    padding: 13px;
    border-radius: 14px;
  }

  .m-footer-mark {
    font-size: 30px;
  }

  .m-footer-socials {
    gap: 6px;
  }

  .m-footer-socials a {
    font-size: 12px;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .m-shell {
    width: min(100% - 16px, 360px);
  }

  .m-brand img {
    max-width: 138px;
  }

  .m-hero h1 {
    font-size: 38px;
  }

  .m-section-head h2 {
    font-size: 30px;
  }

  .m-company-card,
  .m-brand-card,
  .m-cta-box {
    border-radius: 20px;
  }
}