/* ARVYN London — site styles */
:root {
  --navy: #001026;
  --ink: #3D4452;
  --muted: #5A6170;
  --gold: #BFA67A;
  --stone: #F3F1ED;
  --error: #9F1D1D;
  --hair: rgba(0, 16, 38, 0.1);
  --hair-strong: rgba(0, 16, 38, 0.12);
  --hair-soft: rgba(0, 16, 38, 0.08);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--navy); color: #FFFFFF;
  font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Type helpers */
.label {
  margin: 0;
  font-size: 11px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}
.body-copy { margin: 0; max-width: 46ch; font-size: 15px; color: var(--ink); }
.numeral { font-family: var(--serif); font-weight: 300; line-height: 0.85; }
.rule { width: 34px; height: 1px; background: var(--gold); }

/* Header */
.site-header {
  display: flex; justify-content: center; align-items: center;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--hair);
}
.site-header a { display: block; line-height: 0; }
.site-header img { display: block; width: clamp(92px, 24vw, 120px); height: auto; }

/* Buttons and links */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; margin: 6px 0 0; padding: 0;
  background: var(--navy); color: #FFFFFF; border: 1px solid var(--navy);
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s ease;
}
.btn:hover { background: #12294A; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  text-decoration: none; font-size: 11px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  border-bottom: 1px solid var(--navy);
}
.link-arrow svg { flex: none; }

/* Landing: hero */
.hero { display: flex; flex-wrap: wrap-reverse; align-items: stretch; }
.hero__text {
  flex: 1 1 380px; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 104px);
}
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(46px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -0.005em;
}
.hero__lede { margin: 0; max-width: 36ch; color: var(--ink); }
.hero__media { flex: 1.35 1 440px; min-width: 0; }
.hero__media img {
  display: block; width: 100%; height: clamp(500px, 58vw, 860px);
  object-fit: cover; object-position: 62% 40%;
}

/* Landing: shirts */
.shirts { padding: clamp(80px, 9vw, 144px) clamp(20px, 5vw, 80px); border-top: 1px solid var(--hair-soft); }
.container { max-width: 1240px; margin: 0 auto; }
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 3.8vw, 54px); line-height: 1.12;
}
.cards { display: flex; flex-wrap: wrap; gap: clamp(40px, 4.5vw, 64px); }
.card { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 18px; }
.title-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  padding-bottom: 18px; border-bottom: 1px solid var(--hair-strong);
}
.title-row__name { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card h3 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15;
}
.card .numeral { font-size: clamp(52px, 5vw, 76px); }

/* Landing: story */
.story { border-top: 1px solid var(--hair-soft); }
.story__img {
  display: block; width: 100%; height: clamp(300px, 40vw, 620px);
  object-fit: cover; object-position: 50% 45%;
}
.story__body {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) clamp(20px, 5vw, 80px);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 6vw, 112px);
}
.story blockquote {
  flex: 1.3 1 380px; min-width: 0; margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3vw, 44px); line-height: 1.3;
}
.story__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 10px; }
.story__aside .body-copy { max-width: 44ch; }
.origin { margin: 0; padding-top: 18px; border-top: 1px solid var(--hair-strong); font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: clamp(56px, 6vw, 88px) clamp(20px, 5vw, 80px) 40px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.site-footer__mark { display: block; width: 52px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; }
.site-footer nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  white-space: nowrap; text-decoration: none;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
}
.site-footer small { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {
  .site-footer nav { flex-direction: column; align-items: center; }
}

/* Product: breadcrumb */
.crumbs { max-width: 1320px; margin: 0 auto; padding: 8px var(--gutter) 0; }
.crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px;
  font-size: 12px; color: var(--muted);
}
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); }

/* Product: layout */
.product {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(12px, 2vw, 28px) var(--gutter) clamp(72px, 8vw, 120px);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 88px);
}
.gallery { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.thumbs { display: flex; gap: 10px; }
.thumb {
  flex: 0 1 72px; min-width: 0; padding: 0; cursor: pointer;
  background: var(--stone); border: 1px solid transparent; opacity: 0.6;
  transition: opacity 0.2s ease;
}
.thumb:hover { opacity: 0.9; }
.thumb[aria-pressed="true"] { border-color: var(--navy); opacity: 1; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

.info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.info__head { display: flex; flex-direction: column; gap: 10px; }
.info__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.info h1 {
  margin: 0; min-width: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 3.4vw, 52px); line-height: 1.08;
}
.info .numeral { font-size: clamp(56px, 5.4vw, 84px); }
.price {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 24px; border-bottom: 1px solid var(--hair-strong);
}
.price__now { font-size: 24px; font-weight: 400; letter-spacing: 0.01em; }
.price__was { font-size: 16px; color: var(--muted); }
.lede {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 1.9vw, 26px); line-height: 1.4;
}

/* Product: sizes */
.size { display: flex; flex-direction: column; gap: 10px; }
.size__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.size__guide {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12px; text-decoration: underline; text-underline-offset: 3px;
}
.size__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pill { position: relative; display: block; min-width: 0; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span {
  display: flex; align-items: center; justify-content: center; height: 48px;
  background: #FFFFFF; color: var(--navy); border: 1px solid rgba(0, 16, 38, 0.24);
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.pill input:hover + span { border-color: var(--navy); }
.pill input:checked + span { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.pill input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.size__error { margin: 0; font-size: 13px; color: var(--error); }
.size__detail { margin: 0; font-size: 13px; color: var(--ink); }

/* Size chart (shirt pages and size guide page) */
.chart-wrap { overflow-x: auto; }
.chart { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.chart th, .chart td { padding: 9px 8px; border-top: 1px solid var(--hair-soft); white-space: nowrap; }
.chart thead th { border-top: 0; font-size: 10px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.chart tbody th { font-weight: 400; }
.chart tr.is-selected { background: var(--stone); }
.acc__body .chart-note, .page .chart-note { font-size: 12px; color: var(--muted); }
.page .chart { font-size: 14px; }

/* Product: buy */
.buy { display: flex; flex-direction: column; gap: 14px; }
.buy .btn { height: 56px; margin: 0; }
.buy__note {
  margin: 0; display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.6; color: var(--ink);
}
.buy__note svg { flex: none; margin-top: 3px; }

/* Product: accordions */
.acc { border-top: 1px solid var(--hair-strong); }
.acc details { border-bottom: 1px solid var(--hair-strong); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; cursor: pointer;
  font-size: 11px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .v { transition: opacity 0.2s ease; }
.acc details[open] summary .v { opacity: 0; }
.acc__body { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.acc__body p { margin: 0; font-size: 15px; color: var(--ink); }
.acc__body .origin-line { font-size: 14px; font-weight: 400; color: var(--navy); }
.acc__body .placeholder { font-size: 13px; font-style: italic; color: var(--muted); }
.specs { margin: 0; padding: 0 0 20px; font-size: 14px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--hair-soft); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }

/* Product: cross-sell */
.also { border-top: 1px solid var(--hair-soft); padding: clamp(64px, 7vw, 112px) var(--gutter); }
.also__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 4vw, 52px); }
.also__head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.also__card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px;
  width: 100%; text-decoration: none;
}
.also__img { flex: none; width: clamp(140px, 16vw, 220px); }
.also__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.also__name { min-width: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.also .numeral { font-size: clamp(44px, 4vw, 60px); }
.also__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--hair-strong); }
.also__cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
}
.also__card:hover .also__cta { text-decoration: underline; text-underline-offset: 4px; }

/* Simple text pages */
.page { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.page h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
.page p { margin: 0; color: var(--ink); }
.page .placeholder { font-style: italic; color: var(--muted); }
