@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --workshop-dark: #181818;
  --workshop-tan: #ba9e76;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  height: auto;
  min-height: 100%;
  margin: 0;
  overflow: auto;
  background: var(--workshop-dark);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
}

.workshop-hero {
  min-height: clamp(310px, 31vw, 440px);
  display: flex;
  align-items: center;
  background: url("./img/temp-background.png") center / cover no-repeat;
}

.workshop-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: end;
  gap: clamp(48px, 9vw, 150px);
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 56px 0 62px;
}

.workshop-brand {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 34px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.workshop-hero h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4.8vw, 4.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.workshop-hero__details {
  padding-bottom: 8px;
}

.workshop-hero__details p,
.workshop-hero__details address {
  margin: 0;
  color: #ffffff;
  font-style: normal;
  font-weight: 650;
}

.workshop-hero__date,
.workshop-hero__time {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.workshop-hero__time {
  margin-top: 8px !important;
}

.workshop-hero__details address {
  margin-top: 18px;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.25;
}

.workshop-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workshop-highlight {
  display: flex;
  min-height: clamp(205px, 18vw, 250px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px clamp(18px, 3vw, 44px);
  text-align: center;
}

.workshop-highlight--welcome,
.workshop-highlight--questions {
  background: #73574e;
}

.workshop-highlight--trends {
  background: #50302b;
}

.workshop-highlight--students {
  background: #a49980;
}

.workshop-highlight svg {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workshop-highlight h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.15;
}

.workshop-highlight p {
  max-width: 240px;
  margin: 14px 0 0;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.25;
}

.workshop-registration {
  background: var(--workshop-dark);
}

.workshop-registration__inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 62px 0 90px;
}

.workshop-registration__intro {
  max-width: 650px;
}

.workshop-registration__intro h2 {
  margin: 0 0 26px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.35;
}

.workshop-registration__intro p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.5;
}

.workshop-registration__title {
  margin: 46px 0 26px;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.workshop-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
}

.workshop-form label {
  display: grid;
  gap: 9px;
}

.workshop-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.workshop-form label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workshop-form label small {
  font-size: 0.66rem;
  font-weight: 500;
}

.workshop-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  padding: 13px 15px;
  background: #f4eddf;
  color: #2f2a27;
  font: inherit;
  font-size: 1rem;
}

.workshop-form input:focus {
  outline: 3px solid rgba(186, 158, 118, 0.45);
  border-color: var(--workshop-tan);
}

.workshop-form__privacy,
.workshop-form__message,
.workshop-form button {
  grid-column: 1 / -1;
}

.workshop-form__privacy {
  max-width: 700px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.workshop-form__privacy a {
  text-underline-offset: 3px;
}

.workshop-form button {
  width: fit-content;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  padding: 14px 28px;
  background: var(--workshop-tan);
  color: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.workshop-form__message {
  min-height: 1.3em;
  margin: 0;
  color: #d8ba8e;
  font-size: 0.85rem;
}

.workshop-form__message[data-type="success"] {
  color: #b9d5aa;
}

.workshop-form__message[data-type="error"] {
  color: #efb5a9;
}

@media (max-width: 680px) {
  .workshop-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 44px;
  }

  .workshop-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .workshop-hero__inner,
  .workshop-registration__inner {
    width: min(100% - 36px, 1180px);
  }

  .workshop-hero__inner {
    padding: 46px 0 52px;
  }

  .workshop-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.65rem);
  }

  .workshop-highlights {
    grid-template-columns: 1fr;
  }

  .workshop-highlight {
    min-height: 220px;
  }

  .workshop-registration__inner {
    padding: 50px 0 72px;
  }

  .workshop-form {
    grid-template-columns: 1fr;
  }

  .workshop-form__privacy,
  .workshop-form__message,
  .workshop-form button {
    grid-column: auto;
  }

  .workshop-form button {
    width: 100%;
  }
}
