/* Homepage only. Functional search markup and handlers are shared unchanged. */
.page-home { --hero-inset: 24px; --hero-radius: 30px; --cutout-width: 310px; --cutout-height: 112px; --cutout-curve: 36px; }
.page-home .site-header { position: absolute; inset: var(--hero-inset) var(--hero-inset) auto; height: 100px; border: 0; background: transparent; }
.page-home .header-inner { width: calc(100% - 88px); max-width: 1530px; height: 100%; gap: 24px; }
.page-home .brand { margin: 0; width: 140px; height: 52px; }
.page-home .brand img { width: 140px; height: auto; max-height: 52px; object-fit: contain; }
.page-home .desktop-nav { margin-inline: auto; padding: 5px; gap: 0; background: rgba(255,255,255,.89); border-radius: 40px; }
.page-home .desktop-nav a { padding: 12px 15px; font-size: 12px; line-height: 1.4; font-weight: 600; }
.page-home .desktop-nav a[aria-current="page"] { border-radius: 30px; background: #fff; color: var(--red); }
.page-home .header-account { padding: 0; }
.page-home .start-hosting { border-radius: 26px; padding: 0 22px; min-height: 44px; font-size: 12px; }
.page-home .home-main .hero { margin: var(--hero-inset); color: var(--ink); }
.page-home .hero-panel { width: 100%; max-width: 1640px; margin: auto; min-height: 0; height: clamp(660px, 56.28vw, 923px); background: transparent; overflow: visible; }
.page-home .hero-panel::before, .page-home .hero-panel::after { display: none; }
.hero-artwork { position: absolute; inset: 0; overflow: hidden; border-radius: var(--hero-radius); pointer-events: none; }
.hero-artwork picture, .hero-artwork img { width: 100%; height: 100%; display: block; }
.hero-artwork img { object-fit: cover; object-position: right center; }
.hero-cutout { position: absolute; right: 0; bottom: 0; width: var(--cutout-width); height: var(--cutout-height); border-top-left-radius: var(--cutout-curve); background: #fff; }
.hero-cutout::before, .hero-cutout::after { content: ''; position: absolute; width: var(--cutout-curve); height: var(--cutout-curve); background: radial-gradient(circle at 0 0, transparent calc(var(--cutout-curve) - .5px), #fff var(--cutout-curve)); pointer-events: none; }
.hero-cutout::before { left: calc(-1 * var(--cutout-curve)); bottom: 0; }
.hero-cutout::after { right: 0; top: calc(-1 * var(--cutout-curve)); }
.page-home .hero-inner { position: relative; z-index: 1; display: block; width: 100%; max-width: none; min-height: 0; height: 100%; padding: 150px 5.5% 0; transform: none; }
.page-home .hero-copy { max-width: none; }
.page-home .home-main .hero-copy h1 { max-width: 62%; margin: 0 0 18px; color: var(--ink); font-size: clamp(58px, 5.5vw, 88px); font-weight: 900; line-height: 1.04; letter-spacing: -.055em; text-shadow: none; }
.page-home .home-main .hero-copy h1 span { display: block; font-size: inherit; line-height: inherit; letter-spacing: inherit; color: var(--red); background: none; -webkit-text-fill-color: currentColor; animation: none; }
.page-home .home-main .hero-subtitle { max-width: 57%; margin: 0; color: #303336; font-size: 18px; font-weight: 400; line-height: 1.5; }
.coastal-hero > .hero-inner > .hero-copy > .search-form-shell { position: absolute; left: 3.4%; bottom: 35px; width: calc(96.6% - var(--cutout-width) - 34px); max-width: 1000px; }
.page-home .coastal-hero .hero-search { width: 100%; margin: 0; padding: 6px; display: grid; grid-template-columns: minmax(200px, 1.75fr) minmax(125px, 1fr) minmax(125px, 1fr) minmax(104px, .85fr) 110px; background: #fff; border: 0; border-radius: 20px; box-shadow: 0 5px 20px rgba(89,65,35,.1); }
.page-home .coastal-hero .search-field { min-height: 52px; padding: 0 10px; gap: 8px; background: transparent; }
.page-home .coastal-hero .search-field input, .page-home .coastal-hero .search-field select { font-size: 12px; background: transparent; }
.page-home .coastal-hero .search-icon svg { width: 18px; height: 18px; }
.page-home .coastal-hero .search-submit { width: 100%; border-radius: 15px; font-size: 13px; }
.page-home .coastal-hero .hero-help { position: absolute; z-index: 2; right: 0; bottom: 0; width: var(--cutout-width); min-height: var(--cutout-height); margin: 0; padding: 20px 16px; display: flex; justify-content: center; align-items: center; gap: 0; color: var(--ink); }
.page-home .hero-help-copy { position: relative; width: max-content; max-width: 100%; padding-right: 60px; }
.page-home .coastal-hero .hero-help .help-item { display: block; color: #626a70; font-size: 12px; line-height: 1.5; font-weight: 400; }
.page-home .coastal-hero .hero-help .hero-whatsapp-link { margin-top: 3px; color: var(--red); font-size: 19px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.page-home .hero-whatsapp-link .help-icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; }
.page-home .hero-whatsapp-link .help-icon svg { width: 28px; height: 28px; }
.page-home .coastal-hero :is(a,button,input,select):focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.page-home .coastal-hero .hero-search:focus-within { box-shadow: 0 0 0 3px rgba(182,32,37,.2); }
@media (min-width: 1700px) {
  .page-home .site-header { left: calc((100% - 1640px)/2); right: calc((100% - 1640px)/2); }
  .page-home .hero-inner { padding-top: 180px; }
}
@media (max-width: 1250px) and (min-width: 1100px) {
  .page-home { --hero-inset: 18px; --cutout-width: 275px; }
  .page-home .header-inner { width: calc(100% - 54px); gap: 10px; }
  .page-home .brand, .page-home .brand img { width: 120px; }
  .page-home .desktop-nav a { padding-inline: 10px; font-size: 11px; }
  .page-home .coastal-hero .hero-search { grid-template-columns: minmax(160px, 1.6fr) minmax(112px, 1fr) minmax(112px, 1fr) 85px 83px; }
  .page-home .coastal-hero .search-field { padding-inline: 7px; gap: 5px; }
  .page-home .coastal-hero .search-field input, .page-home .coastal-hero .search-field select { font-size: 11px; }
}
@media (max-width: 1099px) {
  .page-home { --hero-inset: 12px; --hero-radius: 24px; --cutout-width: 72%; --cutout-height: 98px; --cutout-curve: 46px; }
  .page-home .site-header { position: relative; inset: auto; height: 76px; background: #fff; }
  .page-home .header-inner { position: relative; width: calc(100% - 36px); height: 76px; }
  .page-home .desktop-nav, .page-home .header-account { display: none; }
  .page-home .menu-toggle { display: block; width: 44px; height: 44px; }
  .page-home .brand { position: absolute; left: 50%; transform: translateX(-50%); width: 112px; }
  .page-home .brand img { width: 112px; height: auto; }
  .page-home .mobile-nav:not([hidden]) { position: absolute; top: 76px; left: 0; right: 0; display: grid; padding: 15px 24px; background: #fff; box-shadow: 0 10px 18px rgba(0,0,0,.08); }
  .page-home .mobile-nav a { min-height: 44px; display: flex; align-items: center; }
  .page-home .home-main .hero { margin-top: 0; }
  .page-home .hero-panel { height: auto; min-height: 0; aspect-ratio: 4/6.3; max-width: 700px; }
  .hero-artwork { background: #fae8c8; }
  .hero-artwork picture { position: absolute; bottom: 0; height: auto; }
  .hero-artwork img { height: auto; object-fit: contain; mask-image: linear-gradient(transparent, #000 24px); }
  .page-home .hero-inner { padding: 50px 7% calc(var(--cutout-height) + 230px); min-height: 0; height: auto; }
  .page-home .hero-copy { text-align: center; }
  .page-home .home-main .hero-copy h1 { max-width: none; margin-bottom: 14px; font-size: clamp(42px, 10.5vw, 68px); letter-spacing: -.06em; }
  .page-home .home-main .hero-subtitle { max-width: 360px; margin: auto; font-size: 16px; }
  .coastal-hero > .hero-inner > .hero-copy > .search-form-shell { display: none; }
  .page-home .coastal-hero .hero-mobile-search-wrap { display: block; width: 100%; max-width: 470px; height: auto; margin: 24px auto 0; padding: 0; background: transparent; border-radius: 16px; }
  .page-home .coastal-hero .hero-mobile-search { display: flex; width: 100%; height: 58px; min-height: 44px; padding: 0 17px; border: 0; border-radius: 16px; background: #fff; color: #393f42; font-size: 15px; box-shadow: 0 4px 14px rgba(89,65,35,.1); }
  .page-home .coastal-hero .hero-mobile-search span:last-child { color: var(--red); }
  .page-home .coastal-hero .hero-help { min-height: var(--cutout-height); padding: 18px 16px; }
  .page-home .hero-help-copy { padding-right: 56px; }
  .page-home .coastal-hero .hero-help .help-item { font-size: 11px; }
  .page-home .coastal-hero .hero-help .hero-whatsapp-link { font-size: 17px; }
  .page-home .hero-whatsapp-link .help-icon { width: 44px; height: 44px; }
  .page-home .hero-whatsapp-link .help-icon svg { width: 25px; height: 25px; }
}
@media (min-width: 601px) and (max-width: 1099px) {
  .page-home { --cutout-width: 62%; --cutout-height: 112px; --cutout-curve: 44px; }
  .page-home .hero-panel { aspect-ratio: 4/4.7; }
  .hero-artwork img { object-position: right bottom; }
  .page-home .hero-inner { padding-top: 50px; }
  .page-home .coastal-hero .hero-help .help-item { font-size: 13px; }
  .page-home .coastal-hero .hero-help .hero-whatsapp-link { font-size: 22px; }
}
@media (max-width: 374px) {
  .page-home { --hero-inset: 8px; --cutout-width: 74%; --cutout-curve: 38px; }
  .page-home .hero-inner { padding: 42px 6% calc(var(--cutout-height) + 230px); }
  .page-home .home-main .hero-copy h1 { font-size: 10.8vw; }
  .page-home .home-main .hero-subtitle { max-width: 260px; font-size: 15px; }
  .page-home .coastal-hero .hero-mobile-search { font-size: 14px; }
}
/* At enlarged text settings the content determines height instead of clipping. */
@media (max-width: 1099px) {
  .page-home .hero-panel { min-height: 590px; }
  .page-home #nzoka-toggle-btn { left: 16px; right: auto; }
}
/* Phone-only founder correction: enlarge the water corner, not the headline. */
@media (max-width: 600px) {
  .page-home { --cutout-width: 63.6%; --cutout-height: 127.4px; --cutout-curve: 59.8px; }
  .page-home .coastal-hero .hero-mobile-search-wrap { margin-top: 34px; }
  .page-home .coastal-hero .hero-help { padding: 18px 12px; }
  .page-home .hero-help-copy { padding-right: 44px; }
  .page-home .coastal-hero .hero-help .help-item { font-size: 10px; }
  .page-home .coastal-hero .hero-help .hero-whatsapp-link { font-size: 14px; }
  .page-home .hero-whatsapp-link .help-icon { width: 34px; height: 34px; }
  .page-home .hero-whatsapp-link .help-icon svg { width: 20px; height: 20px; }
  .page-home .hero-whatsapp-link .help-icon::after { content: ''; position: absolute; inset: -5px; }
}
@media (max-width: 374px) {
  .page-home { --cutout-width: 66.2%; --cutout-curve: 49.4px; }
  .page-home .hero-help-copy { padding-right: 40px; }
  .page-home .coastal-hero .hero-help .help-item { font-size: 9.5px; }
  .page-home .coastal-hero .hero-help .hero-whatsapp-link { font-size: 13px; }
  .page-home .hero-whatsapp-link .help-icon { width: 32px; height: 32px; }
  .page-home .hero-whatsapp-link .help-icon::after { inset: -6px; }
}
