:root {
  --bg: #0a090d;
  --surface: #111016;
  --surface-2: #18161e;
  --text: #f5f1f7;
  --muted: #aaa3b0;
  --line: rgba(255,255,255,.11);
  --pink: #ff4fb8;
  --purple: #9b6cff;
  --accent-gradient: linear-gradient(90deg, #ff4fb8 0%, #d34fe5 48%, #9b6cff 100%);
  --compact-gradient: linear-gradient(90deg, #ff4fb8 0%, #c45af0 30%, #8058ff 72%, #7050ff 100%);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
.mouse-trail { position: fixed; inset: 0; z-index: 9999; width: 100%; height: 100%; pointer-events: none; }
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(10,9,13,.75); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .25s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { width: min(calc(100% - 48px), var(--max)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); text-decoration: none; font-weight: 800; font-size: .92rem; letter-spacing: .14em; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--compact-gradient); color: white; font-size: .83rem; letter-spacing: 0; box-shadow: 0 0 30px rgba(255,79,184,.25); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; color: #cdc7d1; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; border: 0; background: transparent; color: white; }

.hero { --hero-grid-x: 0px; --hero-grid-y: 0px; --hero-glow-x: 0px; --hero-glow-y: 0px; position: relative; min-height: 790px; height: 100svh; max-height: 980px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background-image: linear-gradient(128deg, transparent 58%, rgba(155,108,255,.035) 80%, rgba(255,79,184,.025)); }
.hero-grid { position: absolute; inset: -3%; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 24%, black 70%, transparent); transform: translate3d(var(--hero-grid-x), var(--hero-grid-y), 0); transition: transform .2s ease-out; will-change: transform; }
.hero-glow { position: absolute; z-index: 1; width: 680px; height: 680px; top: -10px; right: 30px; transform: translate3d(var(--hero-glow-x), var(--hero-glow-y), 0); transition: transform .32s ease-out; will-change: transform; pointer-events: none; }
.hero-rings { position: absolute; width: 470px; height: 470px; top: 96px; right: 52px; border: 1px solid rgba(255,79,184,.12); border-radius: 50%; background: radial-gradient(circle at 58% 45%, rgba(255,79,184,.07), transparent 58%); box-shadow: 0 0 0 72px rgba(255,255,255,.022), 0 0 0 145px rgba(255,255,255,.014); }
.hero-sphere-large { position: absolute; width: 285px; height: 285px; top: 115px; right: 70px; border-radius: 50%; background: radial-gradient(circle at 34% 25%, rgba(255,197,241,.68) 0%, rgba(255,124,213,.62) 8%, rgba(226,73,182,.72) 27%, rgba(151,47,147,.88) 56%, rgba(36,20,52,.98) 82%); box-shadow: inset -34px -38px 46px rgba(4,3,12,.72), inset 20px 16px 36px rgba(255,157,231,.15), 18px 26px 38px rgba(0,0,0,.66), 0 0 55px rgba(255,79,184,.14); }
.hero-sphere-large::after { content: ""; position: absolute; inset: 13% 18% auto auto; width: 42%; height: 27%; border-radius: 50%; background: rgba(255,210,246,.16); filter: blur(24px); transform: rotate(-20deg); }
.hero-sphere-small { position: absolute; width: 112px; height: 112px; top: 70px; right: 330px; border-radius: 50%; background: radial-gradient(circle at 36% 27%, rgba(222,200,255,.72), rgba(132,101,203,.67) 24%, rgba(55,40,90,.94) 66%, rgba(13,10,24,.99) 88%); box-shadow: inset -14px -16px 22px rgba(5,4,13,.65), 10px 15px 24px rgba(0,0,0,.54), 0 0 34px rgba(155,108,255,.12); }
.hero-content { position: relative; z-index: 2; padding-top: 86px; }
.eyebrow, .section-label { margin: 0 0 28px; color: #cfc8d4; font-size: .72rem; font-weight: 800; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 28px; height: 1px; background: linear-gradient(90deg, var(--pink), var(--purple)); transform: translateY(-2px); }
.hero h1 { max-width: none; margin: 0; font-family: "Hiragino Kaku Gothic Std", "ヒラギノ角ゴ Std", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: clamp(2.7rem, 5.6vw, 5.4rem); font-weight: 800; line-height: 1.08; letter-spacing: .015em; white-space: nowrap; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(90deg, #ff4fb8 0%, #d34fe5 48%, #9b6cff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 34px rgba(255,79,184,.12); }
.text-gradient { color: transparent; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 34px rgba(255,79,184,.12); }
.hero-lead { max-width: 600px; margin: 38px 0 0; color: #c0b9c5; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; height: 52px; padding: 0 24px; align-items: center; justify-content: center; gap: 30px; border: 1px solid var(--line); text-decoration: none; font-size: .86rem; font-weight: 700; transition: transform .2s, color .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: transparent; }
.button.primary:hover, .button.secondary:hover { color: var(--pink); border-color: rgba(255,79,184,.6); background: rgba(255,79,184,.06); }
.button-plus { position: relative; width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(255,255,255,.1); transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s; }
.button-plus::before, .button-plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%,-50%); }
.button-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.button:hover .button-plus { transform: rotate(90deg); background: rgba(255,255,255,.2); }
.hero-note { position: absolute; right: -72px; bottom: -125px; display: flex; gap: 34px; color: #776f7d; font-size: .65rem; font-weight: 700; letter-spacing: .15em; writing-mode: vertical-rl; }

.section { padding: 135px 0; border-bottom: 1px solid var(--line); }
.section h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.7rem); line-height: 1.15; letter-spacing: -.045em; }
.section-label { color: #8e8794; }
.two-column, .business-layout, .privacy-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 150px); }
.about { --about-frame-x: 0px; --about-frame-y: 0px; --about-grid-x: 0px; --about-grid-y: 0px; --about-arc-x: 0px; --about-arc-y: 0px; position: relative; overflow: hidden; isolation: isolate; }
.about .two-column { position: relative; z-index: 2; grid-template-columns: 1fr; gap: 70px; }
.about h2 { max-width: none; font-size: clamp(3rem, 5.7vw, 5.5rem); line-height: 1.02; letter-spacing: .03em; white-space: nowrap; }
.about h2, .services h2 { font-family: "Hiragino Kaku Gothic Std", "ヒラギノ角ゴ Std", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-weight: 800; letter-spacing: .015em; }
.about h2 { letter-spacing: .03em; }
.about-copy { max-width: 650px; color: var(--muted); }
.about .about-copy { width: min(56%, 620px); margin-right: 10%; margin-left: auto; }
.about-copy p { margin: 0; text-align: justify; text-justify: inter-ideograph; letter-spacing: .012em; }
.about-copy p + p { margin-top: 28px; }
.about-copy .large-copy { color: var(--text); font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.65; font-weight: 500; }
.about-geometry { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.geometry-frame { position: absolute; width: 420px; height: 420px; right: -140px; top: -170px; border: 1px solid rgba(185,166,225,.13); transform: translate3d(var(--about-frame-x), var(--about-frame-y), 0) rotate(24deg); transition: transform .24s ease-out; will-change: transform; }
.geometry-frame::before, .geometry-frame::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.065); transform: rotate(18deg); }
.geometry-frame::after { inset: 38%; border-color: rgba(255,79,184,.14); transform: rotate(36deg); }
.geometry-grid { position: absolute; width: 360px; height: 240px; right: 16%; bottom: 4%; opacity: .68; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse, black, transparent 72%); transform: translate3d(var(--about-grid-x), var(--about-grid-y), 0); transition: transform .2s ease-out; will-change: transform; }
.geometry-arc { position: absolute; width: 700px; height: 700px; left: -390px; bottom: -410px; border: 1px solid rgba(255,79,184,.18); border-radius: 50%; box-shadow: 0 0 0 88px rgba(155,108,255,.025), 0 0 0 176px rgba(255,255,255,.018); transform: translate3d(var(--about-arc-x), var(--about-arc-y), 0); transition: transform .28s ease-out; will-change: transform; }

.services { background: #0d0c11; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.section-heading > p { max-width: 420px; margin: 0 0 6px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-card { position: relative; min-height: 190px; display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-content: center; overflow: hidden; border-bottom: 1px solid var(--line); transition: background .25s; }
.service-card--photo { --service-photo: url("assets/service-web-development.png"); background: #0d0c11; }
.service-card--reverse { grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1.05fr); gap: 18px; }
.service-card--automation { --service-photo: url("assets/service-organized-documents.png"); }
.service-card--website { --service-photo: url("assets/service-mobile-website.png"); }
.service-card--operations { --service-photo: url("assets/service-site-operations.png"); }
.service-card--reverse .service-number { grid-column: 2; }
.service-card.service-card--reverse h3, .service-card.service-card--reverse p { grid-column: 3; }
.service-card--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(90deg, #0d0c11 0%, #0d0c11 42%, rgba(13,12,17,.9) 53%, rgba(13,12,17,.35) 72%, rgba(13,12,17,.08) 100%), var(--service-photo); background-position: center, right 60%; background-size: cover, auto 180%; background-repeat: no-repeat; opacity: .82; transition: opacity .35s ease, transform .55s ease; }
.service-card--website::before { background-size: cover, auto 115%; }
.service-card--reverse::before { background-image: linear-gradient(90deg, rgba(13,12,17,.08) 0%, rgba(13,12,17,.32) 28%, rgba(13,12,17,.9) 47%, #0d0c11 58%, #0d0c11 100%), var(--service-photo); background-position: center, left 60%; }
.service-card--photo:hover::before { opacity: 1; transform: scale(1.015); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { background: linear-gradient(90deg, rgba(255,79,184,.055), rgba(155,108,255,.02)); }
.service-number { grid-column: 1; grid-row: 1; display: inline-block; width: max-content; align-self: baseline; justify-self: start; color: transparent; background: var(--compact-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(1.2rem, 2.1vw, 1.8rem); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
.service-card h3 { grid-column: 2; grid-row: 1; margin: 0; align-self: baseline; font-size: clamp(1.2rem, 2.1vw, 1.8rem); line-height: 1.35; letter-spacing: -.025em; }
.service-card p { grid-column: 2; grid-row: 2; max-width: 650px; margin: 10px 0 0; color: var(--muted); }

.business { background: radial-gradient(circle at 10% 80%, rgba(155,108,255,.08), transparent 32%); }
.business-intro { max-width: 400px; margin-top: 28px; color: var(--muted); }
.info-table { margin: 0; border-top: 1px solid var(--line); }
.info-table > div { display: grid; grid-template-columns: 145px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.info-table dt { color: #8f8895; font-size: .82rem; font-weight: 700; }
.info-table dd { margin: 0; color: #e5dfe8; }
.info-table a { text-decoration-color: rgba(255,79,184,.6); text-underline-offset: 5px; }

.contact { position: relative; text-align: center; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 600px; height: 260px; left: calc(50% - 300px); top: 25%; background: radial-gradient(ellipse, rgba(255,79,184,.12), transparent 65%); pointer-events: none; }
.contact-panel { position: relative; }
.contact h2 { font-size: clamp(2.3rem, 5.5vw, 5.7rem); }
.contact-panel > p:not(.section-label, .contact-note) { max-width: 570px; margin: 28px auto 0; color: var(--muted); }
.email-link { width: min(100%, 760px); margin: 55px auto 0; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.32); color: var(--text); text-decoration: none; font-size: clamp(1.25rem, 3vw, 2.2rem); transition: color .2s, border-color .2s; }
.email-link:hover { color: var(--pink); border-color: var(--pink); }
.mail-icon { width: 62px; height: 48px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e9e3ec; transition: border-color .25s, background .25s, color .25s, transform .25s; }
.mail-icon svg { width: 25px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.email-link:hover .mail-icon { color: white; border-color: transparent; background: linear-gradient(135deg, var(--pink), var(--purple)); transform: translateY(-3px); }
.contact-note { margin-top: 22px; color: #77717c; font-size: .76rem; }

.privacy { background: #08070a; }
.privacy-content > div { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.privacy-content h3 { margin: 0 0 8px; font-size: 1rem; }
.privacy-content p { margin: 0; color: var(--muted); }
.privacy-content .policy-date { color: #756e79; font-size: .8rem; }

.site-footer { padding: 72px 0; background: #060507; }
.footer-inner { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(380px, 1.2fr); gap: clamp(80px, 11vw, 150px); align-items: stretch; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.footer-brand p, .footer-inner > p { margin: 28px 0 0; color: #79727e; font-size: .73rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .1em; }
.footer-brand p { margin: 0; }
.footer-brand > p:not(.copyright) { transform: translateY(12px); }
.footer-brand .copyright { margin-top: 0; color: #625c67; font-size: .68rem; letter-spacing: .12em; }
.footer-nav { display: grid; width: 80%; max-width: 520px; border-top: 1px solid var(--line); justify-self: start; }
.footer-nav a { display: flex; justify-content: space-between; gap: 30px; padding: 17px 0; border-bottom: 1px solid var(--line); color: #d9d3dd; text-decoration: none; font-size: .9rem; transition: color .2s, padding .2s; }
.footer-nav a:hover { padding-left: 8px; color: var(--pink); }
.footer-inner .copyright { text-align: left; }

.back-link { color: #c9c2cd; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.back-link:hover { color: var(--pink); }
.subpage-main { min-height: calc(100svh - 180px); padding-top: 78px; }
.subpage-hero { position: relative; padding-top: 135px; padding-bottom: 95px; border-bottom: 1px solid var(--line); }
.subpage-hero h1 { position: relative; z-index: 1; margin: 0; font-family: "Hiragino Kaku Gothic Std", "ヒラギノ角ゴ Std", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: clamp(2.2rem, 4.6vw, 4.7rem); font-weight: 800; line-height: 1.15; letter-spacing: .015em; }
.subpage-hero > p:last-child { position: relative; z-index: 1; max-width: 620px; margin: 32px 0 0; color: var(--muted); }
.subpage-content { padding-top: 90px; padding-bottom: 130px; }
.subpage-content .info-table { width: min(100%, 900px); margin-left: auto; }
.contact-page-content > p:first-child { color: var(--muted); }
.contact-page-content .email-link { width: 100%; margin-inline: 0; }
.contact-page-content .contact-note { color: #77717c; }
.subpage-content.privacy-content { width: min(calc(100% - 48px), 880px); }
.subpage-content.privacy-content > div { padding-bottom: 34px; margin-bottom: 34px; }
.subpage-content.privacy-content h2 { margin: 0 0 10px; font-size: 1.2rem; }
.compact-footer { padding: 34px 0; }
.compact-footer-inner { display: flex; align-items: center; justify-content: space-between; }
.compact-footer-inner a { color: var(--text); text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.compact-footer-inner p { margin: 0; color: #79727e; font-size: .68rem; letter-spacing: .08em; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

@media (hover: none), (pointer: coarse) {
  .mouse-trail { display: none; }
  .hero-grid { transform: none !important; }
  .hero-glow { transform: none !important; }
  .geometry-grid { transform: none !important; }
  .geometry-frame { transform: rotate(24deg) !important; }
  .geometry-arc { transform: none !important; }
}

@media (max-width: 780px) {
  .hero-grid { transform: none !important; }
  .hero-glow { width: 380px; height: 380px; top: 5%; right: -155px; transform: scale(.68) !important; transform-origin: top right; }
  .geometry-grid { transform: none !important; }
  .geometry-frame { transform: rotate(24deg) !important; }
  .geometry-arc { width: 360px; height: 360px; left: -265px; bottom: -250px; transform: none !important; }
  .container, .header-inner { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { min-height: 68px; }
  .menu-button { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; padding: 0; }
  .menu-button > span:not(.visually-hidden) { width: 23px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 68px 0 auto; display: none; padding: 22px 18px 28px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,9,13,.97); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: .78rem; }
  .hero { min-height: 700px; height: 100svh; }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 3.5rem); letter-spacing: .005em; }
  .hero-lead { max-width: 92%; margin-top: 30px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 330px); }
  .button { justify-content: space-between; }
  .hero-note { display: none; }
  .section { padding: 90px 0; }
  .two-column, .business-layout, .privacy-layout { grid-template-columns: 1fr; gap: 52px; }
  .about .two-column { gap: 50px; }
  .about h2 { font-size: clamp(2.6rem, 11vw, 4.6rem); white-space: normal; }
  .about .about-copy { width: 100%; margin: 0; }
  .about-copy p { text-align: left; letter-spacing: 0; }
  .geometry-frame { width: 280px; height: 280px; right: -150px; top: -70px; }
  .geometry-grid { right: -120px; bottom: 10%; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 42px; }
  .service-card { grid-template-columns: 38px 1fr; column-gap: 12px; min-height: auto; padding: 30px 0; }
  .service-card--photo::before { background-image: linear-gradient(90deg, #0d0c11 0%, #0d0c11 52%, rgba(13,12,17,.9) 68%, rgba(13,12,17,.48) 100%), var(--service-photo); background-position: center, right 60%; background-size: cover, auto 145%; opacity: .68; }
  .service-card--reverse { grid-template-columns: 38px 1fr; column-gap: 12px; }
  .service-card--reverse .service-number { grid-column: 1; }
  .service-card.service-card--reverse h3, .service-card.service-card--reverse p { grid-column: 2; }
  .service-card--reverse::before { background-image: linear-gradient(90deg, rgba(13,12,17,.7) 0%, rgba(13,12,17,.94) 42%, #0d0c11 80%), var(--service-photo); background-position: center, left 60%; }
  .info-table > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .contact h2 { font-size: clamp(2.2rem, 11vw, 4rem); }
  .email-link { margin-top: 40px; }
  .mail-icon { width: 52px; height: 42px; }
  .footer-inner { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { display: block; }
  .footer-nav { width: 100%; max-width: none; }
  .footer-brand p, .footer-inner > p { margin-top: 20px; }
  .footer-brand > p:not(.copyright) { transform: none; }
  .footer-brand .copyright { margin-top: 20px; }
  .footer-inner .copyright { text-align: left; }
  .subpage-main { padding-top: 68px; }
  .subpage-hero { padding-top: 90px; padding-bottom: 65px; }
  .subpage-content { padding-top: 65px; padding-bottom: 90px; }
  .subpage-content .info-table { margin: 0; }
}

@media (max-width: 390px) {
  .container, .header-inner { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: .8rem; }
  .hero h1 { font-size: clamp(1.85rem, 8.8vw, 2.45rem); }
  .hero-actions { width: 100%; }
}
