/* TIDAL auction landing page.
   Matches tidalproperty.com: sand ground, black type, sea-breeze accent,
   uppercase display headings with " / " separators, outline pill buttons.
   Forma DJR Display and Die Grotesk A are TIDAL's licensed fonts; they resolve
   when this runs inside their Webflow site. Archivo is the public fallback. */

:root {
  --sand: #ece8e5;
  --sand-2: #e2ddd9;
  --ink: #000;
  --sea: #35414d;
  --sea-2: #4a5866;
  --muted: #5d6268;
  --line: rgba(0, 0, 0, .18);
  --card: #f4f1ef;
  --error: #9b2c1f;

  --display: "Forma DJR Display", "Archivo", system-ui, sans-serif;
  --text: "Die Grotesk A", "Archivo", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

/* Draft bar */
.draft-bar {
  background: var(--sea); color: var(--sand);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 8px var(--gutter);
}

/* Nav: wordmark centred, links either side */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-link {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
}
.nav-link:last-child { justify-self: end; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-logo img { height: 16px; width: auto; }
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .nav-link { font-size: 11px; }
  .nav-logo img { height: 12px; }
}

/* Shared type */
.kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sea);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1; letter-spacing: -.01em; text-transform: uppercase;
}

/* Buttons: outline pills, solid for primary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 26px;
  border: 1px solid var(--ink); border-radius: var(--radius-pill);
  background: transparent; cursor: pointer; text-decoration: none;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-line:hover { background: var(--ink); color: var(--sand); }
.btn-solid { background: var(--ink); color: var(--sand); }
.btn-solid:hover { background: var(--sea); border-color: var(--sea); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 10vw, 128px) var(--gutter) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.hero-name {
  font-family: var(--display);
  font-size: clamp(56px, 13.4vw, 196px);
  line-height: .86; letter-spacing: -.035em; text-transform: uppercase;
  margin: 0;
}
.hero-sub {
  margin: clamp(14px, 2vw, 22px) 0 clamp(32px, 6vw, 72px);
  font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .22em; text-transform: uppercase;
  color: var(--sea);
}

/* Hero motion: the name is drawn faintly in the sand, then two waves wash
   up over it. The first reaches halfway and slips back, the second fills it.
   The clip-path is driven from app.js; this is the resting look. */
.title-wrap { position: relative; }
.hero-name .ch { display: inline-block; }
.hero-name .word { display: inline-block; white-space: nowrap; }
.title-ghost {
  position: absolute; inset: 0; margin: 0; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--sea) 45%, transparent);
  transition: opacity 1.2s var(--ease);
}
.title-ghost.is-gone { opacity: 0; }
.is-anim .hero-sub { animation: settle 1.4s var(--ease) 2.5s both; }
.is-anim .hero-foot { animation: fadeUp .9s var(--ease) 2.7s both; }
@keyframes settle { from { opacity: 0; letter-spacing: .6em; } }


/* Section titles rise out of a mask line by line as they scroll in; the slash lands last. */
.section-title .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.section-title .line > span { display: inline-block; transition: transform 1s var(--ease); }
.section-title .slash { display: inline-block; transition: transform .8s var(--ease) .35s, opacity .8s var(--ease) .35s; }
.section-title.is-out .line > span { transform: translateY(105%); }
.section-title.is-out .slash { transform: translateX(-.4em); opacity: 0; }
@keyframes fadeUp { from { transform: translateY(18px); opacity: 0; } }

.hero-foot {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  align-items: end;
}
.tagline { font-size: clamp(18px, 2vw, 24px); line-height: 1.3; max-width: 22ch; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.facts > div > dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; }
.cal { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.cal-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: var(--radius-pill); background: transparent;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cal-btn::before { content: "+"; font-size: 14px; line-height: 1; }
.cal-btn:hover { background: var(--ink); color: var(--sand); }
.cal-btn[aria-disabled="true"] { border-color: var(--line); color: var(--muted); pointer-events: none; }
.countdown { display: flex; gap: 18px; font-family: var(--display); }
.countdown b { display: block; font-size: 34px; font-weight: 500; line-height: 1; }
.countdown span { font-family: var(--text); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .hero-foot { grid-template-columns: 1.1fr 1.3fr auto; gap: 48px; }
  .hero-foot .countdown { grid-column: 1; }
}

/* Suburb ticker between hero and lots */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 16px 0; }
.marquee-track {
  display: flex; width: max-content; gap: 0;
  font-family: var(--display); font-size: clamp(18px, 2.2vw, 28px); text-transform: uppercase; letter-spacing: -.005em;
  animation: drift 60s linear infinite;
}
.marquee-track span { padding-right: .6em; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--sea); opacity: .55; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Scroll reveal. Only things below the fold at load are hidden, so the first frame is complete. */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-out { opacity: 0; transform: translateY(28px); }

/* The event overview */
.about { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 0; }
.about-body { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: 28px; }
.about-copy { display: grid; gap: 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; max-width: 58ch; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.highlights li { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 4px; }
.highlights h3 { font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.highlights p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .about-body { grid-template-columns: 1.3fr 1fr; } }

/* Lots */
.lots, .how { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.lots-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: transparent; cursor: pointer;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--sand); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card { display: flex; flex-direction: column; background: var(--card); transition: opacity .8s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); transition-delay: var(--d, 0ms); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(53, 65, 77, .55); }
.card[hidden] { display: none; }
.card-open {
  all: unset; cursor: pointer; display: block;
}
.card-open:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.card-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--sea);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-open:hover .card-media img { transform: scale(1.03); }
.card-lot {
  position: absolute; top: 14px; left: 14px;
  background: var(--sand); color: var(--ink);
  padding: 5px 10px; border-radius: var(--radius-pill);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.card-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: color-mix(in srgb, var(--sand) 70%, transparent);
  font-family: var(--display); font-size: 88px; letter-spacing: -.04em;
}
.card-ph::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: repeating-linear-gradient(180deg, transparent 0 10px, rgba(236,232,229,.08) 10px 11px);
  transition: height .7s var(--ease);
}
.card-open:hover .card-ph::after { height: 62%; }
.card-ph { transition: letter-spacing .7s var(--ease); }
.card-open:hover .card-ph { letter-spacing: .02em; }
.card-body { padding: 18px 18px 6px; display: grid; gap: 6px; }
.card-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--display); font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.card-spec { font-size: 14px; color: var(--muted); }
.card-lease { justify-self: start; margin-top: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sea); border: 1px solid color-mix(in srgb, var(--sea) 40%, transparent); border-radius: var(--radius-pill); padding: 3px 9px; }
.card-actions { display: flex; gap: 8px; padding: 14px 18px 18px; margin-top: auto; }
.card-actions .btn { min-height: 38px; padding: 0 16px; font-size: 11px; flex: 1; }
.btn.is-off { border-color: var(--line); color: var(--muted); pointer-events: none; }

/* Contact band: the mid-page call to action */
.contact-band { background: var(--sea); color: var(--sand); padding: clamp(48px, 7vw, 88px) var(--gutter); }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.contact-lede { margin-top: 16px; max-width: 44ch; font-size: 17px; opacity: .85; }
.contact-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.contact-direct { font-size: 14px; opacity: .85; }
.contact-direct a { text-underline-offset: 3px; }
.btn-sand { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-sand:hover { background: transparent; color: var(--sand); }
.agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.agent { border-top: 1px solid rgba(236, 232, 229, .25); padding: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.agent-name { font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.agent-role { grid-row: 2; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.agent a { text-decoration: none; }
.agent a:hover { text-decoration: underline; text-underline-offset: 4px; }
.agent-phone { grid-row: 1 / 3; grid-column: 2; align-self: center; font-variant-numeric: tabular-nums; }

/* How */
.how { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps li { border-top: 1px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; }
.step-n { font-size: 12px; letter-spacing: .12em; color: var(--sea); }
.steps h3 { font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.steps p { color: var(--muted); max-width: 36ch; }
.how-cta { margin-top: 40px; }
.how { border-top: 0; }

/* Footer */
.footer {
  background: var(--sea); color: var(--sand);
  padding: clamp(48px, 7vw, 88px) var(--gutter) calc(110px + env(safe-area-inset-bottom));
}
.footer-logo { height: 18px; width: auto; filter: invert(93%) sepia(5%) saturate(180%) hue-rotate(330deg); margin-bottom: 36px; }
.footer-cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: var(--max); }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; font-weight: 400; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Floating register */
.float-register {
  position: fixed; z-index: 30;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--sand);
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease), background .2s;
  animation: fadeUp .7s var(--ease) 1.4s both;
}
.float-register:hover { background: var(--sea); transform: translateY(-2px); }
@media (max-width: 560px) {
  .float-register { left: 16px; right: 16px; justify-content: center; }
}

/* Sheets (dialogs) */
.sheet {
  width: min(560px, 100%); max-height: min(92dvh, 900px);
  margin: auto; padding: 0; border: 0;
  background: var(--sand); color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(20, 26, 32, .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: rise .32s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 560px) {
  .sheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 94dvh; }
}
.sheet-close {
  position: sticky; top: 0; float: right; z-index: 2;
  width: 44px; height: 44px; margin: 8px 8px -52px 0;
  border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; font-size: 26px; line-height: 1;
}
.sheet form, .sheet .done, .look { padding: 32px clamp(20px, 5vw, 36px) 28px; display: grid; gap: 18px; }
.sheet-title { font-family: var(--display); font-size: clamp(28px, 6vw, 38px); line-height: 1; text-transform: uppercase; margin-top: -8px; }

/* Quick look */
.look-media { aspect-ratio: 16 / 10; background: var(--sea); position: relative; }
.look-media img { width: 100%; height: 100%; object-fit: cover; }
.look-spec { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.look-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .look-actions { grid-template-columns: 1fr 1fr; } .look-actions .btn-solid { grid-column: 1 / -1; } }

/* Form */
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  font: 16px/1.2 var(--text); color: var(--ink); letter-spacing: 0; text-transform: none;
}
input:focus { outline: none; border-color: var(--ink); }
input[aria-invalid="true"] { border-color: var(--error); }
.row2 { display: grid; gap: 14px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; }
fieldset.is-invalid legend { color: var(--error); }

.picks { display: grid; gap: 6px; }
.pick {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px; background: #fff; border: 1px solid var(--line); cursor: pointer;
  text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink);
}
.pick small { color: var(--muted); font-size: 12px; }
.pick:has(input:checked) { border-color: var(--ink); background: #fbfaf9; }
.pick input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.picks-all { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }

.methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { display: inline-flex; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.pill-opt input:checked + span { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.pill-opt input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 14px; }
/* One line under the field it's about (Swell answers {error, field, suggest}). */
.field-error { font-size: 13px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--error); }
.field-error:empty { display: none; }
#registerForm .row2 { align-items: start; }   /* a message under one field mustn't stretch its neighbour */
.email-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: -4px; font-size: 14px; color: var(--ink); }
.email-suggest[hidden] { display: none; }
.email-suggest b { font-weight: 600; word-break: break-all; }
.email-suggest button { background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.email-suggest button:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.fine { font-size: 12px; color: var(--muted); }
.turnstile { min-height: 0; }
.notice { font-size: 13px; line-height: 1.45; padding: 12px 14px; border-left: 2px solid var(--sea); background: var(--card); color: var(--ink); }
.opt { text-transform: none; letter-spacing: 0; }
.interests { display: grid; gap: 6px; }
.interests .pick { grid-template-columns: auto 1fr; }
.done p:not(.kicker) { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .title-ghost { display: none; }
  .section-title.is-out .line > span, .section-title.is-out .slash { transform: none; opacity: 1; }
  .reveal.is-out { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- The Opportunity Auction (TIDAL brief, 13 Oct 2026) ---------- */
/* TIDAL 2026 palette: #ECE8E5 sand (every background), #35414D sea, #604D44 deep cove,
   #9C8B7A taupe, #AFBFCB mist (the palette sheet labels it #BD935B, a typo). */
:root { --taupe: #9c8b7a; --cove: #604d44; --mist: #afbfcb; --card: #ece8e5; }

/* TIDAL image across the top. It eases in from a slight zoom. */
.hero-photo { margin: 0; height: clamp(240px, 46vh, 560px); overflow: hidden; background: var(--sea); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block;
  animation: heroPhoto 2.6s var(--ease) both; }
@keyframes heroPhoto { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }

/* Everything sits on #ECE8E5: cards are outlined rather than tinted. */
.card { background: var(--sand); border: 1px solid var(--line); }
.contact-band { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-band .btn-sand { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.contact-band .btn-sand:hover { background: var(--sea); border-color: var(--sea); color: var(--sand); }
.contact-lede, .contact-direct { opacity: 1; color: var(--muted); }
.footer { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
.footer-logo { filter: none; }
.footer h4 { color: var(--muted); opacity: 1; }

/* Your agents: photos and details at the bottom of the page. */
.team { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); border-top: 1px solid var(--line); }
.team-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.agent-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--sand); }
.agent-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sea); }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: grayscale(.15);
  transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.agent-card:hover .agent-photo img { transform: scale(1.04); filter: none; }
.agent-info { padding: 20px 20px 22px; display: grid; gap: 6px; }
.agent-card .agent-name { font-family: var(--display); font-size: 24px; text-transform: uppercase; line-height: 1; }
.agent-card .agent-role { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); opacity: 1; }
.agent-links { display: grid; gap: 2px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.agent-links a { text-decoration: none; color: var(--ink); }
.agent-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.agent-more { margin-top: 12px; justify-self: start; min-height: 36px; font-size: 11px; }
@media (max-width: 700px) { .hero-photo { height: 30vh; } }

/* Registration gate: details, listing and data room open once a visitor has registered */
.btn-lock .lock { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gate-note[hidden] { display: none; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
