/* ==========================================================================
   Straits Studio Creative — global components
   Header, bottom dock, full-screen menu, "let's talk" modal, cursor, bubble buttons.
   ========================================================================== */

/* ---------- Bubble fill (liquid hover) ---------- */
.bubble { position: relative; overflow: hidden; z-index: 1; isolation: isolate; transition: color .35s ease; }
.bubble__circle {
  position: absolute; z-index: -1; pointer-events: none;
  width: 125%; height: 400%; left: -14%; bottom: -400%;
  border-radius: 100%;
  background: var(--bubble, var(--cyan));
  transform: translateY(0);
  transition: transform .5s cubic-bezier(.25, .46, .45, .94);
}
.bubble:hover { color: var(--bubble-fg, var(--ink)); }
.bubble:hover .bubble__circle { transform: translateY(-50%); }
.bubble.out .bubble__circle { transform: translateY(-125%); transition-duration: .4s; }
.bubble.resetting .bubble__circle { transform: translateY(0) !important; transition: none !important; }

/* ---------- Rolling text (two stacked copies) ---------- */
.menu-roll { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: middle; }
.menu-roll__stack { display: block; transition: transform .4s cubic-bezier(.645, .045, .355, 1); }
.menu-roll__line { height: 1.35em; display: flex; align-items: center; white-space: nowrap; }
a:hover > .menu-roll .menu-roll__stack,
button:hover > .menu-roll .menu-roll__stack,
a:hover .menu-roll .menu-roll__stack,
button:hover .menu-roll .menu-roll__stack { transform: translateY(-1.35em); }

/* ==========================================================================
   Header — floating nav pill with an arrow-tip end, scrolls away with the hero
   ========================================================================== */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 5;
  padding-top: 37rem; color: var(--white);
  pointer-events: none;
}
.site-header__inner { display: flex; justify-content: center; align-items: center; gap: 6rem; }
.site-nav {
  position: relative; display: flex; align-items: center; gap: 40rem;
  min-width: 560rem; padding: 10rem 68rem 10rem 14rem;
  pointer-events: auto;
}
.site-nav__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.site-nav__bg path { fill: rgba(212, 226, 255, .12); stroke: rgba(255, 255, 255, .12); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.site-logo { display: flex; align-items: center; gap: 10rem; flex: none; }
.site-logo img { width: 36rem; height: 36rem; object-fit: contain; }
.site-logo__word {
  font-family: var(--font-display); font-size: 22rem; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1; color: var(--ice);
}
.site-nav__list { display: flex; gap: 48rem; font-size: 15rem; line-height: 1.5; }
.site-nav__list a { display: flex; align-items: center; color: var(--white); }
.site-nav__burger { display: none; }
.talk-btn {
  pointer-events: auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ice); color: var(--ink);
  border-radius: 90rem; padding: 14rem 30rem;
  font-size: 15rem; font-weight: 700; line-height: 1.5; text-transform: lowercase;
  white-space: nowrap;
  --bubble: var(--cyan); --bubble-fg: var(--ink);
}
/* entrance: held until the hero line reaches the header (hero.js calls SS.ui.pop) */
html:not(.chrome-ready) .site-nav,
html:not(.chrome-ready) .site-header .talk-btn { opacity: 0; transform: scale(.5); }

@media (max-width: 991px) {
  .site-header { padding-top: 51rem; }
  .site-header__inner { width: 706rem; margin: 0 auto; gap: 14rem; }
  .site-nav { flex: 1; min-width: 0; height: 52rem; padding: 8rem 60rem 8rem 16rem; gap: 28rem; }
  .site-nav__list { gap: 28rem; font-size: 13rem; }
  .site-logo img { width: 32rem; height: 32rem; }
  .site-logo__word { font-size: 18rem; }
  .talk-btn { height: 52rem; padding: 0 26rem; font-size: 14rem; border-radius: 40rem; }
}
@media (max-width: 743px) {
  .site-header { padding-top: 40rem; }
  .site-header__inner { width: 358rem; }
  .site-nav { width: 100%; justify-content: space-between; padding: 8rem 40rem 8rem 12rem; }
  .site-nav__list, .site-header .talk-btn { display: none; }
  .site-nav__burger {
    display: grid; grid-template-columns: repeat(2, 12rem); gap: 4rem; width: 32rem; height: 32rem;
    place-content: center; pointer-events: auto;
  }
  .site-nav__burger i { width: 12rem; height: 12rem; border-radius: 4rem; background: var(--red); box-shadow: 0 0 0 3rem var(--white); }
  .site-nav__burger i:nth-child(2) { background: var(--cyan); }
  .site-nav__burger i:nth-child(3) { background: var(--yellow); }
  .site-nav__burger i:nth-child(4) { background: var(--blue); }
}

/* ==========================================================================
   Bottom dock — frosted-glass capsule
   ========================================================================== */
.dock {
  position: fixed; left: 50%; bottom: 70rem; z-index: 90;
  display: flex; align-items: center; gap: 22rem;
  padding: 15rem 27rem;
  background: rgba(10, 14, 32, .6);   /* dark enough for the labels to stay legible over light sections */
  -webkit-backdrop-filter: blur(40rem); backdrop-filter: blur(40rem);
  border: 2rem solid rgba(212, 226, 255, .38);
  border-radius: 580rem;
  color: var(--white);
  transform: translateX(-50%);
  transition: opacity .5s ease-in-out, transform .5s ease-in-out;
}
html:not(.dock-ready) .dock { opacity: 0; transform: translateX(-50%) scale(.5); pointer-events: none; }
.dock__divider { width: 1rem; height: 43rem; background: rgba(212, 226, 255, .22); flex: none; }
.dock__btn { height: 62rem; display: flex; align-items: center; gap: 8rem; font-size: 19rem; line-height: 1; }
.dock__label { display: inline-flex; align-items: center; gap: 14rem; color: var(--ice); transition: color .25s ease; }
.dock__label::before {
  content: ""; width: 10rem; height: 10rem; border-radius: 50%; background: var(--cyan);
  transition: transform .35s cubic-bezier(.34, 1.86, .64, 1);
}
.dock__btn:hover .dock__label { color: var(--white); }
.dock__btn:hover .dock__label::before { transform: scale(1.5); }
.dock__btn b { font-weight: 700; color: var(--white); }
.dock .talk-btn { font-size: 17rem; padding: 0 30rem; height: 58rem; }

@media (max-width: 991px) {
  .dock { padding: 18rem 25rem; }
  .dock__btn { font-size: 20rem; }
  .dock .talk-btn { height: 60rem; padding: 0 30rem; font-size: 19rem; }
}
/* tablet widths on short (landscape) screens: the width-scaled dock would cover too much */
@media (max-width: 991px) and (min-width: 744px) and (max-height: 760px) {
  .dock { transform: translateX(-50%) scale(.72); transform-origin: 50% 100%; bottom: 24rem; }
}
@media (max-width: 743px) {
  .dock { left: 16rem; right: 16rem; bottom: 16rem; transform: none; justify-content: space-between; gap: 10rem; padding: 10rem 14rem; }
  html:not(.dock-ready) .dock { transform: scale(.5); }
  .dock__btn { height: 34rem; font-size: 12rem; }
  .dock__label { gap: 8rem; }
  .dock__label::before { width: 6rem; height: 6rem; }
  .dock__divider { height: 26rem; }
  .dock .talk-btn { height: 34rem; padding: 0 16rem; font-size: 12rem; }
}

/* ==========================================================================
   Full-screen menu — three discs that roll in like wheels
   ========================================================================== */
.menu { position: fixed; inset: 0; z-index: 91; height: 100dvh; overflow: hidden; display: none; }
.menu__inner { position: relative; height: 100%; max-width: 1920rem; margin: 0 auto; }
.menu__backdrop {
  position: absolute; inset: 0; opacity: 0;
  background: rgba(7, 11, 31, .18);
  -webkit-backdrop-filter: blur(12rem); backdrop-filter: blur(12rem);
  transition: opacity .4s ease-in-out .9s;
}
.menu.is-open .menu__backdrop { opacity: 1; transition-delay: 0s; }
.menu__discs { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.menu__disc { aspect-ratio: 1; border-radius: 50%; flex: 0 0 45%; transition: translate .9s cubic-bezier(.55, 0, .45, 1), rotate .9s cubic-bezier(.55, 0, .45, 1); }
.menu__discs--halo .menu__disc { background: var(--white); transform: scale(1.3); }
.menu__discs--color .menu__disc { transform: scale(1.15); }
.menu__disc--red {
  background:
    repeating-linear-gradient(0deg, transparent 0 26rem, rgba(255, 255, 255, .16) 26rem 40rem),
    radial-gradient(circle at 70% 30%, #ff5b72, var(--red) 60%);
}
.menu__disc--cyan { background: var(--cyan); }
.menu__disc--blue { background: var(--blue); }
/* closed: rolled off to the left */
.menu__disc:nth-child(1) { translate: -110% 0; rotate: -110deg; transition-delay: .15s; }
.menu__disc:nth-child(2) { translate: -185% 0; rotate: -185deg; transition-delay: .3s; }
.menu__disc:nth-child(3) { translate: -285% 0; rotate: -285deg; transition-delay: .45s; }
.menu.is-open .menu__disc { translate: 0 0; rotate: 0deg; }
.menu.is-open .menu__disc:nth-child(1) { transition-delay: .3s; }
.menu.is-open .menu__disc:nth-child(2) { transition-delay: .15s; }
.menu.is-open .menu__disc:nth-child(3) { transition-delay: 0s; }

.menu__content {
  position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 0 42rem;
}
.menu__nav { position: relative; }
.menu__list { display: flex; flex-direction: column; align-items: center; gap: 20rem; }
.menu__item { opacity: 0; transform: translateY(100%) scale(.5); transition: opacity .25s ease-in-out, transform .25s ease-in-out; }
.menu.is-open .menu__item { opacity: 1; transform: none; transition: opacity .4s ease-in-out, transform .4s cubic-bezier(.3, 1.25, .45, 1); }
.menu.is-open .menu__item:nth-child(1) { transition-delay: 1.2s; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: 1.3s; }
.menu.is-open .menu__item:nth-child(3) { transition-delay: 1.4s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: 1.5s; }
.menu.is-open .menu__item:nth-child(5) { transition-delay: 1.6s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: 1.7s; }
.menu__link {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink);
  border-radius: 80rem; padding: 30rem 66rem;
  font-size: 55rem; font-weight: 700; line-height: .75; text-transform: lowercase;
  --bubble: var(--ink); --bubble-fg: var(--cyan);
}
.menu__item[data-menu-only="band"] { display: none; }
.menu__close {
  position: absolute; left: 50%; bottom: -140rem;
  display: inline-flex; align-items: center; gap: 20rem;
  min-height: 88rem; padding: 6rem 8rem 6rem 34rem;
  border-radius: 120rem; background: var(--ink); color: var(--cyan);
  font-size: 50rem; font-weight: 700; line-height: 1.3; text-transform: lowercase;
  opacity: 0; transform: translate(-50%, 100%) scale(.5);
  transition: opacity .25s ease-in-out, transform .25s ease-in-out;
}
.menu.is-open .menu__close { opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity .4s ease-in-out 1.85s, transform .4s cubic-bezier(.3, 1.25, .45, 1) 1.85s; }
.menu__close-x {
  width: 76rem; height: 76rem; border-radius: 50%; background: var(--cyan); display: grid; place-items: center;
  transition: transform .5s cubic-bezier(.645, .045, .355, 1);
}
.menu__close-x svg { width: 40%; height: 40%; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.menu__close:hover .menu__close-x { transform: rotate(180deg); }

/* round badges with text on an arc */
.menu-badge { display: block; width: 296rem; height: 296rem; opacity: 0; scale: .5; transition: opacity .25s ease, scale .25s ease; }
.menu.is-open .menu-badge { opacity: 1; scale: 1; transition: opacity .4s ease, scale .4s cubic-bezier(.3, 1.25, .45, 1); }
.menu.is-open .menu-badge--left { transition-delay: 1.25s; }
.menu.is-open .menu-badge--right { transition-delay: 1.4s; }
.menu-badge svg { width: 100%; height: 100%; overflow: visible; }
.menu-badge__arrows { transition: transform .4s cubic-bezier(.645, .045, .355, 1); }
.menu-badge--left:hover .menu-badge__arrows { transform: translate(-104px, -104px); }
.menu-badge--right:hover .menu-badge__arrows { transform: translate(104px, 104px); }
.menu-badge--top, .menu-badge--bottom { display: none; }

@media (max-width: 991px) {
  .menu__content { flex-direction: column; justify-content: flex-start; padding: 16rem 0; overflow-y: auto; max-height: 100svh; overscroll-behavior: contain; scrollbar-width: none; }
  .menu__content::-webkit-scrollbar { display: none; }
  .menu__discs .menu__disc:first-child, .menu__discs .menu__disc:last-child { display: none; }
  .menu__discs--halo .menu__disc { flex: 0 0 120vmax; }
  .menu__discs--color .menu__disc { flex: 0 0 131.5%; }
  .menu-badge--left, .menu-badge--right { display: none; }
  .menu-badge--top, .menu-badge--bottom { display: block; width: 112rem; height: 112rem; margin: auto; }
  .menu-badge--top { order: -1; margin: 40rem auto 28rem; }
  .menu-badge--bottom { order: 1; margin: 28rem auto 40rem; }
  .menu.is-open .menu-badge--top { transition-delay: 1.15s; }
  .menu.is-open .menu-badge--bottom { transition-delay: 1.9s; }
  .menu__nav { margin: auto 0; }
  .menu__list { gap: 12rem; }
  .menu__item[data-menu-only="band"] { display: block; }
  .menu__link { font-size: 36rem; padding: 21rem 56rem; }
  .menu__close { position: static; margin: 28rem auto 0; transform: translateY(100%) scale(.5); font-size: 32rem; min-height: 64rem; }
  .menu.is-open .menu__close { transform: none; transition-delay: 1.78s; }
  .menu__close-x { width: 52rem; height: 52rem; }
  .menu__nav { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 743px) {
  .menu__discs--color .menu__disc { flex: 0 0 195%; }
  .menu__link { font-size: 22rem; padding: 16rem 40rem; }
  .menu__list { gap: 14rem; }
  .menu-badge--top, .menu-badge--bottom { width: 104rem; height: 104rem; }
  .menu__close { font-size: 22rem; min-height: 54rem; margin-top: 40rem; }
  .menu__close-x { width: 42rem; height: 42rem; }
}

/* ==========================================================================
   "Let's talk" modal — three stacked paper layers that fan out
   ========================================================================== */
.talk { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.talk__backdrop {
  position: absolute; inset: 0; background: rgba(7, 11, 31, .55);
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  opacity: 0; transition: opacity .26s ease, backdrop-filter .26s ease;
}
.talk.is-open .talk__backdrop { opacity: 1; -webkit-backdrop-filter: blur(14rem); backdrop-filter: blur(14rem); transition-duration: .4s; }
.talk__card {
  position: absolute; left: 50%; top: 50%;
  width: 1758rem; height: 919rem; max-width: 94vw; max-height: 92vh;
  transform: translate(-50%, -50%) scale(.82); opacity: 0;
  transition: opacity .22s ease-in, transform .24s cubic-bezier(.55, 0, .7, .6);
}
.talk.is-open .talk__card { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: opacity .32s ease-in-out, transform .46s cubic-bezier(.34, 1.28, .5, 1); }
.talk__layer { position: absolute; inset: 0; transition: transform .24s ease; }
.talk__layer svg { width: 100%; height: 100%; display: block; overflow: visible; }
.talk__layer--white svg path { fill: var(--white); }
.talk__layer--cyan svg path { fill: var(--cyan); }
.talk__layer--red svg path { fill: var(--red); }
.talk__layer--red { filter: drop-shadow(0 24rem 48rem rgba(7, 11, 31, .3)); }
.talk.is-open .talk__layer--white { transform: rotate(4.6deg); transition: transform .56s cubic-bezier(.34, 1.3, .5, 1) .06s; }
.talk.is-open .talk__layer--cyan { transform: rotate(-5.2deg); transition: transform .56s cubic-bezier(.34, 1.3, .5, 1) .11s; }
.talk__svg--tall { display: none !important; }
/* sit the wide e/o of "Let's talk" / "Got it!" on Anton's baseline and cap height */
.talk .wide { line-height: .584; transform: scaleY(1.46); }

.talk__inner { position: absolute; inset: 0; }
.talk__title {
  position: absolute; left: 146rem; top: 150rem;
  font-family: var(--font-display); font-size: 230rem; line-height: .8; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
  opacity: 0; transform: translateY(46rem);
  transition: opacity .2s ease, transform .2s ease;
}
.talk.is-open .talk__title { opacity: 1; transform: none; transition: opacity .36s ease .17s, transform .52s cubic-bezier(.3, 1.2, .5, 1) .17s; }
.talk__close {
  position: absolute; top: 150rem; right: 127rem; z-index: 2;
  width: 150rem; height: 150rem; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.5);
  transition: opacity .2s ease, transform .2s ease;
}
.talk.is-open .talk__close { opacity: 1; transform: none; transition: opacity .42s ease .38s, transform .42s cubic-bezier(.3, 1.25, .45, 1) .38s; }
.talk__close svg { width: 88rem; height: 88rem; stroke: var(--cyan); stroke-width: 4.6; stroke-linecap: round; fill: none; }
.talk__close:focus-visible { outline: 4rem solid var(--cyan); outline-offset: 6rem; }

.talk__form { position: absolute; left: 146rem; top: 400rem; width: 1463rem; display: flex; flex-direction: column; gap: 13rem; }
.talk__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10rem; }
.talk__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 84rem 105rem; column-gap: 10rem; row-gap: 21rem; }
.talk__field { display: block; position: relative; opacity: 0; transform: translateY(26rem); transition: opacity .15s ease, transform .15s ease; }
.talk.is-open .talk__field { opacity: 1; transform: none; transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.2, .5, 1); }
.talk.is-open .talk__row .talk__field:nth-child(1) { transition-delay: .22s; }
.talk.is-open .talk__row .talk__field:nth-child(2) { transition-delay: .26s; }
.talk.is-open .talk__row .talk__field:nth-child(3) { transition-delay: .30s; }
.talk.is-open .talk__grid > :nth-child(1) { transition-delay: .30s; }
.talk.is-open .talk__grid > :nth-child(2) { transition-delay: .34s; }
.talk.is-open .talk__grid > :nth-child(3) { transition-delay: .38s; }
.talk.is-open .talk__grid > :nth-child(4) { transition-delay: .42s; }
.talk__field--message { grid-column: 1; grid-row: 1 / span 2; }
.talk__submit-wrap { grid-column: 2 / span 2; grid-row: 2; }
.talk__input {
  width: 100%; height: 84rem; border: 0; border-radius: 900rem; padding: 0 50rem;
  background: var(--white); color: var(--ink); font-size: 19rem; font-weight: 700;
  appearance: none; -webkit-appearance: none;
}
.talk__input::placeholder { color: rgba(7, 11, 31, .6); }
.talk__input:focus-visible { outline: none; box-shadow: 0 0 0 3rem var(--cyan); }
textarea.talk__input { height: 100%; min-height: 210rem; border-radius: 40rem; padding: 32rem 50rem; line-height: 1.4; resize: none; }
select.talk__input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 11'%3E%3Cpath d='M0 0h19L9.5 11z' fill='%23070b1f'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 40rem center; background-size: 19rem 11rem;
}
select.talk__input:invalid { color: rgba(7, 11, 31, .6); }
.talk__submit {
  width: 100%; height: 105rem; border-radius: 210rem;
  background: var(--cyan); color: var(--ink);
  font-size: 22rem; font-weight: 700; text-transform: lowercase;
  --bubble: var(--ink); --bubble-fg: var(--white);
}
.talk__submit[disabled] { opacity: .6; }
.talk__note { position: absolute; left: 146rem; right: 146rem; bottom: 60rem; color: var(--white); font-size: 16rem; opacity: .85; text-align: center; }
.talk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* inline validation bubble */
.field-warn {
  position: absolute; left: 30rem; top: calc(100% + 12rem); z-index: 3;
  display: inline-flex; align-items: center; gap: 12rem;
  background: var(--ink); color: var(--white); border-radius: 16rem; padding: 12rem 20rem 12rem 12rem;
  font-size: 17rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 0 0 2rem var(--white);
  animation: field-warn-in .24s cubic-bezier(.34, 1.3, .5, 1);
}
.field-warn::before { content: "!"; width: 27rem; height: 27rem; border-radius: 50%; background: var(--cyan); color: var(--ink); display: grid; place-items: center; }
@keyframes field-warn-in { from { opacity: 0; transform: translateY(-8rem) scale(.92); } }

/* success state */
.talk__success { position: absolute; inset: 0; display: none; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 146rem; color: var(--white); }
.talk.is-sent .talk__success { display: flex; }
.talk.is-sent .talk__form, .talk.is-sent .talk__title { display: none; }
.talk__success h3 { font-family: var(--font-display); font-weight: 400; font-size: 250rem; line-height: .8; text-transform: uppercase; animation: success-in .42s cubic-bezier(.3, 1.2, .5, 1) both; }
.talk__success p { margin-top: 40rem; font-size: 30rem; font-weight: 700; max-width: 900rem; animation: success-in .42s cubic-bezier(.3, 1.2, .5, 1) .26s both; }
/* with no form service connected the enquiry is handed to the visitor's mail app — say so honestly */
.talk__success-mail { display: none; }
.talk.is-mailto .talk__success-mail { display: block; }
.talk.is-mailto .talk__success-sent { display: none; }

/* skip link — first thing keyboard users reach */
.skip-link {
  position: fixed; left: 24rem; top: 24rem; z-index: 10000;
  padding: 14rem 26rem; border-radius: 90rem;
  background: var(--cyan); color: var(--ink); font-weight: 700; font-size: 18rem;
  transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }
@media (max-width: 743px) { .skip-link { font-size: 14rem; left: 16rem; top: 16rem; } }
@keyframes success-in { from { opacity: 0; transform: translateY(24rem); } }

@media (max-width: 991px) {
  .talk { overflow-y: auto; align-items: flex-start; padding: 40rem 0; }
  .talk__card { position: relative; left: auto; top: auto; margin: 0 auto; width: 624rem; height: auto; max-width: none; max-height: none; padding: 94rem 18rem 60rem; transform: scale(.82); }
  .talk.is-open .talk__card { transform: scale(1); }
  .talk__layer { left: -60rem; right: -60rem; }
  .talk__svg--wide { display: none !important; }
  .talk__svg--tall { display: block !important; }
  .talk__inner { position: relative; }
  .talk__title { position: relative; left: auto; top: auto; font-size: 120rem; text-align: center; white-space: normal; margin-bottom: 36rem; }
  .talk__close { top: 0; right: 0; width: 64rem; height: 64rem; position: absolute; }
  .talk__close svg { width: 36rem; height: 36rem; }
  .talk__form { position: relative; left: auto; top: auto; width: 100%; gap: 10rem; }
  .talk__row, .talk__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 10rem; }
  .talk__field--message, .talk__submit-wrap { grid-column: auto; grid-row: auto; }
  .talk__input { height: 64rem; font-size: 17rem; padding: 0 30rem; }
  textarea.talk__input { min-height: 160rem; padding: 24rem 30rem; }
  .talk__submit { height: 90rem; margin-top: 30rem; font-size: 20rem; }
  .talk__note { position: relative; left: auto; right: auto; bottom: auto; margin-top: 20rem; }
  .talk__success { position: relative; padding: 40rem 10rem; }
  .talk__success h3 { font-size: 140rem; }
}
@media (max-width: 743px) {
  .talk__card { width: 350rem; padding: 40rem 14rem 40rem; }
  .talk__layer { left: -30rem; right: -30rem; }
  .talk__title { font-size: 60rem; margin: 30rem 0 24rem; }
  .talk__close { width: 48rem; height: 48rem; top: -18rem; }
  .talk__close svg { width: 26rem; height: 26rem; }
  .talk__input { height: 46rem; font-size: 14rem; padding: 0 18rem; }
  select.talk__input { background-position: right 18rem center; }
  textarea.talk__input { min-height: 110rem; border-radius: 21rem; padding: 14rem 18rem; }
  .talk__submit { height: 60rem; font-size: 15rem; margin-top: 16rem; }
  .talk__note { font-size: 12rem; }
  .talk__success h3 { font-size: 80rem; }
  .talk__success p { font-size: 18rem; }
  .field-warn { font-size: 12rem; left: 10rem; }
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__block { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__state { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s ease-in-out; }
.cursor__state.is-active { opacity: 1; transition-delay: .125s; }
.cursor__icon { position: absolute; left: 0; top: 0; width: 35rem; height: 41rem; overflow: visible; }
.cursor__icon path { stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.cursor__label {
  position: absolute; top: 37rem; left: 19rem;
  border: 2rem solid var(--ink); border-radius: 30rem; padding: 12rem 20rem;
  font-size: 26rem; font-weight: 700; line-height: .73; white-space: nowrap;
}
.cursor__state--default .cursor__icon path { fill: var(--red); }
.cursor__state--default .cursor__label { background: var(--red); color: var(--white); }
.cursor__state--pointer .cursor__icon path { fill: var(--cyan); }
.cursor__state--pointer .cursor__label { background: var(--cyan); color: var(--ink); }
.cursor__state--drag .cursor__icon path { fill: var(--yellow); }
.cursor__state--drag .cursor__label { background: var(--yellow); color: var(--ink); }
html.cursor-hidden .cursor__block { opacity: 0; }
