/* About and Contact: editorial splits of copy and photography on the house's black wall, with motion. */

.wall {
  border: var(--gold-edge);
  border-radius: var(--r);
  box-shadow: var(--panel-shadow);
  color: #f1f0ec;
  background: #121212 url("/themes/sasha/assets/annie.webp?v=2") center / cover;
}

.eyebrow--ink { color: #8a6420 !important; }

/* Rise: copy and cards come up as they enter, each a beat after the one before (--d). */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) calc(var(--d, 0) * .1s), transform 1.1s var(--ease) calc(var(--d, 0) * .1s); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* Shots: a photo opens from its centre, then drifts against the scroll. */
.shot { position: relative; margin: 0; overflow: hidden; border: var(--gold-line); border-radius: var(--r); box-shadow: var(--card-shadow); background: #1a1a1a; }
.shot img { display: block; width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--par, -6%)) scale(1.06); transition: transform 1.6s var(--ease); }
.js .shot { clip-path: inset(18% 18% 18% 18% round var(--r)); transition: clip-path 1.4s var(--ease); }
.js .shot.is-in { clip-path: inset(0 0 0 0 round var(--r)); }

/* Split: copy beside a photo */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  margin-bottom: var(--gap);
  padding: clamp(24px, 4vw, 72px) clamp(16px, 3vw, 56px);
}
.split--hero { min-height: min(78svh, 760px); }
.split__media { position: relative; height: 100%; min-height: 360px; }
.split__media .shot { height: 100%; min-height: inherit; }
.split--hero .split__media .shot { aspect-ratio: auto; height: min(68svh, 640px); }
.split:not(.wall) .split__media .shot { aspect-ratio: 3 / 2; height: auto; }
.split__copy p:not(.eyebrow) { max-width: 54ch; font-size: 15px; font-stretch: 100%; line-height: 1.7; color: #3a3833; }
.wall .split__copy p:not(.eyebrow) { color: rgb(241 240 236 / .8); }
.split__copy a:not(.btn):not(.chip) { color: #7a5a17; text-decoration: underline; text-underline-offset: 3px; }
.split__title {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3.3vw, 3.1rem);
  font-weight: 400;
  line-height: 1.04;
  overflow-wrap: break-word;
  hyphens: auto;
  text-transform: uppercase;
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.split__title--ink { background: var(--gold-ink); -webkit-background-clip: text; background-clip: text; }
.split__lead { font-size: 16px !important; }
.split__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.split__cta .btn { margin-top: 0; }
.btn--ghost { color: #e0bd62; border: 1px solid rgb(216 173 76 / .6); background: none; }
.btn--ghost:hover { color: var(--ink); background: var(--gold-shine); border-color: transparent; }
.split--trade { align-items: start; }

/* Seal: a gold coin that turns with the scroll */
.seal {
  position: absolute;
  left: clamp(-30px, -2vw, -14px);
  bottom: clamp(20px, 4vw, 50px);
  display: grid;
  place-items: center;
  width: clamp(110px, 11vw, 150px);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-shine);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .7);
  text-align: center;
  line-height: 1;
  transform: rotate(calc(var(--spin, 0) * 1deg));
}
.seal b { display: block; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; }
.seal span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Say: one statement, its words lit by the scroll */
.say { padding: clamp(70px, 10vw, 150px) clamp(16px, 4vw, 60px); text-align: center; }
.say__text { max-width: 30ch; margin: 0 auto; font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1.2; color: #141312; }
.say__text em { font-style: normal; background: var(--gold-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.say .word { opacity: var(--lit, .15); transition: opacity .25s linear; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: var(--gap); }
.stat { display: grid; gap: 10px; justify-items: center; padding: clamp(34px, 5vw, 70px) 16px; text-align: center; }
.stat + .stat { border-left: 1px solid rgb(216 173 76 / .22); }
.stat b {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gold-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(241 240 236 / .7); }

/* Duo: two feature cards with photos */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.duo__card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.duo__card .shot { height: clamp(260px, 30vw, 420px); margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.4vw, 20px) 0; }
.duo__body { padding: clamp(22px, 2.6vw, 40px); }
.duo__body h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 400; text-transform: uppercase; color: #f1f0ec; }
.duo__body p:not(.eyebrow) { margin: 0 0 18px; font-size: 15px; font-stretch: 100%; line-height: 1.7; color: rgb(241 240 236 / .8); }
.duo__link { display: inline-flex; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #e0bd62; }
.duo__link i { font-style: normal; transition: transform .5s var(--ease); }
.duo__link:hover i { transform: translateX(6px); }

/* Steps */
.steps { padding: clamp(60px, 8vw, 120px) clamp(16px, 3vw, 56px); }
.steps__title { max-width: 18ch; margin: 0 0 clamp(30px, 4vw, 60px); font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 400; line-height: 1.05; text-transform: uppercase; background: var(--gold-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 1px solid #c9b48a; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) calc(var(--d, 0) * .15s + .3s); }
.step.is-in::before { transform: none; }
.step__no { font-size: 13px; color: #a57b26; }
.step h3 { margin: 10px 0 10px; font-size: 1.3rem; font-weight: 400; text-transform: uppercase; color: #141312; }
.step p { margin: 0; font-size: 14px; font-stretch: 100%; line-height: 1.65; color: #3a3833; }

/* Reel: photos drifting sideways */
.reel { overflow: hidden; margin: 0 calc(var(--gutter) * -1) var(--gap); padding: 6px 0; }
.reel__run { display: flex; gap: var(--gap); width: max-content; animation: reel 60s linear infinite; }
.reel img { width: auto; height: clamp(180px, 22vw, 300px); border: var(--gold-line); border-radius: var(--r); object-fit: cover; aspect-ratio: 4 / 5; }
.reel:hover .reel__run { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }

/* Company card */
.company { display: grid; gap: 0; margin: 0; padding: 8px 22px; border: var(--gold-line); border-radius: var(--r); background: rgb(10 10 10 / .5); }
.company div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgb(216 173 76 / .18); }
.company div:last-child { border-bottom: 0; }
.company dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d8ad4c; }
.company dd { margin: 0; text-align: right; color: #f1f0ec; }
.company a { color: #e0bd62; }

/* Coda */
.coda { display: grid; justify-items: center; gap: 24px; padding: clamp(70px, 10vw, 140px) 16px; text-align: center; }
.coda__text { max-width: 26ch; margin: 0; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.2; color: #141312; }
.coda__sign { width: min(80vw, 420px); }
.coda__sign img { width: 100%; height: auto; }
.js .coda__sign img { clip-path: inset(-5% 100% -5% 0); }
.coda__sign.is-in img { animation: sign-write 2.2s var(--ease-io) forwards; }
.coda__credit { margin: 0; font-size: 11px; color: #8a867e; }
.coda__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.coda__social a { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8a6420; border-bottom: 1px solid transparent; transition: border-color .3s; }
.coda__social a:hover { border-color: currentColor; }

/* Contact cards with a gold light that follows the cursor */
.reach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.reach__card {
  --gx: 50%;
  --gy: 0%;
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.reach__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 260px at var(--gx) var(--gy), rgb(236 208 138 / .22), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.reach__card:hover::before { opacity: 1; }
a.reach__card:hover { transform: translateY(-4px); }
.reach__card svg { color: #e0bd62; margin-bottom: 10px; }
.reach__k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #d8ad4c; }
.reach__v { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.35; color: #f1f0ec; }
.reach__hint { margin-top: auto; font-size: 12px; color: rgb(241 240 236 / .6); }
.reach__hint.is-open { color: #9fe0a6; }

/* Map and message */
.meet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.meet__map { min-height: 460px; overflow: hidden; padding: 0; }
.meet__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(1) invert(.9) contrast(.9) sepia(.2); }
.note { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 44px); }
.note h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; text-transform: uppercase; color: #f1f0ec; }
.field { display: grid; gap: 6px; }
.field span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d8ad4c; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgb(216 173 76 / .35);
  border-radius: calc(var(--r) * .6);
  color: #f1f0ec;
  background: rgb(10 10 10 / .55);
  font: inherit;
  font-size: 15px;
  font-stretch: 100%;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: #e0bd62; background: rgb(10 10 10 / .75); }
.note .btn { justify-self: start; }
.note__hint { margin: 0; font-size: 12px; color: rgb(241 240 236 / .6); }

/* Useful links */
.links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: var(--gap); border-top: 1px solid #c9b48a; }
.links__item { display: grid; gap: 8px; padding: 26px 20px 26px 0; font-size: clamp(1rem, 1.5vw, 1.3rem); text-transform: uppercase; color: #141312; transition: color .3s, transform .5s var(--ease); }
.links__item span { font-size: 12px; color: #a57b26; }
.links__item:hover { color: #8a6420; transform: translateX(10px); }

@media (max-width: 1000px) {
  .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list, .links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgb(216 173 76 / .22); }
}

@media (max-width: 760px) {
  .split, .duo, .meet { grid-template-columns: minmax(0, 1fr); }
  .split--hero { min-height: 0; }
  .split--hero .split__media { order: -1; }
  .split--hero .split__media .shot { height: 54svh; }
  .split__media { min-height: 0; }
  .seal { left: auto; right: 14px; bottom: 14px; }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .reach__card { min-height: 0; }
  .steps__list, .links { grid-template-columns: minmax(0, 1fr); }
  .meet__map, .meet__map iframe { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-rise], .js .shot { opacity: 1; transform: none; clip-path: none; transition: none; }
  .reel__run { animation: none; }
  .js .coda__sign img { clip-path: none; }
}
