/* Matrimony Alliance & Co
   Palette drawn from the Show Low cabin: lace, ponderosa pine, oxblood railings, peony. */

@font-face { font-family: "MA Display"; src: url("../fonts/lmroman17-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "MA Italic"; src: url("../fonts/lmroman10-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "MA Sans"; src: url("../fonts/texgyreadventor-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --lace: #FBFAF8;
  --ink: #1D2622;
  --muted: #56615B;
  --pine: #24392F;
  --pine-soft: #C5D0C9;
  --oxblood: #7A2E37;
  --oxblood-deep: #5E222A;
  --peony: #F3E1DA;
  --cedar: #A8763F;
  --rule: #DDD7CF;

  --display: "MA Display", "Didot", "Bodoni 72", Georgia, serif;
  --italic: "MA Italic", Georgia, serif;
  --sans: "MA Sans", "Avant Garde", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
}

*, *::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: var(--lace);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oxblood-deep); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.on-pine :focus-visible { outline-color: var(--peony); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 6.4vw, 86px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 34em; }
.note { font-size: 14.5px; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.on-pine { background: var(--pine); color: var(--lace); }
.on-pine h2, .on-pine h3 { color: var(--lace); }
.on-pine .lede, .on-pine .note { color: var(--pine-soft); }
.on-pine a { color: var(--peony); }
.on-pine a:hover { color: #fff; }
.on-peony { background: var(--peony); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--lace); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font: 15px/1.2 var(--sans); letter-spacing: 0.04em;
  border: 1px solid var(--oxblood); border-radius: 0; position: relative; isolation: isolate; overflow: hidden;
  background: var(--oxblood); color: var(--lace); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--oxblood-deep); border-color: var(--oxblood-deep); color: var(--lace); }
.btn-quiet { background: transparent; color: var(--oxblood); }
.btn-quiet:hover { background: var(--oxblood); color: var(--lace); }
.on-pine .btn { background: var(--peony); border-color: var(--peony); color: var(--pine); }
.on-pine .btn:hover { background: #fff; border-color: #fff; color: var(--pine); }
.on-pine .btn-quiet { background: transparent; color: var(--peony); }
.on-pine .btn-quiet:hover { background: var(--peony); color: var(--pine); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { font-size: 15px; letter-spacing: 0.03em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 248, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; transition: height .35s cubic-bezier(.2,.7,.1,1); }
.site-header.is-scrolled .brand img { height: 42px; }
.site-header .wrap { transition: min-height .35s cubic-bezier(.2,.7,.1,1); }
.site-header.is-scrolled .wrap { min-height: 64px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: 0.04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--oxblood); color: var(--oxblood); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav .btn { min-height: 42px; padding: 9px 20px; font-size: 14.5px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: auto; width: min(250px, calc(100vw - 150px)); }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px;
    background: none; border: 0; font: 15px var(--sans); letter-spacing: .04em; color: var(--ink); cursor: pointer;
  }
  .menu-toggle .bars { position: relative; width: 22px; height: 12px; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle .bars::before { top: 0; }
  .menu-toggle .bars::after { bottom: 0; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5.25px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--lace); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { color: var(--oxblood); border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 18px; min-height: 48px; }
}

/* The gable frame: the A-frame cabin roofline from Show Low */
.gable { position: relative; isolation: isolate; }
.gable-img { clip-path: polygon(50% 0, 100% 17%, 100% 100%, 0 100%, 0 17%); }
.gable-img img { width: 100%; height: 100%; object-fit: cover; }
.gable-line { position: absolute; left: 22px; top: 22px; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.gable-line polygon { fill: none; stroke: var(--cedar); stroke-width: 1.25; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .gable-img { animation: rise 1.25s cubic-bezier(.2, .7, .1, 1) .1s both; }
  .js .hero .gable-line { animation: fade 1s ease .9s both; }
  .js .hero-copy > * { animation: fade-up .9s cubic-bezier(.2, .7, .1, 1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .36s; }
}
@keyframes rise {
  from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  to   { clip-path: polygon(50% 0, 100% 17%, 100% 100%, 0 100%, 0 17%); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 4vw, 56px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero-copy { padding-bottom: clamp(0px, 4vw, 56px); }
.hero-copy h1 { max-width: 10em; font-size: clamp(44px, 5.6vw, 80px); }
.hero-copy .lede { margin-top: 28px; }
.hero-figure { margin: 0; }
.hero-figure .gable-img { aspect-ratio: 2 / 3; }
.hero-figure figcaption { margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.hero-figure figcaption a { color: inherit; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; width: 86%; margin: 0 auto 8px; }
  .hero-copy { padding-bottom: 0; }
}

/* Approach + services */
.approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach h2 { max-width: 9em; }
.services { margin: 0; border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px 32px; padding: 28px 0 30px; border-bottom: 1px solid var(--rule); }
.service dt { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.service dt small { display: block; margin-top: 8px; font: 14.5px/1.4 var(--sans); color: var(--muted); }
.service dd { margin: 0; }
.service dd p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .approach { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
}

/* Featured wedding band */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-main { margin: 0; }
.feature-main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-copy .place { font-family: var(--italic); font-style: italic; font-size: clamp(20px, 2vw, 24px); color: var(--peony); margin: 14px 0 22px; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Travel strip */
.travel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 40px; }
.travel-head .lede { margin: 18px 0 0; }
.travel-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.travel-strip li:nth-child(odd) img, .travel-strip li:nth-child(odd) .ph { aspect-ratio: 3 / 4; }
.travel-strip li:nth-child(even) { align-self: end; }
.travel-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 720px) {
  .travel-strip { grid-template-columns: repeat(2, 1fr); }
  .travel-strip li:nth-child(5) { display: none; }
}

/* Remote photo fallback (shown only if a photo cannot load) */
.photo { position: relative; display: block; background: var(--peony); }
.photo.is-missing img { opacity: 0; }
.photo.is-missing::after {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  text-align: center; font-family: var(--italic); font-style: italic; font-size: 17px; color: var(--oxblood);
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.contact-aside h2 { max-width: 8em; }
.contact-aside .lede { margin-top: 24px; }
.facts { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.facts strong { font-weight: 400; display: block; font-family: var(--display); font-size: 20px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .form fieldset, .form-foot { grid-column: 1 / -1; }
.field label, .form legend { font-size: 15px; letter-spacing: .02em; }
.field .hint, .opt { color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #B9B2A8; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--oxblood); outline-offset: 0; border-color: var(--oxblood); }
.field input[aria-invalid="true"] { border-color: #A3262F; }
.field .error { color: #A3262F; font-size: 14px; min-height: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #B9B2A8; background: #fff; font-size: 15px; }
.check input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--lace); }
.check input:focus-visible + span { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 15px; margin: 0; }
.form-status.is-ok { color: var(--pine); }
.form-status.is-error { color: #A3262F; }
.hp { position: absolute; left: -9999px; }
.form.is-sent .field, .form.is-sent fieldset { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Page head (inner pages) */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-head .lede { margin-top: 24px; }
.crumbs { font-size: 14.5px; margin-bottom: 20px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Portfolio: wedding spread */
.wedding-spread { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wedding-spread .lead-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.wedding-spread .place { font-family: var(--italic); font-style: italic; font-size: clamp(20px, 2vw, 24px); color: var(--oxblood); margin: 12px 0 20px; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.mosaic li:nth-child(1) { grid-column: span 4; }
.mosaic li:nth-child(2) { grid-column: span 2; }
.mosaic li:nth-child(3), .mosaic li:nth-child(4), .mosaic li:nth-child(5) { grid-column: span 2; }
.mosaic li > a { height: 100%; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.mosaic li:nth-child(1) img { aspect-ratio: 3 / 2; }
.mosaic li:nth-child(2) img { aspect-ratio: auto; }
@media (max-width: 860px) { .wedding-spread { grid-template-columns: 1fr; } }

.divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Travel gallery */
.place-group { padding-top: clamp(40px, 5vw, 64px); }
.place-group h3 { margin-bottom: 6px; }
.place-group .note { margin-bottom: 22px; }
.gallery { columns: 3 260px; column-gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery li { break-inside: avoid; margin-bottom: 12px; }
.gallery img { width: 100%; }
.gallery .photo { min-height: 120px; }

.zoom { display: block; cursor: zoom-in; }
.zoom img { transition: opacity .2s ease; }
.zoom:hover img { opacity: .9; }

/* Story page */
.story-hero { padding: clamp(36px, 6vw, 80px) 0 var(--section); }
.story-hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.story-hero .gable-img { aspect-ratio: 2 / 3; }
.story-hero .place { font-family: var(--italic); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); color: var(--oxblood); margin: 18px 0 26px; }
@media (max-width: 860px) {
  .story-hero .wrap { grid-template-columns: 1fr; }
  .story-hero .gable { max-width: 420px; width: 86%; margin: 0 auto; }
}
.chapter { padding-bottom: clamp(64px, 9vw, 120px); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: baseline; margin-bottom: 32px; }
.chapter-head p { margin: 0; color: var(--muted); max-width: 36em; }
@media (max-width: 860px) { .chapter-head { grid-template-columns: 1fr; } }
.frames { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.frames.two { grid-template-columns: 1fr 1fr; }
.frames.two-portrait { grid-template-columns: 5fr 4fr; align-items: end; max-width: 1000px; }
.frames.offset { grid-template-columns: 7fr 5fr; align-items: end; }
.frames img { width: 100%; }
.frames figure { margin: 0; }
.frames figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.wide img { width: 100%; }
@media (max-width: 640px) { .frames.two, .frames.offset { grid-template-columns: 1fr; } }

/* Pricing */
.price-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--ink); }
.price-block:first-of-type { border-top: 0; padding-top: 0; }
.price-block h2 { font-size: clamp(30px, 3.6vw, 44px); }
.price-block .desc { color: var(--muted); margin-top: 18px; }
@media (max-width: 860px) { .price-block { grid-template-columns: 1fr; } }
.rates { width: 100%; border-collapse: collapse; font-size: 16px; }
.rates caption { text-align: left; font-family: var(--display); font-size: 22px; padding-bottom: 12px; }
.rates th, .rates td { font-weight: 400; text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.rates thead th { font-weight: 400; font-size: 14px; color: var(--muted); border-bottom-color: var(--ink); padding-top: 0; }
.rates td.price { font-family: var(--display); font-size: 28px; line-height: 1; white-space: nowrap; color: var(--oxblood); }
.rates td.market { color: var(--muted); font-size: 15px; }
.rates + .rates { margin-top: 40px; }
.included { columns: 2 280px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.included li { break-inside: avoid; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); position: relative; }
.included li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 7px; height: 7px; background: var(--cedar); transform: rotate(45deg); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-body p { max-width: 36em; }
.about-body h2 { margin: 56px 0 20px; font-size: clamp(28px, 3vw, 38px); }
.about-body h2:first-child { margin-top: 0; }
.about-seal { background: var(--peony); padding: clamp(28px, 4vw, 56px); }
.about-seal img { width: 100%; max-width: 420px; margin: 0 auto; }
.person { font-family: var(--display); font-size: 24px; margin: 0 0 4px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-seal { order: -1; } }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { max-width: 14em; font-size: clamp(30px, 3.6vw, 46px); }

/* Footer */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 40px; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.foot-seal { width: 132px; }
.foot p { margin: 0; max-width: 30em; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(197, 208, 201, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: 13.5px; color: var(--pine-soft); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(20, 28, 24, .96); color: var(--lace); }
.lightbox::backdrop { background: rgba(20, 28, 24, .96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 64px 72px 12px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 24px 22px; font-size: 15px; }
.lb-caption { margin: 0; color: var(--pine-soft); }
.lb-btn { min-width: 48px; min-height: 48px; background: transparent; border: 1px solid rgba(251, 250, 248, .35); color: var(--lace); font: 15px var(--sans); letter-spacing: .04em; cursor: pointer; padding: 0 16px; }
.lb-btn:hover { background: rgba(251, 250, 248, .1); }
.lb-close { position: absolute; top: 14px; right: 18px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { color: var(--pine-soft); white-space: nowrap; }
@media (max-width: 640px) {
  .lb-stage { padding: 64px 8px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: auto; right: 76px; }
  .lb-next { right: 18px; }
  .lb-bar { padding-right: 140px; }
}

/* 404 / thanks */
.plain { min-height: 52vh; display: grid; align-content: center; }

.nowrap { white-space: nowrap; }


/* ------------------------------------------------------------------ Motion
   One idea throughout: the A-frame roofline from the Show Low cabin.
   Pages, sections and photos rise into view through that gable shape.
   Everything here is skipped when the visitor prefers reduced motion. */

/* Section roofs: a peaked top edge. site.js sets --eave from scroll position,
   steep while the section enters, settling to a gentle roofline. */
.roof { --eave: 0px; }
@media (prefers-reduced-motion: no-preference) {
  .js .roof { clip-path: polygon(50% 0, 100% var(--eave), 100% 100%, 0 100%, 0 var(--eave)); }

  /* Photos rise through the gable, then square off */
  .rv-photo { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  .rv-photo.is-in { animation: rise-open 1.15s cubic-bezier(.2,.7,.1,1) var(--d, 0s) both; }
  .rv-photo img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.7,.1,1) var(--d, 0s); }
  .rv-photo.is-in img { transform: none; }

  /* Text fades up in sequence */
  .rv { opacity: 0; transform: translateY(18px); }
  .rv.is-in { opacity: 1; transform: none; transition: opacity .8s ease var(--d, 0s), transform .9s cubic-bezier(.2,.7,.1,1) var(--d, 0s); }

  /* Inner page titles settle in on load */
  .js .page-head .wrap > * { animation: fade-up .9s cubic-bezier(.2,.7,.1,1) both; }
  .js .page-head .wrap > :nth-child(2) { animation-delay: .12s; }

  /* Hero: outline draws itself after the photo rises; photo drifts on scroll */
  .js .hero .gable-line polygon, .js .story-hero .gable-line polygon { stroke-dasharray: var(--len, 4000px); stroke-dashoffset: var(--len, 4000px); animation: draw 1.6s cubic-bezier(.45,0,.2,1) .9s forwards; }
  .js .gable-line polygon.drawn { stroke-dasharray: none; animation: none; stroke-dashoffset: 0; }
  .js .hero .gable-line, .js .story-hero .gable-line { animation: none; }
  .js .story-hero .gable-img { animation: rise 1.25s cubic-bezier(.2, .7, .1, 1) .1s both; }
  .js .story-hero .wrap > div:last-child > * { animation: fade-up .9s cubic-bezier(.2, .7, .1, 1) both; }
  .js .story-hero .wrap > div:last-child > :nth-child(2) { animation-delay: .1s; }
  .js .story-hero .wrap > div:last-child > :nth-child(3) { animation-delay: .2s; }
  .js .story-hero .wrap > div:last-child > :nth-child(4) { animation-delay: .3s; }
  .hero .gable-img img, .story-hero .gable-img img { transform: translateY(var(--drift, 0px)) scale(1.08); will-change: transform; }

  /* Outlined buttons fill with a rising roof on hover */
  .btn-quiet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oxblood);
    clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); transition: clip-path .45s cubic-bezier(.2,.7,.1,1); }
  .btn-quiet:hover::before, .btn-quiet:focus-visible::before { clip-path: polygon(50% -60%, 100% 0, 100% 100%, 0 100%, 0 0); }
  .btn-quiet:hover { background: transparent; }
  .on-pine .btn-quiet::before { background: var(--peony); }

  /* Photo hover inside galleries */
  .zoom, .feature-strip a, .feature-main a { display: block; overflow: hidden; }
  .zoom img, .feature-strip img, .feature-main img { transition: transform .9s cubic-bezier(.2,.7,.1,1), opacity .2s; }
  .zoom:hover img, .feature-strip a:hover img, .feature-main a:hover img { transform: scale(1.035); opacity: 1; }

  /* Seals turn slowly with the page */
  .foot-seal, .about-seal img { transform: rotate(var(--turn, 0deg)); will-change: transform; }

  /* Lightbox opening */
  .lightbox[open] .lb-stage img { animation: lb-in .5s cubic-bezier(.2,.7,.1,1) both; }

  /* Page to page: the new page rises through the gable */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .5s ease both; }
  ::view-transition-new(root) { animation: rise-open .85s cubic-bezier(.2,.7,.1,1) both; }
}
@keyframes rise-open {
  0%   { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  55%  { clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); }
  100% { clip-path: polygon(50% -40%, 100% 0, 100% 100%, 0 100%, 0 0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-24px); } }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.roof.cta-band, .roof.on-pine, .roof.on-peony { padding-top: calc(var(--section) + 24px); }

/* ------------------------------------------------------------------ Family of studios
   Parent company and its two arms in a pine panel shaped like the cabin roof. */
.family { padding-bottom: 0; }
.family-house {
  --roof: clamp(56px, 8vw, 120px);
  position: relative;
  padding: calc(var(--roof) + clamp(36px, 5vw, 64px)) clamp(22px, 5vw, 72px) clamp(48px, 6vw, 80px);
  clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof));
}
.family-head { text-align: center; max-width: 40em; margin: 0 auto; }
.family-head .lede { margin: 18px auto 0; }
.tree { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.node.parent { text-align: center; position: relative; z-index: 1; }
.node.parent .seal { width: clamp(112px, 12vw, 150px); height: auto; margin: 0 auto 14px; }
.node h3 { color: var(--lace); font-size: clamp(22px, 2.2vw, 28px); }
.node .role { display: block; color: var(--peony); font-family: var(--italic); font-style: italic; font-size: 17px; margin-top: 4px; }
.branches { display: block; width: calc(50% + clamp(8px, 1.5vw, 20px)); height: clamp(56px, 7vw, 96px); margin: 18px auto 0; overflow: visible; }
.branches path { fill: none; stroke: var(--cedar); stroke-width: 1.25; }
.kids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); margin-top: 0; }
.node.kid {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 34px);
  color: var(--pine-soft); text-decoration: none; border: 1px solid rgba(197, 208, 201, .22); background: rgba(251, 250, 248, .03);
  transition: border-color .35s ease, background-color .35s ease, transform .45s cubic-bezier(.2,.7,.1,1);
}
.node.kid:hover { color: var(--pine-soft); border-color: rgba(243, 225, 218, .6); background: rgba(251, 250, 248, .06); transform: translateY(-4px); }
.node.kid h3 { margin: 0; }
.node.kid .role { margin: 6px 0 0; font-size: 16px; }
.node.kid p { margin: 0; font-size: 15.5px; }
.logo-box { display: flex; align-items: center; height: clamp(96px, 10vw, 130px); margin-bottom: 8px; }
.logo-box .logo { max-height: 100%; width: auto; max-width: 100%; transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.node.kid:hover .logo { transform: rotate(-4deg) scale(1.04); }
.node.kid .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--peony); font-size: 15px; letter-spacing: .03em; }
.node.kid .go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s cubic-bezier(.2,.7,.1,1); }
.node.kid:hover .go svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .kids { grid-template-columns: 1fr; }
  .branches { display: none; }
  .tree .kids { margin-top: 28px; }
}

/* Arm logos on light pages */
.arm-logo { width: clamp(120px, 14vw, 170px); height: auto; margin-bottom: 22px; }
.travel-credit { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.travel-credit .arm-logo { margin: 0; width: clamp(110px, 11vw, 140px); }

/* Footer marks */
.foot-marks { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.foot-arms, .foot-parent { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.foot-label { font-size: 13.5px; color: var(--pine-soft); }
.foot-arms a { display: block; opacity: .9; transition: opacity .2s, transform .45s cubic-bezier(.2,.7,.1,1); }
.foot-arms a:hover { opacity: 1; transform: rotate(-4deg) scale(1.04); }
.m-als { height: 46px; width: auto; }
.m-arq { height: 40px; width: auto; }
.m-onev { height: 30px; width: auto; }
.m-vent { height: 20px; width: auto; }
.foot-div { width: 1px; height: 28px; background: rgba(197, 208, 201, .35); }

/* Header logo tilts on hover, as on the Garinite site */
.brand img { transform-origin: 18% 50%; }
.brand:hover img { transform: rotate(-3deg) scale(1.03); transition: transform .5s cubic-bezier(.2,.7,.1,1), height .35s; }

@media (prefers-reduced-motion: no-preference) {
  /* Logos lift in with a slight tilt (the Garinite "markIn") */
  .rv-mark { opacity: 0; transform: translateY(20px) scale(.92) rotate(-4deg); }
  .rv-mark.is-in { animation: markIn 1.2s cubic-bezier(.2,.7,.1,1) var(--d, 0s) both; }
  /* The panel rises into its roof shape; branches draw down to each arm */
  .rv-house { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  .rv-house.is-in { animation: house-rise 1.4s cubic-bezier(.65,0,.25,1) both; }
  .rv-tree .branches { clip-path: inset(0 0 100% 0); }
  .rv-tree.is-in .branches { transition: clip-path 1.1s cubic-bezier(.45,0,.2,1) .55s; clip-path: inset(-4px -4px -4px -4px); }
}
@keyframes markIn { 0% { opacity: 0; transform: translateY(20px) scale(.92) rotate(-4deg); } 100% { opacity: 1; transform: none; } }
@keyframes house-rise {
  from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  to   { clip-path: polygon(50% 0, 100% var(--roof), 100% 100%, 0 100%, 0 var(--roof)); }
}
@media (max-width: 560px) { .foot-div { display: none; } .foot-parent { gap: 12px 20px; } }

/* ------------------------------------------------------------------ House scene (home)
   Static by default; site.js turns on the scroll-driven version (.is-scrub). */
.house-reveal { position: relative; }
.hr-stage { position: relative; height: min(88vh, 820px); min-height: 520px; overflow: hidden; }
.hr-intro { position: absolute; left: 0; right: 0; top: clamp(28px, 6vh, 64px); z-index: 2; text-align: center; padding: 0 var(--gutter); }
.hr-intro h2 { font-size: clamp(38px, 6vw, 84px); max-width: 12em; margin: 0 auto; }
.hr-window { position: absolute; inset: 0; z-index: 1;
  clip-path: polygon(50% 26%, 84% 40%, 84% 96%, 16% 96%, 16% 40%); }
.hr-window img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; transform-origin: 50% 60%; }
.hr-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,24,0) 35%, rgba(20,28,24,.72) 100%), linear-gradient(90deg, rgba(20,28,24,.45), rgba(20,28,24,0) 60%); opacity: 0; }
.hr-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(32px, 8vh, 88px); padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; color: var(--lace); opacity: 0; pointer-events: none; }
.hr-big { font-family: var(--display); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.06; max-width: 13em; margin: 0 0 22px; }
.hr-arms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--italic); font-style: italic; font-size: clamp(17px, 1.6vw, 21px); color: var(--peony); }
.hr-arms li { display: inline-flex; align-items: center; gap: 12px; }
.hr-arms li + li::before { content: ""; width: 7px; height: 7px; background: var(--cedar); transform: rotate(45deg); }

/* Static fallback (no JS or reduced motion): photo in the roof shape, copy visible */
.house-reveal:not(.is-scrub) .hr-stage { height: auto; min-height: 0; padding: clamp(24px, 4vw, 48px) 0 0; }
.house-reveal:not(.is-scrub) .hr-intro { position: static; margin-bottom: 28px; }
.house-reveal:not(.is-scrub) .hr-window { position: relative; inset: auto; height: min(78vh, 760px); clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
.house-reveal:not(.is-scrub) .hr-shade, .house-reveal:not(.is-scrub) .hr-copy { opacity: 1; }

/* Scroll-driven version: the stage pins while the window opens */
.house-reveal.is-scrub { height: 240vh; }
.house-reveal.is-scrub .hr-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.house-reveal.is-scrub .hr-intro { top: max(96px, 13vh); }
.house-reveal.is-scrub .hr-copy li { opacity: 0; transform: translateY(14px); }

/* Moving word band */
.word-band { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 0; user-select: none; }
.wb-row { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); white-space: nowrap; font-family: var(--display); font-size: clamp(44px, 8vw, 120px); line-height: 1.12; will-change: transform; }
.wb-row i { flex: 0 0 auto; width: .14em; height: .14em; background: var(--cedar); transform: rotate(45deg); }
.wb-a { color: var(--oxblood); }
.wb-b { color: transparent; -webkit-text-stroke: 1px var(--pine); margin-left: -30%; }
@supports not (-webkit-text-stroke: 1px black) { .wb-b { color: var(--pine-soft); } }

/* Header scroll progress */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--oxblood); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }
.site-header { position: sticky; }

/* Headings rise through a mask */
.t-mask { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.t-rise { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .rv-title .t-rise { transform: translateY(108%); }
  .rv-title.is-in .t-rise { transform: none; transition: transform 1s cubic-bezier(.2,.7,.1,1) var(--d, 0s); }
}
h1, h2, .hr-big { text-wrap: balance; }
@media (max-width: 700px) { .hr-window img { object-position: 35% 50%; } }

/* ------------------------------------------------------------------ Founder portrait (About) */
.founder { display: grid; grid-template-columns: minmax(100px, 120px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: end; margin: 56px 0 8px; }
.founder-photo { margin: 0 22px 22px 0; }
.founder-photo .gable-img { aspect-ratio: 4 / 5; overflow: hidden; }
.founder-photo .gable-img img { transition: transform .9s cubic-bezier(.2,.7,.1,1); }
.founder-photo:hover .gable-img img { transform: scale(1.04); }
.founder-text h2 { margin: 0 0 14px; }
.founder-text p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { width: min(34vw, 120px); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .rv-gable .gable-img { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  .js .rv-gable.is-in .gable-img { animation: rise 1.25s cubic-bezier(.2,.7,.1,1) both; }
  .js .rv-gable .gable-line polygon { stroke-dasharray: var(--len, 4000px); stroke-dashoffset: var(--len, 4000px); }
  .js .rv-gable.is-in .gable-line polygon { animation: draw 1.6s cubic-bezier(.45,0,.2,1) .8s forwards; }
  .js .rv-gable .gable-line polygon.drawn { stroke-dasharray: none; animation: none; stroke-dashoffset: 0; }
}

/* Copyright notices and policy page */
.photo-notice { margin: 28px 0 0; font-size: 13.5px; color: var(--muted); max-width: 60em; }
.photo-notice a { color: inherit; }
.legal a { color: var(--pine-soft); margin-left: 6px; }
.legal a:hover { color: #fff; }
.wrap.policy { max-width: var(--wrap); }
.policy section { max-width: 760px; }
.policy section + section { margin-top: clamp(36px, 5vw, 56px); }
.policy h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 14px; }
.policy-warn { border-left: 2px solid var(--oxblood); padding-left: 16px; color: var(--oxblood); }

/* Protected photos: no drag or long-press save */
main img, .lightbox img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; max-width: calc(100vw - 32px);
  background: var(--ink); color: var(--lace); padding: 12px 18px; font-size: 14.5px; box-shadow: 0 14px 40px -18px rgba(0,0,0,.6); transition: opacity .25s, transform .35s cubic-bezier(.2,.7,.1,1); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--peony); }
.founder { grid-template-columns: minmax(100px, 120px) minmax(0, 1fr); }
.founder .person { font-size: 22px; text-wrap: balance; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }
.unavailable { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border: 1px solid var(--oxblood); color: var(--oxblood); font-size: 13.5px; letter-spacing: .03em; }

/* ================================================================
   AeroLens Studios — its own look inside the site: black, white, sans,
   and a camera viewfinder in place of the house gable.
   ================================================================ */
body.t-als { background: #000; color: #F2F2F2; font-family: var(--sans); }
.t-als a { color: #fff; }
.t-als ::selection { background: #fff; color: #000; }
.als-header { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.12); }
.als-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.als-brand img { height: 34px; width: auto; display: block; }
.als-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.als-nav ul { display: flex; gap: clamp(14px, 2.6vw, 30px); list-style: none; margin: 0; padding: 0; }
.als-nav ul a { text-decoration: none; font-size: 15px; color: #C9C9C9; }
.als-nav ul a:hover { color: #fff; }
.als-btn { display: inline-block; text-decoration: none; background: #fff; color: #000 !important; padding: 10px 18px; font-size: 15px; letter-spacing: .02em; border: 1px solid #fff; transition: background .2s, color .2s; }
.als-btn:hover { background: transparent; color: #fff !important; }
.als-btn:focus-visible, .als-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.als-btn-lg { padding: 15px 28px; font-size: 17px; }

.als-hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.als-hero-photo { position: absolute; inset: 0; background: #000; }
.als-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .6; animation: als-focus 1.6s cubic-bezier(.2,.7,.1,1) both; }
.als-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 30%, #000 100%); }
.als-hero-copy { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 9vh, 96px); }
.als-hero h1 { margin: 0 0 22px; }
.als-hero h1 img { width: clamp(220px, 30vw, 380px); height: auto; display: block; }
.als-hero-copy p { max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #D6D6D6; margin: 0; }
/* the viewfinder: four corner brackets that close in and lock focus */
.als-frame { position: absolute; z-index: 1; inset: clamp(22px, 5vw, 64px); pointer-events: none; }
.als-frame i { position: absolute; width: clamp(28px, 4vw, 54px); height: clamp(28px, 4vw, 54px); border: 0 solid rgba(255,255,255,.85); animation: als-lock 1.3s cubic-bezier(.2,.7,.1,1) .25s both; }
.als-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; --fx: -24px; --fy: -24px; }
.als-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; --fx: 24px; --fy: -24px; }
.als-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; --fx: -24px; --fy: 24px; }
.als-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; --fx: 24px; --fy: 24px; }
@keyframes als-lock { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes als-focus { from { filter: blur(10px); transform: scale(1.06); } to { filter: none; transform: none; } }

.als-section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid rgba(255,255,255,.12); }
.als-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 96px); }
.t-als h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 16px; color: #fff; }
.als-desc { color: #A8A8A8; font-size: 16px; line-height: 1.6; max-width: 26em; margin: 0; }
.als-desc a { color: #fff; }
.als-rates { width: 100%; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
.als-rates thead th:nth-child(1) { width: 40%; } .als-rates thead th:nth-child(2) { width: 30%; }
.als-rates + .als-rates { margin-top: 48px; }
.als-rates caption { text-align: left; color: #A8A8A8; font-size: 15px; padding-bottom: 14px; }
.als-rates th, .als-rates td { font-weight: 400; text-align: left; padding: 18px 12px 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: baseline; }
.als-rates thead th { font-size: 13px; color: #8C8C8C; border-bottom-color: rgba(255,255,255,.5); padding-top: 0; }
.als-rates tbody th { color: #EDEDED; }
.als-rates td.price { font-size: clamp(22px, 2.4vw, 30px); line-height: 1; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.als-rates td.market { color: #8C8C8C; font-size: 15px; }
.als-included { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 12px; }
.als-included li { position: relative; padding-left: 26px; color: #DADADA; line-height: 1.5; }
.als-included li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-top: 1.5px solid #fff; border-left: 1.5px solid #fff; }
.als-note { margin: 24px 0 0; color: #8C8C8C; font-size: 14px; max-width: 46em; }

.als-work { padding: 0 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.als-strip { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.als-strip li { flex: 0 0 auto; width: clamp(220px, 26vw, 340px); scroll-snap-align: start; }
.als-strip .photo { background: #111; }
.als-strip img { width: 100%; height: clamp(280px, 34vw, 440px); object-fit: cover; display: block; filter: grayscale(.25); transition: filter .5s; }
.als-strip a:hover img { filter: none; }

.als-cta { padding: clamp(72px, 10vw, 140px) 0; text-align: center; border-top: 1px solid rgba(255,255,255,.12); }
.als-cta h2 { max-width: 16em; margin: 0 auto 32px; }

.als-footer { border-top: 1px solid rgba(255,255,255,.12); padding: clamp(48px, 7vw, 88px) 0 40px; color: #A8A8A8; font-size: 15px; }
.als-footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.als-foot-logo { width: 170px; height: auto; display: block; }
.als-footer p { margin: 0 0 18px; max-width: 40em; line-height: 1.6; }
.als-foot-links { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.als-legal { font-size: 13px; color: #7A7A7A; }
.t-als .rv-title .t-mask { display: block; }

@media (max-width: 760px) {
  .als-nav ul { display: none; }
  .als-grid { grid-template-columns: 1fr; }
  .als-footer .wrap { grid-template-columns: 1fr; }
  .als-rates td.market { font-size: 13px; }
  .als-rates th, .als-rates td { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .als-frame i, .als-hero-photo img { animation: none; }
}
@media (min-width: 900px) {
  .als-hero-photo { left: 34%; }
  .als-hero-photo img { opacity: .85; object-position: 45% 30%; }
  .als-hero::after { background: linear-gradient(90deg, #000 34%, rgba(0,0,0,.55) 46%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0) 60%, #000 100%); }
  .als-hero-copy { align-self: center; padding-bottom: 0; }
  .als-hero-copy p { max-width: 24em; }
}

/* Door into AeroLens Studios: the whole card is the click target */
.studio-door { margin-top: clamp(48px, 7vw, 88px); }
.page-head .studio-door { margin-top: 36px; }
.studio-ask { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 16px; color: var(--ink); }
.page-head .studio-ask { font-size: clamp(20px, 2vw, 26px); }
.studio-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 44px); min-height: 132px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #000;
  transition: transform .25s cubic-bezier(.2,.7,.1,1), box-shadow .25s, border-color .25s;
}
.studio-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.studio-card:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 4px; }
.studio-logo { width: clamp(84px, 9vw, 120px); height: auto; display: block; }
.studio-text { display: grid; gap: 6px; }
.studio-name { font-family: var(--sans); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; }
.studio-what { font-size: 15px; line-height: 1.5; color: #C9C9C9; max-width: 30em; }
.studio-from { display: grid; gap: 4px; font-size: 13px; color: #9A9A9A; white-space: nowrap; padding-left: clamp(18px, 3vw, 40px); border-left: 1px solid rgba(255,255,255,.18); }
.studio-from b { font-weight: 400; font-size: 17px; color: #fff; margin-left: 4px; font-variant-numeric: tabular-nums; }
.studio-go {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px;
  background: #fff; color: #000; font-size: 16px; letter-spacing: .02em; white-space: nowrap; border: 1px solid #fff;
  transition: background .2s, color .2s;
}
.studio-card:hover .studio-go, .studio-card:focus-visible .studio-go { background: transparent; color: #fff; }
.studio-card.is-compact { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 0; }
.studio-card.is-compact .studio-from { display: none; }
.studio-card.is-compact .studio-logo { width: 76px; }
.studio-card.is-compact .studio-name { font-size: 20px; }
@media (max-width: 980px) {
  .studio-card { grid-template-columns: auto minmax(0, 1fr); }
  .studio-logo { width: 72px; }
  .studio-from { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .studio-go { grid-column: 1 / -1; width: 100%; }
  .studio-card.is-compact .studio-go { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .studio-card { transition: none; } .studio-card:hover { transform: none; } }
