@font-face {
  font-family: "Mado Tsukushi";
  src: local("TsukuARdGothic-Bold"), local("Tsukushi A Round Gothic Bold"), local("FOT-TsukuARdGothicStd-B");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Mado Maru";
  src: url("zen-maru-headings.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:where(.mado, .mado-native) {
  --blue: #0b308e;
  --button-radius: 12px;
  --button-height: 44px;
  --button-padding: 8px 14px;
  --button-outline: #a6b4ce;
  --blue-dark: #09236a;
  --ink: #182337;
  --muted: #49566a;
  --line: #dbe2ea;
  --wash: #f4f7fb;
  --green: #00aa83;
  --green-dark: #05563e;
  --pink: #c72f77;
  --maru: var(--mado-web-maru, "Mado Tsukushi"), "Tsukushi A Round Gothic", "Tsukushi A Maru Gothic", "筑紫A丸ゴシック", "Mado Maru", "Hiragino Sans", "Yu Gothic", sans-serif;
  --body: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

html:has(body:is(.mado-home-body, .mado-native, .mado-preview-body)) {
  --mado-masthead-height: 87px;
  --mado-toolbar-height: 0px;
  scroll-padding-top: calc(var(--mado-masthead-height) + var(--mado-toolbar-height));
}
@media (min-width: 783px) {
  html:has(body.admin-bar:is(.mado-home-body, .mado-native)) { --mado-toolbar-height: 32px; }
}
@media (601px <= width <= 782px) {
  html:has(body.admin-bar:is(.mado-home-body, .mado-native)) { --mado-toolbar-height: 46px; }
}

body.mado-preview-body, body.mado-home-body { margin: 0; background: #fff; }
.mado {
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.9 var(--body);
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}
.mado *, .mado *::before, .mado *::after { box-sizing: border-box; }
.mado :where(h1, h2, h3, p, figure, dl, dd, ul) { margin: 0; }
.mado :where(ul) { padding: 0; list-style: none; }
.mado :where(h1, h2, h3, .mission, dt) { font-family: var(--maru); font-weight: 700; }
.mado :where(a) { color: inherit; text-decoration: none; }
.mado :where(a:hover) { text-decoration: none; }
.mado :where(img) { display: block; max-width: 100%; height: auto; }
.mado :where(button, summary) { font: inherit; cursor: pointer; }
.mado :where(a, button, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.mado [id] { scroll-margin-top: 24px; }
.mado .skip {
  position: absolute;
  z-index: 31;
  inset: 8px auto auto 12px;
  transform: translateY(-180%);
  padding: 8px 18px;
  background: #fff;
  color: var(--blue);
}
.mado .skip:focus { transform: translateY(0); }
.mado .frame { width: min(1160px, calc(100% - 120px)); margin-inline: auto; }
.mado .section { padding-block: clamp(76px, 9vw, 132px); }
.mado h2 { color: var(--blue); font-size: clamp(29px, 3.4vw, 46px); line-height: 1.35; letter-spacing: .035em; }
.mado h3 { font-size: clamp(22px, 2.4vw, 31px); line-height: 1.45; }
.mado .section-top, .mado .subsection-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.mado .section-label h2 { font-size: clamp(29px, 3vw, 41px); }
.mado .section-top { margin-bottom: clamp(30px, 4vw, 58px); }
.mado .section-grid { display: grid; grid-template-columns: minmax(225px, .75fr) minmax(0, 1.85fr); gap: clamp(32px, 5vw, 84px); }

.mado .masthead {
  position: relative;
  background: rgb(255 255 255 / .34);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mado .masthead.is-scrolled { box-shadow: 0 3px 14px rgb(24 35 55 / .10); }
body:is(.mado-home-body, .mado-preview-body) > .mado > .masthead,
.mado-native .mado-sticky-shell {
  position: sticky;
  top: var(--mado-toolbar-height);
  z-index: 30;
}
.mado-native .mado-sticky-shell { background: transparent; }
.mado .masthead-inner { width: min(1376px, calc(100% - 104px)); min-height: calc(var(--mado-masthead-height) - 1px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mado .brand { flex: 0 0 auto; display: block; padding-block: 6px; }
.mado .brand img { width: 168px; }
.mado .main-nav { display: flex; align-items: center; gap: clamp(14px, 2.15vw, 34px); }
.mado .main-nav a { white-space: nowrap; font-size: 15px; line-height: 1.5; font-weight: 700; letter-spacing: .035em; }
.mado .main-nav a:not(.nav-contact) { text-shadow: 0 0 6px rgb(255 255 255 / .7); }
.mado .main-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.mado .main-nav .nav-contact { padding: 12px 18px; border: 1px solid var(--green); border-radius: var(--button-radius); background: var(--green); color: #fff; text-shadow: 0 1px 2px var(--green-dark); }
.mado .main-nav .nav-contact:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--green-dark); text-decoration: none; }
.mado .menu-toggle { display: none; border-radius: var(--button-radius); }

.mado .hero { background: linear-gradient(180deg, #fff, #f2f6fb); }
.mado .hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(26px, 4.2vw, 64px); width: min(1240px, calc(100% - 104px)); margin-inline: auto; padding-block: clamp(22px, 3vw, 46px) clamp(32px, 4vw, 60px); }
.mado .hero-copy { padding-bottom: 14px; }
.mado .hero h1 { margin: 0; color: var(--blue); font-size: clamp(33px, 4.85vw, 70px); line-height: 1.24; letter-spacing: -.065em; }
.mado .hero h1 span, .mado .hero h1 strong { display: block; white-space: nowrap; }
.mado .hero h1 strong { font-weight: inherit; }
.mado .hero h1::after { display: block; width: 38px; height: 3px; margin-top: 19px; border-radius: 2px; background: var(--pink); content: ""; }
.mado .hero-deck { max-width: 27em; margin-top: 15px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; line-height: 2.05; }
.mado .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 31px; }
.mado .hero-side, .mado .hero-photo { min-width: 0; }
.mado .hero-photo img { width: 100%; aspect-ratio: 1.55; object-fit: cover; object-position: 53% 48%; border-radius: 14px; }
.mado figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; letter-spacing: .055em; }
.mado .hero-photo figcaption { text-align: right; }
.mado .hero-inquiry { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 11px 18px; padding: 17px 20px; margin-top: 11px; border: 1px solid #cbd8e8; border-radius: 14px; background: #fff; }
.mado .hero-inquiry h2 { font-size: clamp(16px, 1.75vw, 24px); letter-spacing: .015em; }
.mado .hero-inquiry p { color: var(--muted); margin-top: 4px; font-size: 13px; line-height: 1.65; }
.mado .hero-inquiry .mado-button { flex-shrink: 0; }

.mado .mado-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 21px; min-height: 53px; padding: 10px 18px; border: 1px solid var(--blue); border-radius: var(--button-radius); background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.mado .mado-button:hover { background: var(--blue-dark); color: #fff; }
.mado .mado-button-small { min-height: var(--button-height); padding: var(--button-padding); width: fit-content; line-height: 1.4; }
.mado .mado-button-green { background: var(--green); border-color: var(--green); color: #fff; text-shadow: 0 1px 2px var(--green-dark); }
.mado .mado-button-green:hover { background: var(--green); border-color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--green-dark); color: #fff; }
.mado .mado-button-outline { border-color: var(--button-outline); background: #fff; color: var(--blue); }
.mado .mado-button-outline:hover { border-color: var(--blue); background: var(--wash); color: var(--blue); }

.mado .mission-label, .mado .value-block h3 { color: var(--blue); font: 700 14px/1.5 var(--body); letter-spacing: .1em; }
.mado .mission { margin-top: 8px; color: var(--blue); font-size: clamp(31px, 4.3vw, 57px); line-height: 1.48; letter-spacing: -.045em; }
.mado .intro { margin-top: 18px; line-height: 2.15; }
.mado .about-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 25px; }
.mado .value-block { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.mado .values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.mado .values li { position: relative; padding-left: 15px; }
.mado .values li::before { position: absolute; top: .8em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--green); content: ""; }
.mado .values li:nth-child(3)::before { background: var(--pink); }
.mado .small-only { display: none; }

.mado .service-section { background: var(--wash); }
.mado .service-feature { display: grid; grid-template-columns: 1.17fr 1fr; gap: clamp(30px, 6vw, 82px); align-items: center; margin-bottom: clamp(34px, 5vw, 68px); }
.mado .service-feature > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.mado .service-feature h3 { color: var(--blue); font-size: clamp(29px, 3.35vw, 46px); letter-spacing: -.035em; }
.mado .feature-copy p { margin-block: 16px 18px; }
.mado .feature-copy .mado-button { margin: 0 8px 8px 0; }
.mado .service-list > div { display: grid; grid-template-columns: minmax(215px, .76fr) minmax(0, 1.84fr); gap: 18px 30px; align-items: baseline; padding: 22px 0; border-top: 1px solid #ccd7e5; }
.mado .service-list > div:last-child { border-bottom: 1px solid #ccd7e5; }
.mado .service-list dt { color: var(--blue); font-size: clamp(19px, 2vw, 25px); line-height: 1.45; padding-right: 4px; }
.mado .service-name-link { text-decoration: underline; text-decoration-color: #9caed1; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mado .service-name-link:hover { text-decoration: underline; text-decoration-color: currentColor; }
.mado .service-list dd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 19px; row-gap: 7px; }
.mado .service-list dd p { flex: 1 1 340px; }
.mado .feature-copy .mado-button-green { min-width: 79px; justify-content: center; }
.mado .service-list .goofit-row { align-items: center; }
.mado .goofit-row dt { display: flex; align-items: center; gap: 14px; }
.mado .goofit-mark { order: -1; display: grid; place-items: center; width: 65px; height: 92px; flex: 0 0 65px; padding: 8px; border-radius: 8px; background: #fff; }
.mado .goofit-mark img { width: auto; height: 76px; }
.mado .external-link { color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.mado .external-link:hover { color: var(--green-dark); text-decoration: underline; }
.mado .external-label { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 400; }


.mado .organization-cases { margin-top: clamp(42px, 7vw, 88px); }
.mado .organization-cases > h3 { color: var(--blue); }
.mado .org-carousel { margin-top: clamp(19px, 3.4vw, 40px); }
.mado .org-carousel h4 { margin: 0; color: var(--blue); font: 700 clamp(17px, 2.1vw, 24px)/1.45 var(--maru); }
.mado .case-carousel {
  --case-columns: 4;
  --case-gap: clamp(12px, 1.6vw, 20px);
  --case-width: calc((100% - (var(--case-columns) - 1) * var(--case-gap)) / var(--case-columns));
  --case-photo-ratio: 2.14;
  --case-copy-height: 100px;
}
.mado .case-carousel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 16px; }
.mado .case-carousel-head h3 { color: var(--blue); font-size: clamp(19px, 2.2vw, 28px); }
.mado .case-controls:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mado .case-position { min-width: 67px; text-align: right; margin-right: 5px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.mado .case-controls button { width: var(--button-height); height: var(--button-height); padding: 0; border: 1px solid var(--button-outline); border-radius: var(--button-radius); background: #fff; color: var(--blue); font-size: 20px; line-height: 1; }
.mado :is(.main-nav a, .mado-button, button, [role="button"]) { font-family: var(--maru); }
.mado .case-controls button:hover:not([aria-disabled="true"]) { background: var(--wash); border-color: var(--blue); }
.mado .case-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
.mado .case-track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-color: #a6b4ce #f0f3f7; scrollbar-width: thin; }
.mado .case-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.mado .case-slides { display: grid; grid-auto-flow: column; grid-auto-columns: var(--case-width); gap: var(--case-gap); padding-bottom: 13px; align-items: start; }
.mado .case-slide { min-width: 0; scroll-snap-align: start; }
.mado .case-slide a:focus-visible { outline-offset: -2px; }
.mado .case-slide img, .mado .case-slide a:not(:has(> img))::before { grid-area: 1 / 1; width: 100%; aspect-ratio: var(--case-photo-ratio); }
.mado .case-slide img { display: block; height: auto; object-fit: cover; background: var(--wash); }
.mado .case-slide a:not(:has(> img))::before { content: ""; }
.mado .case-slide a:not(:has(> img)) .case-card-copy { grid-area: 1 / 1 / -1 / -1; align-self: center; }
.mado .case-sport { display: block; margin-bottom: 2px; color: var(--blue); font-size: 11px; font-weight: 700; line-height: 1.35; }
.mado .case-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-block-size: 2.68em; font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; line-height: 1.34; }
.mado .case-title > span { display: none; }
.mado .case-sport, .mado .case-description { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mado .case-slide a:hover .case-title { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.mado .case-controls .case-mode { width: auto; min-height: var(--button-height); padding: 0 12px; font-size: 12px; font-weight: 700; }
.mado .case-carousel.is-grid .case-position,
.mado .case-carousel.is-grid .case-prev,
.mado .case-carousel.is-grid .case-next { display: none; }
.mado .case-carousel.is-grid .case-track { overflow: visible; }
.mado .case-slide a { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto var(--case-copy-height); border: 1px solid var(--line); border-radius: var(--button-radius); overflow: hidden; }
.mado .case-slide[hidden] { display: none; }
.mado .case-carousel.is-grid .case-slides { grid-template-columns: repeat(var(--case-columns), var(--case-width)); grid-auto-flow: row; }
.mado .case-search { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.mado .case-search[hidden] { display: none; }
.mado .case-search input { width: min(100%, 270px); padding: 9px 12px; border: 1px solid #a6b4ce; border-radius: var(--button-radius); background: white; color: var(--ink); font: inherit; }
.mado .case-card-copy { grid-area: 2 / 1; align-self: start; display: block; min-width: 0; padding: 8px 11px 9px; }
.mado .case-description { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }

.mado .articles { border-top: 1px solid var(--line); }
.mado .news { margin-top: clamp(44px, 6vw, 84px); }
.mado .subsection-top { margin-bottom: 15px; }
.mado .subsection-top h3 { color: var(--blue); }
.mado .news-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.mado .link-list { border-top: 1px solid var(--line); }
.mado details .link-list { border-top: 0; }
.mado .link-list li { border-bottom: 1px solid var(--line); }
.mado .link-list a { display: grid; grid-template-columns: 99px minmax(0, 1fr) auto; align-items: baseline; gap: 10px 14px; padding: 15px 0; }
.mado .link-list a:hover .item-title { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.mado .link-list time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mado .link-list .item-arrow { color: var(--blue); }
.mado details summary { width: fit-content; margin-top: 12px; color: var(--blue); font-size: 14px; font-weight: 700; padding: 6px 3px; }
.mado details[open] summary { margin-bottom: 5px; }
.mado .articles .section-label p { margin-block: 13px 12px; }
.mado .contact { background: var(--blue); color: #fff; }
.mado .contact-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; padding-block: clamp(49px, 6vw, 87px); }
.mado .contact h2 { color: #fff; }
.mado .contact p { margin-top: 10px; }
.mado .mado-button-white { background: #fff; color: var(--blue); border-color: #fff; }
.mado .mado-button-white:hover { background: var(--wash); color: var(--blue); }
.mado .contact a:focus-visible { outline-color: #fff; }
.mado .site-foot { padding-block: 36px 22px; background: var(--blue); color: #fff; }
.mado .site-foot-main, .mado .site-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 25px; }
.mado .site-foot-brand { display: block; }
.mado .site-foot-brand img { width: 168px; }
.mado .site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 19px; font-size: 12px; }
.mado .site-foot-bottom { border-top: 1px solid rgb(255 255 255 / .4); padding-top: 14px; margin-top: 25px; font-size: 12px; }
.mado .site-foot a { color: inherit; }
.mado .site-foot a:focus-visible { outline-color: #fff; }
.mado .site-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1060px) {
  .mado .case-carousel { --case-columns: 3; }
  .mado .masthead-inner, .mado .hero-inner { width: calc(100% - 72px); }
  .mado .frame { width: calc(100% - 88px); }
  .mado .brand img { width: 145px; }
  .mado .main-nav { gap: 13px; }
  .mado .main-nav a { font-size: 14px; }
  .mado .wide-only { display: none; }
}
@media (max-width: 860px) {
  .mado .case-carousel { --case-columns: 2; }
  html:has(body:is(.mado-home-body, .mado-native, .mado-preview-body)) { --mado-masthead-height: 68px; }
  .mado .masthead-inner { flex-wrap: wrap; gap: 0 12px; }
  .mado .main-nav { flex: 0 0 100%; justify-content: flex-start; align-items: stretch; flex-wrap: wrap; padding: 3px 0 15px; }
  .mado .main-nav a { padding: 9px 0; }
  .mado .main-nav .nav-contact { padding: 8px 10px; }
  .mado.is-enhanced .menu-toggle { display: inline-flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 4px; width: 61px; min-height: 49px; padding: 4px 10px; border: 0; background: transparent; color: var(--blue); }
  .mado .menu-toggle span:not(.menu-label) { width: 22px; height: 1px; background: currentColor; }
  .mado .menu-toggle .menu-label { flex: 0 0 100%; font-size: 12px; }
  .mado.is-enhanced .menu-toggle {
    position: relative;
    align-content: end;
    width: 74px;
    min-height: 48px;
    padding-bottom: 6px;
    border: 1px solid var(--line);
    background: #fff;
  }
  .mado .menu-toggle span:not(.menu-label) { position: absolute; inset: 13px auto auto 50%; width: 18px; transform: translateX(-50%); }
  .mado .menu-toggle span:first-child { top: 9px; }
  .mado .menu-toggle[aria-expanded="true"] span:first-child { top: 11px; transform: translateX(-50%) rotate(45deg); }
  .mado .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 11px; transform: translateX(-50%) rotate(-45deg); }
  .mado.is-enhanced .main-nav:not(.is-open) { display: none; }
  .mado.is-enhanced .main-nav.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-height: calc(100vh - var(--mado-masthead-height) - var(--mado-toolbar-height));
    max-height: calc(100dvh - var(--mado-masthead-height) - var(--mado-toolbar-height));
    padding: 10px 20px 16px;
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 14px rgb(24 35 55 / .10);
  }
  .mado.is-enhanced .main-nav.is-open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    text-shadow: none;
  }
  .mado.is-enhanced .main-nav.is-open a:not(.nav-contact)::after {
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    color: var(--blue);
    transform: rotate(45deg);
    content: "";
  }
  .mado.is-enhanced .main-nav.is-open .nav-contact {
    justify-content: center;
    margin-top: 14px;
    border-bottom-color: var(--green);
  }
}
@media (741px <= width <= 860px) {
  .mado .hero-copy { padding-left: 0; }
  .mado .hero h1 { font-size: clamp(31px, 4.3vw, 39px); }
}
@media (max-width: 740px) {
  .mado .masthead-inner, .mado .hero-inner, .mado .frame { width: calc(100% - 40px); }
  .mado .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 24px 25px; }
  .mado .hero-copy { padding: 0 0 0 1px; }
  .mado .hero h1 { font-size: clamp(34px, 9.5vw, 60px); }
  .mado .hero-deck { margin-top: 13px; }
  .mado .hero-actions { margin-top: 19px; gap: 10px 17px; }
  .mado .hero-photo img { aspect-ratio: 1.52; }
  .mado .hero-inquiry { padding: 14px 15px; }
  .mado .section { padding-block: 60px; }
  .mado .section-grid, .mado .service-feature, .mado .service-list > div { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mado .value-block { gap: 10px; }
  .mado .values { grid-template-columns: 1fr; }
  .mado .section-top { margin-bottom: 25px; }
  .mado .service-feature { gap: 22px; }
  .mado .service-list > div { gap: 7px; }
  .mado .link-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 0; }
  .mado .link-list time { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .mado .case-carousel { --case-columns: 1; --case-width: min(84%, 320px); }
  .mado .case-carousel.is-grid .case-slides { justify-content: center; }
}
@media (max-width: 460px) {
  .mado .hero-actions .mado-button { min-height: 46px; padding: 8px 12px; font-size: 13px; }
  .mado .small-only { display: initial; }
}



@media (prefers-reduced-motion: no-preference) {
  .mado .masthead { transition: box-shadow .2s ease; }
  .mado .hero-copy,
  .mado-about .about-story-text,
  .mado-services .services-intro-copy { animation: mado-intro-in .58s cubic-bezier(.2,.75,.2,1) both; }
  .mado .hero-photo,
  .mado-about .about-story > figure,
  .mado-services .services-intro > img { animation: mado-intro-in .7s .08s cubic-bezier(.2,.75,.2,1) both; }
  .mado-scroll-pending:not(:focus-within) { opacity: 0; }
  .mado-scroll-in { animation: mado-scroll-in var(--mado-scroll-duration, .52s) cubic-bezier(.2,.7,.2,1) both; }
  img.mado-scroll-in { --mado-scroll-scale: .97; }
  .mado-scroll-in:is(.case-slide, .services-consult, .about-contact) { --mado-scroll-duration: .61s; }
  .mado .mado-button,
  .mado .main-nav .nav-contact,
  .mado .case-controls button {
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mado .case-slide a > img { transition: scale .3s ease-out; }
  .mado .case-slide a:hover > img { scale: 1.035; }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .mado.is-enhanced .main-nav.is-open { animation: mado-menu-in .18s ease-out both; }
}
@keyframes mado-intro-in {
  from { opacity: .6; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mado-menu-in {
  from { opacity: .5; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mado-scroll-in {
  from { opacity: 0; transform: translateY(clamp(18px, 3.4vw, 30px)) scale(var(--mado-scroll-scale, 1)); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
