/* Theme 2 Kobe homepage sections (1105-T2d, 1105-T2e), on top of kobe-shell.css (header, contact panel, footer).
   Band sequence, top to bottom, each band running edge to edge into the next (no margin shows page white):
   1 Hero: photo + green sweep | 2 Pick up: green, one block with the hero | 3 News + Information: white |
   4 Services: pale heading area, then the full-bleed mosaic | 5 Browse by topic: white | 6 Quick links: pale (solid) |
   7 Contact: white panel on the pale band, over the footer top (kobe-shell.css) | 8 Footer: #0B4D2E.
   Every band pads itself with --kd-sec (104px desktop, 72px phone), except the hero, Pick up and the mosaic. */
.kd-sec{padding:var(--kd-sec) 0}

/* ---------- 1 hero ---------- */
.kd-hero{position:relative;isolation:isolate;display:flex;min-height:min(745px,88vh);background:var(--kd-green);overflow-x:clip} /* the headline glow never widens the page */
.kd-hero-media{position:absolute;inset:0;z-index:-1;overflow:hidden;border-bottom-left-radius:var(--t2-curve-l);background:var(--kd-pale)}
.kd-hero-media img{width:100%;height:100%;object-fit:cover;object-position:0% 0%} /* keeps the white canopy (far right of the photo) out from under the nav */
.kd-hero-inner{display:grid;grid-template-columns:400px minmax(0,1fr);gap:56px;align-items:end;padding:calc(var(--kd-head-h) + 72px) 0 64px}
.kd-hero-copy{position:relative;grid-column:2;grid-row:1;align-self:end;padding-bottom:8px}
/* soft white glow behind the headline block only (dark text >= 4.5:1, measured); the rest of the photo is untouched */
.kd-hero-copy::before{content:"";position:absolute;inset:-36px -48px -20px -44px;z-index:-1;pointer-events:none;border-radius:var(--t2-r-m);background:rgb(255 255 255 / .8);filter:blur(28px)}
.kd-hero-eyebrow{margin-bottom:12px}
.kd-hero-title{font-family:Jost,sans-serif;font-weight:300;font-size:64px;line-height:1.14;letter-spacing:.01em;color:var(--kd-ink)}
.kd-hero-title span{display:block}
.kd-hero-search{position:relative;display:flex;width:min(560px,100%);margin-top:32px}
.kd-hero-search .kd-field{flex:1;border-right:0}
.kd-search-go .kd-ic{display:none}
.kd-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.kd-btn--wide{min-width:240px}
.kd-notice{grid-column:1;grid-row:1;align-self:start;display:flex;flex-direction:column;gap:16px;aspect-ratio:1;padding:40px;background:#fff;border-radius:var(--t2-r-sig);box-shadow:var(--t2-sh-raised)}
.kd-notice .kd-chip{align-self:flex-start}
.kd-notice h2{font-size:20px;font-weight:700;line-height:1.55;color:var(--kd-ink)}
.kd-notice p{font-size:16px;line-height:1.8;color:var(--kd-muted)}
.kd-notice .kd-more{margin-top:auto;align-self:flex-end}

/* ---------- 2 pick up: green, joined to the hero; a white heading and the controls on one line above the row ---------- */
.kd-pickup{background:var(--kd-green);color:#fff;padding:36px 0 48px}
.kd-pickup :focus-visible{outline-color:#fff}
.kd-pickup-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.kd-pickup-title{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;line-height:1.5;letter-spacing:.08em;color:#fff}
.kd-pickup-title::before{content:"\2726" / "";color:var(--kd-star);font-size:12px;letter-spacing:0}
.kd-pickup-ctrl{display:flex;gap:12px}
.kd-pickup-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding-inline:max(var(--kd-gutter),(100% - var(--kd-max)) / 2);scroll-padding-inline:max(var(--kd-gutter),(100% - var(--kd-max)) / 2)}
.kd-pickup-track::-webkit-scrollbar{display:none}
.kd-pickup-track>li{display:flex;flex:0 0 345px;scroll-snap-align:start;padding:4px 0}
/* the photo runs flush to the card's top, bottom and left edges at full card height; the card's own rounded corners clip it
   (the user accepts the 40px bottom-left curve eating into the photo, 1107-T2l). The title keeps its padding, centred. */
.kd-pick{display:flex;align-items:stretch;gap:20px;width:100%;min-height:100px;padding:0 24px 0 0;overflow:hidden;background:var(--kd-pale);color:var(--kd-ink);border-radius:var(--t2-r-sig);font-size:13px;line-height:1.7;letter-spacing:.04em}
.kd-pick img{flex:none;align-self:stretch;width:100px;height:auto;min-height:100%;border-radius:0;object-fit:cover;object-position:30% 50%}
.kd-pick span{min-width:0;align-self:center;padding:15px 0} /* full title, up to 3 lines: no ellipsis */
.kd-round--play[hidden]{display:none}
.kd-round--play[data-state=playing] .kd-ic--play,.kd-round--play[data-state=paused] .kd-ic--pause{display:none}
.kd-pick:hover span{color:var(--kd-green);text-decoration:underline;text-underline-offset:3px}
.kd-pickup .kd-round:not([aria-disabled=true]):hover{background:#fff;color:var(--kd-green)}

/* ---------- 3 news + information on white (Kobe guide page) ---------- */
.kd-newsband{background:#fff} /* not .kd-news: that is the C15 list component (its margin / padding reset broke this band's padding) */
.kd-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px}
.kd-col-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}

/* ---------- 4 services: pale heading area, then the full-bleed mosaic (the band ends with the photos) ---------- */
.kd-services{padding:var(--kd-sec) 0 0;background:var(--kd-pale)}
.kd-mosaic{display:grid;grid-template-columns:46fr 19fr 19fr 16fr;grid-template-rows:250px 250px;gap:4px;margin-top:48px} /* 4px pale seams so the inner corners can round; the outer full-bleed edges stay square */
.kd-tile-cell--big{grid-column:1;grid-row:1 / 3}
.kd-tile-cell--tall{grid-column:4;grid-row:1 / 3}
.kd-photo{position:relative;isolation:isolate;display:grid;place-items:center;height:100%;padding:16px;overflow:hidden;border-radius:var(--t2-r-m);color:#fff;text-align:center}
.kd-mosaic>li:first-child .kd-photo{border-top-left-radius:0;border-bottom-left-radius:0}
.kd-mosaic>.kd-tile-cell--tall .kd-photo{border-top-right-radius:0;border-bottom-right-radius:0}
.kd-photo img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .5s}
/* green tint: strongest behind the centred title (white title >= 3:1, measured), lighter towards the edges so the photo shows */
.kd-photo::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 78% 64% at 50% 50%,rgb(0 100 55 / .8) 0%,rgb(0 100 55 / .74) 45%,rgb(0 100 55 / .5) 100%);transition:opacity .3s}
.kd-photo::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 78% 64% at 50% 50%,rgb(0 100 55 / .76) 0%,rgb(0 100 55 / .7) 45%,rgb(0 100 55 / .34) 100%);opacity:0;transition:opacity .3s}
.kd-photo:hover::before,.kd-photo:focus-visible::before{opacity:0}
.kd-photo:hover::after,.kd-photo:focus-visible::after{opacity:1} /* lighter on hover, title still >= 3:1 */
.kd-photo:hover img{transform:scale(1.04)}
.kd-photo:focus-visible{outline:3px solid #fff;outline-offset:-8px}
.kd-photo-copy{display:flex;flex-direction:column;align-items:center;gap:10px;text-shadow:0 1px 12px rgb(0 40 22 / .5)}
.kd-photo-copy strong{font-size:20px;font-weight:700;line-height:1.4;letter-spacing:.06em}
.kd-tile-cell--big .kd-photo-copy strong{font-size:28px}

/* ---------- 5 start here (white, 1105-T2j): one column per role: photo, role, first steps (step rows, compact), round button ---------- */
.kd-start{background:#fff}
.kd-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px;margin-top:48px}
.kd-start-col{display:flex;flex-direction:column;min-width:0}
.kd-start-photo{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:var(--t2-r-sig)}
.kd-start-col h3{margin-top:24px;font-size:20px;font-weight:700;line-height:1.5;letter-spacing:.04em;color:var(--kd-ink)}
.kd-start-col .kd-steps{flex:1;margin:16px 0 24px}
.kd-start-col .kd-more{align-self:flex-start}
.kd-narrow-only{display:none}

/* ---------- 6 quick links: pale, solid; the band runs on under the top half of the contact panel ---------- */
.kd-quick{background:var(--kd-pale)}
.kd-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 40px;margin-top:48px}
.kd-quick-link{display:flex;align-items:center;gap:18px;min-height:70px;color:var(--kd-green);font-size:16px;font-weight:700;line-height:1.5;letter-spacing:.06em}
.kd-disc{display:grid;place-items:center;flex:none;width:70px;height:70px;border-radius:var(--t2-r-round);background:#fff;box-shadow:var(--t2-sh-card);transition:background-color .2s,color .2s}
.kd-disc .kd-ic{width:28px;height:28px}
.kd-quick-link:hover .kd-disc,.kd-quick-link:focus-visible .kd-disc{background:var(--kd-green);color:#fff}
.kd-quick-link:hover{text-decoration:underline;text-underline-offset:4px}

@media (max-width:1279px){
  .kd-hero-inner{grid-template-columns:340px minmax(0,1fr);gap:40px}
  .kd-hero-title{font-size:56px}
  .kd-notice{padding:32px}
  .kd-notice h2{font-size:20px}
}
@media (max-width:1023px){
  .kd-hero-inner{grid-template-columns:minmax(0,1fr);padding-top:calc(var(--kd-head-h) + 48px)}
  .kd-hero-copy,.kd-notice{grid-column:1}
  .kd-hero-copy{grid-row:1}
  .kd-notice{grid-row:2;aspect-ratio:auto;max-width:520px}
  .kd-hero-media{bottom:160px;border-bottom-left-radius:var(--t2-curve-m)}
  .kd-news-grid{grid-template-columns:minmax(0,1fr);gap:72px}
  .kd-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:220px}
  .kd-tile-cell--big,.kd-tile-cell--tall{grid-column:1 / -1;grid-row:auto}
  /* two columns: square on the screen edges only (full-width tiles on both sides) */
  .kd-mosaic>li .kd-photo{border-radius:var(--t2-r-m)}
  .kd-mosaic>li:is(:first-child,:last-child) .kd-photo{border-radius:0}
  .kd-mosaic>li:is(:nth-child(2),:nth-child(4)) .kd-photo{border-top-left-radius:0;border-bottom-left-radius:0}
  .kd-mosaic>li:is(:nth-child(3),:nth-child(5)) .kd-photo{border-top-right-radius:0;border-bottom-right-radius:0}
  .kd-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .kd-hero{min-height:0}
  .kd-hero-inner{gap:32px;padding:calc(var(--kd-head-h) + 40px) 0 0}
  .kd-hero-media{bottom:180px;border-bottom-left-radius:var(--t2-curve-s)}
  .kd-hero-title{font-size:40px;line-height:1.25;text-wrap:balance}
  .kd-hero-title span{display:inline} /* two balanced lines instead of a lone last word */
  .kd-hero-search{margin-top:24px}
  .kd-btn--wide{flex:1 1 0;min-width:0} /* two half-width buttons on one row */
  .kd-notice{max-width:none;padding:28px 24px;gap:12px}
  .kd-notice h2{font-size:20px}
  .kd-pickup{padding-top:36px}
  .kd-pickup-track>li{flex-basis:300px}
  .kd-pick img{width:88px}
  .kd-col-head{margin-bottom:20px}
  .kd-mosaic{margin-top:32px;grid-auto-rows:180px}
  .kd-photo-copy strong,.kd-tile-cell--big .kd-photo-copy strong{font-size:16px}
  .kd-wide-only{display:none}  /* phones: the first 3 links of each group, then "More in ..." */
  .kd-narrow-only{display:inline-flex}
  .kd-quick-grid{gap:20px 16px;margin-top:32px}
  .kd-quick-link{gap:12px;font-size:14px;letter-spacing:.02em}
  .kd-disc{width:56px;height:56px}
  .kd-disc .kd-ic{width:24px;height:24px}
}
@media (max-width:1023px){ /* start here: one role per row, photo at the left */
  .kd-start-grid{grid-template-columns:minmax(0,1fr);gap:48px;margin-top:32px}
  .kd-start-col{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:32px;align-items:start}
  .kd-start-photo{grid-row:1 / 4}
  .kd-start-col h3{margin-top:0}
  .kd-start-col .kd-steps{margin:8px 0 16px}
}
@media (max-width:600px){
  .kd-start-col{display:flex;align-items:stretch} /* the step rows run the full column width */
  .kd-start-photo{aspect-ratio:16 / 9}
  .kd-start-col h3{margin-top:20px}
}
@media (max-width:600px){
  /* Kobe phone hero: short copy block at the top, then the photo shows, then the notice card overlaps its foot */
  .kd-hero-inner{gap:0;padding-top:calc(var(--kd-head-h) + 28px)}
  .kd-hero-copy::before{inset:-20px -20px -14px;border-radius:var(--t2-r-m);filter:blur(18px)}
  .kd-hero-media{bottom:150px}
  .kd-hero-media img{object-position:62% 0%}
  .kd-hero-search{margin-top:20px}
  .kd-hero-search .kd-field{border-right:1px solid var(--kd-control);padding-right:52px}
  .kd-hero-search .kd-field>.kd-ic{display:none}
  .kd-search-go{position:absolute;top:4px;right:4px;width:44px;min-height:44px;height:44px;padding:0} /* 44px icon submit inside the field */
  .kd-search-go .kd-ic{display:inline-block;width:20px;height:20px}
  .kd-search-go-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* name stays "Search" */
  .kd-hero-actions{flex-direction:row;gap:8px;margin-top:10px}
  .kd-hero-actions .kd-btn{flex:1 1 0;min-width:0;width:auto;min-height:48px;padding:0 10px;gap:6px;font-size:14px;letter-spacing:.04em}
  .kd-notice{margin-top:min(56vw,230px)} /* the photo shows between the buttons and the card */
}
@media (prefers-reduced-motion:reduce){
  .kd-photo:hover img{transform:none}
}
