/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* =============
    Base
============= */
/* =============
    Mixins
============= */
/* =============
    Variables
============= */
:root {
  --black: #000000;
  --white: #ffffff;
  --cream: #f6f3ef;
  --charcoal: #2b2a28;
  --gray: #6f6b66;
  --gray-light: #a9a49d;
  --gold: #c49a4a;
  --gold-dark: #a9823a;
  --beige: #efe6d8;
  --panel: #fbf9f6;
  --border: #e6e0d8;
  --green: #2f5d3a;
}

/* ---------------- Font Sizing ---------------- */
html {
  font-size: 100%;
}

/* ---------------- Media Queries ---------------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--charcoal);
}

ul li {
  list-style: none;
}

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

a {
  color: inherit;
}

.show-lg {
  display: none;
}
@media (min-width: 992px) {
  .show-lg {
    display: block;
  }
}

@media (min-width: 992px) {
  .hide-lg {
    display: none;
  }
}

.content-padding {
  padding: 48px 16px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .content-padding {
    padding: 64px 32px;
  }
}
@media (min-width: 1200px) {
  .content-padding {
    padding: 80px 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.logo-placeholder {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--green);
}

.image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--beige);
  color: var(--gray);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============
    Typography
============= */
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  line-height: 1.15;
}

ul {
  margin: 0;
  padding: 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* =============
    Buttons
============= */
.btn-gold {
  border: none;
  border-radius: 999px;
  background-color: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
}
.btn-gold:hover {
  background-color: var(--gold-dark);
}

/* =============
    Forms
============= */
input[type=email] {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  border: none;
  background: transparent;
  outline: none;
}
input[type=email]::placeholder {
  color: var(--gray-light);
}

/* =============
    Header
============= */
#site-header #header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  #site-header #header-container {
    padding: 32px;
  }
}
@media (min-width: 1200px) {
  #site-header #header-container {
    padding: 32px 0;
  }
}
#site-header #logo a {
  text-decoration: none;
}
#site-header #logo img {
  height: 68px;
  width: auto;
}
@media (min-width: 768px) {
  #site-header #logo img {
    height: 84px;
  }
}
#site-header #mainNav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-underline-offset: 6px;
  transition: 0.25s;
}
#site-header #mainNav a:hover {
  color: var(--gold);
}

/* =============
    Footer
============= */
#site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
#site-footer #footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  #site-footer #footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
  }
}
@media (min-width: 1200px) {
  #site-footer #footer-inner {
    padding: 32px 0;
  }
}
#site-footer #footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#site-footer #footer-contact a {
  text-decoration: none;
  font-weight: 500;
}
#site-footer #footer-contact a:hover {
  color: var(--gold);
}
#site-footer #footer-contact p {
  color: var(--gray);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
#site-footer #footer-social {
  display: flex;
  gap: 20px;
}
#site-footer #footer-social a {
  color: var(--gray-light);
  font-size: 1.125rem;
  transition: 0.25s;
}
#site-footer #footer-social a:hover {
  color: var(--charcoal);
}

/* =============
    Home
============= */
#home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  #home {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
#home #home-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#home #home-text h1 {
  font-size: 2.75rem;
}
@media (min-width: 768px) {
  #home #home-text h1 {
    font-size: 3.75rem;
  }
}
@media (min-width: 1200px) {
  #home #home-text h1 {
    font-size: 4.5rem;
  }
}
#home #home-text h1 em {
  font-style: italic;
}
#home #home-text .home-sub {
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 460px;
}
#home #home-image {
  margin: 0;
  height: 420px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(43, 42, 40, 0.15);
}
@media (min-width: 992px) {
  #home #home-image {
    height: 560px;
  }
}
#home #home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============
    Cards
============= */
#cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  #cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
#cards .card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}
@media (min-width: 992px) {
  #cards .card {
    padding: 48px;
  }
}
#cards .card h2 {
  font-size: 1.75rem;
}
#cards .card p {
  color: var(--gray);
}
#cards .card-icon {
  display: flex;
  align-items: center;
  min-height: 100px;
}
#cards .card-logo {
  align-self: flex-start;
  padding: 8px;
  border-radius: 24px;
  background-color: var(--beige);
  box-sizing: border-box;
  height: 100px;
}
#cards .card-logo img {
  height: 100%;
  width: auto;
}
#cards .card-badge {
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background-color: var(--beige);
  color: var(--gold);
  font-size: 2.625rem;
}

/* =============
    Signup
============= */
#signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
#signup h2 {
  font-size: 2rem;
}
@media (min-width: 768px) {
  #signup h2 {
    font-size: 2.75rem;
  }
}
#signup #signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 560px;
}
#signup #signup-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#signup #signup-role .role-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
#signup #role-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background-color: var(--white);
  border: 1px solid var(--border);
}
#signup #role-toggle #role-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background-color: var(--charcoal);
}
#signup #role-toggle .role-option {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.25s;
}
@media (min-width: 768px) {
  #signup #role-toggle .role-option {
    padding: 12px 28px;
  }
}
#signup #role-toggle .role-option.active {
  color: var(--white);
}
#signup #role-toggle .role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#signup #signup-email {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background-color: var(--white);
  box-shadow: 0 20px 40px rgba(43, 42, 40, 0.08);
}
#signup #signup-email input {
  flex: 1;
  min-width: 0;
}
#signup #signup-email button {
  flex-shrink: 0;
}

#signup-message {
  min-height: 1.6em;
  font-size: 0.875rem;
  color: var(--gray);
}
#signup-message.is-success {
  color: var(--green);
}
#signup-message.is-error {
  color: #b3261e;
}

#signup-email button:disabled {
  opacity: 0.7;
  cursor: default;
}
