/* ==========================================================================
   Reform Services — holding page
   Layout is drawn against a 1920px artboard; every desktop value is expressed
   in vw so the page scales proportionally and caps at 1920px.
   Naming follows BEM (block__element--modifier).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --c-sand:        #dccec5; /* intro background */
  --c-clay:        #b49380; /* cta background */
  --c-ink:         #96857a; /* text on sand */
  --c-cream:       #ecdfd4; /* text on clay */
  --c-rule-sand:   #b3a59c; /* hairline over hero / sand */
  --c-rule-clay:   #d9cfc5; /* hairline over clay */
  --c-field:       #c6b0a2; /* input border */
  --c-field-text:  #e3d3c7; /* input text + placeholder */
  --c-btn-bg:      #dccec5;
  --c-btn-text:    #ad9382;

  --f-title: "Playfair Display", "Times New Roman", serif;
  --f-body:  "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  /* artboard grid: left 176px / right 160px of 1920px */
  --pad-l: 9.1667vw;
  --pad-r: 7.8646vw;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-clay);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, p { margin: 0; }

.page {
  max-width: 1920px;
  margin-inline: auto;
  overflow: hidden; /* keeps the decorative hairlines inside the artboard */
}

/* Visually hidden but available to screen readers */
.form__label,
.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  aspect-ratio: 1920 / 1014;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero__logo {
  position: absolute;
  top: 3.3854vw;
  left: 5.0521vw;
  width: 16.4583vw;
  z-index: 2;
  transition: opacity .3s var(--ease);
}

.hero__logo:hover { opacity: .78; }

.hero__logo img { width: 100%; height: auto; }

/* hairline: starts inside the hero, continues 113px into the intro section */
.hero__rule {
  position: absolute;
  top: 8.9063vw;
  left: 9.5313vw;
  width: 1px;
  height: 49.7917vw;
  background: var(--c-rule-sand);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   4. Intro
   -------------------------------------------------------------------------- */
.intro {
  position: relative;
  background: var(--c-sand);
  padding: 8.2813vw var(--pad-r) 5.7292vw var(--pad-l);
}

.intro__inner {
  display: grid;
  grid-template-columns: 62.8374% 37.1626%;
}

.intro__eyebrow {
  font-size: clamp(11px, .8854vw, 17px);
  font-weight: 400;
  letter-spacing: clamp(2.4px, .1771vw, 3.4px);
  line-height: 1.2;
  text-transform: uppercase;
}

.intro__title {
  margin-top: 2.2917vw;
  font-family: var(--f-title);
  font-size: clamp(30px, 2.7604vw, 53px);
  font-weight: 400;
  line-height: clamp(38px, 3.125vw, 60px);
  letter-spacing: 0;
  max-width: 46.875vw;
}

.intro__lead {
  font-family: var(--f-title);
  font-size: clamp(19px, 1.3542vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  margin-top: 3.5417vw;
}

.intro__text {
  margin-top: 1.5104vw;
  font-size: clamp(15px, .9896vw, 19px);
  font-weight: 300;
  line-height: clamp(26px, 1.6667vw, 32px);
  max-width: 30.8333vw;
}

/* --------------------------------------------------------------------------
   5. CTA / form
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--c-clay);
  color: var(--c-cream);
  padding: 3.125vw var(--pad-r) 6.0417vw var(--pad-l);
}

/* hairline: begins 156px above the section and runs 324px down */
.cta__rule {
  position: absolute;
  top: -8.125vw;
  left: 53.6979vw;
  width: 1px;
  height: 16.875vw;
  background: linear-gradient(
    to bottom,
    var(--c-rule-sand) 0 48.15%,
    var(--c-rule-clay) 48.15% 100%
  );
  z-index: 2;
}

.cta__inner {
  display: grid;
  grid-template-columns: 62.8374% 37.1626%;
  align-items: start;
}

.cta__col--title { padding-right: 10.3646vw; }

.cta__title {
  font-family: var(--f-title);
  font-size: clamp(30px, 2.7083vw, 52px);
  font-weight: 400;
  line-height: clamp(38px, 2.9167vw, 56px);
  text-align: right;
  color: var(--c-cream);
  margin-top: -.1042vw;
}

/* --- form ---------------------------------------------------------------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5208vw;
  max-width: 28.2813vw;
}

.form__field { min-width: 0; }

.form__input,
.form__btn {
  width: 100%;
  height: clamp(40px, 2.2396vw, 43px);
  padding: 0 clamp(12px, .7292vw, 14px);
  font-family: var(--f-body);
  font-size: clamp(13px, .8333vw, 16px);
  font-weight: 300;
  line-height: 1;
  border-radius: 0;
  appearance: none;
}

.form__input {
  background: transparent;
  border: 1px solid var(--c-field);
  color: var(--c-field-text);
  transition: border-color .3s var(--ease);
}

.form__input::placeholder {
  color: var(--c-field-text);
  opacity: 1;
}

.form__input:hover { border-color: var(--c-cream); }

.form__input:focus {
  outline: none;
  border-color: var(--c-cream);
}

.form__input--error { border-color: #7d4a3a; }

.form__btn {
  border: 1px solid var(--c-btn-bg);
  background: var(--c-btn-bg);
  color: var(--c-btn-text);
  text-align: left;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.form__btn:hover {
  background: var(--c-cream);
  color: var(--c-clay);
}

.form__btn:disabled {
  opacity: .6;
  cursor: default;
}

.form__btn:focus-visible,
.form__again:focus-visible {
  outline: 2px solid var(--c-cream);
  outline-offset: 2px;
}

/* --- feedback ------------------------------------------------------------ */
.form__msg {
  grid-column: 1 / -1;
  margin-top: clamp(12px, .7292vw, 14px);
  font-size: clamp(13px, .8333vw, 16px);
  line-height: 1.5;
  color: var(--c-cream);
}

.form__msg:empty { display: none; }

.form__msg--error {
  color: #ffeadf;
  padding-left: 14px;
  border-left: 2px solid #8a4b38;
}

.form__msg--ok {
  padding-left: 14px;
  border-left: 2px solid var(--c-cream);
}

/* "did you mean …@gmail.com?" — one click applies the correction */
.form__suggest {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.form__suggest:hover { opacity: .75; }

.form__suggest::after { content: "?"; }

/* success state: the fields step aside so the confirmation is unmissable */
.form--sent .form__field { display: none; }

.form--sent .form__msg {
  margin-top: 0;
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.45;
}

.form__again {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: clamp(14px, .8333vw, 16px);
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(236, 223, 212, .5);
  background: none;
  color: var(--c-cream);
  font-family: var(--f-body);
  font-size: clamp(13px, .7813vw, 15px);
  font-weight: 300;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}

.form__again:hover { border-bottom-color: var(--c-cream); }

.form__again[hidden] { display: none; }

/* --------------------------------------------------------------------------
   6. Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .intro__eyebrow { font-size: 11px; letter-spacing: 2.6px; }
  .intro__title   { font-size: 32px; line-height: 40px; margin-top: 26px; max-width: none; }
  .intro__lead    { font-size: 20px; margin-top: 39px; }
  .intro__text    { font-size: 15px; line-height: 26px; margin-top: 16px; max-width: none; }
  .cta__title     { font-size: 32px; line-height: 40px; margin-top: 0; }
  .cta__col--title { padding-right: 6vw; }
  .cta__rule { display: none; }
  .form           { max-width: none; }
  .form__input,
  .form__btn      { height: 42px; font-size: 14px; padding: 0 12px; }
  .form__msg      { font-size: 12px; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   7. Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { aspect-ratio: 4 / 3; }

  .hero__img { object-position: 56% 50%; }

  .hero__logo {
    top: 24px;
    left: 24px;
    width: 150px;
  }

  .hero__rule { display: none; }

  .intro {
    padding: clamp(44px, 7vw, 64px) clamp(24px, 5vw, 48px) clamp(48px, 7vw, 68px);
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro__eyebrow { font-size: 11px; letter-spacing: 2.4px; }

  .intro__title {
    margin-top: 18px;
    font-size: clamp(24px, 5.2vw, 34px);
    line-height: 1.28;
    max-width: 640px;
  }

  .intro__lead { font-size: 20px; line-height: 1.3; margin-top: 0; max-width: 640px; }

  .intro__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 26px;
    max-width: 640px;
  }

  .cta {
    padding: clamp(44px, 7vw, 64px) clamp(24px, 5vw, 48px) clamp(52px, 8vw, 72px);
  }

  .cta__rule { display: none; }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta__col--title { padding-right: 0; }

  .cta__title {
    margin-top: 0;
    font-size: clamp(26px, 5.6vw, 34px);
    line-height: 1.28;
    text-align: left;
  }

  /* one field per row on small screens */
  .form {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 640px;
  }

  .form__input,
  .form__btn {
    height: 46px;
    font-size: 15px;
    padding: 0 14px;
  }

  .form__btn { text-align: center; }

  .form__msg { font-size: 13px; margin-top: 6px; }
}

/* Narrow phones: a taller hero crop keeps the room in frame */
@media (max-width: 560px) {
  .hero { aspect-ratio: 3 / 4; }


}

/* --------------------------------------------------------------------------
   8. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
