/* Wardrobed — responsive site system */

:root {
  --cream: #fbf7f3;
  --cream-soft: #f2ebe5;
  --stone: #e9ded4;
  --ink: #111111;
  --muted: #68625e;
  --line: #d6ccc3;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
  --site-width: 1180px;
  --site-gutter: clamp(20px, 4.45vw, 64px);
  --section-space: clamp(84px, 8.4vw, 126px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow: clip;
}

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

img {
  height: auto;
}

figure,
blockquote {
  margin: 0;
}

a {
  color: inherit;
}

p {
  margin: 0 0 22px;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.shell,
.site-header,
.site-footer {
  width: min(var(--site-width), calc(100% - (var(--site-gutter) * 2)));
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-space);
}

section[id] {
  scroll-margin-top: 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
  font-weight: 300;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(56px, 5.3vw, 82px);
  line-height: 1.025;
  letter-spacing: -0.022em;
}

h2 {
  margin: 0 0 26px;
  font-size: clamp(43px, 4.1vw, 62px);
  line-height: 1.045;
  letter-spacing: -0.016em;
}

h3 {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: max-content;
  padding: 13px 27px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: transparent;
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  min-height: clamp(88px, 7.8vw, 112px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 50px;
  height: 40px;
  margin-right: 6px;
  flex: 0 0 auto;
}

.site-header .brand-mark {
  width: 54px;
  height: 42px;
  margin-right: 0;
}

.brand-word {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.255em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.15vw, 31px);
  margin-left: auto;
  font-size: 12px;
  line-height: 1.2;
}

.main-nav > a:not(.button),
.footer-nav a,
.footer-contact a {
  position: relative;
  text-decoration: none;
}

.main-nav > a:not(.button)::after,
.footer-nav a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.main-nav > a:not(.button):hover::after,
.footer-nav a:hover::after,
.footer-contact a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 5.5vw, 78px);
  align-items: center;
  padding-top: clamp(36px, 4vw, 58px);
  padding-bottom: clamp(88px, 9vw, 132px);
}

.hero-copy,
.hero-image {
  min-width: 0;
}

.hero-copy {
  padding-block: clamp(28px, 4vw, 62px);
}

.hero-copy .eyebrow {
  margin-bottom: 28px;
}

.hero-copy .intro {
  max-width: 500px;
  margin: clamp(34px, 3.5vw, 48px) 0 0;
  font-size: 15px;
  line-height: 1.75;
}

.hero-copy .button {
  margin-top: clamp(30px, 3vw, 42px);
}

.hero-image {
  overflow: hidden;
  aspect-ratio: 0.84;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.965) saturate(0.94) contrast(0.985);
}

/* Wardrobed introduction */

.wardrobed {
  background: var(--white);
}

.wardrobed-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(58px, 8.5vw, 120px);
  align-items: start;
}

.wardrobed-heading,
.wardrobed-copy {
  min-width: 0;
}

.wardrobed-heading h2 {
  max-width: 470px;
  margin-bottom: 0;
}

.wardrobed-copy {
  max-width: 630px;
}

.wardrobed-copy p {
  color: #3f3a37;
  line-height: 1.78;
}

.wardrobed-copy .wardrobed-opening,
.wardrobed-copy .play-line {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(29px, calc(27.9px + 0.286vw), 32px);
  font-weight: 300;
  line-height: 1.16;
}

.wardrobed-copy .wardrobed-opening {
  margin-bottom: 28px;
}

.wardrobed-copy .play-line {
  margin: 34px 0 24px;
}

/* Process */

.process {
  background: var(--cream-soft);
}

.process-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.process-heading h2 {
  margin-bottom: 20px;
}

.process-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1080px;
  margin: clamp(58px, 6vw, 78px) auto 0;
}

.step {
  position: relative;
  min-width: 0;
  padding-inline: 12px;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  right: calc((clamp(24px, 3vw, 40px) * -0.5) - 12px);
  width: clamp(32px, 3.5vw, 48px);
  height: 1px;
  background: #bdb2aa;
}

.step span {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.14em;
}

.step h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step p {
  max-width: 240px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.confidence-note {
  max-width: 680px;
  margin: clamp(56px, 6vw, 78px) auto 0;
  padding-top: clamp(34px, 4vw, 46px);
  border-top: 1px solid rgba(17, 17, 17, 0.13);
  text-align: center;
}

.confidence-note h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
}

.confidence-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Testimonials */

.testimonials {
  background: var(--cream);
}

.testimonials .eyebrow {
  margin-bottom: clamp(48px, 5vw, 66px);
}

.testimonials h2.eyebrow {
  font-family: var(--sans);
}

.testimonial-stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  max-width: 930px;
  margin-inline: auto;
}

.testimonial-slides {
  min-width: 0;
}

.testimonial-slide {
  text-align: center;
}

.testimonial-slide blockquote {
  max-width: 750px;
  margin: 0 auto 26px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.testimonial-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.testimonial-arrow:hover {
  background: var(--ink);
  color: var(--white);
}

/* Stewardship */

.stewardship {
  background: var(--stone);
}

.stewardship-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(58px, 8vw, 108px);
  align-items: center;
}

.stewardship-image,
.stewardship-content {
  min-width: 0;
}

.stewardship-image {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.stewardship-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.stewardship-content {
  max-width: 650px;
}

.stewardship-content h2 {
  max-width: 630px;
  margin-bottom: 34px;
}

.stewardship-content p {
  color: #3f3a37;
  line-height: 1.78;
}

.stewardship-content .stewardship-opening {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.27;
}

.stewardship-end {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
  gap: clamp(58px, 7vw, 92px);
  align-items: center;
}

.about-image,
.about-copy {
  min-width: 0;
}

.about-image {
  overflow: hidden;
  aspect-ratio: 1300 / 1209;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.about-copy h2 {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: clamp(41px, 3.7vw, 57px);
  line-height: 1.07;
}

.about-copy > p:not(.eyebrow):not(.founder-label) {
  max-width: 650px;
  color: #3f3a37;
  line-height: 1.75;
}

.signature-image {
  display: block;
  width: clamp(145px, 12vw, 170px);
  max-width: 100%;
  height: auto;
  margin: 28px 0 6px;
}

.founder-label {
  margin: 0;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Contact */

.contact {
  height: clamp(360px, 29vw, 420px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  align-items: stretch;
  margin-top: clamp(76px, 8vw, 112px);
  margin-bottom: clamp(82px, 8vw, 112px);
  overflow: hidden;
  background: var(--stone);
}

.contact-copy {
  padding: clamp(46px, 5vw, 66px) clamp(36px, 5.5vw, 70px);
}

.contact-copy h2 {
  margin-bottom: 24px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
}

.contact-copy .button {
  margin-top: 8px;
}

.contact > img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.06);
  transform-origin: right 48%;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, 0.72fr) minmax(190px, 0.88fr);
  gap: 48px;
  padding: 62px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.footer-contact .eyebrow {
  margin-bottom: 16px;
}

.site-footer .brand-mark {
  width: 47px;
  height: 38px;
}

.site-footer .brand-word {
  letter-spacing: 0.29em;
}

.legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .site-header {
    gap: 20px;
  }

  .brand-word {
    font-size: 18px;
    letter-spacing: 0.225em;
  }

  .brand-mark {
    width: 46px;
  }

  .site-header .brand-mark {
    width: 50px;
    height: 39px;
  }

  .main-nav {
    gap: 17px;
    font-size: 11px;
  }

  .button-small {
    padding-inline: 15px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 44px;
    max-width: 760px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step:nth-child(n + 3) {
    padding-top: 42px;
    border-top: 1px solid rgba(17, 17, 17, 0.13);
  }

  .stewardship-grid {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: 58px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 90px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    margin: 0;
    padding: 28px 0 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    font-size: 12px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav .button {
    margin-top: 5px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 38px;
  }

  .hero-copy {
    max-width: 720px;
    padding-block: 0;
  }

  .hero-copy h1 {
    max-width: 720px;
  }

  .hero-image {
    width: min(100%, 620px);
    margin-inline: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-image img {
    object-position: center top;
  }

  .wardrobed-grid,
  .stewardship-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .wardrobed-grid {
    gap: 52px;
  }

  .wardrobed-heading h2 {
    max-width: 650px;
  }

  .wardrobed-copy,
  .stewardship-content,
  .about-copy {
    max-width: 680px;
  }

  .stewardship-grid {
    gap: 54px;
  }

  .stewardship-image {
    width: min(100%, 520px);
    margin-inline: auto;
    aspect-ratio: 3 / 4;
  }

  .about {
    gap: 54px;
  }

  .about-image {
    width: min(100%, 640px);
    margin-inline: auto;
    aspect-ratio: 1300 / 1209;
  }

  .contact {
    height: 360px;
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .site-footer {
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-gutter: clamp(20px, 6vw, 26px);
    --section-space: clamp(74px, 20vw, 88px);
  }

  body {
    font-size: 14px;
    line-height: 1.7;
  }

  h1 {
    font-size: clamp(49px, calc(38.08px + 2.8vw), 56px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(41px, calc(37.88px + 0.8vw), 43px);
    line-height: 1.055;
  }

  .about-copy h2 {
    font-size: 41px;
    line-height: 1.055;
  }

  .eyebrow {
    margin-bottom: 21px;
    font-size: 9px;
  }

  .site-header {
    min-height: 82px;
  }

  .brand-mark {
    width: 42px;
    height: 34px;
  }

  .site-header .brand-mark {
    width: 46px;
    height: 36px;
  }

  .brand-word {
    font-size: 15px;
    letter-spacing: 0.23em;
  }

  .main-nav {
    padding-block: 25px 28px;
  }

  .hero {
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 78px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 23px;
  }

  .hero-copy .intro {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-copy .button {
    margin-top: 28px;
  }

  .hero-image {
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  .hero-image img {
    object-position: center top;
    transform: scale(1.06);
    transform-origin: center top;
  }

  .button {
    min-height: 50px;
    padding-inline: 24px;
  }

  .wardrobed-grid {
    gap: 42px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
  }

  .step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 14px;
    padding: 28px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.13);
    text-align: left;
  }

  .step:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step:nth-child(n + 3) {
    padding-top: 28px;
  }

  .step span {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 4px 0 0;
  }

  .step h3,
  .step p {
    grid-column: 2;
  }

  .step h3 {
    margin-bottom: 10px;
  }

  .step p {
    max-width: none;
    margin: 0;
  }

  .testimonial-stage {
    grid-template-columns: minmax(0, 1fr) 44px 44px minmax(0, 1fr);
    gap: 28px 12px;
  }

  .testimonial-slides {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .testimonial-prev {
    grid-column: 2;
    grid-row: 2;
  }

  .testimonial-next {
    grid-column: 3;
    grid-row: 2;
  }

  .testimonial-slide blockquote {
    font-size: clamp(30px, calc(38px - 1.25vw), 33px);
    line-height: 1.16;
  }

  .stewardship-grid {
    gap: 42px;
  }

  .stewardship-image {
    width: min(100%, 420px);
    aspect-ratio: 3 / 4;
  }

  .stewardship-content h2 {
    margin-bottom: 30px;
  }

  .stewardship-content .stewardship-opening {
    font-size: 26px;
  }

  .about {
    gap: 42px;
  }

  .about-image {
    aspect-ratio: 1300 / 1209;
  }

  .about-copy h2 {
    margin-bottom: 30px;
  }

  .contact {
    height: auto;
    grid-template-columns: 1fr;
    margin-top: 70px;
    margin-bottom: 72px;
  }

  .contact-copy {
    padding: 42px 27px 46px;
  }

  .contact > img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 50%;
    transform: scale(1.06);
    transform-origin: right center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .legal {
    margin-top: 5px;
  }
}

@media (max-width: 390px) {
  .brand-mark {
    width: 39px;
  }

  .site-header .brand-mark {
    width: 44px;
    height: 34px;
  }

  .brand-word {
    font-size: 13px;
  }

  h1 {
    font-size: 49px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
