/* Inlet Lending Co — site styles
   Layout idea: the arch from the logo frames every photo; navy carries the type,
   sand marks the one thing to do on each screen (book a call). */
:root {
  --navy: #213A5C;
  --navy-deep: #182B45;
  --blue: #7098B8;
  --sand: #C49C72;
  --sand-deep: #A9804F;
  --shell: #F7F2EC;      /* sand-tinted panel */
  --mist: #EEF3F8;       /* blue-tinted panel */
  --white: #FFFFFF;
  --ink: #213A5C;
  --ink-soft: #4E6280;
  --line: #DCE3EC;
  --display: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.8rem);
  --radius: 14px;
  --arch: 50% 50% 14% 14% / 36% 36% 10% 10%;  /* round top, softly rounded base like the logo mark */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--sand-deep); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 800; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; max-width: 34em; }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand-deep); }
.prose { max-width: 65ch; display: grid; gap: 1.1em; }
.prose h2 { margin-top: 0.6em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.4em; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--shell { background: var(--shell); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #E6ECF3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.stack { display: grid; gap: 20px; }
.stack-lg { display: grid; gap: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1rem;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--book { background: var(--sand); color: var(--navy-deep); }
.btn--book:hover { background: var(--sand-deep); color: var(--white); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.section--navy .btn--line { border-color: rgba(255,255,255,.6); color: var(--white); }
.section--navy .btn--line:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--display); font-weight: 700; text-decoration: none; color: var(--navy); font-size: 0.98rem; }
.nav a[aria-current="page"] { color: var(--sand-deep); }
.header-book { padding: 11px 20px; min-height: 44px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; display: block; margin: auto; }

@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header .wrap { gap: 12px; }
  .brand img { height: 46px; }
}
@media (max-width: 420px) { .header-book { padding: 10px 14px; font-size: 0.9rem; } .brand img { height: 40px; } }

/* Arch photo frame: the logo's shape */
.arch { border-radius: var(--arch); overflow: hidden; border: 8px solid var(--navy); background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--sand { border-color: var(--sand); }

/* Photo slot for photos still to come */
.photo-slot {
  border: 2px dashed var(--blue); background: var(--mist); color: var(--ink-soft);
  display: grid; place-items: center; text-align: center; padding: 24px;
  font-family: var(--display); font-weight: 700; font-size: var(--step--1);
  min-height: 220px;
}
.photo-slot.arch { border: 2px dashed var(--blue); border-radius: var(--arch); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-photo { max-width: 420px; justify-self: end; width: 100%; aspect-ratio: 720 / 998; }
.hero-note { font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 300px; order: -1; }
}

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 3px solid var(--navy); min-width: 0; }
.step-num { font-family: var(--display); font-weight: 800; color: var(--sand-deep); font-size: var(--step--1); letter-spacing: .12em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Loan cards */
.loan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loan-card { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; min-width: 0; }
.loan-card:hover { border-color: var(--sand); transform: translateY(-2px); color: var(--ink); }
.loan-card p { color: var(--ink-soft); font-size: 0.98rem; }
.loan-card .more { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 0.95rem; margin-top: 4px; }
.loan-card--feature { background: var(--navy); border-color: var(--navy); }
.loan-card--feature h3 { color: var(--white); }
.loan-card--feature p { color: #CFD9E5; }
.loan-card--feature .more { color: var(--sand); }
@media (max-width: 900px) { .loan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .loan-grid { grid-template-columns: 1fr; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split--flip { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 820px) { .split, .split--flip { grid-template-columns: 1fr; } }

/* Surf band */
.band { position: relative; min-height: clamp(240px, 38vw, 460px); display: grid; align-items: end; background: var(--navy) center / cover no-repeat; }
.band--inlet { background-image: url("images/pumicestone-passage-inlet.jpg"); background-position: center 70%; }
.band--surf { background-image: url("images/sunshine-coast-surf.jpg"); }

.band .wrap { position: relative; z-index: 1; padding-block: 48px; }
.band blockquote { margin: 0; color: var(--white); font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1.2; max-width: 20em; text-wrap: balance; }
.band cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--body); font-size: var(--step--1); color: #D7E2EE; letter-spacing: .04em; }

/* Ticks list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--sand); border-bottom: 3px solid var(--sand); transform: rotate(-45deg); }

/* Loan detail sections */
.loan-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px); padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.loan-detail:first-of-type { border-top: 0; }
.loan-detail > * { min-width: 0; }
.loan-detail .stack { align-content: start; }
@media (max-width: 760px) { .loan-detail { grid-template-columns: 1fr; } }

/* Awards */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.award { display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.award-logo { height: 72px; display: grid; place-items: center; border: 2px dashed var(--line); border-radius: 10px; color: var(--ink-soft); font-size: 0.78rem; font-family: var(--display); font-weight: 700; text-align: center; padding: 6px; }
.award-year { font-family: var(--display); font-weight: 800; color: var(--sand-deep); font-size: var(--step--1); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.award h3 { font-size: 1.05rem; }
.award p { font-size: 0.95rem; color: var(--ink-soft); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { padding: 20px 0; border-top: 3px solid var(--sand); }
.fact strong { display: block; font-family: var(--display); font-size: var(--step-2); color: var(--navy); font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-family: var(--display); font-weight: 800; font-size: 1.08rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--sand-deep); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 22px; display: grid; gap: 10px; color: var(--ink-soft); max-width: 65ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { padding: clamp(22px, 4vw, 36px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 18px; scroll-margin-top: 100px; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: #E6ECF3; }
.panel--navy h2 { color: var(--white); }
.booking-slot { border: 2px dashed rgba(255,255,255,.45); border-radius: 14px; padding: 22px; display: grid; gap: 8px; font-size: 0.95rem; color: #CFD9E5; }
.contact-lines { display: grid; gap: 6px; font-size: 1.02rem; }
.contact-lines a { color: var(--white); }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.optional { font-weight: 600; color: var(--ink-soft); font-size: 0.85rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #C5D0DD; border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(112,152,184,.35); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.92rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--navy); }
.check label { font-family: var(--body); font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.form-status { padding: 14px 16px; border-radius: 10px; background: var(--mist); color: var(--navy); font-size: 0.95rem; }

/* CTA strip */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #B9C6D6; font-size: 0.92rem; padding-block: 56px 32px; }
.site-footer a { color: #E6ECF3; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top > * { min-width: 0; }
.footer-top h4 { color: var(--white); font-size: 0.95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-legal { padding-top: 24px; display: grid; gap: 10px; font-size: 0.82rem; line-height: 1.6; color: #93A4BA; max-width: 90ch; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* Sticky book button on phones so it is always one tap away */
.mobile-book { display: none; }
@media (max-width: 640px) {
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .mobile-book .btn { width: 100%; }
  body { padding-bottom: 76px; }
}

.page-head { padding-block: clamp(40px, 6vw, 72px) 8px; }
.page-head .stack { max-width: 760px; }
.center-note { text-align: left; }

/* About page: arch photo beside the bio, awards strip underneath */
.about-intro { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 720 / 998; max-width: 400px; width: 100%; background: var(--mist); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: grid; gap: 16px; max-width: 62ch; align-content: start; padding-top: 8px; }
.about-copy h1 { margin-bottom: 4px; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); }
.awards-strip { margin-top: clamp(40px, 6vw, 64px); padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.awards-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.awards-strip li { display: flex; align-items: center; }
.awards-strip img { height: 84px; width: auto; }
.awards-strip li:nth-child(2) img { height: 56px; }
.awards-strip li:nth-child(3) img { height: 74px; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .awards-strip { grid-template-columns: 1fr; }
  .awards-strip ul { justify-content: flex-start; }
  .awards-strip img { height: 64px; }
  .awards-strip li:nth-child(2) img { height: 44px; }
  .awards-strip li:nth-child(3) img { height: 58px; }
}

/* Home page awards strip sits between the hero and the shell band */
.home-awards { padding-bottom: clamp(40px, 6vw, 64px); margin-top: calc(-1 * clamp(24px, 4vw, 48px)); }

/* First Home Buyers Club banner on the home page */
.fhbc-banner { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(33,58,92,.55); transition: transform .2s; }
.fhbc-banner:hover { transform: translateY(-2px); }
.fhbc-banner img { width: 100%; }

/* Home hero: the full beach photo, copy sitting in the open sky on the right */
.hero-beach { position: relative; display: grid; min-height: clamp(540px, 50vw, 760px); background: var(--mist); overflow: hidden; }
.hero-beach-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-beach::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.6) 68%, rgba(255,255,255,.78) 100%); pointer-events: none; }
.hero-beach-inner { position: relative; z-index: 1; display: flex; justify-content: flex-start; align-items: flex-start; padding-block: clamp(56px, 7vw, 104px); }
.hero-beach-copy { max-width: 500px; }
.hero-beach-copy .lede { color: var(--navy); }
.hero-beach-copy .eyebrow { color: var(--navy); opacity: .85; }
@media (max-width: 820px) {
  .hero-beach { min-height: 0; display: block; background: var(--white); }
  .hero-beach-img { position: static; aspect-ratio: 3 / 2; height: auto; object-position: 60% 60%; }
  .hero-beach::after { display: none; }
  .hero-beach-inner { padding-block: 32px 48px; }
  .hero-beach-copy .lede { color: var(--ink-soft); }
}
.home-awards { margin-top: 0; padding-top: clamp(32px, 5vw, 56px); }

/* Phone polish */
@media (max-width: 640px) {
  .header-book { display: none; }            /* the bottom bar already carries Book a call */
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 42px; }
  .hero-beach-img { aspect-ratio: 1 / 1; object-position: 57% 70%; }
  .hero-beach-inner { padding-block: 28px 40px; }
  .hero-beach-copy .btn-row .btn { flex: 1 1 100%; }
  .eyebrow { letter-spacing: 0.12em; }
  .awards-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; justify-items: center; align-items: center; }
  .awards-strip img { height: 76px; }
  .awards-strip li:nth-child(2) img { height: auto; width: 150px; }
  .awards-strip li:nth-child(3) img { height: auto; width: 150px; }
  .awards-strip .eyebrow br { display: none; }
  .band { min-height: 220px; }
  .section { padding-block: 52px; }
  .loan-card { padding: 22px; }
  .cta .btn-row .btn { flex: 1 1 100%; }
  .faq summary { padding: 18px 48px 18px 18px; font-size: 1rem; }
  .faq .answer { padding: 0 18px 18px; }
}

/* About photo gets the same navy arch frame as the other pages */
.about-photo { border: 8px solid var(--navy); }

/* Four-step process: two by two so each step has room to breathe */
.steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.steps--four .step p + p { margin-top: 4px; }
@media (max-width: 760px) { .steps--four { grid-template-columns: 1fr; } }

/* Direct-contact promise under the four steps */
.steps-note { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 40px; align-items: baseline; padding: 28px 32px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.steps-note p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps-note { grid-template-columns: 1fr; padding: 22px; } }

/* Client reviews */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; padding: 30px 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 18px; align-content: space-between; position: relative; }
.review::before { content: "\201C"; font-family: var(--display); font-weight: 800; font-size: 4rem; line-height: .6; color: var(--sand); height: 26px; display: block; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.65; }
.review figcaption { font-family: var(--display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: var(--step--1); color: var(--sand-deep); }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } .review { padding: 24px 22px 22px; } }

/* Media page */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.media-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
a.media-card:hover { border-color: var(--sand); transform: translateY(-2px); color: var(--ink); }
.media-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--mist); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb-empty { position: absolute; inset: 14px; border: 2px dashed var(--blue); border-radius: 10px; }
.media-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(33,58,92,.88); }
.media-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 18px solid var(--white); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.media-body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px; }
.media-meta { font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.media-type { font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--shell); padding: 3px 9px; border-radius: 999px; }
.media-title { font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1.3; color: var(--navy); }
.media-summary { color: var(--ink-soft); font-size: .97rem; }
.media-card .more { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: .95rem; margin-top: 4px; }
.media-card--slot .media-title, .media-card--slot .media-summary, .media-card--slot .media-meta { opacity: .55; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .media-grid { grid-template-columns: 1fr; } }
@media (max-width: 1080px) and (min-width: 921px) { .nav { gap: 18px; } .nav a { font-size: .92rem; } }
.media-grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); }

/* Meet the team (About page) */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.team-card { display: grid; gap: 6px; align-content: start; }
.team-photo { aspect-ratio: 720 / 998; border-radius: var(--arch); border: 6px solid var(--navy); overflow: hidden; background: var(--mist); margin-bottom: 12px; display: grid; place-items: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { font-family: var(--display); font-weight: 700; font-size: var(--step--1); color: var(--ink-soft); padding: 12px; text-align: center; }
.team-card h3 { font-size: 1.15rem; }
.team-role { font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-deep); }
.team-card p:not(.team-role) { color: var(--ink-soft); font-size: .97rem; }
.team-card--draft .team-role, .team-card--draft p:not(.team-role) { opacity: .6; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team-grid { gap: 24px 16px; } .team-photo { border-width: 4px; } }
.team-photo--mark { background: var(--shell); }
.team-photo--mark img { width: 34%; height: auto; object-fit: contain; opacity: .9; }

/* Team: Caitlyn's photo card beside a simple list for the rest */
.team-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px 56px; align-items: start; }
.team-list { display: grid; gap: 0; }
.team-item { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--line); }
.team-item:first-child { border-top: 3px solid var(--navy); }
.team-item h3 { font-size: 1.15rem; }
.team-item p:not(.team-role) { color: var(--ink-soft); font-size: .97rem; max-width: 60ch; }
@media (max-width: 760px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-card--feature { max-width: 280px; }
}

@media (min-width: 821px) and (max-width: 1180px) { .hero-beach-copy { max-width: min(500px, 44vw); } }

/* Calendly booking calendar (Contact page) */
.calendly-box { border-radius: 14px; overflow: hidden; }
.calendly-box.is-live { background: var(--white); min-height: 680px; }
.calendly-box.is-live iframe { width: 100%; min-height: 680px; border: 0; display: block; }
.calendly-fallback { border: 2px dashed rgba(255,255,255,.45); border-radius: 14px; padding: 22px; display: grid; gap: 14px; justify-items: start; color: #CFD9E5; }
@media (max-width: 520px) { .calendly-box.is-live, .calendly-box.is-live iframe { min-height: 760px; } }
