@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Jost:wght@400;500&display=swap');

:root {
  --bg: #211d34;
  --gold: #a8916a;
  --cream: #ece6da;
  --muted: #9c96ad;
  --line: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
header {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 32px;
}
.lockup {
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.lockup .dot { margin: 0 0.12em; }
.lockup small { font-size: 0.55em; letter-spacing: 0.25em; vertical-align: 0.35em; }
.top-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 26px;
  color: var(--muted);
  transition: color .2s;
}
.top-nav a:hover, .top-nav a.active { color: var(--cream); }

/* ---------- home grid ---------- */
.home header { position: absolute; top: 0; left: 0; right: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100vh;
  min-height: 640px;
}
.col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  padding-bottom: 40px;
}
.col:last-child { border-right: 0; }
.col.up .stack { transform: translateY(-3.2vh); }
.stack { display: flex; flex-direction: column; align-items: center; }

.letter {
  position: relative;
  display: block;
  font-weight: 500;
  font-size: min(15vw, 16vh);
  line-height: 1.12;
  color: var(--gold);
  user-select: none;
  cursor: default;
}

/* photos behind each column, revealed on hover */
.col { overflow: hidden; }
.col .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s ease, transform 1.2s ease;
  z-index: 0;
}
.col::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(33,29,52,.55) 0%, rgba(33,29,52,.15) 45%, rgba(33,29,52,.7) 100%);
  opacity: 0; transition: opacity .7s ease;
}
.col:hover .bg { opacity: 1; transform: scale(1); }
.col:hover::after { opacity: 1; }
.stack, .label { position: relative; z-index: 1; }
.label { position: absolute; }
.shoe-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px; font-weight: 500; letter-spacing: 5px;
  fill: #5a4320; opacity: .85;
}
/* touch screens: a tap reveals that column's photo */
.col.touched .bg { opacity: 1; transform: scale(1); }
.col.touched::after { opacity: 1; }
@media (hover: none) {
  .col:hover .bg { opacity: 0; transform: scale(1.04); }
  .col:hover::after { opacity: 0; }
  .col.touched .bg { opacity: 1; transform: scale(1); }
  .col.touched::after { opacity: 1; }
}

/* the Z goes for a stroll */
.letter.z { animation: stroll 2.4s ease-in-out infinite; }
.legs {
  position: absolute;
  left: 50%;
  top: 86%;
  width: 0.3em;
  transform: translateX(-50%);
  overflow: visible;
  opacity: .55;
}
.legs .l1 { transform-box: fill-box; transform-origin: 50% 0; animation: step .6s ease-in-out infinite alternate; }
.legs .l2 { transform-box: fill-box; transform-origin: 50% 0; animation: step .6s ease-in-out infinite alternate-reverse; }
@keyframes step   { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes stroll { 0%,100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }

/* empty cell: footprints walking off */
.prints {
  font-size: min(15vw, 16vh);
  height: 1.12em;
  width: 0.55em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prints svg { width: 100%; height: auto; opacity: .6; }

.label {
  position: absolute;
  bottom: 44px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
a.label::after { content: " →"; color: var(--gold); }
a.label:hover { color: var(--gold); }
span.label { color: var(--muted); }

/* ---------- inner pages ---------- */
main.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 28px 120px;
}
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
h1 {
  font-weight: 400;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  color: var(--gold);
  margin-bottom: 40px;
}
main.page p { margin-bottom: 1.2em; }
.placeholder {
  color: var(--muted);
  font-style: italic;
  border-left: 1px solid var(--gold);
  padding-left: 18px;
}
.form-wrap {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.form-wrap iframe {
  width: 100%;
  min-height: 1500px;
  border: 0;
  border-radius: 4px;
  background: var(--cream);
}
.form-missing {
  border: 1px dashed rgba(168,145,106,.5);
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- mobile ---------- */
@media (max-width: 700px) {
  header { padding: 22px 20px; }
  .lockup { font-size: 20px; }
  .top-nav a { margin-left: 16px; }
  .grid { height: 100svh; min-height: 560px; }
  .letter, .prints { font-size: min(18vw, 14vh); }
  .col.up .stack { transform: none; } /* straight rows: ZERO / BOND / ING */
  .label { font-size: 8.5px; letter-spacing: 0.12em; bottom: 30px; white-space: normal; text-align: center; width: 90%; }
  footer { flex-direction: column; gap: 6px; text-align: center; padding: 20px; }
}
.stack > :first-child { margin-bottom: 0.2em; }
.inline-link { color: var(--gold); border-bottom: 1px solid rgba(168,145,106,.5); transition: border-color .2s; }
.inline-link:hover { border-color: var(--gold); }
main.page p:last-child { font-style: italic; color: var(--muted); }
.fee { font-style: italic; color: var(--gold); }
