/* Format pages. Linen showroom, on top of fx.css. The quote sheet stays locked. */

body {
  margin: 0;
  background: #f5f1ea;
  color: #1c1a17;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 80;
  transform: translateY(-140%);
  background: #f5f1ea;
  color: #1c1a17;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}
.skip:focus { transform: none; }

.fm-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #f5f1ea;
  background: #1f1d1a;
}
.fm-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.fm-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.fm-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(28 26 23 / 78%) 0%, rgb(28 26 23 / 48%) 46%, rgb(28 26 23 / 22%) 100%);
}
.fm-hero .fx-eye { color: rgb(245 241 234 / 82%); }
.fm-hero .fx-lead { color: rgb(245 241 234 / 92%); }
.fm-seo { color: rgb(245 241 234 / 86%); }
.fm-hero .fx-btn--line { box-shadow: inset 0 0 0 1px rgb(245 241 234 / 62%); }
.fm-hero__copy {
  position: relative;
  z-index: 1;
  padding: 120px 0 48px;
}
.fm-hero h1 { margin: 0; }
.fm-hero .fx-display { font-family: var(--fx-serif); font-weight: 300; }
.fm-hero .fx-display {
  display: block;
  color: #f5f1ea;
  max-width: 16ch;
}
.fm-hero em { font-style: italic; font-weight: 300; }
.fm-seo {
  display: block;
  margin-top: 14px;
  max-width: 36ch;
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a39a8e;
}
.fm-crumb {
  margin: 0 0 18px;
  font-size: 13px;
  color: #a39a8e;
}
.fm-crumb a { color: inherit; text-decoration: none; }
.fm-crumb a:hover { color: #f5f1ea; }
.fm-crumb span { margin: 0 0.4em; }
.fm-hero .fx-lead { margin-top: 18px; }
.fm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.fm-hero .fx-eye { margin-bottom: 12px; }

.fm-section { padding: var(--fx-section) 0; background: var(--fx-linen); }
.fm-section--paper { background: var(--fx-paper); }
.fm-section h2.fx-display-m { max-width: 20ch; }
.fm-section .fx-lead { margin-top: 18px; }

.fm-split {
  display: grid;
  gap: 36px;
  align-items: start;
}
.fm-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--fx-sand);
  overflow: hidden;
}
.fm-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms var(--fx-ease);
}
.fm-stage img.is-on { opacity: 1; }
.fm-note {
  margin: 22px 0 0;
  color: var(--fx-ink-soft);
  max-width: 48ch;
}

.fm-rows { margin: 36px 0 0; }
.fm-rows article,
.fm-rows > div {
  padding: 22px 0;
  border-top: 1px solid var(--fx-line);
}
.fm-rows article:last-child,
.fm-rows > div:last-child { border-bottom: 1px solid var(--fx-line); }
.fm-rows h3 { margin: 0; }
.fm-rows p { margin: 8px 0 0; color: var(--fx-ink-soft); max-width: 62ch; }
.fm-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--fx-oak);
  font-family: var(--fx-sans);
  font-size: 13px;
  font-variant-numeric: tabular-nums lining-nums;
}

.fm-spec,
.fm-pair,
.fm-species { margin: 28px 0 0; }
.fm-spec div,
.fm-pair div,
.fm-species div {
  display: grid;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--fx-line);
}
.fm-spec div:last-child,
.fm-pair div:last-child,
.fm-species div:last-child { border-bottom: 1px solid var(--fx-line); }
.fm-spec dt,
.fm-pair dt,
.fm-species dt {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fx-stone);
  font-weight: 500;
}
.fm-spec dd,
.fm-pair dd,
.fm-species dd { margin: 0; }
.fm-pair__head,
.fm-species__head {
  color: var(--fx-stone);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fm-dark {
  background: var(--fx-charcoal);
  color: var(--fx-linen);
}
.fm-dark .fx-body,
.fm-dark p { color: var(--fx-stone-light); }
.fm-dark .fm-rows article,
.fm-dark .fm-rows > div { border-color: var(--fx-line-dark); }
.fm-dark h3 { color: var(--fx-linen); }
.fm-dark a.fx-link { color: var(--fx-linen); }

.fm-two {
  display: grid;
  gap: 28px;
}
.fm-two article { padding-top: 8px; }
.fm-two h3 { margin: 0 0 10px; }
.fm-two p { margin: 0; color: var(--fx-ink-soft); max-width: 48ch; }
.fm-two .fx-frame { aspect-ratio: 4 / 3; margin-bottom: 16px; }

button.fx-panel {
  font: inherit;
  text-align: left;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  background: var(--fx-sand);
  appearance: none;
  display: block;
}
button.fx-panel[aria-pressed="true"] { outline: 1px solid var(--fx-linen); outline-offset: -1px; }

.fm-sibs {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}
.fm-sibs .fx-tile h3 { max-width: 16ch; }

.fm-where { list-style: none; margin: 28px 0 0; padding: 0; }
.fm-where li {
  padding: 16px 0;
  border-top: 1px solid var(--fx-line);
  color: var(--fx-ink-soft);
}
.fm-where li:last-child { border-bottom: 1px solid var(--fx-line); }
.fm-where strong {
  display: block;
  color: var(--fx-ink);
  font-family: var(--fx-serif);
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
}

.fm-toggle {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.fm-toggle button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0 0 4px;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
  color: #a39a8e;
  cursor: pointer;
}
.fm-toggle button[aria-pressed="true"] {
  color: #f5f1ea;
  border-bottom-color: #f5f1ea;
}

.fx-acc a { color: inherit; }

/* Locked quote sheet. Values match the homepage form. */
.fx-form-sheet .form-step[hidden] { display: none; }
.fx-form-sheet .progress {
  height: 3px;
  background: var(--ground-3);
  margin: 0.5rem 0 1rem;
}
.fx-form-sheet .progress i {
  display: block;
  height: 100%;
  background: var(--oak);
  transform: scaleX(0.33);
  transform-origin: left;
}
.fx-form-sheet .step-label { margin: 0; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.fx-form-sheet .fields { display: grid; gap: 0.75rem; }
.fx-form-sheet label { display: grid; gap: 0.3rem; color: var(--ink); font-size: 0.92rem; }
.fx-form-sheet fieldset { border: 0; margin: 0; padding: 0; }
.fx-form-sheet legend { margin-bottom: 0.35rem; }
.fx-form-sheet input,
.fx-form-sheet select,
.fx-form-sheet textarea {
  font: inherit;
  color: var(--ink);
  background: var(--ground-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  padding: 0.55rem 0.75rem;
  width: 100%;
}
.fx-form-sheet textarea { min-height: 7rem; resize: vertical; }
.fx-form-sheet input[type="checkbox"],
.fx-form-sheet input[type="radio"] { width: auto; min-height: 1.1rem; padding: 0; }
.fx-form-sheet .field-error { color: #f0b4a8; margin: 0; font-size: 0.9rem; }
.fx-form-sheet .form-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.9rem; }
.fx-form-sheet .promise { color: var(--ink-dim); margin: 0.75rem 0 0; }
.fx-form-sheet .success { background: var(--ground-2); padding: 1.25rem; }
.fx-form-sheet .success h3 { margin: 0 0 0.5rem; }
.fx-form-sheet .choice-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fx-form-sheet .choice-row label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.fx-form-sheet .choice-row input { width: auto; min-height: 0; accent-color: var(--oak); }
.fx-form-sheet .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.fx-form-sheet .btn-primary { background: var(--oak); color: var(--ink-on-oak); }
.fx-form-sheet .btn-primary:hover { background: #d2b488; }
.fx-form-sheet .btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgb(243 239 230 / 45%);
}
.fx-form-sheet a { color: #c4a574; }
.fx-form-sheet .btn[disabled] { opacity: 0.55; cursor: progress; }

@media (min-width: 800px) {
  .fm-split { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .fm-two { grid-template-columns: 1fr 1fr; gap: 48px; }
  .fm-spec div { grid-template-columns: minmax(140px, 220px) 1fr; align-items: baseline; }
  .fm-pair div,
  .fm-species div { grid-template-columns: 1.3fr 1fr 1fr; align-items: baseline; }
  .fm-species div { grid-template-columns: 1.1fr 1.2fr 1fr 1fr; }
  .fm-sibs { grid-template-columns: repeat(3, 1fr); }
  .fm-rows article {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    gap: 12px 36px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-stage img,
  .fm-hero__media img { transition: none; }
}
