@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
  font-family: "Belshaw Donut Robot";
  src: url("assets/BelshawDonutRobot.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --ink: #171719;
  --muted: #70777a;
  --ice: #e9faff;
  --form: #444445;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.72);
  --form-text: #edf2f3;
  --form-placeholder: #c7ced0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

#contact-title i {position: relative;}


button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.top-logo {
  color: #303033;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.20em;
  font-weight: 600;
  transform: translateX(0.1em);
}

.top-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: 330px;
  height: 120vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center 50%;
  isolation: isolate;
  padding-bottom: 38vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 225, 0.04);
  z-index: -1;
}

.hero-overlay {
  width: min(100% - 40px, 1400px);
  text-align: center;
  color: #fff;
  transform: translateY(7px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.hero h1 {
  margin: 0 0 5px;
  font-size: clamp(45px, 5.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 .tilted-i::before,
.hero h1 .tilted-i::after {
  display: none;
}

.hero h1 .tilted-i {
  display: inline-block;
  transform-origin: 50% 75%;
  transform: rotate(0deg) translateY(0);
  height: 3.5vw;
  overflow: hidden;
  width: 30px;
  margin-right: -5px;
  margin-left: -10px;
}

.hero h1 .tilted-i > span {
  display: inline-block;
  transform: rotate(13deg) translateY(0);
}

.hero p {
  margin: 0;
  font-size: clamp(12px, 2.3vw, 54px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.07em;
}

/* Contact section */
.contact-section {
  background: var(--ice);
  min-height: 402px;
  display: flex;
  align-items: center;
  background-color: #e0e8d7;
}

.contact-inner {
  width: 100%;
  margin: 0 auto;
  
  align-items: center;
  padding: 4% 4% 0;
}

.contact-copy {
  align-self: start;
  padding-top: 8px;
  text-align: center;
}

.contact-copy h2 {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(45px, 5.2vw, 80px);
  line-height: 0.78;
  letter-spacing: -0.09em;
  font-weight: 700;
  color: #37383a;
}

.tilted-i {
    display: inline-block;
    transform: rotate(0deg) translateY(0);
    transform-origin: 50% 75%;
    position: relative;
    height: 3.7vw;
    overflow: hidden;
    width: 42px;
    margin-right: -8px;
    margin-left: -11px;
    padding-top: 12px;
}

#contact-title .tilted-i > span {
  display: inline-block;
  transform: rotate(13deg) translateY(0);
}

.contact-copy p {
  margin: 17px 0 0;
  color: #37383a;
  font-size: clamp(13px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 300;
  font-family: "Inter", sans-serif;
}

/* Form */
.form-area {
  width: 100%;
  margin-top: 4vw;
  padding-bottom: 4vw;
}

.form-panel {
  width: 100%;
  min-height: 286px;
  
  color: var(--form-text);
}

.form-switch-wrap {
  width: min(100%, 530px);
  margin: 0 auto clamp(22px, 2.2vw, 34px);
  text-align: center;
}

.form-switch {
  position: relative;
  width: min(100%, 300px);
  
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  
  gap: 20px;
  border-radius: 999px;
  
}

.switch-option {
  position: relative;
  z-index: 2;
  padding: 20px 20px 18px 20px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #37383a;
  background: rgba(255, 255, 255, 0.18);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 6px;
  font-weight: 500;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15),
    0 4px 12px rgba(50, 60, 55, 0.08);

  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.switch-option:hover {
  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 5px 16px rgba(50, 60, 55, 0.12);
}

.switch-option.is-active {
  color: #171719;

  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 4px 24px rgba(50, 60, 55, 0.10);
}

.switch-slider {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  
  height: calc(100% - 6px);
  border-radius: 999px;
  background: var(--ice);
  transform: translateX(0);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}

.switch-slider.is-creator {
  transform: translateX(100%);
}

.switch-description {
  margin-top: 10px;
  min-height: 17px;
}

.switch-description p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.form-fields {
  width: 900px;
  margin: 0 auto;
}

.field {
  margin-bottom: 17px;
}

.field label {
  color: #37383a;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 20px;
  display: block;
  font-weight: 600;
}

.field input,
.question textarea {
  width: 100%;
  border: 2px solid #37383a;
  outline: 0;
  border-radius: 0;
  color: #55585a;
  background: transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  font-family: "Belshaw Donut Robot", sans-serif;
  padding: 30px 10px;
  
}

.field input {
  font-size: clamp(16px, 1.3vw, 24px);
  letter-spacing: -0.025em;
}

.field input::placeholder {
  color: #55585a;
  opacity: 1;
}

.field input:focus,
.question textarea:focus {
  
}

.question {
  margin-top: 7px;
}

.question label {
  display: block;
  margin-bottom: 9px;
  color: #37383a;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.question textarea {
  display: block;
  min-height: 98px;
  resize: vertical;
  padding: 13px 13px;
  color: #323232;
  background: transparent;
  line-height: 1.4;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 24px);
}

.question textarea::placeholder {

}

.form-footer {
  width: 900px;
  margin: 19px auto 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.form-message {
  flex: 1;
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.form-message.success {
  color: #d9ffdf;
}

.form-message.error {
  color: #ffd7d7;
}

.submit-button {
  position: relative;
  min-width: 110px;
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  background: #050505;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  background: #fff;
  color: #111;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button-loading {
  display: none;
}

.submit-button.is-loading > span:first-child {
  display: none;
}

.submit-button.is-loading .button-loading {
  display: inline;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* Footer */
.site-footer {
  min-height: 270px;
  padding: 70px 24px 50px;
  text-align: center;
  background: #fff;
}

.footer-logo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0.075em;
  font-weight: 300;
  margin-bottom: 40px;
}

.footer-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(50px, 8vw, 105px);
}

.footer-nav a {
  color: #222225;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-tagline {
  margin: 36px 0 0;
  color: #c7c9ca;
  font-size: clamp(16px, 1.6vw, 28px);
  font-style: italic;
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    min-height: 330px;
  }

  .contact-inner {
    width: min(100% - 64px, 760px);
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 54px 0 62px;
  }

  .contact-copy {
    text-align: center;
    padding-top: 0;
  }

  .contact-copy p {
    margin-top: 20px;
  }

  .form-area {
    margin-top: 0;
    
  }

  .form-panel {
    padding: 34px;
  }
}

/* Mobile */
@media (max-width: 676px) {
  .site-header {
    height: 36px;
  }

  .top-logo {
    font-size: 11px;
  }

  .hero {
    min-height: 300px;
    height: 60vh;
    padding-bottom: 18vh;
    background-position: center center;
  }

  .hero-overlay {
    width: calc(100% - 28px);
    transform: translateY(2px);
  }

  .hero h1 {
    font-size: 13vw;
    letter-spacing: -0.065em;
    margin-bottom: 8px;
  }

  .hero h1 .tilted-i {
    width: 22px;
        margin-left: -7px;
        margin-right: 0px;
        height: 12vw;
  }

  .hero p {
    max-width: 340px;
    margin-inline: auto;
    font-size: 18px;
    line-height: 1.2;
  }

  .contact-section {
    min-height: auto;
  }

  .form-fields {width: 100%;}

  .contact-inner {
    width: calc(100% - 36px);
    gap: 30px;
    padding: 48px 0 10px;
  }

  .contact-copy h2 {
    font-size: 11vw;
    line-height: 0.79;
  }

    #contact-title .tilted-i {
    height: 10.7vw;
    overflow: hidden;
    width: 42px;
    margin-right: -10px;
    margin-left: -16px;
    }

  .contact-copy p {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: -0.5px;
  }

  .desktop-only {
    display: none;
  }

  .form-area {
    margin: 0;
  }

  .form-panel {
    min-height: 0;
    padding: 25px 18px 27px;
  }

  .form-switch-wrap {
    margin-bottom: 24px;
  }

  .form-switch {
    height: 40px;
    width: min(100%, 270px);
    justify-content: center;
  }

  .switch-option {
    font-size: 13px;
  }

  .switch-description {
    min-height: 29px;
    margin-inline: 10px;
  }

  .switch-description p {
    font-size: 10.5px;
  }

  .field {
    margin-bottom: 13px;
  }

  .field input {
    height: 45px;
    padding-inline: 15px;
    font-size: 14px;
  }

  .question {
    margin-top: 5px;
  }

  .question label {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .question textarea {
    min-height: 100px;
    padding: 12px;
    font-size: 13px;
  }

  .form-footer {
     width: 100%;
    margin-top: 16px;
    align-items: flex-end;
    gap: 10px;
  }

  .form-message {
    font-size: 11px;
  }

  .submit-button {
    min-width: 100%;
    min-height: 40px;
    padding: 9px 14px;
    font-size: 13px;
    flex: 0 0 auto;
  }

  .site-footer {
    min-height: 235px;
    padding: 54px 18px 42px;
  }

  .footer-logo {
    font-size: 39px;
    margin-bottom: 34px;
  }

  .footer-nav {
    gap: 0;
    justify-content: space-between;
    max-width: 330px;
    margin: 0 auto;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-tagline {
    margin-top: 30px;
    font-size: 18px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero {
    min-height: 275px;
  }

  .contact-inner {
    width: calc(100% - 28px);
  }

  .contact-copy h2 {
    font-size: 11vw;
  }

  .form-panel {
    padding-inline: 14px;
  }

  .switch-description p {
    font-size: 10px;
  }

  .field input {
    padding-inline: 12px;
  }

  .question label {
    font-size: 15px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-message {
    min-height: 0;
    text-align: center;
  }

  .submit-button {
    width: 100%;
  }

  .footer-nav {
    max-width: 290px;
  }
}
