:root {
  --ink: #282828;
  --paper: #FFFFFF;
  --beige-50: #F8F4F0;
  --beige-100: #F1E9E2;
  --beige-200: #E5D7CC;
  --beige-400: #CDB7A6;
  --display: 'freight-display-pro', 'Freight Display Pro', Georgia, serif;
  --text: 'freight-text-pro', 'Freight Text Pro', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(112px, 11vw, 176px);
  --wide: 1280px;
  --measure: 32em;
  --rule: var(--beige-400);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
em { font-style: italic; }

::selection { background: var(--beige-200); color: var(--ink); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.button:focus-visible { outline-color: var(--ink); }
.button-light:focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 15px;
}
.skip:focus { top: 16px; }

/* Magazine style: menu, buttons, facts, names */

.header-menu, .menu-sheet-links, .button, .link, cite, .route, .facts dt, .footer-links {
  font: 600 12.5px/1.4 var(--sans);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.header { position: sticky; top: 0; z-index: 20; background: var(--paper); }

.header-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 80px; padding: 0 clamp(20px, 3vw, 44px);
}
.header-logo img, img.header-logo { width: 272px; height: auto; }
.header-logo { justify-self: center; }
.header-actions { justify-self: end; display: flex; gap: 16px; }

.header-menu { display: flex; justify-content: center; gap: 56px; padding: 0 0 22px; }
.header-menu a { padding: 6px 0; background: linear-gradient(currentColor, currentColor) 50% 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.header-menu a:hover, .header-menu a[aria-current="page"] { background-size: 100% 1px; }

.icon { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 -8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.icon svg, .menu-sheet-foot svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.header-menu-button { display: none; }

/* Menu sheet (phone) */

.menu-sheet {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 0 40px;
  border: 0; background: var(--paper); color: var(--ink);
  flex-direction: column;
}
.menu-sheet[open] { display: flex; }
.menu-sheet::backdrop { background: var(--paper); }
.menu-sheet .header-bar { padding: 0 20px; }
.menu-sheet-links { display: flex; flex-direction: column; align-items: center; gap: 32px; margin: auto 0; font-size: 14px; }
.menu-sheet-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.6em; }
.menu-sheet-foot { display: flex; justify-content: center; gap: 40px; font: 600 12.5px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.menu-sheet-foot a { display: flex; align-items: center; gap: 10px; }

/* Type */

.display {
  font: 500 clamp(46px, 5.6vw, 84px)/1.02 var(--display);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display span { display: block; }

.title {
  font: 500 clamp(38px, 4vw, 60px)/1.06 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.service-title {
  font: 500 clamp(40px, 4.2vw, 64px)/1.04 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.standfirst { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.5; text-wrap: pretty; }
.promise { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.45; text-wrap: pretty; }
.body { max-width: var(--measure); text-wrap: pretty; }

.quote {
  font: italic 500 clamp(32px, 3.3vw, 50px)/1.14 var(--display);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
cite { display: block; }

.link {
  display: inline-block;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.6em;
  text-decoration-color: var(--beige-400);
  transition: text-decoration-color 0.3s;
}
.link:hover { text-decoration-color: currentColor; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 40px;
  background: var(--ink); color: var(--paper);
  transition: background-color 0.3s;
}
.button:hover { background: #000; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--beige-100); }

/* Fact panel */

.facts { border-top: 1px solid var(--rule); }
.facts > div {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 20px;
  padding: 16px 0 17px;
  border-bottom: 1px solid var(--rule);
}
.facts dt { padding-top: 0.45em; font-size: 11.5px; }
.facts dd { font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.facts .price { font: 500 28px/1.1 var(--display); letter-spacing: -0.005em; }

/* Page head */

.head-text {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(80px, 8vw, 128px) var(--gutter) clamp(72px, 7vw, 112px);
  text-align: center;
}
.head .standfirst { max-width: 31em; margin-top: 36px; }
.head-photo { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.head-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 60% 12%; }

/* Where to start, then the film */

.start {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--section) var(--gutter) clamp(72px, 7vw, 112px);
  text-align: center;
}
.start + .embed-film { margin-top: 0; }
.start .standfirst { max-width: 29em; margin-top: 28px; }

.route {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin-top: 56px;
}
.route a { display: flex; align-items: center; padding: 8px 0; }
.route a + a::before {
  content: ""; width: clamp(32px, 4vw, 64px); margin: 0 20px;
  border-top: 1px solid var(--beige-400);
}
.route a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.6em; }

/* Services */

.service .promise { margin-top: 24px; }
.service .body { margin-top: 24px; }
.service .facts { margin-top: 40px; }
.service .button { margin-top: 40px; }

/* Colour Analysis: the lead, photo bleeding left */

.colour {
  display: grid; grid-template-columns: 3fr 2fr; align-items: center;
  gap: clamp(48px, 5vw, 96px);
  padding-right: var(--gutter);
}
.colour .service-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 75% 50%; }
.colour .service-text { max-width: 31rem; padding-block: 48px; }
.colour .service-title { font-size: clamp(48px, 5.4vw, 84px); line-height: 1; }

/* Proof */

.proof {
  display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: clamp(56px, 7vw, 128px);
  margin-top: var(--section);
  padding: var(--section) max(var(--gutter), (100% - var(--wide)) / 2);
  background: var(--beige-200);
}
.pull footer { margin-top: 28px; }
.pull-lead .quote { font-size: clamp(48px, 5.6vw, 88px); line-height: 1.02; }
.pull-small .quote { max-width: 17em; font-size: clamp(24px, 1.9vw, 28px); line-height: 1.3; }
.proof-side .link { margin-top: 56px; text-decoration-color: var(--ink); }
.proof .link:hover { text-decoration-color: currentColor; }

/* Body Shape: black, wide photo then two columns */

.shape {
  padding: var(--section) var(--gutter);
  background: var(--ink); color: var(--paper);
  --rule: rgb(255 255 255 / 0.24);
}
.shape .service-photo { max-width: var(--wide); margin: 0 auto; }
.shape .service-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 28%; }
.shape .service-text {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 112px);
  max-width: var(--wide); margin: clamp(64px, 6vw, 96px) auto 0;
}
.shape .service-detail .body { margin-top: 0; }

/* Wardrobe Audit: beige band, tall photo bleeding right */

.audit {
  display: grid; grid-template-columns: 7fr 5fr;
  background: var(--beige-100);
}
.audit .service-photo { grid-column: 2; grid-row: 1; }
.audit .service-photo img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.audit .service-text {
  grid-column: 1; grid-row: 1; align-self: center; justify-self: center;
  width: min(100%, 36rem); padding: var(--section) var(--gutter);
}

/* Personal Shopping: centred, wide photo, facts in a row */

.shopping { padding-top: var(--section); text-align: center; }
.shopping .service-intro { padding: 0 var(--gutter); }
.shopping .promise { max-width: 24em; margin-inline: auto; }
.shopping .service-photo { margin-top: clamp(64px, 6vw, 96px); }
.shopping .service-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; }
.shopping .service-detail {
  display: flex; flex-direction: column; align-items: center;
  max-width: calc(960px + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(64px, 6vw, 96px) var(--gutter) 0;
}
.shopping .body { margin-top: 0; }

.facts-row { display: grid; grid-template-columns: 1.7fr 1fr 0.8fr; width: 100%; border-bottom: 1px solid var(--rule); }
.facts-row > div {
  grid-template-columns: 1fr; gap: 12px; align-content: start;
  padding: 24px clamp(20px, 2.5vw, 36px) 28px;
  border-bottom: 0;
}
.facts-row > div + div { border-left: 1px solid var(--rule); }
.facts-row dt { padding-top: 0; }

.voucher {
  max-width: calc(960px + 2 * var(--gutter)); margin: clamp(80px, 7vw, 112px) auto 0;
  padding: 0 var(--gutter);
  font-size: 18px;
  text-wrap: balance;
}
.voucher .link { margin-left: 14px; }

/* Closing */

.closing {
  display: flex; flex-direction: column; align-items: center;
  margin-top: clamp(80px, 7vw, 112px);
  padding: var(--section) var(--gutter);
  background: var(--beige-50);
  text-align: center;
}
.closing .button { margin-top: 56px; }
.closing .link { margin-top: 24px; }

/* Footer */

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 88px var(--gutter) 40px;
  text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; }
.footer-links a:hover, .footer-email:hover { text-decoration: underline; text-decoration-color: var(--beige-400); text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.footer-email { font-size: 20px; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--beige-100);
  font: 400 15px/1 var(--text);
}
.footer-base img { width: 141px; height: auto; }

/* Fade-ins */

.js .reveal { opacity: 0; transition: opacity 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; }

/* Tablet */

@media (max-width: 1024px) {
  .colour { grid-template-columns: 1fr 1fr; }
  .colour .service-photo img { aspect-ratio: 4 / 5; object-position: 34% 50%; }
  .shape .service-text { grid-template-columns: 1fr; gap: 24px; }
  .audit { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-menu, .icon-desktop { display: none; }
  .header-menu-button { display: grid; justify-self: start; }
  .header-bar { height: 64px; padding: 0 20px; }
  .header-logo img, img.header-logo { width: 198px; }
  .header { border-bottom: 1px solid var(--beige-100); }
  html { scroll-padding-top: 80px; }
}

/* Phone */

@media (max-width: 720px) {
  :root { --section: 96px; }
  body { font-size: 18px; }
  .display { font-size: 44px; }
  .title { font-size: 36px; }
  .service-title, .colour .service-title { font-size: 42px; }
  .colour .service-title { font-size: 48px; }
  .button { width: 100%; padding: 0 24px; }

  .head-text { padding: 64px 20px 56px; }
  .head .standfirst { margin-top: 24px; }
  .head-photo { padding-inline: 0; }
  .head-photo img { aspect-ratio: 4 / 5; object-position: 80% 40%; }

  .start { padding-bottom: 56px; }
  .route { flex-direction: column; margin-top: 48px; }
  .route a { flex-direction: column; }
  .route a + a::before { width: 0; height: 28px; margin: 0 0 16px; border-top: 0; border-left: 1px solid var(--beige-400); }

  .colour { grid-template-columns: 1fr; gap: 0; padding-right: 0; }
  .colour .service-photo img { aspect-ratio: 4 / 5; object-position: 30% 50%; }
  .colour .service-text { max-width: none; padding: 44px 20px 0; }

  .service .promise { margin-top: 18px; }
  .service .body { margin-top: 20px; }
  .service .facts { margin-top: 32px; }
  .service .button { margin-top: 32px; }
  .facts > div { grid-template-columns: 6.5em 1fr; gap: 16px; }

  .proof { grid-template-columns: 1fr; gap: 72px; padding-inline: 20px; }
  .pull-lead .quote { font-size: 48px; }
  .pull-small .quote { font-size: 24px; }

  .shape { padding: 0 0 var(--section); }
  .shape .service-photo img { aspect-ratio: 4 / 3; object-position: 58% 30%; }
  .shape .service-text { gap: 20px; margin-top: 44px; padding: 0 20px; }

  .audit { grid-template-columns: 1fr; }
  .audit .service-photo { grid-column: auto; grid-row: auto; }
  .audit .service-photo img { aspect-ratio: 4 / 5; height: auto; }
  .audit .service-text { grid-column: auto; grid-row: auto; width: 100%; padding: 44px 20px var(--section); }

  .shopping .service-intro { padding: 0 20px; }
  .shopping .service-photo { margin-top: 48px; }
  .shopping .service-photo img { aspect-ratio: 4 / 3; object-position: 62% 40%; }
  .shopping .service-detail { padding: 44px 20px 0; align-items: stretch; text-align: left; }
  .shopping .service-intro { text-align: left; }
  .shopping .promise { margin-inline: 0; }
  .facts-row { grid-template-columns: 1fr; margin-top: 32px; border-bottom: 0; }
  .facts-row > div { grid-template-columns: 6.5em 1fr; gap: 16px; padding: 16px 0 17px; border-bottom: 1px solid var(--rule); }
  .facts-row > div + div { border-left: 0; }
  .facts-row dt { padding-top: 0.45em; }
  .shopping .body { margin-top: 0; }

  .voucher { padding: 0 20px; text-align: center; }
  .voucher .link { display: table; margin: 20px auto 0; }

  .footer-links { flex-direction: column; gap: 14px; }
  .footer-base { flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transition: none; }
  .header-menu a { transition: none; }
}

.head-link { margin-top: 32px; }
