/* NIXII / WEBSITE 051
   Adelaide Wardrobe Salon × Pattern-Cut Editorial
   HTML + CSS only
*/

:root {
  --paper: #f5f4ee;
  --plum: #241126;
  --pistachio: #cbd8a5;
  --apricot: #e6a675;
  --cobalt: #5069bb;
  --aluminium: #c7c9c8;
  --red: #c7312d;
  --ink-soft: #655c64;
  --white: #fffdfa;
  --line: rgba(36, 17, 38, 0.22);
  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --condensed: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max: 1520px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  color: var(--plum);
  border: 1px solid var(--plum);
  transform: translateY(-170%);
  transition: transform 160ms ease;
}

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

.masthead {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(500px, 2fr) minmax(180px, 0.7fr);
  align-items: end;
  gap: 1.5rem;
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  padding: 1.3rem 0 1.1rem;
  border-bottom: 1px solid var(--plum);
}

.masthead__brand {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  min-width: 0;
}

.wordmark {
  font-family: var(--condensed);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  line-height: 0.82;
}

.brand-note,
.masthead__location,
.eyebrow,
.style-ref,
.row-ref,
.fashion-frame figcaption,
.index-image figcaption,
.location-kicker,
.footer-code,
.legal-masthead p,
.legal-section__label,
.lookbook figcaption span,
.lookbook__study figcaption,
.fit-code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand-note {
  white-space: nowrap;
  color: var(--ink-soft);
}

.wardrobe-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.05rem;
}

.wardrobe-nav a {
  position: relative;
  font-family: var(--condensed);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.wardrobe-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.wardrobe-nav a:hover::after,
.wardrobe-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.masthead__location {
  display: grid;
  justify-items: end;
  line-height: 1.55;
}

.pattern-table {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 760px;
  padding: clamp(2.4rem, 6vw, 6.5rem) 0 clamp(3.5rem, 7vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: 3.4rem;
  left: 41.5%;
  width: 9rem;
  height: 9rem;
  border-top: 1px dashed var(--line);
  border-right: 1px dashed var(--line);
  border-radius: 0 100% 0 0;
}

.hero__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding-right: clamp(1rem, 5vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.hero h1,
.section-heading h2,
.fit-board h2,
.location-type h2,
.legal-intro h1 {
  margin: 0;
  font-family: var(--condensed);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(4.7rem, 9vw, 10rem);
}

.hero h1 em {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: none;
}

.hero__intro {
  max-width: 37rem;
  margin: 2.3rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.8rem;
  margin-top: 2.2rem;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-cta span {
  color: var(--red);
  transition: transform 160ms ease;
}

.text-cta:hover span {
  transform: translate(0.18rem, 0.18rem);
}

.style-ref {
  color: var(--ink-soft);
}

.hero__visual {
  position: relative;
  min-height: 630px;
}

.fashion-frame {
  position: absolute;
  margin: 0;
}

.fashion-frame--main {
  top: 0;
  right: 5%;
  width: 60%;
  height: 90%;
  transform: rotate(1.1deg);
}

.fashion-frame--detail {
  right: 54%;
  bottom: 4%;
  width: 32%;
  height: 41%;
  border: 0.7rem solid var(--paper);
  transform: rotate(-2.2deg);
}

.fashion-frame::after {
  content: "";
  position: absolute;
  inset: -0.65rem;
  z-index: -1;
  border: 1px dashed rgba(36, 17, 38, 0.48);
}

.fashion-frame figcaption {
  position: absolute;
  right: 0;
  bottom: -1.85rem;
}

.pattern-curve {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 47%;
  height: 48%;
  border: 1px dashed rgba(36, 17, 38, 0.35);
  border-right-width: 0;
  border-bottom-width: 0;
  border-radius: 100% 0 0;
  transform: rotate(-12deg);
}

.fit-marker {
  position: absolute;
  top: 4%;
  right: 0;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.hero-number {
  position: absolute;
  right: -0.8rem;
  bottom: -2rem;
  color: rgba(80, 105, 187, 0.18);
  font-family: var(--condensed);
  font-size: clamp(9rem, 16vw, 18rem);
  font-weight: 700;
  line-height: 0.75;
}

.section-shell {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.wardrobe-index {
  border-top: 1px solid var(--plum);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(4rem, 7vw, 7.6rem);
}

.section-heading > p:last-child {
  max-width: 32rem;
  margin: 0 0 0.35rem;
}

.pattern-index {
  border-top: 1px solid var(--plum);
}

.index-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.25fr) minmax(130px, 0.45fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 7.5rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--plum);
  transition: transform 160ms ease, margin 160ms ease;
}

.index-row:hover {
  margin-left: 0.45rem;
  transform: rotate(-0.12deg);
}

.index-row--pistachio { background: var(--pistachio); }
.index-row--apricot { background: var(--apricot); }
.index-row--paper { background: var(--paper); }
.index-row--cobalt { background: var(--cobalt); color: var(--white); }
.index-row--metal { background: var(--aluminium); }

.index-row__label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.index-row__label span {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.index-row h3 {
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.index-row p {
  max-width: 38rem;
  margin: 0;
}

.row-ref {
  justify-self: end;
  text-align: right;
}

.index-images {
  display: grid;
  grid-template-columns: 1.45fr 0.62fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding-top: 3rem;
}

.index-image {
  position: relative;
  margin: 0;
}

.index-image--wide { height: clamp(360px, 50vw, 690px); }
.index-image--tall { height: clamp(320px, 39vw, 580px); }

.index-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--red);
  border-radius: 50%;
}

.index-image--wide::before {
  top: -0.7rem;
  right: 12%;
}

.index-image--tall::before {
  bottom: 11%;
  left: -0.7rem;
}

.index-image figcaption {
  margin-top: 0.55rem;
}

.style-directions {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--plum);
  color: var(--paper);
}

.section-heading--light .eyebrow,
.section-heading--light > p {
  color: rgba(245, 244, 238, 0.72);
}

.directions-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1.25fr;
  gap: clamp(0.9rem, 2.3vw, 2.4rem);
  align-items: start;
}

.direction {
  position: relative;
  min-width: 0;
}

.direction figure {
  margin: 0;
  overflow: hidden;
}

.direction img {
  transition: transform 500ms cubic-bezier(.2,.75,.2,1);
}

.direction:hover img {
  transform: scale(1.025);
}

.direction__text {
  position: relative;
  z-index: 2;
}

.direction__text h3 {
  margin: 0.2rem 0 0.55rem;
  font-family: var(--condensed);
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 0.86;
}

.direction__text p {
  max-width: 24rem;
  margin: 0;
  color: rgba(245, 244, 238, 0.8);
}

.direction__no {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.direction--soft {
  padding-top: 5rem;
}

.direction--soft .direction__text {
  margin-bottom: 1.3rem;
}

.direction--soft figure {
  height: 480px;
  transform: rotate(-1.4deg);
}

.direction--sharp figure {
  height: 620px;
  border: 1rem solid var(--pistachio);
}

.direction--sharp .direction__text {
  width: 84%;
  margin: -2.5rem 0 0 auto;
  padding: 1.4rem;
  background: var(--cobalt);
}

.direction--statement {
  padding-top: 1.5rem;
}

.direction--statement figure {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 500px;
  margin-left: auto;
}

.direction--statement .direction__text {
  width: 78%;
  margin: -3.5rem 0 0;
  padding: 1.35rem;
  background: var(--apricot);
  color: var(--plum);
}

.direction--statement .direction__text p {
  color: var(--plum);
}

.statement-word {
  position: absolute;
  top: 0.7rem;
  left: -0.3rem;
  z-index: 3;
  color: var(--pistachio);
  font-family: var(--condensed);
  font-size: clamp(4.4rem, 6.7vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.fit-section {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.fit-board {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.65fr;
  gap: 2rem;
  min-height: 620px;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  background: var(--aluminium);
  border: 1px solid rgba(36, 17, 38, 0.25);
}

.fit-board::before,
.fit-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fit-board::before {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(36, 17, 38, 0.28);
}

.fit-board::after {
  top: 25%;
  right: 0;
  left: 0;
  border-top: 1px dashed rgba(36, 17, 38, 0.28);
}

.fit-board__copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.fit-board h2 {
  max-width: 10ch;
  font-size: clamp(4.3rem, 7vw, 8rem);
}

.fit-board__copy > p:not(.eyebrow) {
  max-width: 35rem;
  font-size: 1.02rem;
}

.text-cta--dark {
  margin-top: 0.8rem;
}

.fit-board__graphic {
  position: relative;
  min-height: 430px;
}

.seam {
  position: absolute;
  display: block;
  border: 1px dashed rgba(36, 17, 38, 0.56);
}

.seam--one {
  top: 8%;
  left: 15%;
  width: 66%;
  height: 82%;
  border-radius: 48% 52% 30% 35%;
  transform: rotate(8deg);
}

.seam--two {
  top: 21%;
  left: 35%;
  width: 42%;
  height: 48%;
  border-right: 0;
  border-bottom: 0;
  border-radius: 100% 0 0;
}

.seam--three {
  top: 10%;
  left: 48%;
  width: 0;
  height: 78%;
  border-width: 0 0 0 1px;
}

.pin {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--red);
  border-radius: 50%;
}

.pin--one { top: 20%; left: 34%; }
.pin--two { right: 18%; bottom: 25%; }

.fit-code {
  position: absolute;
  right: 7%;
  bottom: 5%;
}

.fit-large {
  position: absolute;
  top: 10%;
  left: -2%;
  color: rgba(36, 17, 38, 0.14);
  font-family: var(--condensed);
  font-size: 13rem;
  font-weight: 700;
  line-height: 1;
}

.fit-notes {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--plum);
}

.fit-notes p {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.7rem;
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fit-notes p:last-child {
  border-bottom: 0;
}

.fit-notes span {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.section-heading--split {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
}

.section-heading--split > div .eyebrow {
  margin-bottom: 1rem;
}

.section-heading--split > p {
  justify-self: end;
}

.lookbook {
  display: grid;
  grid-template-columns: 1.4fr 0.52fr 0.52fr;
  grid-template-rows: auto auto;
  gap: clamp(0.9rem, 2vw, 2rem);
  align-items: stretch;
}

.lookbook figure {
  margin: 0;
}

.lookbook__hero {
  position: relative;
  grid-row: 1 / 3;
  min-height: 760px;
}

.lookbook__hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.35rem;
  width: min(78%, 34rem);
  padding: 1.4rem;
  background: var(--paper);
  border-top: 1px solid var(--plum);
  border-left: 1px solid var(--plum);
}

.lookbook__hero figcaption strong {
  font-family: var(--condensed);
  font-size: 2.5rem;
  line-height: 0.9;
}

.lookbook__hero figcaption small {
  font-size: 0.86rem;
}

.lookbook__study {
  position: relative;
  min-height: 355px;
}

.lookbook__study--one {
  transform: translateY(2.2rem);
}

.lookbook__study--two {
  transform: translateY(-0.8rem);
}

.lookbook__study figcaption {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  padding: 0.45rem 0.6rem;
  background: var(--paper);
}

.lookbook__note {
  grid-column: 2 / 4;
  display: grid;
  align-content: end;
  gap: 0.8rem;
  min-height: 210px;
  padding: 1.5rem;
  background: var(--pistachio);
  border-top: 4px solid var(--red);
}

.lookbook__note > span {
  font-family: var(--mono);
  font-size: 0.7rem;
}

.lookbook__note p {
  max-width: 37rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.25;
}

.lookbook__note .text-cta {
  justify-self: start;
  margin-top: 0.6rem;
}

.location-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 2rem;
  min-height: 690px;
  padding: clamp(5rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background: var(--plum);
  color: var(--paper);
}

.location-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.location-grid span {
  position: absolute;
  display: block;
}

.location-grid span:nth-child(1) {
  top: 25%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--paper);
}

.location-grid span:nth-child(2) {
  top: 63%;
  right: 0;
  left: 0;
  border-top: 1px dashed var(--paper);
}

.location-grid span:nth-child(3) {
  top: 0;
  bottom: 0;
  left: 33%;
  border-left: 1px dashed var(--paper);
}

.location-grid span:nth-child(4) {
  top: 0;
  right: 22%;
  bottom: 0;
  border-left: 1px solid var(--paper);
}

.location-kicker,
.location-type,
.location-card {
  position: relative;
  z-index: 2;
}

.location-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  align-self: start;
}

.location-kicker p {
  margin: 0;
}

.location-dot {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--red);
  border-radius: 50%;
}

.location-type {
  align-self: end;
}

.location-type p {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  font-style: italic;
}

.location-type h2 {
  font-size: clamp(6rem, 13.5vw, 15rem);
  line-height: 0.7;
}

.location-card {
  align-self: end;
  margin-bottom: 0.1rem;
  padding: 1.8rem;
  background: var(--pistachio);
  color: var(--plum);
  border-top: 5px solid var(--red);
}

.location-card address,
.footer-address,
.legal-copy address {
  font-style: normal;
}

.location-card address {
  margin: 1.2rem 0 2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.location-card > span {
  font-family: var(--mono);
  font-size: 0.68rem;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.75fr;
  gap: 2rem;
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)) 2rem;
  background: var(--plum);
  color: var(--paper);
  border-top: 1px solid rgba(203, 216, 165, 0.65);
}

.footer-mark {
  position: relative;
}

.footer-mark h2 {
  margin: 0;
  font-family: var(--condensed);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
}

.footer-mark p {
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.registration-mark {
  position: absolute;
  top: -1.2rem;
  left: -0.9rem;
  color: var(--red);
  font-family: var(--mono);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.5rem 1.2rem;
  align-content: start;
}

.footer-nav a,
.footer-code a {
  width: fit-content;
  color: rgba(245, 244, 238, 0.84);
  font-family: var(--condensed);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-address {
  color: rgba(245, 244, 238, 0.84);
}

.footer-code {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px dashed rgba(245, 244, 238, 0.28);
  color: rgba(245, 244, 238, 0.64);
}

/* Legal */
.legal-page {
  background: var(--paper);
}

.legal-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.5rem;
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  padding: 1.4rem 0 1.2rem;
  border-bottom: 1px solid var(--plum);
}

.legal-masthead p {
  margin: 0;
}

.legal-masthead nav {
  display: flex;
  justify-content: end;
  gap: 1rem;
}

.legal-masthead nav a {
  font-family: var(--condensed);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-main {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
}

.legal-intro {
  display: grid;
  grid-template-columns: 0.4fr 1.25fr 0.75fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--plum);
}

.legal-intro .eyebrow {
  align-self: start;
}

.legal-intro h1 {
  font-size: clamp(5rem, 11vw, 12rem);
}

.legal-intro > p:last-child {
  max-width: 31rem;
}

.legal-section {
  display: grid;
  grid-template-columns: 0.34fr 1.66fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--plum);
}

.legal-section__label {
  position: sticky;
  top: 1rem;
  align-self: start;
}

.legal-section__label span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--red);
  font-size: 2rem;
}

.legal-section__label p {
  margin: 0;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin: 0 0 2rem;
  font-family: var(--condensed);
  font-size: clamp(3.6rem, 6vw, 6.8rem);
  line-height: 0.9;
}

.legal-copy h3 {
  margin: 2.1rem 0 0.45rem;
  font-family: var(--condensed);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.legal-copy p,
.legal-copy address {
  max-width: 720px;
}

.legal-return {
  display: inline-block;
  margin-top: 2.4rem;
  font-family: var(--condensed);
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer--legal {
  grid-template-columns: 1fr 1fr;
}

.site-footer--legal .footer-code {
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1180px) {
  .masthead {
    grid-template-columns: 1fr auto;
  }

  .wardrobe-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 0.4rem;
  }

  .masthead__location {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 8.8vw, 8rem);
  }

  .section-heading {
    grid-template-columns: 0.3fr 1.2fr 0.8fr;
  }

  .directions-grid {
    grid-template-columns: 0.9fr 1.05fr;
  }

  .direction--statement {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    min-height: 520px;
  }

  .direction--statement figure {
    width: 100%;
    height: 520px;
    margin: 0;
  }

  .direction--statement .direction__text {
    width: 100%;
    margin: 0;
  }

  .statement-word {
    top: 1rem;
    left: auto;
    right: 37%;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .fit-board {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .fit-notes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .fit-notes p {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 0.4rem 1rem;
  }

  .fit-notes p:last-child {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 4.5rem;
  }

  .hero::before {
    left: auto;
    right: 12%;
  }

  .hero__copy {
    padding-right: 0;
  }

  .hero__visual {
    min-height: 620px;
  }

  .fashion-frame--main {
    right: 1%;
    width: 62%;
  }

  .fashion-frame--detail {
    right: auto;
    left: 3%;
    width: 38%;
  }

  .section-heading,
  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading h2 {
    font-size: clamp(4rem, 10vw, 6.5rem);
  }

  .section-heading > p:last-child,
  .section-heading--split > p {
    justify-self: start;
    margin-left: 0;
  }

  .index-row {
    grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  }

  .row-ref {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .index-images {
    grid-template-columns: 1fr 0.6fr;
  }

  .directions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .direction--soft {
    padding-top: 2rem;
  }

  .direction--sharp figure {
    height: 500px;
  }

  .direction--statement {
    grid-template-columns: 1fr 1fr;
  }

  .statement-word {
    right: 36%;
    font-size: 4.2rem;
  }

  .fit-board {
    grid-template-columns: 1fr;
  }

  .fit-board__graphic {
    min-height: 320px;
  }

  .fit-notes {
    grid-column: 1;
  }

  .lookbook {
    grid-template-columns: 1fr 1fr;
  }

  .lookbook__hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 580px;
  }

  .lookbook__note {
    grid-column: 1 / -1;
  }

  .lookbook__study--one,
  .lookbook__study--two {
    transform: none;
  }

  .location-section {
    grid-template-columns: 1fr;
    min-height: 650px;
  }

  .location-kicker {
    grid-column: 1;
  }

  .location-type {
    align-self: center;
  }

  .location-card {
    width: min(100%, 470px);
    justify-self: end;
  }

  .site-footer {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-address {
    grid-column: 2;
  }

  .legal-intro {
    grid-template-columns: 1fr;
  }

  .legal-section {
    grid-template-columns: 1fr;
  }

  .legal-section__label {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .masthead,
  .pattern-table,
  .section-shell,
  .fit-section,
  .legal-main,
  .legal-masthead {
    width: min(100% - 2rem, var(--max));
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .masthead__brand {
    display: grid;
    gap: 0.4rem;
  }

  .brand-note {
    white-space: normal;
  }

  .masthead__location {
    grid-column: 1;
    grid-row: 2;
    justify-items: start;
  }

  .wardrobe-nav {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
    gap: 0.35rem 0.9rem;
    padding: 0.65rem 0 0;
    border-top: 1px dashed var(--line);
  }

  .wardrobe-nav a {
    min-height: 2.2rem;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    gap: 2.4rem;
    min-height: 0;
    padding: 3.5rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 19vw, 6.2rem);
  }

  .hero__intro {
    margin-top: 1.6rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__visual {
    min-height: 520px;
  }

  .fashion-frame--main {
    right: 0;
    width: 72%;
    height: 88%;
  }

  .fashion-frame--detail {
    left: 0;
    bottom: 0;
    width: 40%;
    height: 37%;
    border-width: 0.45rem;
  }

  .hero-number {
    bottom: -0.4rem;
    font-size: 9rem;
  }

  .section-shell,
  .fit-section {
    padding: 4.5rem 0;
  }

  .section-heading {
    margin-bottom: 2.2rem;
  }

  .section-heading h2 {
    font-size: clamp(3.7rem, 17vw, 5.8rem);
  }

  .index-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    min-height: 0;
    padding: 1.25rem 1rem;
  }

  .index-row:hover {
    margin-left: 0;
    transform: none;
  }

  .row-ref {
    grid-column: 1;
  }

  .index-images {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .index-image--wide {
    height: 430px;
  }

  .index-image--tall {
    width: 70%;
    height: 380px;
    margin-left: auto;
  }

  .style-directions {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .direction--soft {
    padding-top: 0;
  }

  .direction--soft figure,
  .direction--sharp figure {
    height: 480px;
  }

  .direction--sharp {
    display: grid;
  }

  .direction--sharp figure {
    border-width: 0.7rem;
  }

  .direction--sharp .direction__text {
    width: 92%;
  }

  .direction--statement {
    display: block;
    min-height: 0;
    padding-top: 2.8rem;
  }

  .direction--statement figure {
    width: 88%;
    height: 470px;
    margin-left: auto;
  }

  .direction--statement .direction__text {
    width: 92%;
    margin-top: -2.7rem;
  }

  .statement-word {
    top: -0.2rem;
    right: auto;
    left: 0;
    font-size: clamp(3.7rem, 15vw, 5rem);
  }

  .fit-board {
    min-height: 0;
    padding: 1.4rem;
  }

  .fit-board h2 {
    font-size: clamp(4rem, 17vw, 6rem);
  }

  .fit-board::before {
    left: 72%;
  }

  .fit-board::after {
    top: 48%;
  }

  .fit-board__graphic {
    min-height: 270px;
  }

  .fit-large {
    font-size: 9rem;
  }

  .fit-notes {
    display: block;
  }

  .fit-notes p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 0;
  }

  .fit-notes p:last-child {
    border-bottom: 0;
  }

  .lookbook {
    grid-template-columns: 1fr;
  }

  .lookbook__hero {
    min-height: 520px;
  }

  .lookbook__hero figcaption {
    width: 88%;
  }

  .lookbook__study {
    min-height: 420px;
  }

  .lookbook__study--one {
    width: 78%;
  }

  .lookbook__study--two {
    width: 78%;
    margin-left: auto;
  }

  .lookbook__note {
    grid-column: 1;
  }

  .location-section {
    gap: 1rem;
    min-height: 620px;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .location-type h2 {
    font-size: clamp(5rem, 22vw, 7.5rem);
  }

  .location-type p {
    font-size: 2.2rem;
  }

  .location-card {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3.3rem;
  }

  .footer-address {
    grid-column: 1;
  }

  .footer-code {
    flex-direction: column;
  }

  .legal-masthead {
    grid-template-columns: 1fr auto;
  }

  .legal-masthead p {
    display: none;
  }

  .legal-masthead nav {
    flex-wrap: wrap;
  }

  .legal-intro {
    padding: 4rem 0;
  }

  .legal-intro h1 {
    font-size: clamp(4.6rem, 21vw, 7rem);
  }

  .legal-section {
    padding: 4rem 0;
  }
}

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

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