.inner-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.inner-page main,
.inner-page main * {
  box-sizing: border-box;
}

.inner-page main h1,
.inner-page main h2,
.contact-lines,
.enquiry-fields,
.inner-pill {
  font-family: var(--sans);
  text-transform: uppercase;
}

.inner-page main h1,
.inner-page main h2 {
  margin: 0;
  color: inherit;
  line-height: .88;
  letter-spacing: -.06em;
  font-weight: 800;
}

.inner-page main a {
  color: inherit;
  text-decoration-color: var(--orange);
  text-underline-offset: .15em;
}

.inner-page main .inner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95em 1.45em;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: white;
  text-decoration: none;
  font-size: clamp(.85rem, 1.25vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .23s ease, color .23s ease, transform .23s ease;
}

@media (hover: hover) {
  .inner-page main .inner-pill:hover {
    color: var(--brown);
    background: white;
    transform: scale(1.035, .975);
  }
}

.inner-page main :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.contact-main {
  display: flex;
  min-height: 96svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(5vw, 4.35rem) 1rem max(5vw, 3rem);
  text-align: center;
}

.contact-figure {
  display: block;
  width: min(38vw, 58vh);
  height: clamp(155px, 37vh, 440px);
  max-width: 100%;
  margin: 0 auto .45vw;
  object-fit: contain;
}

.contact-main h1 {
  font-size: clamp(4rem, 11.25vw, 15rem);
}

.contact-lines {
  margin: clamp(1.5rem, 2.5vw, 3rem) 0 1.6rem;
  font-size: clamp(1rem, 1.55vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.contact-lines p {
  margin: 0 0 1em;
}

.contact-lines address {
  font-style: normal;
}

.contact-lines a {
  text-decoration: none;
}

.contact-lines a:hover,
.contact-lines a:focus-visible {
  text-decoration: underline;
}

.enquiry-main {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(90px, 8vw, 160px) 1rem 3rem;
  color: var(--brown);
}

.enquiry-block {
  width: min(49vw, 890px);
  text-align: center;
}

.inner-page .enquiry-block h1 {
  margin-bottom: .55em;
  font-size: clamp(3.5rem, 5vw, 7rem);
}

.enquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(7px, .72vw, 14px) clamp(5px, .55vw, 12px);
}

.enquiry-wide {
  grid-column: 1 / -1;
}

.enquiry-field {
  position: relative;
  display: block;
  min-width: 0;
}

.enquiry-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.enquiry-field input,
.enquiry-field textarea {
  display: block;
  width: 100%;
  padding: .9em 1.4em;
  border: 0;
  border-radius: 100px;
  background: white;
  color: var(--brown);
  font: 700 clamp(.97rem, 1.25vw, 1.5rem)/1.2 var(--sans);
  letter-spacing: -.03em;
  text-align: center;
}

.enquiry-field textarea {
  min-height: 8em;
  padding-top: 1.2em;
  border-radius: 1.5em;
  resize: vertical;
}

.enquiry-field ::placeholder {
  color: var(--brown);
  opacity: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.enquiry-block .inner-pill {
  margin-top: .7em;
  font-size: clamp(1rem, 1.55vw, 1.6rem);
}

.enquiry-help,
.enquiry-fallback p {
  margin: .8rem auto 0;
  font: 400 clamp(1.13rem, 1.65vw, 1.9rem)/1.15 var(--serif);
}

.enquiry-fallback {
  margin: 3rem auto 0;
}

.enquiry-fallback[hidden] {
  display: none;
}

.enquiry-fallback h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.enquiry-fallback .enquiry-field {
  margin-top: 1rem;
}

.enquiry-fallback textarea {
  text-align: left;
  font-weight: 400;
}

.enquiry-fallback .copy-status:empty {
  margin: 0;
}

.inner-page .privacy-main a,
.inner-page .enquiry-fallback a {
  text-decoration-line: underline;
}

.privacy-main {
  width: min(74vw, 1450px);
  margin: auto;
  padding: max(7.7vw, 6.1rem) 0 max(6vw, 4rem);
}

.privacy-main h1 {
  font-size: clamp(3.6rem, 6.2vw, 7rem);
}

.privacy-main section {
  margin-top: clamp(2.6rem, 5vw, 5.5rem);
}

.privacy-main h2 {
  font-size: clamp(2rem, 3.7vw, 4.6rem);
}

.privacy-main p {
  margin: 1.35em 0 0;
  font: 700 clamp(1rem, 1.25vw, 1.3rem)/1.4 var(--sans);
  letter-spacing: -.015em;
}

@media (max-width: 700px), (orientation: portrait) {
  .contact-main {
    min-height: 89svh;
    padding-top: 4.5rem;
  }

  .contact-figure {
    width: min(80vw, 27rem);
    height: clamp(175px, 29vh, 340px);
  }

  .contact-main h1 {
    font-size: clamp(3.55rem, 14.7vw, 7.5rem);
  }

  .enquiry-main {
    padding-top: max(5.8rem, 11vw);
  }

  .enquiry-block {
    width: min(100%, 32rem);
  }

  .enquiry-fields {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .privacy-main {
    width: calc(100% - 2.4rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .enquiry-block > h1,
  .enquiry-fields > label,
  .contact-main > h1,
  .contact-lines,
  .contact-main > .inner-pill {
    animation: inner-rise .65s cubic-bezier(.18, .8, .24, 1.06) backwards;
  }

  .enquiry-fields > label:nth-child(3),
  .enquiry-fields > label:nth-child(4),
  .contact-lines {
    animation-delay: 70ms;
  }

  .enquiry-fields > label:nth-child(5),
  .enquiry-fields > label:nth-child(6),
  .contact-main > .inner-pill {
    animation-delay: 140ms;
  }
}

@keyframes inner-rise {
  from { opacity: 0; transform: translateY(1.4rem) scaleY(1.08); }
  to { opacity: 1; transform: none; }
}
