/* =========================================================
   HOBSON CONCIERGE
   Public Marketing Website
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
  --color-ivory: #f6f2ea;
  --color-soft-ivory: #fbf9f5;
  --color-stone: #ddd4c6;
  --color-taupe: #b9ad9d;

  --color-charcoal: #1d1d1b;
  --color-soft-charcoal: #3d3a36;
  --color-muted: #6f6961;

  --color-brass: #ad8738;
  --color-brass-dark: #8b6928;
  --color-brass-light: #d4bc82;

  --color-success: #536d4d;
  --color-error: #9d463d;

  --color-white: #ffffff;
  --color-black: #000000;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  --page-width: 1240px;
  --header-height: 78px;

  --shadow-soft: 0 18px 50px rgba(22, 20, 17, 0.08);
  --shadow-card: 0 12px 32px rgba(22, 20, 17, 0.06);

  --transition: 220ms ease;
}


/* =========================================================
   2. RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-soft-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

ul {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--color-brass-light);
  color: var(--color-charcoal);
}


/* =========================================================
   3. ACCESSIBILITY
========================================================= */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 4px;
}


/* =========================================================
   4. GLOBAL LAYOUT
========================================================= */

.section {
  padding: 94px 0;
}

.section-container {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 52px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-eyebrow {
  margin-bottom: 14px;
  color: var(--color-brass-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading h2,
.demo h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-introduction {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}


/* =========================================================
   5. BUTTONS
========================================================= */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-brass);
  color: var(--color-white);
}

.button--primary:hover {
  background: var(--color-brass-dark);
}

.button--header {
  min-height: 42px;
  border-color: var(--color-brass);
  padding: 11px 20px;
  background: transparent;
  color: var(--color-brass-dark);
}

.button--header:hover {
  background: var(--color-brass);
  color: var(--color-white);
}


/* =========================================================
   6. HEADER
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(174, 154, 120, 0.22);
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  transition:
    background-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(20, 18, 15, 0.07);
}

.site-header__inner {
  width: min(calc(100% - 48px), var(--page-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}


/* =========================================================
   7. HERO
========================================================= */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--color-charcoal);
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(18, 16, 13, 0.91) 0%,
      rgba(18, 16, 13, 0.74) 36%,
      rgba(18, 16, 13, 0.3) 64%,
      rgba(18, 16, 13, 0.08) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 76px;
  padding-bottom: 76px;
}

.hero__copy {
  max-width: 670px;
  color: var(--color-white);
}

.hero .section-eyebrow {
  color: var(--color-brass-light);
}

.hero__title {
  max-width: 650px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
}

.hero__description {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}


/* =========================================================
   8. PROBLEM & SOLUTION
========================================================= */

.comparison {
  background: var(--color-soft-ivory);
}

.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  align-items: stretch;
  gap: 22px;
}

.comparison-card {
  min-height: 390px;
  padding: 42px;
  border: 1px solid rgba(174, 154, 120, 0.25);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.comparison-card__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.comparison-card__heading h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}

.comparison-card__marker {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--color-brass);
}

.comparison-card--before .comparison-card__marker {
  background: var(--color-error);
}

.comparison-card--after .comparison-card__marker {
  background: var(--color-success);
}

.comparison-list {
  display: grid;
  gap: 17px;
  list-style: none;
}

.comparison-list li {
  position: relative;
  padding-left: 31px;
  color: var(--color-soft-charcoal);
}

.comparison-list li::before {
  position: absolute;
  top: -1px;
  left: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.comparison-list--before li::before {
  content: "×";
  color: var(--color-error);
}

.comparison-list--after li::before {
  content: "✓";
  color: var(--color-success);
}

.comparison__transition {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison__transition span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brass);
  color: var(--color-white);
  font-size: 1.65rem;
  box-shadow: var(--shadow-card);
}

.comparison__closing {
  max-width: 810px;
  margin: 42px auto 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
}


/* =========================================================
   9. THREE PERSPECTIVES
========================================================= */

.perspectives {
  background: var(--color-ivory);
}

.perspectives__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.perspective-card {
  overflow: hidden;
  border: 1px solid rgba(174, 154, 120, 0.25);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.perspective-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.perspective-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.perspective-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.perspective-card:hover .perspective-card__image img {
  transform: scale(1.025);
}

.perspective-card__content {
  padding: 30px 28px 34px;
}

.perspective-card__label {
  margin-bottom: 12px;
  color: var(--color-brass-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.perspective-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.2;
}

.perspective-card p:not(.perspective-card__label) {
  margin-bottom: 13px;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.perspective-card p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   10. BENEFITS
========================================================= */

.benefits {
  background: var(--color-soft-ivory);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(174, 154, 120, 0.28);
  border-left: 1px solid rgba(174, 154, 120, 0.28);
}

.benefit-card {
  min-height: 250px;
  padding: 38px 32px;
  border-right: 1px solid rgba(174, 154, 120, 0.28);
  border-bottom: 1px solid rgba(174, 154, 120, 0.28);
  background: var(--color-white);
}

.benefit-card__icon {
  width: 39px;
  height: 39px;
  margin-bottom: 22px;
  color: var(--color-brass);
}

.benefit-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}


/* =========================================================
   11. DEMO SECTION
========================================================= */

.demo {
  background: var(--color-white);
}

.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  min-height: 760px;
}

.demo__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 88px 64px 88px 48px;
}

.demo__content-inner {
  width: min(100%, 620px);
}

.demo__introduction {
  margin-bottom: 12px;
  color: var(--color-soft-charcoal);
  font-size: 1.04rem;
  line-height: 1.75;
}

.demo__description {
  margin-bottom: 32px;
  color: var(--color-muted);
  line-height: 1.75;
}

.demo__image {
  min-height: 100%;
  overflow: hidden;
}

.demo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}


/* =========================================================
   12. FORM
========================================================= */

.demo-form {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-soft-charcoal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfc5b7;
  border-radius: 0;
  background: var(--color-soft-ivory);
  color: var(--color-charcoal);
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.form-field input,
.form-field select {
  min-height: 49px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--color-taupe);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-brass);
  outline: none;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(173, 135, 56, 0.12);
}

.form-field textarea::placeholder {
  color: #9d958b;
}

.demo-form__footer {
  margin-top: 22px;
}

.button--submit {
  min-width: 190px;
}

.form-disclaimer {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.form-status {
  min-height: 26px;
  margin-top: 14px;
  font-size: 0.87rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--color-success);
}

.form-status.is-error {
  color: var(--color-error);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* =========================================================
   13. FOOTER
========================================================= */

.site-footer {
  padding: 28px 0;
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__inner {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
  gap: 34px;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.site-footer__brand p,
.site-footer__copyright {
  margin-bottom: 0;
  font-size: 0.73rem;
}

.site-footer__navigation {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.74rem;
}

.site-footer__navigation a {
  transition: color var(--transition);
}

.site-footer__navigation a:hover {
  color: var(--color-brass-light);
}

.site-footer__copyright {
  text-align: right;
}


/* =========================================================
   14. REVEAL ANIMATION
========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   15. TABLET
========================================================= */

@media (max-width: 1050px) {
  .hero {
    min-height: 700px;
  }

  .hero__title {
    max-width: 600px;
  }

  .comparison__grid {
    grid-template-columns: 1fr 56px 1fr;
  }

  .comparison-card {
    padding: 34px;
  }

  .perspectives__grid {
    gap: 18px;
  }

  .perspective-card__content {
    padding: 27px 23px 30px;
  }

  .demo__grid {
    grid-template-columns: 1fr 0.85fr;
  }

  .demo__content {
    padding-right: 42px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer__copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}


/* =========================================================
   16. SMALL TABLET
========================================================= */

@media (max-width: 850px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(18, 16, 13, 0.91) 0%,
        rgba(18, 16, 13, 0.76) 58%,
        rgba(18, 16, 13, 0.35) 100%
      );
  }

  .hero__copy {
    max-width: 590px;
  }

  .comparison__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .comparison__transition {
    min-height: 34px;
  }

  .comparison__transition span {
    width: 46px;
    height: 46px;
    transform: rotate(90deg);
  }

  .comparison-card {
    min-height: 0;
  }

  .perspectives__grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
  }

  .perspective-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .perspective-card__image {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo__grid {
    grid-template-columns: 1fr;
  }

  .demo__content {
    order: 2;
    justify-content: center;
    padding: 74px 32px;
  }

  .demo__content-inner {
    width: min(100%, 680px);
  }

  .demo__image {
    order: 1;
    min-height: 440px;
  }

  .demo__image img {
    object-position: center;
  }
}


/* =========================================================
   17. MOBILE
========================================================= */

@media (max-width: 620px) {
  .section-container,
  .site-header__inner,
  .site-footer__inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .section {
    padding: 64px 0;
  }

  .site-logo {
    font-size: 1.55rem;
  }

  .button--header {
    min-height: 39px;
    padding: 10px 13px;
    font-size: 0.64rem;
    letter-spacing: 0.075em;
  }

  .hero {
    min-height: 680px;
  }

  .hero__background img {
    object-position: 66% center;
  }

  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(18, 16, 13, 0.91) 0%,
        rgba(18, 16, 13, 0.81) 76%,
        rgba(18, 16, 13, 0.56) 100%
      );
  }

  .hero__content {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero__title {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero__description {
    font-size: 0.93rem;
  }

  .section-heading h2,
  .demo h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .section-introduction {
    font-size: 0.96rem;
  }

  .comparison-card {
    padding: 30px 24px;
  }

  .comparison-card__heading h3 {
    font-size: 1.55rem;
  }

  .perspective-card {
    display: block;
  }

  .perspective-card__image {
    aspect-ratio: 4 / 3;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 0;
    padding: 31px 25px;
  }

  .demo__image {
    min-height: 350px;
  }

  .demo__content {
    padding: 62px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .button--submit {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__navigation {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__copyright {
    text-align: left;
  }
}


/* =========================================================
   18. VERY SMALL MOBILE
========================================================= */

@media (max-width: 410px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-logo {
    font-size: 1.42rem;
  }

  .button--header {
    max-width: 174px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.6rem;
  }

  .hero__title {
    font-size: 2.55rem;
  }
}


/* =========================================================
   19. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}