/* 2026-10-14: bold editorial direction. Shared facts and native controls stay intact. */
/* User-selected Light grey proposal, 2026-10-14. */
:root {
  --font-display: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "MS PMincho", serif;
  --paper: #fff;
  --ink: #243140;
  --accent: var(--ink);
  --muted: #4e5c65;
  --lime: #ffc09a;
  --reward: #984425;
  --reward-band: #944324;
  --line: #cdd3d5;
  --soft: #f2f4f5;
  --warm: #f6f3ef;
  --highlight: #a64b26;
  --highlight-hover: #873a1d;
  --photo-matte: #eef0ef;
  --on-accent: #ecf0f2;
  --line-dark: #788996;
  --control-line: #728088;
  --hover: #edf1f2;
}
.referral-site .wrap{width:min(1280px,calc(100% - 96px))}
.referral-site h1,.referral-site h2{font-weight:900;letter-spacing:-.055em;line-height:1.4}
.referral-site h2{font-size:clamp(30px,3.4vw,48px)}
.referral-site .section{padding:88px 0}
.referral-site .section-lead{font-size:16px;line-height:1.95;margin-top:18px}
.referral-site .btn{min-height:56px;border-radius:4px;font-weight:700;padding:15px 24px}
.referral-site .btn:hover{background:#334960;border-color:#334960}
.referral-site .btn-outline{background:transparent}
.referral-site .btn-outline:hover{background:var(--hover);color:var(--accent);border-color:var(--accent)}
.referral-site .header-inner{min-height:88px}
.referral-site .brand-name{font-size:25px;font-weight:800}
.referral-site .header .brand{gap:4px}
.referral-site .header .brand-mark{width:80px;height:80px}
.referral-site .header .brand-mark svg{width:80px;height:80px}
.business-support-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:24px 0 8px}
.business-support-options h4{font-size:17px;margin:0 0 10px}
.business-support-options p{font-size:14px;line-height:1.9}
.referral-site .nav .header-contact{border-radius:4px;min-height:48px}
.referral-site .preview-bar{font-size:12px}
.referral-site a:focus-visible,.referral-site button:focus-visible,.referral-site summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}

/* A single photographic opening with large type, then a clear ownership handoff. */
.hero-referral .hero-stage{background:var(--soft);color:var(--ink);height:auto;min-height:0;overflow:visible}
.hero-referral .hero-stage::after{display:none}
.hero-referral .hero-intro{grid-template-columns:1.04fr 1fr;gap:48px;padding-block:56px;min-height:540px}
.hero-referral .hero-kicker{font-size:13px;font-weight:700;color:var(--muted);margin:0 0 14px;letter-spacing:.04em}
.hero-referral h1{font-size:clamp(36px,5.3vw,74px);color:var(--ink);line-height:1.5;letter-spacing:-.055em}
.hero-referral .motion-phrase{color:var(--highlight)}
.hero-referral .motion-phrase::after{background:currentColor;height:2px;bottom:.08em;opacity:.5}
.hero-referral .hero-description{color:var(--muted);font-size:16px;margin-top:24px}
.hero-referral .hero-actions{gap:16px;margin-top:28px}
.hero-referral .hero-actions .btn{background:var(--highlight);border-color:var(--highlight);color:#fff;min-height:60px;padding-inline:28px;font-size:16px}
.hero-referral .hero-actions .btn-outline{background:transparent;color:var(--ink);border-color:var(--control-line)}
.hero-referral .hero-actions .btn:hover{background:var(--highlight-hover);border-color:var(--highlight-hover);color:#fff}
.hero-referral .hero-actions .btn-outline:hover{background:var(--hover);border-color:var(--accent);color:var(--ink)}
.hero-referral .hero-assurance{color:var(--muted);font-size:13px;margin-top:20px}
.hero-referral .hero-image{width:100%;max-width:580px;justify-self:end}
.hero-referral .hero-image .photo-frame{aspect-ratio:580/455!important;border-radius:2px;background:var(--photo-matte)}
.hero-referral .hero-image img{object-fit:contain}
.hero-referral .hero-office-photo .photo-display{position:absolute;inset:0;background:var(--photo-matte)}
.hero-referral .hero-office-photo img{object-fit:scale-down}
.hero-office-link{display:none;position:absolute;inset:0;z-index:2;text-decoration:none}
.hero-office-photo.has-image .hero-office-link{display:block}
.referral-site .hero-office-link:focus-visible{outline:3px solid var(--highlight);outline-offset:-4px}
.office-photo-link{display:block;position:relative;text-decoration:none}
.photo-detail-label{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;min-height:44px;padding:10px 14px;background:var(--accent);color:#fff;border:1px solid var(--line-dark);border-radius:3px;font-size:12px;line-height:1.5}
.hero-office-link:hover .photo-detail-label,.office-photo-link:hover .photo-detail-label{background:#334960}
.hero-referral .hero-image figcaption{color:var(--muted);font-size:12px;margin-top:12px;gap:10px}
.hero-referral #hero-office-caption{min-height:3.6em;line-height:1.8}
.hero-referral .hero-intro{align-items:start}
.referral-site .hero-stage .hero-carousel-wrap{width:calc(100% - 48px);max-width:1560px;padding-bottom:36px}
.office-carousel{margin-top:0;width:100%;min-width:0}
.office-carousel[hidden]{display:none}
.office-carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.office-carousel-heading p{font-size:12px;color:var(--muted);letter-spacing:.03em}
.office-carousel-toggle{border:0;background:transparent;color:var(--muted);min-height:44px;padding:8px 0 8px 12px;font:inherit;font-size:11px;cursor:pointer;flex:none}
.office-carousel-toggle:disabled{opacity:.65;cursor:default}
.office-carousel-window{--carousel-gap:12px;width:100%;overflow:hidden;container-type:inline-size;border-radius:2px;scrollbar-width:thin;scrollbar-color:var(--control-line) transparent}
.office-carousel-window+.office-carousel-window{margin-top:12px}
.office-carousel-window.is-manual{overflow-x:auto;overscroll-behavior-x:contain}
.office-carousel-track{display:flex;width:max-content;transform:translateX(0)}
.office-carousel-group{display:flex;gap:var(--carousel-gap);flex:none;width:max-content;padding:0 var(--carousel-gap) 0 0;margin:0;list-style:none}
/* The shorter row has seven cards. Six pitches cover the viewport without showing its first card twice. */
.office-carousel-card{flex:none;width:clamp(136px,18vw,220px);min-width:calc(100cqw / 6 - var(--carousel-gap))}
.office-carousel-select{display:block;width:100%;padding:0;border:0;border-radius:2px;background:transparent;color:inherit;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.office-carousel-select:hover .office-carousel-name{color:var(--highlight-hover);text-decoration:underline;text-underline-offset:3px}
.office-carousel-card.is-current .office-carousel-media{outline:2px solid var(--highlight);outline-offset:-2px}
.office-carousel-card.is-current .office-carousel-name{color:var(--highlight-hover)}
.referral-site .office-carousel-select:focus-visible{outline:none}
.office-carousel-select:focus-visible .office-carousel-media{outline:3px solid var(--highlight);outline-offset:-3px}
.office-carousel-media{display:block;width:100%;aspect-ratio:3/2;position:relative;overflow:hidden;background:var(--photo-matte);border-radius:2px}
.hero-referral .office-carousel-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.office-carousel-name{display:block;padding-top:8px;min-height:3.4em;font-size:12px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:760px){.referral-site .hero-stage .hero-carousel-wrap{width:calc(100% - 24px);padding-bottom:26px}.office-carousel-window{--carousel-gap:8px}.office-carousel-name{font-size:11px;min-height:4em}.office-carousel-heading p{font-size:11px}}
@media print{.office-carousel-toggle,.office-carousel-group.is-clone{display:none!important}.office-carousel-window,.office-carousel-window.is-manual{overflow:visible}.office-carousel-track{width:100%;transform:none!important}.office-carousel-group{width:100%;flex-wrap:wrap}}
.hero-stage a:focus-visible,.hero-stage button:focus-visible{outline-color:var(--accent)}
.area-map-layout{
  --map-paper:#faf8f2;
  --map-rule:#d6d4c9;
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);
  gap:clamp(16px,2vw,28px);
  align-items:start;
  margin:32px 0 38px;
  scroll-margin-top:calc(var(--header-offset) + 18px);
}
.area-map-figure,.area-map-key{
  min-width:0;
  border:1px solid var(--map-rule);
  border-radius:12px;
  background:var(--map-paper);
  box-shadow:0 3px 10px #2431400c;
}
.area-map-figure{margin:0}
.area-map-canvas{position:relative;isolation:isolate;overflow:hidden;border-radius:11px 11px 0 0;background:#f1f0e8}
.area-map-tiles,.area-map-markers{position:absolute;inset:0;width:100%;height:100%}
.area-map-tile{position:absolute;max-width:none;height:auto}
.area-map-tiles{opacity:.67;filter:saturate(.58)}
/* Back the existing north arrow and scale at their positions in the map viewBox. */
.area-map-canvas::before,.area-map-canvas::after{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  background:#fffdf6f5;
  border:1px solid var(--map-rule);
}
.area-map-canvas::before{left:90.2%;top:.8%;width:7.6%;height:13%;border-radius:50%}
.area-map-canvas::after{left:2.6%;bottom:2.8%;width:12.8%;height:6.6%;border-radius:4px}
.area-map-markers{overflow:visible;z-index:2}
.area-map-district{font:700 26px var(--font-display);letter-spacing:.06em;fill:var(--ink);text-anchor:middle;paint-order:stroke;stroke:#fffdf6;stroke-width:7px;stroke-linejoin:round;pointer-events:none}
/* Pair the map and directory by stable office and district IDs. */
#map-area-chiyoda,[data-map-offices="kojimachi"],[data-map-offices="akihabara"]{--district-color:#285678}
#map-area-chuo,[data-map-offices="nihonbashi"],[data-map-offices="nihonbashi-second"]{--district-color:#266257}
#map-area-shinjuku,[data-map-offices^="nishishinjuku"]{--district-color:#624674}
#map-area-shibuya,[data-map-offices="ebisu"],[data-map-offices="shibusaku"],[data-map-offices^="shibuyaomotesando"]{--district-color:#78572c}
#map-area-minato,[data-map-offices="aoyama"],[data-map-offices^="akasaka"],[data-map-offices="azabujuban"]{--district-color:#7a4155}
.area-map-leader{fill:none;stroke:var(--pin-color,var(--district-color,var(--ink)));stroke-width:var(--leader-width,3);pointer-events:none}
.area-map-dot{fill:var(--pin-color,var(--district-color,var(--ink)));stroke:var(--pin-edge,#fff);stroke-width:2;pointer-events:none}
.area-map-pin rect{fill:var(--pin-color,var(--district-color,var(--ink)));stroke:#fff;stroke-width:3}
.area-map-pin-number{fill:#fff;font:700 24px sans-serif;text-anchor:middle;dominant-baseline:middle;pointer-events:none}
.area-map-pin-shared .area-map-pin-number{font-size:21px}
.area-map-pin:is(:focus-visible, :active, [aria-expanded="true"]),
.area-map-layout:has([data-map-key-office="kojimachi"][aria-expanded="true"]) [data-map-offices="kojimachi"],
.area-map-layout:has([data-map-key-office="akihabara"][aria-expanded="true"]) [data-map-offices="akihabara"],
.area-map-layout:has([data-map-key-office="nihonbashi"][aria-expanded="true"]) [data-map-offices="nihonbashi"],
.area-map-layout:has([data-map-key-office="nihonbashi-second"][aria-expanded="true"]) [data-map-offices="nihonbashi-second"],
.area-map-layout:has([data-map-key-office="nishishinjuku"][aria-expanded="true"]) [data-map-offices="nishishinjuku"],
.area-map-layout:has([data-map-key-office="nishishinjuku-second"][aria-expanded="true"]) [data-map-offices="nishishinjuku-second"],
.area-map-layout:has([data-map-key-office="nishishinjuku-third"][aria-expanded="true"]) [data-map-offices="nishishinjuku-third"],
.area-map-layout:has([data-map-key-office="ebisu"][aria-expanded="true"]) [data-map-offices="ebisu"],
.area-map-layout:has([data-map-key-office="shibusaku"][aria-expanded="true"]) [data-map-offices="shibusaku"],
.area-map-layout:has([data-map-key-office="shibuyaomotesando"][aria-expanded="true"]) [data-map-offices="shibuyaomotesando"],
.area-map-layout:has([data-map-key-office="shibuyaomotesando-second"][aria-expanded="true"]) [data-map-offices="shibuyaomotesando-second"],
.area-map-layout:has([data-map-key-office="aoyama"][aria-expanded="true"]) [data-map-offices="aoyama"],
.area-map-layout:has([data-map-key-office="akasaka"][aria-expanded="true"]) [data-map-offices="akasaka"],
.area-map-layout:has([data-map-key-office="azabujuban"][aria-expanded="true"]) [data-map-offices="azabujuban"],
.area-map-layout:has([data-map-key-office="akasaka-mitsuke"][aria-expanded="true"]) [data-map-offices="akasaka-mitsuke"] {
  --pin-color: var(--highlight);
  --pin-edge: white;
  --leader-width: 4;
  --point-scale: 1.65;
}
.area-map-pin:focus-visible rect{stroke-width:5}
.area-map-north path,.area-map-scale path{fill:none;stroke:var(--accent);stroke-width:3}
.area-map-north text,.area-map-scale text{fill:var(--accent);font:700 20px sans-serif;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.area-map-north text{text-anchor:middle}
.area-map-figure figcaption{color:var(--muted);font-size:12px;line-height:1.7;margin:0;padding:9px 14px;border-top:1px solid var(--map-rule)}
.area-map-figure figcaption a{display:inline-block;text-underline-offset:3px}
.directory-rate-link{display:inline-flex;align-items:center;gap:.4em;min-height:44px;margin-top:4px}
#office-rate-areas,#area-map-key-title{scroll-margin-block-start:var(--header-offset)}
.area-map-status{margin:0;padding:8px 14px;color:var(--ink);font-size:14px;line-height:1.7}
.area-map-status a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
.area-map-tile[hidden],.area-map-status[hidden]{display:none}
.area-map-key{columns:2;column-gap:18px;padding:0 14px 10px}
.area-map-key-lead{
  column-span:all;
  margin:0 -14px 15px;
  padding:12px 16px;
  border-radius:11px 11px 0 0;
  background:var(--ink);
  color:#fff;
  font:700 18px/1.5 var(--font-display);
}
.area-map-key-group{break-inside:avoid;margin-bottom:14px;scroll-margin-top:calc(var(--header-offset) + 16px)}
.area-map-key-group h3{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:2px 4px;
  font-size:16px;
  line-height:1.5;
  margin:0 0 4px;
  border-bottom:1px solid var(--map-rule);
  border-inline-start:3px solid var(--district-color);
  padding:2px 4px 4px 8px;
  color:var(--district-color);
}
.area-map-key-group h3 small{font-size:11px;color:var(--muted);font-weight:400;white-space:nowrap}
.area-map-key-group ul{list-style:none;padding:0;margin:0}
.area-map-key-group a{display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 0;font-size:14px;line-height:1.55;text-decoration:none;overflow-wrap:anywhere}
.area-map-key-group a:is(:active,:focus-visible,[aria-expanded="true"]){--badge-color:var(--highlight);text-decoration:underline;text-underline-offset:3px}
.area-map-key-number{display:grid;place-items:center;width:28px;height:26px;flex:0 0 28px;border-radius:5px;font:700 12px/1 sans-serif;font-variant-numeric:tabular-nums;color:white;background:var(--badge-color,var(--district-color,var(--ink)))}
@media(hover:hover) and (pointer:fine){
  .area-map-pin:hover{--pin-color:var(--highlight);--point-scale:1.65}
  .area-map-key-group a:hover{--badge-color:var(--highlight);text-decoration:underline;text-underline-offset:3px}
}
@media(max-width:1000px){.area-map-layout{grid-template-columns:1fr;gap:24px}.area-map-key{columns:3}}
@media(max-width:760px){
  .area-map-layout{margin:24px 0 28px;gap:20px}
  .area-map-key{columns:2;column-gap:12px;padding-inline:10px}
  .area-map-key-lead{margin-inline:-10px}
  .area-map-district{font-size:34px}
  .area-map-pin rect{width:74px;height:54px;x:-37px;y:-27px}
  .area-map-pin-shared rect{width:124px;x:-62px}
  .area-map-pin-number{font-size:32px}
  .area-map-pin-shared .area-map-pin-number{font-size:28px}
  /* These two badges point to the same building. Keep their tap areas separate. */
  [data-map-offices="shibuyaomotesando"] > g{translate:-15px 0}
  [data-map-offices="shibuyaomotesando-second"] > g{translate:15px 0}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
  .motion-enabled[data-input-mode="pointer"] .area-map-dot{
    transform-box:fill-box;
    transform-origin:center;
    transform:scale(var(--point-scale,1));
    transition:transform var(--motion-feedback) var(--ease-out);
  }
  .motion-enabled[data-input-mode="pointer"] .map-photo-preview img:not([hidden]){
    animation:map-photo-arrive var(--motion-feedback) var(--ease-out);
  }
  @keyframes map-photo-arrive{from{opacity:.55}to{opacity:1}}
}
.referral-role-band{background:var(--photo-matte);padding:26px 0}
.role-overview{grid-template-columns:1fr 80px 1fr;gap:24px}
.role-overview h2{font-size:25px;letter-spacing:-.025em}
.role-overview p,.role-overview-note{color:var(--ink);font-size:13px}
.role-overview>span{color:var(--accent);font-size:38px}
.role-overview-note{margin-top:14px}
.hero-referral .price-examples{padding:30px 0 22px;gap:0}
.hero-referral .price-example{gap:8px;padding-inline:32px}
.hero-referral .price-example:first-child{padding-left:0}
.hero-referral .price-example-name{font-size:20px;font-weight:700}
.hero-referral .price-example strong{font-size:60px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.hero-referral .price-example-price{font-size:17px}
.hero-referral .price-example-price>small:first-child{display:block;font-size:12px}
.hero-referral .price-example-access,.hero-referral .price-example-link{font-size:12px}
.hero-referral .price-note{font-size:12px;margin:4px 0 24px}
.hero-benefit-band{background:var(--reward-band);color:#fff}
.hero-referral .hero-benefit-strip{padding:24px 0;gap:40px;margin-inline:auto}
.hero-referral .hero-benefit-strip>div>span,.hero-referral .hero-benefit-strip>div>p,.hero-referral .hero-benefit-strip a{color:#fff}
.hero-referral .hero-benefit-strip>div>span{font-size:12px}
.hero-referral .hero-benefit-strip>div>p{font-size:16px;font-weight:600;line-height:1.8}
.hero-referral .hero-benefit-strip strong{color:#fff;font-size:42px;margin-inline:8px}
.hero-referral .hero-benefit-terms p{font-size:12px!important;color:#fff}
.hero-referral .hero-benefit-terms a{font-size:13px;border-bottom:1px solid #f2b7a1}

/* Compare in open rows: keep actual exterior photos and every price legible. */
.referral-site .section-heading{align-items:flex-end}
.referral-site .section-meta{font-size:14px;white-space:nowrap}
.directory-section .area-nav{gap:4px;margin-top:30px}
.referral-site .area-nav a,.referral-site .area-nav a:first-child{font-size:15px;font-weight:700;padding:14px 24px}
.referral-site .area-nav a[aria-current="location"]{background:var(--accent);color:#fff;border-bottom-color:var(--lime)}
.referral-site .office-group{counter-increment:area;margin-top:44px}
.referral-site #directory{counter-reset:area}
.referral-site .office-group>h3{display:flex;align-items:center;gap:16px;background:transparent;padding:0 0 16px;border-radius:0;border-bottom:2px solid var(--accent);font-size:30px;font-weight:800;line-height:1.4}
.referral-site .office-group>h3::before{content:counter(area,decimal-leading-zero);color:#a5b0bc;font:700 48px/1 system-ui,sans-serif;letter-spacing:-.05em}
.referral-site .office-group>h3 small{font-size:13px}
.referral-site .office-card{grid-template-columns:92px minmax(0,1.3fr) minmax(0,.9fr) 172px 172px;gap:24px;padding:22px 14px;min-height:140px}
.referral-site .office-card .office-preview{width:92px;height:96px;border-radius:2px}
.referral-site .office-name{font-size:17px;line-height:1.7}
.referral-site .office-price strong{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1.3}
.referral-site .office-card .office-action{justify-content:center;border:1px solid var(--accent);border-radius:3px;min-height:48px;padding:8px;font-size:13px;gap:8px}
.referral-site .office-card:hover{background:var(--hover)}
.referral-site .directory-footer{background:var(--accent);color:#fff;padding:26px 30px;border-radius:3px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.referral-site .directory-footer p{font-size:18px;font-weight:700}
.referral-site .directory-footer a{color:var(--lime);font-weight:700;white-space:nowrap}

/* Photographic spread and quiet cost reading alternate in scale and color. */
.referral-site .equipment-section,.referral-site .flow-section{background:var(--accent);color:#fff}
.referral-site .equipment-section h2,.referral-site .equipment-section h3,.referral-site .flow-section h2,.referral-site .flow-section h3{color:#fff}
.referral-site .equipment-section .section-lead,.referral-site .equipment-list p,.referral-site .equipment-photo figcaption{color:var(--on-accent)}
.referral-site .equipment-layout{grid-template-columns:1.15fr 1fr;gap:56px;margin-top:40px}
.referral-site .equipment-photo .photo-frame{border-radius:2px;aspect-ratio:850/600!important}
.referral-site .equipment-photo figcaption{font-size:12px}
.referral-site .equipment-list>article{grid-template-columns:66px 1fr;padding:24px 0;gap:20px;border-color:var(--line-dark)}
.referral-site .equipment-list h3{font-size:21px;line-height:1.7}
.referral-site .equipment-list p{font-size:14px;line-height:1.95}
.referral-site .equipment-list .item-number{font-size:44px;color:var(--lime);font-weight:700}
.referral-site .cost-grid{gap:36px;margin-top:36px}
.referral-site .cost-grid article,.referral-site .cost-grid article+article{padding:22px 0 0;border-left:0;border-top:3px solid var(--accent)}
.referral-site .cost-grid .item-number{font-size:38px;font-weight:700;color:var(--accent)}
.referral-site .cost-grid h3{font-size:21px;margin-top:10px}
.referral-site .cost-grid p{font-size:15px}
.referral-site .option-details{background:var(--soft);padding-inline:22px;border-radius:2px}
.referral-site .business-section{padding-top:0}
.referral-site .business-card{border-radius:3px;padding:32px}
.referral-site .business-card h3{font-size:23px}
.referral-site .campaign-card{background:#fce4ce;border-color:#ebbd93;color:#253347}
.referral-site .campaign-card h3{color:#253347}
.referral-site .campaign-card :is(.business-kicker,.campaign-zero){color:#a84b1d}
.referral-site .campaign-card .business-note{color:#4e5662}
.referral-site .campaign-card .btn{background:#a84b1d;border-color:#a84b1d;color:#fff}
.referral-site .campaign-card .btn:hover{background:#8e3f19;border-color:#8e3f19;color:#fff}
.referral-site .campaign-card .btn:focus-visible{outline:3px solid #8e3f19;outline-offset:4px}
.referral-site .campaign-zero{font-size:76px}
.referral-site .comparison-heading h2{font-size:clamp(30px,3.4vw,48px)}
.referral-site .comparison-heading>p{font-size:15px}
.referral-site .comparison-comic>summary{font-size:15px}
.referral-site .sim-inputs fieldset,.referral-site .sim-result{border-radius:3px;padding:28px}
.referral-site .sim-result h3{font-size:23px}
.referral-site .comic-panel{border-radius:3px}

/* The reward earns a strong color moment; its terms remain on a white canvas. */
.referral-site .cashback-section{padding-top:0}
.cashback-highlight{background:var(--reward-band);color:#fff;padding:48px 0;margin-bottom:48px}
.cashback-highlight>.wrap{display:grid;grid-template-columns:.85fr 1fr;align-items:center;gap:64px}
.cashback-display{font:800 clamp(72px,9vw,128px)/1.1 system-ui,sans-serif;letter-spacing:-.06em;color:#fff;margin:0}
.cashback-display span{font:700 .35em/1.2 "Yu Gothic",Meiryo,sans-serif;letter-spacing:0;margin-left:6px}
.cashback-highlight .eyebrow,.cashback-highlight .section-lead{color:#fff}
.referral-site .cashback-highlight h2{color:#fff;font-size:clamp(28px,2.8vw,40px);line-height:1.6}
.cashback-highlight .cashback-amount{color:#fff}
.cashback-highlight .section-lead{font-size:14px;margin-top:16px}
.referral-site .cashback-terms>h3{font-size:28px}
.referral-site .cashback-conditions>div{border-top:3px solid var(--accent);padding-top:22px}
.referral-site .cashback-conditions h4{font-size:20px}
.referral-site .cashback-detail-note{font-size:14px;border-radius:3px}
.referral-site .flow-six{gap:40px 48px;margin:42px 0 34px}
.referral-site .flow-six li,.referral-site .flow-six li:last-child{grid-template-columns:78px 1fr;gap:0 18px}
.referral-site .flow-owner{border-color:var(--line-dark);color:var(--on-accent);font-size:13px!important}
.referral-site .flow-six .step-num{width:78px;font:700 52px/1.1 system-ui,sans-serif;color:var(--lime);letter-spacing:-.06em}
.referral-site .flow-six .step-num::before{content:'0'}
.referral-site .flow-six h3{font-size:18px}
.referral-site .flow-six p,.referral-site .flow-section .section-lead,.referral-site .flow-section .hint{color:var(--on-accent);font-size:14px}
.referral-site .flow-six a{color:var(--lime);font-size:13px;text-decoration:underline}
.referral-site .flow-section>.wrap>.btn{background:var(--lime);color:var(--accent);border-color:var(--lime)}
.flow-section a:focus-visible{outline-color:var(--lime)}
.referral-site .faq{margin-top:36px;border-top:2px solid var(--accent)}
.referral-site .faq details{border:0;border-bottom:1px solid var(--line);border-radius:0;margin-top:0}
.referral-site .faq summary{padding:24px 64px 24px 60px;font-size:16px;min-height:78px}
.referral-site .faq summary::before{content:'Q';position:absolute;left:18px;font:700 24px/1.4 system-ui,sans-serif;color:var(--accent)}
.referral-site .faq summary::after{top:22px;right:22px}
.referral-site .faq details p{padding:0 60px 26px;font-size:15px}
.referral-site .faq details[open]{background:var(--hover)}

/* The consultation area is a final bold moment with a calm, native white form. */
.referral-site .inquiry-section{background:var(--accent);padding:88px 0}
.inquiry-layout{grid-template-columns:minmax(0,.83fr) minmax(0,1fr);gap:64px}
.referral-site .inquiry-intro h2{font-size:clamp(32px,3.35vw,48px);color:#fff;line-height:1.55}
.referral-site .inquiry-intro .section-lead,.referral-site .inquiry-intro .hint,.referral-site .inquiry-role-note,.referral-site .inquiry-alternative p,.referral-site .inquiry-cashback{color:var(--on-accent);font-size:14px}
.referral-site .inquiry-assurance{border:1px solid var(--lime);border-radius:3px;padding:20px 18px;color:var(--lime);font-weight:700;font-size:24px;margin-top:30px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.referral-site .inquiry-alternative a,.referral-site .inquiry-cashback a{color:var(--lime);font-size:14px}
.referral-site .inquiry-role-note{border-color:var(--line-dark)}
.referral-site .inquiry-form-column{border-radius:4px;padding:36px}
.referral-site #inquiry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.referral-site #inquiry-fields>*{grid-column:1/-1;min-width:0}
.referral-site #inquiry-fields>.inquiry-row:has(#inquiry-name),.referral-site #inquiry-fields>.inquiry-row:has(#inquiry-phone){grid-column:auto}
.referral-site .inquiry-row{align-items:start;align-content:start}
.referral-site .inquiry-offices label:has(input:checked){background:var(--hover);border-color:var(--accent)}
.referral-site .inquiry-intro a:focus-visible{outline-color:var(--lime)}

/* Dedicated pages use the same title, photograph, and price hierarchy. */
.referral-site .office-page-title{background:var(--accent);color:#fff;padding:36px;margin-top:32px;border-radius:3px}
.referral-site .office-page-title h1{color:#fff;font-size:clamp(30px,3.3vw,46px);line-height:1.5}
.referral-site .office-page-title>.text-link,.referral-site .office-page-title>p{color:var(--on-accent)}
.referral-site .office-page-role{background:transparent;color:var(--on-accent);padding:14px 0;border-top:1px solid var(--line-dark);border-radius:0}
.referral-site .office-page-title .btn{background:var(--lime);color:var(--accent);border-color:var(--lime)}
.referral-site .office-name-ending{white-space:nowrap}
.office-page-title a:focus-visible{outline-color:var(--lime)}
.referral-site .office-overview h2{font-size:30px;font-weight:800}
.referral-site .office-profile{gap:48px;padding-block:36px}
.referral-site .office-capacity{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}
@media(min-width:761px){
 .referral-site .office-profile>.office-gallery{grid-column:1;grid-row:1}
 .referral-site .office-profile>.office-overview{grid-column:2;grid-row:1}
}
.referral-site .office-page .office-detail{border-radius:3px;background:var(--soft)}
.referral-site .rate-table thead th{background:var(--accent);color:#fff;font-size:13px}
.referral-site .rate-table tbody td:last-child{background:var(--hover)}
.referral-site .rate-included{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.referral-site .office-page-back{margin:24px 0 40px}
.referral-site .footer{background:var(--accent);color:var(--on-accent)}
.referral-site .footer a,.referral-site .footer p{color:var(--on-accent)}
.page-reading-progress{background:var(--highlight);height:4px}

@media(min-width:1101px){
 .referral-site .office-page-title{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:12px 44px;align-items:start}
 .referral-site .office-page-title>.text-link{grid-column:1/-1}
 .referral-site .office-page-title h1{grid-column:1;grid-row:2;margin:8px 0}
 .referral-site .office-page-title>p:not(.office-page-role){grid-column:1;grid-row:3}
 .referral-site .office-page-title>.btn{grid-column:2;grid-row:2;margin-top:12px}
 .referral-site .office-page-role{grid-column:2;grid-row:3;border:0;margin:0;padding:0;line-height:1.9}
}

@media(max-width:1200px) and (min-width:761px){
 .referral-site .wrap{width:calc(100% - 64px)}
 .referral-site .nav{gap:16px}.referral-site .brand-name{font-size:22px}
 .hero-referral .hero-intro{gap:32px;min-height:490px}
 .hero-referral h1{font-size:clamp(36px,4.35vw,52px)}
 .hero-referral .hero-actions .btn{padding-inline:18px;font-size:14px}
 .referral-site .office-card{grid-template-columns:76px minmax(0,1.1fr) minmax(0,.85fr) 142px 144px;gap:18px}
 .referral-site .office-card .office-preview{width:76px}.referral-site .office-name{font-size:15px}.referral-site .office-price strong{font-size:29px}
 .referral-site .equipment-layout{gap:32px}.referral-site .equipment-list h3{font-size:18px}
 .referral-site .flow-six{gap:32px 28px}.referral-site .flow-six li,.referral-site .flow-six li:last-child{grid-template-columns:60px 1fr;gap:0 12px}
 .referral-site .flow-six .step-num{width:60px;font-size:44px}
 .inquiry-layout{gap:36px}.referral-site .inquiry-form-column{padding:28px}.referral-site .inquiry-assurance{font-size:20px}
}
@media(max-width:960px) and (min-width:761px){
 .referral-site .brand-name{font-size:20px}.referral-site .brand small{font-size:9px}.referral-site .nav{gap:12px}.referral-site .nav a{font-size:11px}.referral-site .nav .header-contact{padding:12px}
 .hero-referral .hero-intro{grid-template-columns:1fr 1fr;gap:24px;padding-block:40px}
 .hero-referral h1{font-size:clamp(30px,4vw,38px)}.hero-referral .hero-description{font-size:14px}.hero-referral .hero-actions{flex-direction:column;align-items:flex-start;gap:12px}
 .referral-site .office-card{grid-template-columns:66px minmax(0,1fr) 120px 130px;gap:16px}.referral-site .office-card .office-preview{width:66px;grid-row:1/3}.referral-site .office-card .office-access{grid-column:2;grid-row:2}.referral-site .office-card .office-price{grid-column:3;grid-row:1/3}.referral-site .office-card .office-action{grid-column:4;grid-row:1/3}
 .referral-site .equipment-layout{grid-template-columns:1fr;gap:32px}.referral-site .flow-six{grid-template-columns:repeat(2,minmax(0,1fr))}
 .referral-site .price-example strong{font-size:38px}.cashback-highlight>.wrap{gap:32px}.inquiry-layout{grid-template-columns:.8fr 1fr;gap:28px}.referral-site .inquiry-assurance{font-size:16px;padding:16px 10px}
}
@media(max-width:760px){
 .referral-site .wrap{width:calc(100% - 40px)}
 .business-support-options{grid-template-columns:1fr;gap:24px}
 .referral-site .header .brand-mark{width:72px;height:72px}.referral-site .header .brand-mark svg{width:72px;height:72px}
 .referral-site .brand-name{font-size:22px}.referral-site .brand small{font-size:10px}.referral-site .nav a{font-size:12px}
 .referral-site .section{padding:56px 0}.referral-site h2{font-size:30px;letter-spacing:-.045em;line-height:1.55}.referral-site .section-lead{font-size:14px}
 .hero-referral .hero-intro{display:flex;gap:28px;padding:36px 0 26px;min-height:0}
 .hero-referral h1{font-size:clamp(29px,9.1vw,48px);line-height:1.55;letter-spacing:-.055em}
 .hero-referral .hero-description{font-size:14px;margin-top:18px}.hero-referral .hero-description br{display:none}
 .hero-referral .hero-actions{gap:10px;margin-top:24px}.hero-referral .hero-actions .btn{font-size:13px;padding:14px 16px;min-height:54px;flex:1;white-space:nowrap}
 .hero-referral .hero-assurance{font-size:12px;margin-top:16px}.hero-referral .hero-image figcaption{font-size:11px;align-items:flex-start}
 .referral-role-band{padding:22px 0}.role-overview{grid-template-columns:1fr 24px 1fr;gap:8px}.role-overview p{font-size:11px}.role-overview h2{font-size:14px;letter-spacing:-.04em}.role-overview>span{font-size:24px}.role-overview-note{font-size:11px;line-height:1.9}
 .hero-referral .price-examples{padding:26px 0 16px}.hero-referral .price-example{padding:0 10px;gap:6px}.hero-referral .price-example-name{font-size:13px}.hero-referral .price-example strong{font-size:28px;letter-spacing:-.06em}.hero-referral .price-example-price{font-size:12px}.hero-referral .price-example-price>small:first-child{font-size:10px}.hero-referral .price-example-link{font-size:11px}.hero-referral .price-note{font-size:11px;margin-bottom:22px}
 .hero-referral .hero-benefit-strip{padding:22px 0}.hero-referral .hero-benefit-strip>div>p{font-size:14px}.hero-referral .hero-benefit-strip strong{font-size:36px}.hero-referral .hero-benefit-terms{margin-top:14px}
 .referral-site .area-nav a,.referral-site .area-nav a:first-child{font-size:12px;padding:12px 0;min-height:48px}
 .referral-site .section-heading{display:block}.referral-site .section-meta{display:block;margin-top:16px;font-size:13px}
 .referral-site .office-group{margin-top:30px}.referral-site .office-group>h3{font-size:23px;gap:12px;padding-bottom:14px}.referral-site .office-group>h3::before{font-size:38px}.referral-site .office-group>h3 small{font-size:12px}
 .referral-site .office-card{grid-template-columns:72px minmax(0,1fr);gap:6px 16px;padding:20px 2px;min-height:170px}.referral-site .office-card .office-preview{width:72px;height:100px;grid-row:1/5}.referral-site .office-name{font-size:15px}.referral-site .office-access{font-size:12px}.referral-site .office-price strong{font-size:29px}.referral-site .office-card .office-price{font-size:12px}.referral-site .office-card .office-action{grid-column:2;justify-content:flex-start;border:0;padding:6px 0;min-height:38px;font-size:12px}
 .referral-site .directory-footer{display:block;padding:22px}.referral-site .directory-footer p{font-size:16px}.referral-site .directory-footer a{display:inline-flex;min-height:44px;align-items:center;margin-top:8px}
 .referral-site .equipment-layout{grid-template-columns:1fr;gap:30px;margin-top:28px}.referral-site .equipment-list>article{grid-template-columns:48px 1fr;gap:16px;padding:22px 0}.referral-site .equipment-list .item-number{font-size:34px}.referral-site .equipment-list h3{font-size:18px}.referral-site .equipment-list p{font-size:14px}
 .referral-site .cost-grid{grid-template-columns:1fr;gap:28px}.referral-site .cost-grid article,.referral-site .cost-grid article+article{padding:18px 0 0}.referral-site .cost-grid .item-number{font-size:32px}.referral-site .cost-grid h3{font-size:19px}.referral-site .option-details{padding-inline:16px}.referral-site .option-details>summary{font-size:13px}
 .referral-site .business-section{padding-top:0}.referral-site .business-card{padding:26px 20px}.referral-site .business-card h3{font-size:20px}.referral-site .campaign-zero{font-size:62px}.referral-site .comparison-heading h2{font-size:30px}.referral-site .sim-inputs fieldset,.referral-site .sim-result{padding:22px 16px}
 .referral-site .cashback-section{padding-top:0}.cashback-highlight{padding:32px 0;margin-bottom:32px}.cashback-highlight>.wrap{grid-template-columns:1fr;gap:18px}.cashback-display{font-size:88px}.referral-site .cashback-highlight h2{font-size:25px}.cashback-highlight .section-lead{font-size:13px}.referral-site .cashback-terms>h3{font-size:23px}.referral-site .cashback-conditions h4{font-size:18px}
 .referral-site .flow-six{grid-template-columns:1fr;gap:30px;margin:32px 0}.referral-site .flow-six li,.referral-site .flow-six li:last-child{grid-template-columns:64px 1fr;gap:0 16px}.referral-site .flow-six .step-num{width:64px;font-size:44px}.referral-site .flow-six h3{font-size:17px}.referral-site .flow-six p{font-size:14px}.referral-site .flow-owner{font-size:12px!important}
 .referral-site .faq summary{font-size:14px;padding:22px 42px 22px 40px;min-height:78px}.referral-site .faq summary::before{left:8px;font-size:22px}.referral-site .faq summary::after{right:10px;top:20px}.referral-site .faq details p{font-size:14px;padding:0 18px 24px 40px}
 .referral-site .inquiry-section{padding:56px 0}.inquiry-layout{grid-template-columns:1fr;gap:30px}.referral-site .inquiry-intro h2{font-size:30px}.referral-site .inquiry-assurance{font-size:20px;padding:18px 16px;margin-top:22px}.referral-site .inquiry-form-column{padding:24px 18px}
 .referral-site #inquiry-fields{display:block}
 .referral-site .office-page-title{padding:26px 20px;margin-top:24px}.referral-site .office-page-title h1{font-size:29px}.referral-site .office-page-title .btn{white-space:normal}.referral-site .office-profile{gap:28px;padding:28px 0}.referral-site .office-overview h2{font-size:25px}.referral-site .rate-included{font-size:15px}.referral-site .rate-table thead th{font-size:11px}
}
@media(max-width:360px){
 .referral-site .header .brand-mark{width:64px;height:64px}.referral-site .header .brand-mark svg{width:64px;height:64px}.referral-site .header .brand-copy{min-width:0}.referral-site .header .brand-copy small{white-space:normal}
 .referral-site .wrap{width:calc(100% - 32px)}.hero-referral h1{font-size:29px}.hero-referral .hero-actions{flex-direction:column}.hero-referral .hero-actions .btn{width:100%;font-size:14px}.hero-referral .price-example{padding-inline:7px}.hero-referral .price-example strong{font-size:24px}.referral-site .office-card{grid-template-columns:60px minmax(0,1fr);gap:6px 12px}.referral-site .office-card .office-preview{width:60px}.referral-site .inquiry-assurance{font-size:18px}.referral-site .brand small{font-size:9px}
}
@media print{.hero-stage,.referral-site .equipment-section,.referral-site .flow-section,.referral-site .office-page-title{background:#fff;color:var(--ink)}.hero-stage h1,.referral-site .equipment-section h2,.referral-site .equipment-section h3,.referral-site .flow-section h2,.referral-site .flow-section h3,.referral-site .office-page-title h1{color:var(--ink)}.referral-site .section{padding:24px 0}.referral-site .office-page-title{margin-top:0}.referral-site .inquiry-section{display:none}}

/* Quality maintenance: presentation only; protected content remains unchanged. */
/* 1. Rhythm: give disclosure content and property facts a consistent cadence. */
.referral-site .office-facts>div{padding-block:16px}
.referral-site .office-overview .office-description{line-height:1.95}
.referral-site .business-support-options{padding-top:12px;padding-bottom:20px}
.referral-site .office-cautions+.office-cautions{margin-top:18px}

/* 2. Reading: keep captions and long descriptions comfortable to scan. */
.referral-site :is(p,li,dd){line-break:strict}
.referral-site :is(.office-description,.office-cautions li,.faq details p){overflow-wrap:anywhere}
.referral-site .office-gallery figcaption{font-size:12px;line-height:1.8}
.referral-site .office-facts dt{font-size:13px}
.referral-site .office-facts dd{font-size:14px;line-height:1.9;overflow-wrap:anywhere}

/* 3. Contrast: underline text links without relying on a color change. */
.referral-site .text-link{text-underline-offset:4px;text-decoration-thickness:1px}
.referral-site .footer a{text-underline-offset:4px}
.referral-site ::selection{background:#f4d8c0;color:#253347}

/* 4. Alignment: equal-sized numeric figures and resilient grid children. */
.referral-site :is(.rate-table,.office-options-table,.office-price,.sim-result){font-variant-numeric:tabular-nums}
.referral-site :is(.office-overview,.office-gallery,.business-support-options>article){min-width:0}
.referral-site .business-support-options h4{line-height:1.7}

/* 5. Responsive flow: preserve full labels when space is constrained. */
@media(max-width:760px){
 .referral-site .hero-referral .hero-description{font-size:15px;line-height:1.95}
 .referral-site .office-detail-nav{row-gap:4px;column-gap:16px}
 .referral-site .office-facts>div{padding-block:14px}
 .referral-site .office-facts dd{font-size:14px}
 .referral-site .office-card .office-action{min-height:44px;align-items:center}
}
@media(max-width:420px){
 .hero-referral .hero-actions{flex-direction:column;align-items:stretch}
 .hero-referral .hero-actions .btn{width:100%;white-space:normal}
 .referral-site .office-detail-nav{column-gap:12px}
}

/* 6. Targets: keep navigation links and disclosures easy to activate. */
.referral-site .nav a{min-height:44px;display:inline-flex;align-items:center}
.referral-site .office-detail-nav a{display:inline-flex;align-items:center;min-height:44px}
.referral-site .office-gallery-more>summary{min-height:52px;padding-block:14px;cursor:pointer}
.referral-site .btn:disabled{cursor:default;opacity:.65}

/* 7. Keyboard access: a two-color ring remains visible on white and navy. */
.referral-site :is(a,button,summary,input,select,textarea):focus-visible{
 outline:3px solid var(--highlight);outline-offset:3px;box-shadow:0 0 0 6px #fff;
}
.referral-site .faq summary:focus-visible{outline-offset:-4px;box-shadow:none}
.referral-site .office-carousel-select:focus-visible .office-carousel-name{text-decoration:underline;text-underline-offset:4px}

/* 8. Feedback cost: hover states repaint only the target and add no layout work. */
@media(hover:hover) and (pointer:fine){
 .referral-site .office-detail-nav a:hover{color:var(--highlight-hover);text-decoration:underline;text-underline-offset:5px}
 .referral-site .office-gallery-more>summary:hover{background:var(--soft)}
 .referral-site .footer a:hover{text-decoration:underline}
}

/* 9. Motion preferences: also cover smooth anchor scrolling on the root. */
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
}

/* 10. Edge states: addresses and URLs wrap without clipping published text. */
.office-photo-original{display:block;position:relative;text-decoration:none;cursor:zoom-in}
.photo-recovery{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;background:#fff;color:var(--ink);font-size:14px}
.photo-recovery button{min-height:44px;padding:6px 12px;border:1px solid currentColor;border-radius:4px;background:#fff;color:inherit;font:inherit;cursor:pointer}
.photo-recovery[hidden]{display:none}
#sim-inquire[aria-disabled="true"]{background:#ececec;border-color:#757575;color:#555;cursor:not-allowed}
.photo-open-label{position:absolute;right:9px;bottom:9px;padding:4px 9px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:3px;color:var(--ink);font-size:11px;line-height:1.6}
/* Shared editorial typography, property spreads and price tables. */
@media screen {
  .referral-site .header { border-bottom: 1px solid var(--line); box-shadow: none; }
  .referral-site .header-inner { min-height: 76px; }
  .referral-site .header .brand-mark,
  .referral-site .header .brand-mark svg { width: 62px; height: 62px; }
  .referral-site .brand-name { letter-spacing: .025em; }
  .referral-site .nav .header-contact,
  .referral-site .office-page-title .btn,
  .referral-site .mobile-shortcut a:last-child {
    color: white;
    background: var(--highlight);
    border-color: var(--highlight);
  }
  .referral-site .nav .header-contact:hover,
  .referral-site .office-page-title .btn:hover,
  .referral-site .mobile-shortcut a:last-child:hover { background: var(--highlight-hover); }
  .referral-site .section-heading h2,
  .referral-site .section > .wrap > h2,
  .referral-site .office-overview h2,
  .referral-site .document h1 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.45;
  }
  .referral-site .office-group > h3 {
    border-bottom: 1px solid var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
  }
  .referral-site .office-group > h3::before { content: none; }
  .referral-site .office-group > h3 small { color: var(--muted); }
  .referral-site .office-card {
    border-color: var(--line);
    background: var(--paper);
  }
  .referral-site .office-card:hover { background: var(--soft); }
  .referral-site .office-card .office-action {
    gap: 4px;
    padding-inline: 4px;
    white-space: nowrap;
  }
  .referral-site .office-card .office-action .motion-arrow {
    width: auto;
    height: auto;
    border: 0;
  }
  .referral-site .office-card .office-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--photo-matte);
  }
  .referral-site .office-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.55;
  }
  .referral-site .office-access,
  .referral-site .office-capacity,
  .referral-site .office-visual-count { color: var(--muted); font-size: 14px; }
  .referral-site .office-price strong { color: var(--ink); }
  .referral-site .office-page-title {
    margin-top: clamp(20px, 3vw, 48px);
    padding: clamp(20px, 3vw, 48px);
    border-block: 1px solid var(--line);
    border-radius: 0;
    background: var(--soft);
    color: var(--ink);
  }
  .referral-site .office-page-title h1 {
    color: var(--ink);
    font: 600 clamp(30px, 3.8vw, 56px)/1.45 var(--font-display);
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }
  .referral-site .office-page-title .text-link,
  .referral-site .office-page-title > p { color: var(--muted); }
  .referral-site .office-page-title > .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .referral-site .office-page-title .office-license-links { grid-column: 1 / -1; }
  .referral-site .office-page-title a:focus-visible { outline-color: var(--highlight); }
  .referral-site .office-page .office-profile { padding-block: clamp(32px, 5vw, 72px); }
  .referral-site .office-gallery { gap: clamp(16px, 2vw, 28px); }
  .referral-site .office-photo-original {
    padding: clamp(4px, .7vw, 10px);
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .referral-site .office-photo figcaption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    text-align: left;
  }
  .referral-site .office-description,
  .referral-site .office-facts,
  .referral-site .office-features { font-size: 16px; line-height: 1.85; }
  .referral-site .office-features li + li { margin-top: .5em; }
  .referral-site .office-page .office-detail { border-radius: 0; }
  .referral-site .rate-table { background: white; }
  .referral-site .rate-table caption { font-size: 18px; line-height: 1.55; }
  .referral-site .rate-table td,
  .referral-site .rate-table thead th:not(:first-child),
  .referral-site .office-options-table :is(td, th):nth-child(2) {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
  .referral-site .rate-table th:first-child { text-align: left; }
  .referral-site .rate-table .rate-excluded,
  .referral-site .rate-caption-note { color: var(--muted); font-size: 14px; }
  .referral-site .rate-table .rate-tax-label { font-size: 12px; }
  .referral-site .document {
    max-width: 54rem;
    margin-inline: auto;
    padding-block: clamp(48px, 6vw, 96px);
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
  }
  .referral-site .document h1 { margin-block: .45em .65em; font-size: clamp(30px, 4vw, 54px); }
  .referral-site .document h2 {
    margin-top: 2.25em;
    padding-top: .9em;
    border-top: 1px solid var(--line);
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: 0;
  }
  .referral-site .footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
  .referral-site .footer .brand-copy small { color: var(--on-accent); }
  .referral-site .office-photo-original .photo-frame { border: 0; border-radius: 0; }
}
@media screen and (min-width: 1101px) {
  .referral-site .office-card { grid-template-columns: 144px minmax(0, 1.3fr) minmax(0, .95fr) 158px 150px; }
}
@media screen and (min-width: 761px) and (max-width: 1000px) {
  .hero-referral .price-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-referral .price-example { padding-inline: 16px; }
  .hero-referral .price-example strong { font-size: clamp(34px, 4.5vw, 44px); }
  .referral-site .office-page .office-detail { grid-template-columns: 1fr; }
}
@media screen and (max-width: 760px) {
  .referral-site .header-inner { min-height: auto; }
  .referral-site .header .brand-mark,
  .referral-site .header .brand-mark svg { width: 52px; height: 52px; }
  .referral-site .office-card { grid-template-columns: clamp(76px, 23vw, 128px) minmax(0, 1fr); }
  .referral-site .office-page-title {
    margin-top: 12px;
    padding: 20px 0 12px;
    background: white;
    border-top: 0;
  }
  .referral-site .office-page-title h1 { text-wrap: balance; }
  .referral-site .office-page-title .office-license-links { gap: 0 16px; margin-top: 10px; }
  .referral-site .office-page .office-profile {
    display: grid !important; /* Earlier mobile layout sets display:flex !important. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    padding-top: 24px;
  }
  .referral-site .office-page .office-gallery { display: contents; }
  .referral-site .office-profile .office-photo:first-child { grid-area: 1 / 1 / 2 / -1; }
  .referral-site .office-profile .office-overview { position: static; grid-area: 2 / 1 / 3 / -1; }
  .referral-site .office-profile .office-photo-source { grid-column: 1 / -1; }
  .referral-site .office-page .office-detail { padding: 20px 8px; }
  .referral-site .rate-table :is(th, td) { padding: 10px 4px; }
  .referral-site .rate-table .rate-excluded { white-space: normal; }
}
/* B43: Fit the whole photograph first; inspect the published image at native pixels. */
.referral-site .photo-dialog{
 width:min(1320px,calc(100vw - 32px));
 max-width:none;
 max-height:calc(100dvh - 24px);
 padding:16px;
}
.photo-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.photo-viewer-toolbar .dialog-close{position:static;flex:none;box-shadow:none}
.photo-viewer-toolbar button,
.photo-viewer-controls button{
 min-height:44px;
 padding:8px 12px;
 border:1px solid var(--line);
 border-radius:4px;
 background:#fff;
 color:var(--ink);
 cursor:pointer;
 font:inherit;
 font-size:13px;
 line-height:1.6;
}
.photo-viewer-toolbar button:disabled{opacity:.6;cursor:default}
.photo-viewer-toolbar [aria-pressed="true"]{background:var(--soft);border-color:var(--accent)}
.photo-dialog figure{margin:12px 0 0}
.photo-viewer-stage{
 width:100%;
 height:min(50dvh,420px);
 overflow:auto;
 overscroll-behavior:contain;
 touch-action:pan-x pan-y pinch-zoom;
 background:var(--photo-matte);
}
.photo-viewer-stage[hidden],.photo-viewer-stage img[hidden]{display:none}
.photo-dialog .photo-viewer-stage img{
 display:block;
 max-width:100%;
 max-height:100%;
 margin:0 auto;
 object-fit:contain;
}
.photo-dialog.is-original-size .photo-viewer-stage img{max-width:none;max-height:none;margin:0}
.photo-viewer-stage:focus-visible{outline:3px solid var(--highlight);outline-offset:-3px}
.photo-dialog figcaption{margin-top:8px;font-size:14px;line-height:1.6}
.photo-dialog .photo-viewer-status{margin:10px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.photo-dialog [data-photo-plan-note]{margin-top:8px;font-size:13px;line-height:1.7}
.photo-dialog [data-photo-plan-note] a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
.referral-site [data-photo-rate-target]:focus{outline:2px solid var(--highlight);outline-offset:4px}
.photo-viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.photo-viewer-controls span{font-size:13px;color:var(--muted);white-space:nowrap}
@media(max-width:760px){
 .referral-site .photo-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:8px}
 .photo-viewer-toolbar{gap:8px}
 .photo-viewer-toolbar button,.photo-viewer-controls button{padding:8px 10px}
}
@media(max-width:360px){
 .referral-site .photo-dialog{width:calc(100vw - 8px);padding:6px}
 .photo-viewer-controls{gap:6px}
 .photo-viewer-controls button{padding-inline:8px;font-size:12px}
}
.referral-site :is(.office-map-heading p,.office-cautions li,.inquiry-alternative a){overflow-wrap:anywhere}
.referral-site .office-options-table td{overflow-wrap:anywhere}

.hero-referral .campaign-banner{background:#fff4e9;color:var(--ink);border-block:1px solid #efd6c1}
.campaign-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:32px;align-items:end;padding-block:42px}
.campaign-eyebrow{font-size:12px;font-weight:700;color:var(--highlight);margin-bottom:12px}
.hero-referral .campaign-content h2{font-size:34px;line-height:1.5;letter-spacing:-.03em;margin:0 0 24px}
.campaign-offers{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:12px;align-items:stretch}
.campaign-offer{background:#fff;border:1px solid #dfc7b5;border-radius:6px;padding:22px 20px;min-width:0}
.campaign-offer.campaign-creation{border:2px solid var(--highlight)}
.campaign-provider{font-size:12px;font-weight:700;margin:0 0 16px;line-height:1.7}
.hero-referral .campaign-offer h3{font-size:17px;line-height:1.6;margin:0 0 16px}
.campaign-offer h3 strong{display:block;color:var(--highlight);font-size:72px;font-weight:800;line-height:1.2;letter-spacing:-.05em;white-space:nowrap;font-variant-numeric:tabular-nums;margin:6px 0}
.campaign-offer h3 strong span{font-size:24px;letter-spacing:0;margin-left:4px}
.campaign-offer>p:not(.campaign-provider){font-size:12px;line-height:1.8}
.campaign-offer a{display:inline-block;margin-top:14px;font-size:12px;font-weight:700;text-underline-offset:4px;line-height:1.8;min-height:30px}
.campaign-plus{align-self:center;text-align:center;font-size:27px;font-weight:700;color:var(--highlight)}
.campaign-combine{font-size:13px;line-height:1.9;margin-top:18px}
.campaign-combine strong{display:block;font-size:18px}
.campaign-guide{margin:0;min-width:0}
.campaign-guide-portrait{height:375px}
.campaign-guide-portrait img{width:100%;height:100%;object-fit:contain;object-position:bottom}
.campaign-guide figcaption{font-size:10px;line-height:1.6;color:var(--muted);text-align:center;margin-top:8px}
@media(max-width:1100px){.campaign-layout{grid-template-columns:minmax(0,1fr) 180px;gap:20px}.campaign-guide-portrait{height:270px}.campaign-offer{padding:18px 14px}.campaign-offer h3 strong{font-size:54px}.campaign-offer h3 strong span{font-size:21px}}
@media(max-width:800px){.campaign-layout{display:block;position:relative;padding-block:28px}.hero-referral .campaign-content h2{font-size:29px;padding-right:155px;min-height:170px}.campaign-eyebrow{max-width:210px;font-size:11px}.campaign-guide{position:absolute;right:0;top:30px;width:140px}.campaign-guide-portrait{height:210px}.campaign-guide figcaption{font-size:9px}.campaign-offer h3 strong{font-size:64px}}
@media(max-width:500px){.campaign-offers{grid-template-columns:1fr;gap:10px}.campaign-plus{line-height:1}.campaign-offer{padding:20px}.campaign-offer h3 strong{font-size:76px}.hero-referral .campaign-content h2{font-size:26px;padding-right:135px;min-height:185px}.campaign-guide{width:125px;top:40px}.campaign-guide-portrait{height:188px}.campaign-combine strong{font-size:17px}}
@media(max-width:360px){.hero-referral .campaign-content h2{font-size:20px;padding-right:125px}}
.map-photo-preview{position:fixed;z-index:110;box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 36px #25334738;color:var(--ink)}
.map-photo-preview[hidden],.map-photo-preview img[hidden]{display:none}
.map-photo-preview h2{font-size:19px;line-height:1.6;margin:0 0 12px}
.map-photo-preview .map-photo-image{height:min(280px,42vh);background:var(--photo-matte)}
.map-photo-preview img{display:block;width:100%;height:100%;object-fit:contain}
.map-photo-preview figcaption{font-size:12px;color:var(--muted);line-height:1.7;margin-top:8px}
.map-photo-preview .hint:empty{display:none}
.map-photo-preview .map-photo-detail{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;margin-top:8px;text-underline-offset:4px}
.map-photo-preview a:focus-visible{outline:3px solid var(--highlight);outline-offset:3px}

/* Make licensing support visible at the start of the homepage. */
.hero-license h1{font-size:clamp(30px,3.7vw,54px);line-height:1.5}
.hero-license .hero-license-types{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.hero-license-types li{padding:6px 12px;border:1px solid #d2dadc;border-radius:3px;background:#fff;font-size:14px;font-weight:700;color:var(--ink)}
.hero-license .hero-assurance .text-link{display:inline-block;margin-top:10px;font-size:13px}
.recruitment-proof{margin-top:20px;padding:14px 18px;background:#fff;border-inline-start:4px solid var(--highlight)}
.recruitment-proof p{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:14px;font-weight:700;margin:0}
.recruitment-proof span{color:var(--highlight);font-size:20px}
.recruitment-proof strong{font-size:46px;line-height:1.1;font-variant-numeric:tabular-nums;margin-right:4px}
.recruitment-proof small{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin-top:8px}
.recruitment-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0}
.recruitment-support article{padding:28px;background:var(--soft);border-top:3px solid var(--highlight)}
.recruitment-support .recruitment-number{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--highlight);margin-bottom:14px}
.recruitment-support h3{font-size:25px;line-height:1.6;margin-bottom:16px}
.recruitment-support article>p:last-child{font-size:14px;line-height:1.9}
.recruitment-planning{padding:28px;margin:0 0 32px;border:1px solid var(--line)}
.recruitment-planning h3{font-size:24px;line-height:1.5;margin-bottom:14px}
.recruitment-planning>p{font-size:14px;line-height:1.9}
.recruitment-planning .btn{margin:20px 0;background:var(--highlight);color:#fff;white-space:normal}
@media(max-width:900px){.recruitment-support{grid-template-columns:1fr}.recruitment-support h3 br{display:none}}
@media(max-width:600px){.recruitment-support article,.recruitment-planning{padding:20px}.recruitment-support h3,.recruitment-planning h3{font-size:22px}.recruitment-proof strong{font-size:38px}.recruitment-proof p{gap:6px 12px}}
.referral-site #business-support{padding-top:64px;scroll-margin-top:120px}
.referral-site #business-support .business-grid{grid-template-columns:1.35fr 1fr}
.referral-site #business-support .business-card:first-child{border-top:4px solid var(--highlight)}
.referral-site #business-support .business-card:first-child h3{font-size:26px;line-height:1.6}
@media(max-width:900px){.referral-site #business-support .business-grid{grid-template-columns:1fr}}
@media(max-width:600px){
 .hero-license h1{font-size:clamp(26px,7.5vw,32px)}
 .hero-license-types li{font-size:13px;padding:5px 9px}
 .referral-site #business-support{padding-top:40px;scroll-margin-top:85px}
 .referral-site #business-support .business-card:first-child h3{font-size:22px}
}

/* Keep the selected room's monthly rates prominent beside the controls. */
.referral-site #sim-rate-note{
 font-size:clamp(20px,1.7vw,24px);
 font-weight:700;
 line-height:1.7;
 font-variant-numeric:tabular-nums;
 color:var(--ink);
 background:#fff8f1;
 border:1px solid #e6cbb6;
 border-inline-start:4px solid var(--highlight);
 border-radius:3px;
 padding:18px 20px;
 overflow-wrap:anywhere;
}
@media(max-width:600px){
 .referral-site #sim-rate-note{padding:16px;line-height:1.65}
}
@media(forced-colors:active){
 .referral-site :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid Highlight;box-shadow:none}
 .referral-site .office-carousel-card.is-current .office-carousel-media{outline-color:Highlight}
}

/* B23: Keep all published content; make conditions and local navigation easier to use. */
.referral-site .campaign-provider{font-size:13px}
.referral-site .campaign-offer{display:flex;flex-direction:column}
.referral-site .campaign-offer>p:not(.campaign-provider){font-size:14px;line-height:1.85}
.referral-site .campaign-offer a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;padding-block:8px;margin-top:auto}
.referral-site .campaign-combine{font-size:14px}
.referral-site :is(.hero-assurance,.role-overview-note,.business-note,.sim-assumption,.sim-breakdown,.sim-scope){font-size:14px;line-height:1.9}
.referral-site .recruitment-proof small{font-size:13px;line-height:1.85}
.referral-site .rate-caption-note{font-size:13px;line-height:1.8}
.referral-site .rate-conditions p{font-size:14px;line-height:1.9}
.referral-site .business-terms p{font-size:14px;line-height:1.9}
.referral-site .plan-notice a[href$="-rates"],.referral-site .flow-six a[href="#cashback-terms"]{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
@media(max-width:600px){
 .referral-site .office-detail-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;overflow:visible}
 .referral-site .office-detail-nav a{min-width:0;min-height:44px;padding:8px 6px;font-size:12px;line-height:1.6;white-space:normal}
 .referral-site .office-detail[id],.referral-site .office-profile[id],.referral-site .office-options[id],.referral-site .office-map[id]{scroll-margin-top:calc(var(--header-offset) + 112px)}
}

/* B26: Space portraits apart and keep the original explanatory headings full width. */
.people-insert{width:100%;margin:0;min-width:0}
.people-guide-portrait{aspect-ratio:2/3;width:100%}
.people-guide-portrait img{display:block;width:100%;height:100%;object-fit:contain}
#contact .inquiry-intro.has-people-guide{display:grid;grid-template-columns:minmax(0,1fr) 160px;column-gap:20px;align-content:start}
#contact .has-people-guide>*{grid-column:1/-1;min-width:0}
#contact .has-people-guide>.section-lead{grid-column:1;grid-row:3}
#contact .has-people-guide>.people-insert{grid-column:2;grid-row:3;align-self:start}
@media(max-width:1000px){#contact .inquiry-intro.has-people-guide{grid-template-columns:minmax(0,1fr) 140px;column-gap:16px}}
@media(max-width:600px){
 #contact .inquiry-intro.has-people-guide{grid-template-columns:minmax(0,1fr) 120px}
 #contact .has-people-guide>.section-lead{grid-column:1/-1}
 #contact .has-people-guide>.people-insert{grid-column:2;grid-row:4}
 #contact .inquiry-intro.has-people-guide>.inquiry-assurance{grid-column:1;grid-row:4;align-self:center;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:16px;padding:16px 8px;margin-block:0}
 #contact .inquiry-intro.has-people-guide>.inquiry-assurance>span{gap:6px;border:0;padding:0}
 #contact .inquiry-intro.has-people-guide>.inquiry-assurance svg{width:24px;height:24px}
}
@media(max-width:360px){#contact .inquiry-intro.has-people-guide>.inquiry-assurance{font-size:15px}}

/* B27: Reach the form promptly; keep all existing explanations and photos. */
.founder-story{margin:28px 0;padding:28px 32px;border-left:4px solid var(--accent,#b6531d);background:#fff8f0}
.founder-story h3{font-size:clamp(22px,3vw,30px);margin:8px 0 14px}
.founder-story p{line-height:1.95}.founder-story small{font-size:13px;line-height:1.8}
.office-license-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:18px}
.office-license-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
#contact .inquiry-heading{grid-column:1/-1}
#contact .inquiry-heading h2{font-size:clamp(28px,4vw,48px);line-height:1.55;margin:0;color:#fff}
#contact .has-people-guide>.section-lead{grid-row:1}
#contact .has-people-guide>.people-insert{grid-row:1}
@media(max-width:760px){
 #contact .inquiry-heading{grid-row:1}
 #contact .inquiry-form-column{grid-row:2}
 #contact .inquiry-intro{grid-row:3}
 #contact .inquiry-layout{row-gap:24px}
 .founder-story{padding:22px 20px}
}
@media(max-width:600px){
 #contact .has-people-guide>.section-lead{grid-row:1}
 #contact .has-people-guide>.people-insert,#contact .inquiry-intro.has-people-guide>.inquiry-assurance{grid-row:2}
}

/* B42: Give the real office photograph room beside the opening message. */
.hero-referral.hero-license .hero-intro{
 display:grid;
 grid-template-columns:minmax(0,45fr) minmax(0,55fr);
 gap:36px;
 align-items:start;
 min-height:0;
 padding-block:44px;
}
.hero-referral.hero-license h1{
 font-family:var(--font-display,"Yu Mincho","Hiragino Mincho ProN",serif);
 font-size:clamp(48px,3.6vw,58px);
 font-weight:600;
 line-height:1.38;
 letter-spacing:-.055em;
}
.hero-referral.hero-license .motion-phrase{color:var(--ink)}
.hero-referral.hero-license .motion-phrase::after{content:none;animation:none}
.hero-referral.hero-license .hero-kicker{
 font-size:12px;
 letter-spacing:.07em;
 margin-bottom:16px;
}
.hero-referral.hero-license .hero-description{
 font-size:16px;
 line-height:1.9;
 margin-top:22px;
}
.hero-referral.hero-license .hero-image{
 width:100%;
 max-width:none;
 margin:0;
}
.hero-referral.hero-license .hero-image .photo-frame{
 aspect-ratio:4/3!important;
 border-radius:4px;
}
.hero-referral.hero-license .hero-image img{object-fit:contain}
.hero-referral.hero-license #hero-office-caption{
 min-height:1.8em;
 margin-top:10px;
 font-size:12px;
}
.hero-referral.hero-license .recruitment-proof{
 margin-top:24px;
 padding:16px 0 0;
 border-inline-start:0;
 border-top:1px solid var(--line);
 background:transparent;
}
.hero-referral.hero-license .recruitment-proof p{gap:6px 16px;font-size:13px}
.hero-referral.hero-license .recruitment-proof span{font-size:18px;color:var(--ink)}
.hero-referral.hero-license .recruitment-proof strong{font-size:46px}
.hero-referral.hero-license .recruitment-proof small{font-size:14px;line-height:1.8}
.hero-referral.hero-license .hero-actions{
 gap:10px;
 margin-top:24px;
}
.hero-referral.hero-license .hero-actions .btn{
 min-height:54px;
 padding:13px 18px;
 font-size:14px;
 background:var(--highlight);
 border-color:var(--highlight);
 color:#fff;
}
.hero-referral.hero-license .hero-actions .btn:hover{
 background:var(--highlight-hover);
 border-color:var(--highlight-hover);
}
.hero-referral.hero-license .hero-actions .btn-outline{
 background:transparent;
 color:var(--ink);
 border-color:var(--control-line);
}
.hero-referral.hero-license .hero-actions .btn-outline:hover{
 background:var(--hover);
 border-color:var(--accent);
 color:var(--ink);
}
.hero-referral.hero-license .hero-assurance{font-size:13px;line-height:1.9}
.hero-referral.hero-license .office-carousel-card{width:clamp(124px,13vw,168px)}
.hero-referral.hero-license .office-carousel-name{font-size:11px;min-height:3.4em}
.hero-referral.hero-license .hero-carousel-wrap{padding-bottom:24px}

@media(min-width:761px) and (max-width:1000px){
 .hero-referral.hero-license .hero-intro{gap:24px;padding-block:32px}
 .hero-referral.hero-license h1{font-size:clamp(36px,4.4vw,44px)}
 .hero-referral.hero-license .hero-description{font-size:16px}
}

/* Keep the audience and heading first, then show the photograph before the detail. */
@media(max-width:1000px){
 .hero-referral.hero-license .hero-intro{
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"kicker" "title" "photo" "description" "proof" "actions" "assurance";
  gap:12px;
  padding-block:24px;
 }
 .hero-referral.hero-license .hero-copy{display:contents}
 .hero-referral.hero-license .hero-kicker{
  grid-area:kicker;
  font-size:11px;
  line-height:1.7;
  letter-spacing:.03em;
  margin:0;
 }
 .hero-referral.hero-license h1{
  grid-area:title;
  font-size:clamp(30px,8.5vw,36px);
  line-height:1.4;
  letter-spacing:-.055em;
  margin:0;
 }
 .hero-referral.hero-license .hero-image{grid-area:photo;margin-top:4px}
 .hero-referral.hero-license .hero-image .photo-frame{
  width:100%;
  min-width:0;
  aspect-ratio:16/10!important;
  min-height:160px;
 }
 .hero-referral.hero-license #hero-office-caption{min-height:0;margin-top:7px;font-size:11px}
 .hero-referral.hero-license .hero-description{grid-area:description;margin:4px 0 0;font-size:16px}
 .hero-referral.hero-license .recruitment-proof{grid-area:proof;margin:4px 0 0;padding-top:14px}
 .hero-referral.hero-license .recruitment-proof p{gap:4px 12px;font-size:12px}
 .hero-referral.hero-license .recruitment-proof span{font-size:16px}
 .hero-referral.hero-license .recruitment-proof strong{font-size:36px}
 .hero-referral.hero-license .recruitment-proof small{font-size:14px;line-height:1.8}
 .hero-referral.hero-license .hero-actions{grid-area:actions;flex-direction:column;align-items:stretch;margin:6px 0 0;gap:10px}
 .hero-referral.hero-license .hero-actions .btn{width:100%;font-size:14px;white-space:normal}
 .hero-referral.hero-license .hero-assurance{grid-area:assurance;margin:4px 0 0;font-size:12px}
 .hero-referral.hero-license .office-carousel-card{width:116px}
 .hero-referral.hero-license .office-carousel-name{font-size:11px;min-height:3.4em}
 .hero-referral.hero-license .hero-carousel-wrap{padding-bottom:20px}
}
@media(min-width:761px) and (max-width:1000px){
 .hero-referral.hero-license .hero-image .photo-frame{
  aspect-ratio:auto!important;
  height:clamp(220px,38vw,320px);
  min-height:0;
 }
 .hero-referral.hero-license .hero-actions{flex-direction:row;flex-wrap:wrap}
 .hero-referral.hero-license .hero-actions .btn{width:auto;flex:0 1 auto}
}
@media(max-width:360px){
 .hero-referral.hero-license h1{letter-spacing:-.095em}
}

/* B43: one transport control stays beside the current photograph's name. */
.hero-referral.hero-license .hero-image{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 column-gap:12px;
 align-items:start;
}
.hero-referral.hero-license .hero-image>.photo-frame{grid-column:1/-1}
.hero-referral.hero-license .hero-image>#hero-office-caption{
 grid-column:1;
 grid-row:2;
 align-self:center;
 min-height:0;
 margin:8px 0 0;
 font-size:12px;
 line-height:1.8;
 overflow-wrap:anywhere;
}
.hero-referral.hero-license .hero-image>.office-carousel-toggle{
 grid-column:2;
 grid-row:2;
 align-self:start;
 min-width:88px;
 min-height:44px;
 margin:4px 0 0;
 padding:9px 12px;
 border:1px solid var(--control-line);
 border-radius:3px;
 background:#fff;
 color:var(--ink);
 font-size:13px;
 line-height:1.8;
 white-space:nowrap;
}
.hero-referral.hero-license .hero-image>.office-carousel-toggle[hidden]{display:none}
.hero-referral.hero-license .hero-image>.office-carousel-toggle:disabled{opacity:1;color:var(--muted);background:var(--soft)}
.hero-referral.hero-license .hero-image>.office-carousel-toggle:focus-visible{outline:3px solid var(--highlight);outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 .hero-referral.hero-license .hero-image>.office-carousel-toggle:not(:disabled):hover{border-color:var(--ink);background:var(--hover)}
}
@media(max-width:600px){
 .hero-referral.hero-license .hero-image{column-gap:8px}
 .hero-referral.hero-license .hero-image>#hero-office-caption{font-size:11px;line-height:1.8}
}
@media(forced-colors:active){
 .hero-referral.hero-license .hero-image>.office-carousel-toggle:focus-visible{outline-color:Highlight}
}

/* B44: a failed hero transition keeps the last usable photo and its link. */
.hero-referral.hero-license .hero-photo-recovery{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 14px;margin-top:8px;border:1px solid var(--control-line);border-left:3px solid var(--highlight);background:#fff;color:var(--ink);font-size:14px;line-height:1.8}
.hero-referral.hero-license .hero-photo-recovery[hidden]{display:none}
.hero-referral.hero-license .hero-photo-recovery p{margin:0;flex:1 1 220px}
.hero-referral.hero-license .hero-photo-recovery button{min-height:44px;padding:9px 14px;border:1px solid var(--control-line);border-radius:3px;background:#fff;color:var(--ink);font:inherit;font-size:14px;cursor:pointer}
.hero-referral.hero-license .hero-photo-recovery button:focus-visible{outline:3px solid var(--highlight);outline-offset:3px}
.hero-referral.hero-license .hero-photo-recovery button[aria-disabled=true]{opacity:.65;cursor:progress}
