/* ==========================================================================
   Sydney Collage Society: team workshops landing page
   Brand values come from sydneycollagesociety.com (measured for the site replica
   in clones/sydney-collage-society): off-white page #fafafa, white sections,
   black 1px rules, Helvetica Neue in regular weight with .01em tracking, pill
   buttons that fill black on hover, and the SCS cursors.
   ========================================================================== */

:root {
  --ink: #000;
  --paper: #fafafa;
  --white: #fff;
  --panel: #f7f7f7;
  --muted: #4d4d4d;
  --soft: #717171;
  --error: #b00020;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Cap both of these. `6vw` keeps growing past --maxw, so on a 1920 screen the gutter ate the
     content and the column got NARROWER than at 1440 while the display type kept growing: the
     headline fell to six lines and the hero ran past the fold. Below ~1080px nothing changes. */
  --gutter: clamp(20px, 6vw, 72px);
  --maxw: 1440px;
  --pill: 300px;
  --fs-display: clamp(2.6rem, 1.3rem + 4.4vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.5vw, 3.75rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.45vw, 1.55rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.35vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.1rem);
  --fs-small: 0.875rem;
  --sec-pad: clamp(64px, 9vw, 140px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hdr-h: 72px;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url("img/cursor-click.png"), auto;
  overflow-wrap: break-word;
}

a,
button,
summary,
label.choice,
select {
  cursor: url("img/cursor-hand.png"), pointer;
}

input,
textarea {
  cursor: text;
}

/* the hidden attribute always wins (component display rules would otherwise override it) */
[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

/* keyboard focus ring as on sydneycollagesociety.com: 2px, 4px out */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--pill);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center {
  text-align: center;
}

/* ------------------------------------------------------------------ type */
.kicker {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1em;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  text-wrap: pretty;
}

p + p {
  margin-top: 1em;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85em 2em;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.1s linear, color 0.1s linear;
  -webkit-tap-highlight-color: transparent;
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--line {
  background: transparent;
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--sm {
  min-height: 44px;
  padding: 0.6em 1.4em;
  font-size: 0.95rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.96);
  border-bottom: 1px solid var(--ink);
  transition: box-shadow 0.2s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .hdr {
    background: rgba(250, 250, 250, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--hdr-h);
}

.hdr__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.hdr__logo img {
  width: 46px;
  height: 40px;
}

.hdr__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hdr__nav {
  display: none;
  gap: 28px;
}

.hdr__nav a {
  font-size: 0.95rem;
  text-decoration: none;
  padding-block: 0.3em;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.25s var(--ease);
}

.hdr__nav a:hover {
  background-size: 100% 1px;
}

@media (min-width: 1000px) {
  .hdr__nav {
    display: flex;
  }
}

@media (max-width: 420px) {
  .hdr__name {
    display: none;
  }
}

/* ------------------------------------------------------------------ sections */
.sec {
  position: relative;
  padding-block: var(--sec-pad);
  border-bottom: 1px solid var(--ink);
}

.sec--white {
  background: var(--white);
}

.sec--paper {
  background: var(--paper);
}

.split {
  display: grid;
  gap: 20px 6vw;
  margin-bottom: clamp(40px, 5vw, 72px);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 5fr 6fr;
    align-items: end;
  }
}

.callout {
  margin-top: 1.4em;
  padding: 1em 1.25em;
  border-left: 1px solid var(--ink);
  background: var(--paper);
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding-block: clamp(40px, 6vw, 96px);
}

.hero__in {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__in {
    grid-template-columns: 1.05fr 1fr;
    gap: 5vw;
  }
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 1.1em;
  max-width: 36em;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: #1a1a1a;
}

.hero .btn-row {
  margin-top: 2em;
}

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2em;
}

.points li {
  padding: 0.35em 0.9em;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: var(--pill);
  font-size: var(--fs-small);
  white-space: nowrap;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

/* ------------------------------------------------------------------ clients */
.clients {
  padding-block: clamp(40px, 5vw, 72px);
}

.clients__label {
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px clamp(28px, 5vw, 72px);
  margin-top: 28px;
}

.logo {
  width: auto;
  height: clamp(26px, 2.6vw, 36px);
}

.logo--canva {
  height: clamp(40px, 4vw, 54px);
}

.logo--wide {
  height: clamp(16px, 1.7vw, 23px);
}

/* The strip is a flat image with a white background, so on the paper section it always showed a
   pale rectangle (mix-blend-mode is isolated by the reveal transition). A white panel with the
   page's own 1px rule makes that white deliberate instead of an artifact. */
.insts {
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 3vw, 36px) clamp(24px, 2.8vw, 32px);
  border: 1px solid var(--ink);
  background: var(--white);
}

.insts__label {
  margin: 0 0 20px;
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.insts__wrap {
  overflow: hidden;
}

.insts__strip {
  width: 100%;
}

.insts__strip--dup {
  display: none;
}

/* phones: the strip would be too small to read, so it scrolls past at a readable size, flush
   inside the panel border rather than bleeding out over it */
@media (max-width: 700px) {
  .insts {
    padding-inline: 0;
  }

  .insts__label {
    padding-inline: 20px;
  }

  .insts__track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
  }

  .insts__strip {
    width: auto;
    max-width: none;
    height: 46px;
    padding-right: 40px;
  }

  .insts__strip--dup {
    display: block;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .insts__wrap {
    overflow-x: auto;
  }

  .insts__track {
    animation: none;
  }

  .insts__strip--dup {
    display: none;
  }
}

/* ------------------------------------------------------------------ marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  padding-block: 0.05em 0.1em;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.marquee__track span {
  padding-right: 0.3em;
}

.marquee__track--slow {
  animation-duration: 30s;
}

.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

.season {
  padding-block: clamp(40px, 5vw, 72px) var(--sec-pad);
}

.season .marquee {
  font-size: clamp(1.5rem, 0.9rem + 2.1vw, 2.5rem);
  color: var(--muted);
}

.season__in {
  display: grid;
  gap: 18px 6vw;
  margin-top: clamp(32px, 4vw, 56px);
}

@media (min-width: 860px) {
  .season__in {
    grid-template-columns: 5fr 6fr;
    align-items: end;
  }
}

.season__aside {
  display: grid;
  justify-items: start;
  gap: 1.4em;
}

.season__text {
  max-width: 34em;
  color: var(--muted);
}

/* ------------------------------------------------------------------ why */
.cards {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: clamp(24px, 2.6vw, 40px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.card p {
  color: var(--muted);
}

.card__num {
  display: block;
  margin-bottom: 1.6em;
  font-size: var(--fs-small);
  color: var(--soft);
}

.card--cta {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.2em;
}

.card--cta .btn {
  margin-top: 1.2em;
}

/* ------------------------------------------------------------------ artists */
.artists__in {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .artists__in {
    grid-template-columns: 4fr 6fr;
    gap: 7vw;
  }
}

.artists__media {
  max-width: 460px;
}

.artists__media img {
  width: 100%;
  filter: grayscale(1);
}

.artists__media figcaption,
.how__media figcaption {
  margin-top: 0.7em;
  font-size: var(--fs-small);
  color: var(--muted);
}

.artists__copy .h2 {
  margin-bottom: 0.5em;
}

.artists__copy > p {
  max-width: 38em;
}

.artists__copy > p:not(.kicker) + p {
  margin-top: 1em;
}

.nava {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 2em 0;
  padding-top: 1.5em;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  max-width: 38em;
}

.nava img {
  width: 92px;
  flex: none;
  mix-blend-mode: multiply;
}

.nava p {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ------------------------------------------------------------------ how */
.how__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .how__grid {
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: start;
  }
}

.steps {
  counter-reset: none;
  border-top: 1px solid var(--ink);
}

.step {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  gap: 16px;
  padding-block: clamp(22px, 2.4vw, 36px);
  border-bottom: 1px solid var(--ink);
}

.step__num {
  font-size: var(--fs-h3);
  line-height: 1.2;
  color: var(--soft);
}

.step p {
  color: var(--muted);
}

.how__media {
  display: grid;
  gap: 20px;
}

.how__media img {
  width: 100%;
}

/* ------------------------------------------------------------------ styles */
.styles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

@media (min-width: 960px) {
  .styles__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.style img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--panel);
}

.style__name {
  margin-top: 0.7em;
  font-size: var(--fs-h3);
  font-weight: 400;
}

.style__note {
  margin-top: 0.2em;
  font-size: var(--fs-small);
  color: var(--muted);
}

.styles .center {
  margin-top: clamp(36px, 4vw, 60px);
}

/* ------------------------------------------------------------------ details */
.details__in {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .details__in {
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: start;
  }
}

.details .h2 {
  margin-bottom: 0.8em;
}

.ticks {
  border-top: 1px solid var(--ink);
}

.ticks li {
  position: relative;
  padding: 0.95em 0 0.95em 2.1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 1.25em;
  width: 0.95em;
  height: 0.5em;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.venues {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .venues {
    grid-template-columns: 1fr 1fr;
  }
}

.venue {
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid var(--ink);
  background: var(--paper);
}

.venue p:not(.kicker) {
  color: var(--muted);
}

.venue .kicker {
  margin-bottom: 0.8em;
}

.venue__img {
  grid-column: 1 / -1;
}

.venue__img img {
  width: 100%;
}

/* ------------------------------------------------------------------ reviews */
.reviews .h2 {
  margin-bottom: clamp(36px, 4vw, 64px);
}

.quotes {
  display: grid;
  gap: 20px;
}

@media (min-width: 960px) {
  .quotes {
    grid-template-columns: 1fr 1fr;
  }
}

.quote {
  display: grid;
  grid-template-columns: minmax(110px, 34%) 1fr;
  background: var(--white);
  border: 1px solid var(--ink);
}

.quote img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-right: 1px solid var(--ink);
}

.quote__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4em;
  padding: clamp(20px, 2.4vw, 36px);
}

.quote blockquote p {
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.quote figcaption strong {
  display: block;
  font-weight: 500;
}

.quote figcaption span {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (max-width: 560px) {
  .quote {
    grid-template-columns: 1fr;
  }

  .quote img {
    height: auto;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

.public {
  margin-top: clamp(48px, 5vw, 80px);
  padding-top: clamp(32px, 3vw, 48px);
  border-top: 1px solid var(--ink);
}

.public__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.public__stars {
  width: 112px;
}

.public__logo {
  width: 120px;
}

.public__note {
  margin-top: 0.4em;
  font-size: var(--fs-small);
  color: var(--muted);
}

.public__list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .public__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.public__list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.public__who {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ------------------------------------------------------------------ booking */
.booking .h2 {
  margin-bottom: clamp(36px, 4vw, 64px);
  max-width: 14em;
}

.flow {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

@media (min-width: 760px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.flow li {
  padding: clamp(22px, 2.2vw, 34px) clamp(0px, 2vw, 28px) clamp(22px, 2.2vw, 34px) 0;
  border-bottom: 1px solid var(--ink);
}

@media (min-width: 1100px) {
  .flow li + li {
    padding-left: 28px;
    border-left: 1px solid var(--ink);
  }
}

.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  margin-bottom: 1.2em;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: var(--fs-small);
}

.flow p {
  color: var(--muted);
}

/* ------------------------------------------------------------------ faq */
.faq__in {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .faq__in {
    grid-template-columns: 4fr 7fr;
    gap: 7vw;
    align-items: start;
  }

  .faq__in > div:first-child {
    position: sticky;
    top: calc(var(--hdr-h) + 32px);
  }
}

.faq__in > div:first-child .h2 {
  margin-bottom: 0.5em;
}

.faq__in > div:first-child p:not(.kicker) {
  color: var(--muted);
}

.faq__list {
  border-top: 1px solid var(--ink);
}

.qa {
  border-bottom: 1px solid var(--ink);
}

.qa summary {
  position: relative;
  display: block;
  padding: 1.35em 3em 1.35em 0;
  font-size: var(--fs-h3);
  line-height: 1.3;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::before,
.qa summary::after {
  content: "";
  position: absolute;
  right: 0.3em;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.qa summary::after {
  transform: rotate(90deg);
}

.qa[open] summary::after {
  transform: rotate(0deg);
}

.qa__a {
  padding: 0 3em 1.6em 0;
  color: var(--muted);
  max-width: 44em;
}

.qa__a a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

/* ------------------------------------------------------------------ quote form */
.quote-sec__in {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .quote-sec__in {
    grid-template-columns: 5fr 6fr;
    gap: 6vw;
    align-items: start;
  }
}

.quote-sec__copy .h2 {
  margin-bottom: 0.45em;
}

.next {
  counter-reset: next;
  margin-top: 1.8em;
  border-top: 1px solid var(--ink);
}

.next li {
  counter-increment: next;
  display: flex;
  gap: 14px;
  padding: 0.85em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.next li::before {
  content: counter(next);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.8rem;
}

.quote-sec__img {
  margin-top: 2em;
}

.quote-sec__img img {
  width: 100%;
}

.quote-sec__alt {
  margin-top: 1.4em;
  color: var(--muted);
}

.quote-sec__alt a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

@media (max-width: 959px) {
  .quote-sec__img {
    display: none;
  }
}

.formcard {
  padding: clamp(22px, 3vw, 44px);
  background: var(--paper);
  border: 1px solid var(--ink);
}

@media (min-width: 960px) {
  .formcard {
    position: sticky;
    top: calc(var(--hdr-h) + 24px);
  }
}

.form__title,
.done__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 1.2em;
}

.form__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 0.95rem;
}

.req {
  color: var(--soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75em 0.95em;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming into the field */
  letter-spacing: normal;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s linear;
}

.field select {
  padding-right: 2.6em;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8a8a;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.choices.is-invalid .choice span {
  border-color: var(--error);
}

.field__err {
  font-size: var(--fs-small);
  color: var(--error);
}

.choices {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices legend {
  padding: 0;
  margin-bottom: 8px;
}

.choices__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: inherit;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55em 1.1em;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 0.95rem;
  transition: background-color 0.1s linear, color 0.1s linear, border-color 0.1s linear;
}

.choice:hover span {
  border-color: var(--ink);
}

.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  margin-top: 24px;
  min-height: 54px;
  font-size: 1.05rem;
}

.form__privacy {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--muted);
}

.form__privacy a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

.form__fail {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--error);
  background: #fff5f6;
  color: #5c0010;
  font-size: 0.95rem;
}

.form__fail a,
.form__wire a {
  color: inherit;
}

.form__wire {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--ink);
  font-size: var(--fs-small);
  color: var(--muted);
}

.done {
  outline: none;
}

.done__text {
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.done .btn {
  margin-top: 1.6em;
}

.done__alt {
  margin-top: 1.6em;
  font-size: var(--fs-small);
  color: var(--muted);
}

.done__alt a {
  color: var(--ink);
}

/* ------------------------------------------------------------------ closing */
.closing {
  padding-block: clamp(40px, 5vw, 72px) var(--sec-pad);
}

.marquee--big {
  font-size: clamp(3.4rem, 1.5rem + 8vw, 11rem);
  line-height: 1.1;
}

.closing__in {
  margin-top: clamp(24px, 3vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.closing__title {
  max-width: 22em;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ footer */
.ftr {
  background: var(--panel);
  padding-block: clamp(48px, 6vw, 88px) calc(clamp(32px, 4vw, 56px) + env(safe-area-inset-bottom));
}

.ftr__in {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .ftr__in {
    grid-template-columns: 1fr 1fr;
    column-gap: 7vw;
  }
}

.ftr__brand img {
  width: 46px;
  height: 40px;
}

.ftr__word {
  margin-top: 16px;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.ftr__tag {
  margin-top: 0.6em;
  color: var(--muted);
}

.ftr__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  align-content: start;
}

.ftr__links a {
  display: inline-block;
  padding-block: 6px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.ftr__ack,
.ftr__copy {
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (min-width: 900px) {
  .ftr__ack {
    grid-column: 1 / 2;
    max-width: 40em;
  }

  .ftr__copy {
    align-self: end;
  }
}

/* ------------------------------------------------------------------ mobile dock */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 250, 250, 0.96);
  border-top: 1px solid var(--ink);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}

.dock.is-on {
  transform: none;
}

@media (min-width: 960px) {
  .dock {
    display: none;
  }
}

/* ------------------------------------------------------------------ reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
