/* SplitClub — operator pages (/operators and /operators/<harbour>)
   Loaded on top of pages.css, which already owns the palette, nav, prose,
   .status pills, .callout, .facts, .tbl and .related. Only what is new here. */

/* ── hero strip ───────────────────────────────────────
   One image, wide, under the page head. Fixed aspect via the ratio rather than
   a height so it never letterboxes on a phone. */
.op-hero{margin:0 auto 8px;max-width:1180px;padding:0 32px}
.op-hero img{width:100%;height:auto;aspect-ratio:1180/520;object-fit:cover;border-radius:18px;
  border:1px solid var(--line);box-shadow:0 14px 44px rgba(37,49,63,.10)}
@media(max-width:640px){
  .op-hero{padding:0 20px}
  .op-hero img{aspect-ratio:4/3;border-radius:14px}
}

.muted-sm{font-size:13px;color:var(--muted)}
/* The harbour you are already on, highlighted in the all-harbours table. */
.tbl tr.is-current td{background:rgba(198,155,84,.07)}
.tbl tr.is-current td:first-child{box-shadow:inset 2px 0 0 var(--gold)}

/* ── harbour cards (hub) ──────────────────────────────*/
.op-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:26px 0 10px}
.op-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;
  background:rgba(255,255,255,.5);transition:border-color .2s,transform .2s,box-shadow .2s;display:block}
.op-card:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 10px 30px rgba(37,49,63,.09)}
/* height:auto is load-bearing. The width/height attributes on the <img> reserve
   layout space, but `height` is a presentational hint that outranks
   `aspect-ratio` — without this the cards render square. */
.op-card img,.op-card-noimg{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
/* Mallorca has no photograph yet. A flat marble panel is a deliberate blank,
   not a broken image — better than a stock placeholder that looks like a lie. */
.op-card-noimg{background:linear-gradient(150deg,#EDE8DE,#F6F3EC 60%,#E6DFD1)}
.op-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:4px}
.op-card-body .status{margin:0 0 8px;align-self:flex-start}
.op-card-body strong{font-size:20px;font-weight:700;letter-spacing:-.02em}
.op-card-body .k{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.op-card-body p{font-size:14.5px;color:var(--marble-ink);margin:9px 0 12px;line-height:1.55}
.op-card-url{font-size:12.5px;letter-spacing:.02em;color:var(--gold-deep);
  border-top:1px solid var(--line);padding-top:11px;margin-top:auto}
@media(max-width:640px){.op-grid{grid-template-columns:1fr}}

/* ── enquiry form ─────────────────────────────────────
   Full-bleed tinted band so the form reads as the end of the argument rather
   than one more prose section. */
.op-form-wrap{background:rgba(255,255,255,.55);border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);padding:60px 0 66px;margin:64px 0 0}
.op-form-h{font-weight:700;font-size:clamp(26px,4vw,34px);letter-spacing:-.025em;
  line-height:1.2;margin:16px 0 12px}
.op-form-dek{color:var(--muted);font-size:16.5px;margin:0 0 30px;max-width:560px}

#opForm .field{margin-bottom:16px;display:flex;flex-direction:column;gap:7px}
/* min-height, not auto: the "required" pill is taller than bare label text, so
   without it the two fields in a .row2 sit at different heights depending on
   which one happens to be required. */
#opForm label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--muted);display:flex;align-items:center;gap:9px;min-height:21px}
#opForm .req{font-size:9.5px;letter-spacing:.12em;color:var(--gold-deep);
  border:1px solid rgba(198,155,84,.45);border-radius:100px;padding:2px 7px;font-weight:700}
#opForm input,#opForm select,#opForm textarea{
  font:400 16px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;
  color:var(--marble-ink);background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:14px 16px;width:100%;outline:none;transition:border-color .2s,box-shadow .2s;
  -webkit-appearance:none;appearance:none}
#opForm textarea{resize:vertical;min-height:88px}
#opForm select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C7885' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
#opForm input:focus,#opForm select:focus,#opForm textarea:focus{
  border-color:var(--gold);box-shadow:0 0 0 3px rgba(198,155,84,.16)}
#opForm .invalid input,#opForm input.invalid,#opForm textarea.invalid{border-color:#C0552F}

.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.row2{grid-template-columns:1fr;gap:0}}

/* @-prefix sits inside the field, same treatment as /apply. */
#opForm .ig{display:flex;align-items:center;background:#fff;border:1px solid var(--line);
  border-radius:12px;transition:border-color .2s,box-shadow .2s}
#opForm .ig:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(198,155,84,.16)}
#opForm .ig span{padding-left:16px;color:var(--muted);font-size:16px}
#opForm .ig input{border:0;box-shadow:none;padding-left:5px;background:transparent}
#opForm .ig input:focus{box-shadow:none}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

#opForm button[type=submit]{
  font:600 13px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;
  letter-spacing:.16em;text-transform:uppercase;color:#fff;background:var(--ink);
  border:0;border-radius:100px;padding:17px 22px;width:100%;cursor:pointer;margin-top:8px;
  transition:transform .2s,box-shadow .2s,opacity .2s}
#opForm button[type=submit]:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 24px rgba(11,27,46,.22)}
#opForm button[type=submit]:disabled{opacity:.55;cursor:default}

.err{color:#C0552F;font-size:14px;margin:4px 0 0;min-height:0}
.err:empty{display:none}
.op-alt{font-size:13.5px;color:var(--muted);margin:16px 0 0;text-align:center}
.op-alt a{color:var(--gold-deep);border-bottom:1px solid rgba(198,155,84,.4)}

.op-done{border:1px solid var(--gold);border-left-width:3px;border-radius:14px;
  padding:28px 30px;background:rgba(255,255,255,.7)}
.op-done h3{font-size:23px;font-weight:700;letter-spacing:-.02em;margin:14px 0 10px}
.op-done p{margin:0;color:var(--marble-ink)}
