/* ============================================================
   WORLDWIDE DREAM VILLAS — JAMAICA PAID-CAMPAIGN LANDING PAGE
   Google Ads / Meta Ads traffic. One conversion: Find My Villa.

   No build, no framework, no dependencies. Served from
   assets/css/styles.css; behaviour lives in assets/js/main.js.

   DESIGN SOURCE OF TRUTH
   This file is written against the new WDV homepage
   (worldwidedreamvillas.com/new-design-idea/). Tokens, type scale,
   .eyebrow, .btn, .lnk, .creds trust band, the .vloc/.vrule/.vfacts
   property language, the ivory-veil photograph composition used by the
   homepage's closing CTA, the .fin-panel form panel and the laptop
   density layer are all carried across unchanged in intent, so this
   page reads as the same hand.

   Brand colours are the fixed WDV palette recorded in CLAUDE.md:
     Primary   #0097B2   Secondary #909090   Accent #D66B0F
   Everything marked "supporting" is a tint or shade of those three.
   ============================================================ */

/* ---------- TOKENS (carried from the WDV homepage) ---------- */
:root{
  --brand:#0097B2;
  --grey:#909090;
  --accent:#D66B0F;

  --brand-800:#014050;
  --brand-700:#00697E;
  --brand-300:#7FD3E2;
  --brand-200:#C2E6EE;
  --brand-100:#DCF0F4;
  --brand-050:#F1F9FB;

  --ink:#2B2B29;
  --ink-soft:#4F4F4C;
  --ink-mute:#787876;
  --line:#E3E3E0;
  --line-2:#CFCFCB;
  --paper:#F7F7F5;

  /* --- supporting shades of the accent ---
     The brand accent is #D66B0F. At the small, letterspaced sizes this
     page uses it for, it reaches only 3.3:1 on the tinted trust band —
     under AA — so accent *text* on light grounds uses the deepened
     shade, which reaches 5.0:1 there and 6.0:1 on white. The pure
     accent stays for graphics, where 3:1 is the bar: the rating star.
     The gold is the accent desaturated and lifted for dark grounds,
     the same supporting shade the WDV homepage spends on its quote
     mark; it reaches 6.2:1 over the hero scrim. */
  --accent-700:#A85309;
  --gold:#CE9A55;

  --white:#fff;
  --scrim:4,32,39;
  --veil:250,247,241;           /* the homepage's warm ivory veil */
  --warn:#9B3D10;               /* deepened accent, form errors only */

  --sans:"Manrope","Inter","Segoe UI",system-ui,Arial,sans-serif;
  --serif:"Cormorant Garamond","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;

  --measure:34rem;
  --wide:78rem;
  --gutter:clamp(1.25rem,5vw,3.5rem);

  --s2:1rem; --s3:1.5rem; --s4:2.5rem;
  --s5:clamp(3rem,6vw,5rem);

  /* One vertical rhythm for the whole page, exactly as the homepage does
     it. The hero, the trust band and the footer are the only exceptions. */
  --sec:clamp(3rem,5.4vw,4.5rem);

  --shadow-panel:0 14px 44px rgba(4,32,39,.14);

  --ease:cubic-bezier(.22,.61,.36,1);
  --hdr-h:clamp(3.75rem,5.5vw,4.5rem);   /* deliberately shorter than the
                                            homepage header: no utility bar,
                                            no navigation, no mega menu */

  --z-content:1;
  --z-header:100;
  --z-dialog:140;
}

/* ---------- RESET ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--sans);font-weight:400;
  font-size:clamp(1rem,.96rem + .18vw,1.0625rem);
  line-height:1.7;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
/* height:auto matters: several images carry width/height attributes for
   layout stability, and without it a CSS width leaves the attribute
   height in place and stretches the picture. That is what was
   distorting the footer lockup. */
img{max-width:100%;height:auto;display:block}
figure{margin:0}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:400;line-height:1.14;letter-spacing:-.01em}
p{margin:0 0 var(--s3)}
p:last-child{margin-bottom:0}
::selection{background:var(--brand-100);color:var(--ink)}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:2px}
.on-dark :focus-visible{outline-color:#fff}

.skip{position:absolute;left:-9999px;z-index:300}
.skip:focus{left:var(--s2);top:var(--s2);padding:.75rem 1.1rem;background:var(--white);border:1px solid var(--brand);color:var(--ink)}

.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- SHARED ---------- */
.wrap{max-width:var(--wide);margin-inline:auto;padding-inline:var(--gutter)}
/* Every section label on the page, in the accent. The deepened shade,
   not the raw #D66B0F: at this size and tracking the brand accent is
   3.3:1 on white-ish grounds, under AA, where --accent-700 is 5.0-6.0:1
   across all four backgrounds the page uses. On dark grounds the label
   switches to --gold, which is the same thread lifted. */
.eyebrow{
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent-700);font-weight:600;margin:0 0 var(--s3)
}

/* the page's one heading treatment, so every section shares a scale */
.shead h2{
  font-family:var(--serif);font-weight:300;letter-spacing:-.02em;line-height:1.1;
  font-size:clamp(1.8rem,1.35rem + 1.9vw,2.7rem);margin:0
}
.shead .sub{margin:var(--s2) 0 0;color:var(--ink-soft);max-width:36rem;line-height:1.6}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.65rem;
  font:inherit;font-size:.76rem;letter-spacing:.15em;text-transform:uppercase;font-weight:600;
  padding:1.05rem 2.1rem;min-height:48px;border-radius:2px;cursor:pointer;
  text-decoration:none;border:1px solid transparent;white-space:nowrap;
  transition:background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease)
}
.btn svg{width:14px;height:14px;flex:none;transition:transform .3s var(--ease)}
.btn:hover svg{transform:translateX(4px)}
.btn--solid{background:var(--brand);color:var(--white);border-color:var(--brand)}
.btn--solid:hover{background:var(--brand-700);border-color:var(--brand-700)}
.btn--solid[disabled]{opacity:.62;cursor:default}
.btn--solid[disabled]:hover{background:var(--brand);border-color:var(--brand)}
.btn--line{background:transparent;color:var(--ink);border-color:var(--line-2)}
.btn--line:hover{border-color:var(--brand);color:var(--brand-700)}
.btn--light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.62)}
.btn--light:hover{background:var(--white);color:var(--brand-800);border-color:var(--white)}

/* the understated editorial link used everywhere quiet */
.lnk{
  display:inline-flex;align-items:center;gap:.55rem;min-height:44px;
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  color:var(--brand-700);text-decoration:none;border-bottom:1px solid var(--brand-200);
  padding-bottom:.3rem;transition:border-color .3s var(--ease),color .3s var(--ease)
}
.lnk:hover{border-bottom-color:var(--brand);color:var(--brand)}
.lnk svg{width:14px;height:14px;flex:none;transition:transform .3s var(--ease)}
.lnk:hover svg{transform:translateX(4px)}

/* ============================================================
   HEADER — minimal paid-traffic header

   No destinations menu, no collections, no search, no currency: this
   visitor arrived from an advertisement and the page has one job.
   Transparent over the hero and pinning to white on scroll, the same
   behaviour as the homepage, and white-on-dark at the top because the
   hero is scrimmed in deep teal.

   The mark is the WD monogram, as on the Honeycomb House landing page,
   with the same rev/pos crossfade and the same contraction on pin. It
   is also what makes this header work at 360px: the full lockup needed
   120px of a 320px row before the two contact targets and the CTA had
   been placed.
   ============================================================ */
.hdr{
  position:fixed;inset:0 0 auto;z-index:var(--z-header);
  border-bottom:1px solid transparent;
  transition:background .45s var(--ease),border-color .45s var(--ease),box-shadow .45s var(--ease)
}
/* the header's own gradient, so the row stays legible before the hero
   scrim has done anything */
.hdr::before{
  content:"";position:absolute;left:0;right:0;top:0;height:calc(100% + 3.5rem);
  z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(var(--scrim),.55) 0, rgba(var(--scrim),.34) 46%, rgba(var(--scrim),0) 100%);
  transition:opacity .45s var(--ease)
}
.hdr[data-state="pinned"]{
  background:var(--white);border-bottom-color:var(--line);
  box-shadow:0 1px 18px rgba(4,32,39,.06)
}
.hdr[data-state="pinned"]::before{opacity:0}
.hdr-in{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:var(--hdr-h)}

/* min-height, not size: the mark contracts on pin to 38px tall, which is
   under the 44px target. The box holds 44 and object-fit:contain keeps
   the mark at its drawn size inside it. The header row is taller than
   this in every state, so nothing moves. */
.brand{
  position:relative;display:block;flex:none;min-height:44px;
  width:clamp(2.5rem,3.4vw,2.9rem);aspect-ratio:246/256;
  text-decoration:none;transition:width .45s var(--ease)
}
.hdr[data-state="pinned"] .brand{width:clamp(2.05rem,2.7vw,2.35rem)}
.brand img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .4s var(--ease)}
.brand .rev{filter:drop-shadow(0 1px 10px rgba(var(--scrim),.45))}
.brand .pos{opacity:0}
.hdr[data-state="pinned"] .brand .rev{opacity:0}
.hdr[data-state="pinned"] .brand .pos{opacity:1}

.hdr-right{display:flex;align-items:center;gap:clamp(.5rem,1.6vw,1.5rem);flex:none}
.hdr-link{
  display:inline-flex;align-items:center;gap:.5rem;min-height:44px;
  font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:600;
  color:rgba(255,255,255,.92);text-decoration:none;transition:color .4s var(--ease)
}
.hdr-link:hover{color:var(--white)}
.hdr-link svg{width:15px;height:15px;flex:none;opacity:.9}
.hdr[data-state="pinned"] .hdr-link{color:var(--ink-soft)}
.hdr[data-state="pinned"] .hdr-link:hover{color:var(--brand-700)}
.hdr[data-state="pinned"] .hdr-link svg{color:var(--brand-700);opacity:1}
.hdr .btn{padding:.72rem 1.35rem;min-height:44px;font-size:.7rem;letter-spacing:.13em}

/* Below 34rem the two contact links keep their icons and drop their
   words, so the primary action never has to compete for the row. */
@media (max-width:34rem){
  .hdr-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hdr-link{min-width:40px;justify-content:center}
  .hdr-link svg{width:19px;height:19px}
  .hdr .btn{padding:.65rem .95rem;font-size:.65rem;letter-spacing:.09em}
  .hdr-in{gap:.5rem}
}

/* ============================================================
   HERO — the section the campaign lives or dies on

   One full-bleed photograph under a deep teal scrim weighted to the
   left where the type sits, the editorial column, and the enquiry
   panel resting beside it in the same view. Same scrim colour the WDV
   homepage hero uses, so the two open in the same key.

   The accent thread runs eyebrow → "Jamaica" → the three figures, in
   the lifted gold, and stops there. Everything else is white.

   Height is deliberately restrained. At 1366x768 the header, the
   heading, the supporting line, the figures, the whole form and its
   button are all inside the first viewport; see the density layer at
   the foot of this file.
   ============================================================ */
.hero{
  position:relative;isolation:isolate;
  padding-top:calc(var(--hdr-h) + clamp(1.25rem,3vh,2.25rem));
  padding-bottom:clamp(1.75rem,4vh,3rem);
  background:var(--brand-800);
  overflow:hidden
}
.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;z-index:-2;
  object-fit:cover;object-position:50% 52%
}
/* Three gradients, each doing one job:
   1 · the left-weighted body that carries the heading and the figures
   2 · a top wash, so the header row is dark enough before the body has
       reached full strength
   3 · a low rise, so the panel never sits on a hard tonal edge */
.hero-veil{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    /* Stopped for THIS photograph, not inherited. The Jamaica frame is
       a bright cove: pale sand and lit shallows across the lower left,
       sky through the leaves above. Carried over unchanged, the Algarve
       stops put the small gold label at 4.43:1 at 1440, and Ibiza's
       put it at 4.42 at 1920, both under AA. So the scrim holds its
       strength as far as the label runs (37%), then falls away fast,
       so the cove and the deck read from the middle of the frame.
       Measured at 1100, 1440 and 1920: label 6.16 to 6.31, H1 12.44 to
       15.25, supporting line 5.08 to 8.49, figures 3.37 to 6.23 (large
       text), their captions 7.02+. Re-measure if the photograph is
       ever swapped. */
    linear-gradient(97deg,
      rgba(var(--scrim),.96) 0%, rgba(var(--scrim),.96) 37%,
      rgba(var(--scrim),.58) 49%, rgba(var(--scrim),.24) 64%,
      rgba(var(--scrim),.10) 80%),
    linear-gradient(to bottom,
      rgba(var(--scrim),.52) 0%, rgba(var(--scrim),.24) 62%,
      rgba(var(--scrim),0) 100%) top/100% 11rem no-repeat,
    linear-gradient(to top,
      rgba(var(--scrim),.34) 0%, rgba(var(--scrim),0) 38%)
}
.hero-in{
  position:relative;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,26.5rem);
  column-gap:clamp(1.75rem,4vw,4.5rem);align-items:center;
  min-height:clamp(28rem,66svh,40rem)
}

/* ---------- editorial column ---------- */
.hero-copy{max-width:34rem;color:var(--white)}
/* The shadow is not decoration. Measured against the composited hero —
   worst pixel inside each element's own box — the gold eyebrow reached
   only 3.86:1 over the sun glare on the water, under AA for 11px type.
   Shrinking the flex row to its content and deepening the halo takes it
   clear. White copy was already 5.3:1 and over. */
.hero-copy h1,.hero-sub{text-shadow:0 1px 26px rgba(var(--scrim),.45)}
.hero-copy .eyebrow{
  display:flex;align-items:center;gap:.9rem;letter-spacing:.24em;
  width:max-content;max-width:100%;
  color:var(--gold);margin-bottom:clamp(.85rem,2vh,1.35rem);
  text-shadow:0 1px 14px rgba(var(--scrim),.85)
}
.hero-copy .eyebrow::before{content:"";width:clamp(1.5rem,4vw,2.4rem);height:1px;background:var(--gold);flex:none}
.hero-copy h1{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(2rem,1.2rem + 3.2vw,3.5rem);
  line-height:1.1;letter-spacing:-.022em;margin:0
}
/* the one italic on the page, and the only place the destination is
   allowed to be the loudest word in the line */
.hero-copy h1 em{font-style:italic;color:var(--gold);font-weight:300}
.hero-sub{
  margin:clamp(.9rem,2vh,1.35rem) 0 0;max-width:30rem;color:rgba(255,255,255,.9);
  font-size:clamp(1rem,.95rem + .28vw,1.12rem);line-height:1.6
}

/* ---------- the three figures ----------
   Type and space only: no cards, no rules, no icons. The figure is a
   serif gold numeral and the label sits under it at body scale.

   FOR DEVELOPERS — all three are WDV's own published claims.
   "20+ years" follows from Established 2004. "300+ hand-picked luxury
   villas" and the 24-hour response promise are both carried on WDV's
   existing /wdv-portugal-landing.html; the 24-hour promise is also on
   the new homepage. The 300+ figure is portfolio-wide, not Jamaica. */
.hero-stats{
  list-style:none;display:grid;grid-template-columns:repeat(3,auto);
  justify-content:start;gap:clamp(1.25rem,3.5vw,3rem);
  margin:clamp(1.35rem,3vh,2.25rem) 0 0;padding:0
}
.hero-stats .n{
  display:block;font-family:var(--serif);font-weight:400;color:var(--gold);
  font-size:clamp(1.5rem,1.15rem + 1.35vw,2.1rem);line-height:1.05;
  letter-spacing:.005em;font-variant-numeric:lining-nums;
  text-shadow:0 1px 14px rgba(var(--scrim),.8)
}
.hero-stats .t{
  display:block;margin-top:.4rem;max-width:9.5rem;
  font-size:.82rem;line-height:1.45;color:rgba(255,255,255,.86)
}

/* ============================================================
   FIND MY VILLA PANEL
   Fine stationery, not a booking engine: a hairline, a near-square
   corner and just enough shadow to lift it off the photograph. Same
   panel the homepage uses for its enquiry form.
   ============================================================ */
.panel{
  background:var(--white);border:1px solid var(--line);border-radius:2px;
  box-shadow:var(--shadow-panel);
  padding:clamp(1.15rem,2.1vw,1.75rem)
}
.panel-h{
  font-family:var(--serif);font-weight:400;letter-spacing:-.012em;line-height:1.15;
  font-size:clamp(1.3rem,1.1rem + .75vw,1.7rem);margin:0
}
.panel-sub{
  margin:.5rem 0 clamp(.9rem,1.6vw,1.2rem);
  font-size:.88rem;line-height:1.55;color:var(--ink-soft)
}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem .7rem}
.form-grid .full{grid-column:1/-1}
.f label{
  display:block;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--brand-700);margin-bottom:.3rem;font-weight:600
}
.f label .opt{text-transform:none;letter-spacing:0;font-size:.9em;color:var(--ink-mute);font-weight:400}
.f input,.f select,.f textarea{
  width:100%;font:inherit;font-size:.93rem;color:var(--ink);background:var(--white);
  /* --grey, not a paler hairline: an input boundary needs 3:1 against the
     field to be seen, and the page's lighter lines do not reach it */
  border:1px solid var(--grey);border-radius:2px;padding:.5rem .7rem;min-height:44px;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease)
}
.f textarea{resize:vertical;min-height:3.6rem;line-height:1.5;padding-top:.55rem}
.f select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:2rem;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300697E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .6rem center;background-size:13px 13px
}
.f input:focus,.f select:focus,.f textarea:focus{
  border-color:var(--brand);outline:none;box-shadow:0 0 0 3px rgba(0,151,178,.16)
}
.f input[aria-invalid="true"],.f select[aria-invalid="true"],.f textarea[aria-invalid="true"]{border-color:var(--warn)}
.f .fmsg{display:block;margin-top:.25rem;font-size:.72rem;line-height:1.4;color:var(--warn)}
.f .fmsg:empty{display:none}

/* the villa an enquiry was started from, revealed by the card links */
.panel-villa{
  display:none;align-items:center;gap:.6rem;margin:0 0 .8rem;
  padding:.55rem .7rem;border:1px solid var(--brand-200);background:var(--brand-050);
  border-radius:2px;font-size:.82rem;line-height:1.45;color:var(--ink-soft)
}
.panel-villa[data-on="true"]{display:flex}
.panel-villa b{font-weight:600;color:var(--ink)}
.panel-villa svg{width:15px;height:15px;flex:none;color:var(--brand-700)}
.panel-villa button{
  margin-left:auto;background:none;border:0;cursor:pointer;font:inherit;font-size:.72rem;
  letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--brand-700);
  min-height:32px;padding:0 .15rem
}
.panel-villa button:hover{color:var(--brand)}

.form-err{margin:.7rem 0 0;font-size:.82rem;line-height:1.5;color:var(--warn)}
.form-err:empty{display:none}
.form-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-top:.9rem}
.form-actions .btn{min-height:48px;padding:.85rem 1.6rem;flex:1 1 12rem}
.form-note{
  display:flex;align-items:center;gap:.4rem;margin:.7rem 0 0;
  font-size:.74rem;line-height:1.4;color:var(--ink-soft)
}
.form-note svg{width:13px;height:13px;flex:none;color:var(--brand-700)}

.sent{
  margin:.9rem 0 0;padding:var(--s3);border:1px solid var(--brand-200);background:var(--brand-050);
  font-size:.92rem;line-height:1.6;color:var(--ink-soft);border-radius:2px;
  opacity:0;transform:translateY(6px);transition:opacity .45s var(--ease),transform .45s var(--ease)
}
.sent[data-on="true"]{opacity:1;transform:none}
.sent:not([data-on="true"]){display:none}
.sent b{display:block;font-family:var(--serif);font-weight:400;font-size:1.25rem;
  letter-spacing:-.01em;color:var(--ink);margin-bottom:.35rem}
.sent .proto{display:block;margin-top:.6rem;padding-top:.6rem;border-top:1px solid var(--brand-200);
  font-size:.82rem;color:var(--ink-mute)}

/* ---------- hero: tablet and phone ----------
   The columns stack, so the scrim has no side to favour and goes even.
   A dark scrim deepens the photograph rather than bleaching it, which
   is why the phone hero can keep the full-bleed image behind the copy
   instead of moving it into a band of its own — and Meta traffic is
   overwhelmingly mobile, so that image is the thing doing the selling. */
@media (max-width:64rem){
  .hero{padding-bottom:clamp(1.5rem,5vw,2.25rem)}
  /* Not an even wash. Measured against the composited frame, an even
     scrim light enough to show the photograph put the gold figures at
     2.57:1 over the horizon glare — they sit exactly where the frame is
     brightest. So the scrim is strong through the copy and releases
     below it, where the form panel is opaque anyway and the picture
     can come back. */
  .hero-veil{
    background:linear-gradient(to bottom,
      rgba(var(--scrim),.88) 0%, rgba(var(--scrim),.85) 30%,
      rgba(var(--scrim),.62) 52%, rgba(var(--scrim),.46) 100%)
  }
  /* A tall narrow box takes a vertical slice out of a 3:2 frame.
     Biased left, to the leaves and the open water of the cove. The
     tablet and phone scrim above was measured on this frame and clears
     AA unchanged: label 4.91+, supporting line 11.65+, figures 4.54+. */
  .hero-bg{object-position:36% 46%}
  .hero-in{grid-template-columns:1fr;row-gap:clamp(1.35rem,3.5vw,2rem);min-height:0}
  .hero-copy{max-width:36rem}
  .panel{max-width:34rem}
  /* matched to the density layer's 2.9rem so the H1 does not grow as
     the window narrows across the 1024/1025 boundary */
  .hero-copy h1{font-size:clamp(2rem,1.2rem + 3.2vw,2.9rem)}
}
@media (max-width:34rem){
  .form-grid{grid-template-columns:1fr}
  .form-actions .btn{flex:1 1 100%}
  /* three figures across a phone would be three narrow columns of
     wrapped label; two rows keeps each label on one or two lines */
  .hero-stats{grid-template-columns:repeat(2,auto);gap:1rem 1.75rem}
  .hero-stats .t{font-size:.78rem;max-width:8.5rem}
}

/* ============================================================
   TRUST BAND
   The plinth the hero stands on. A soft tint of the primary dissolving
   to white at its foot, short inset hairlines instead of full-height
   rules, and no boxes, icons or badges. The single warm mark on the
   page is the rating star.
   ============================================================ */
.creds{
  position:relative;
  padding-block:clamp(1.1rem,2.4vw,1.75rem);
  border-top:1px solid var(--brand-200);
  background:linear-gradient(180deg,var(--brand-050) 0%,var(--brand-050) 52%,var(--white) 100%)
}
.creds::before{
  content:"";position:absolute;inset:0 0 auto;height:3rem;pointer-events:none;
  background:linear-gradient(to bottom,rgba(var(--scrim),.055),rgba(var(--scrim),0))
}
.creds-in{position:relative;display:grid;grid-template-columns:repeat(4,1fr)}
.creds-item{
  position:relative;display:block;text-align:center;text-decoration:none;color:inherit;
  padding:clamp(.4rem,1.2vw,.8rem) clamp(.5rem,1.4vw,1.3rem)
}
.creds-item + .creds-item::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:1px;height:2.7rem;
  background:linear-gradient(to bottom,transparent,var(--brand-200) 24%,var(--brand-200) 76%,transparent)
}
/* Accent, in the deepened shade. The pure brand accent reaches only
   3.3:1 on this tinted band at 12px — under AA — where the deepened
   shade reaches 5.0:1. The band is where the hero's gold thread lands
   on a light ground, so the whole row carries it, not just the rating. */
.creds-k{
  display:block;font-size:clamp(.66rem,.6rem + .2vw,.77rem);
  letter-spacing:.19em;text-transform:uppercase;font-weight:600;
  color:var(--accent-700);line-height:1.45;font-variant-numeric:lining-nums;
  transition:color .3s var(--ease)
}
/* --ink-soft rather than --ink-mute: on the tinted band the muted grey
   falls under AA at this size */
.creds-n{display:block;margin-top:.35rem;font-size:.78rem;line-height:1.5;color:var(--ink-soft);letter-spacing:.01em}
.creds-item--tp .creds-k{display:inline-flex;align-items:center;justify-content:center;gap:.42rem}
.creds-star{width:.98em;height:.98em;flex:none;color:var(--accent)}
a.creds-item{border-radius:2px;transition:background .3s var(--ease)}
a.creds-item:hover{background:rgba(255,255,255,.62)}
a.creds-item:hover .creds-k{color:var(--brand-700)}
@media (max-width:52rem){
  .creds-in{grid-template-columns:1fr 1fr}
  .creds-item{padding-block:clamp(.75rem,2.2vw,1.05rem)}
  .creds-k{letter-spacing:.15em}
  .creds-item + .creds-item::before{display:none}
  .creds-item:nth-child(even)::before{display:block}
  .creds-item:nth-child(n+3)::after{
    content:"";position:absolute;top:0;left:14%;right:14%;height:1px;
    background:linear-gradient(to right,transparent,var(--brand-200) 22%,var(--brand-200) 78%,transparent)
  }
}
@media (max-width:24rem){.creds-n{font-size:.73rem}}

/* ============================================================
   HANDPICKED JAMAICA VILLAS
   Six equal cards. The homepage's property language — teal location
   line, hairline with a short teal lead-in, two quiet fact columns —
   at card scale. No feature bullets, no badges, no icon rows: the
   photograph carries the villa and the type carries the facts.
   ============================================================ */
.villas{padding-block:var(--sec);border-top:1px solid var(--line)}
.vhead{display:grid;grid-template-columns:1fr auto;gap:var(--s3) var(--s5);align-items:end;margin-bottom:clamp(1.75rem,3.4vw,2.75rem)}
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,2.8vw,2.5rem) clamp(1.25rem,2.4vw,2.25rem)}

/* Equal by construction: every card is a grid whose rows are sized by
   the tallest card in the row, and the title reserves two lines. */
.vcard{display:grid;grid-template-rows:auto auto auto auto;min-width:0}
.vfig{margin:0;overflow:hidden;background:var(--paper)}
.vfig img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform 1.1s var(--ease)}
.vcard:hover .vfig img{transform:scale(1.03)}
.vloc{
  font-size:.65rem;letter-spacing:.19em;text-transform:uppercase;font-weight:600;
  color:var(--brand-700);margin:clamp(.9rem,1.7vw,1.15rem) 0 .5rem
}
.vcard h3{
  font-family:var(--serif);font-weight:400;line-height:1.18;letter-spacing:-.012em;
  font-size:clamp(1.2rem,1.05rem + .55vw,1.45rem);margin:0;
  /* two lines reserved so the rule, the facts and the links align across
     the row whatever the villa is called */
  min-height:2.36em;display:flex;align-items:flex-start
}
.vrule{position:relative;height:1px;background:var(--line);margin:.85rem 0;border:0}
.vrule::before{content:"";position:absolute;left:0;top:0;width:1.75rem;height:1px;background:var(--brand)}
.vfacts{display:grid;grid-template-columns:auto 1fr;gap:1.25rem;align-items:start}
.vfacts>div{position:relative}
.vfacts>div+div{padding-left:1.25rem}
.vfacts>div+div::before{content:"";position:absolute;left:0;top:.15rem;bottom:.15rem;width:1px;background:var(--line)}
.vfacts .k{display:block;font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--ink-mute);margin-bottom:.3rem}
.vfacts .v{display:block;font-size:.95rem;color:var(--ink);font-variant-numeric:lining-nums;line-height:1.35}
.vacts{display:flex;align-items:center;gap:clamp(.9rem,2vw,1.5rem);margin-top:.9rem;flex-wrap:wrap}
.vacts .lnk{min-height:40px}
.venq{
  background:none;border:0;padding:.3rem 0;cursor:pointer;font:inherit;min-height:40px;
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  color:var(--ink-mute);border-bottom:1px solid transparent;
  transition:color .3s var(--ease),border-color .3s var(--ease)
}
.venq:hover{color:var(--brand-700);border-bottom-color:var(--brand-200)}
.vfoot{margin:clamp(1.5rem,2.8vw,2.25rem) 0 0;font-size:.8rem;color:var(--ink-mute);line-height:1.6}

.vfacts .rateV{
  display: inline-block !important;
  padding-right:1em !important; 
}
.vfacts .rateGbp{
  font-size:.85rem !important;
  color:var(--grey) !important;
}

@media (max-width:64rem){
  .vgrid{grid-template-columns:1fr 1fr}
  .vcard:hover .vfig img{transform:none}
}
@media (max-width:48rem){
  .vhead{grid-template-columns:1fr}
}
@media (max-width:38rem){
  .vgrid{grid-template-columns:1fr;gap:clamp(1.75rem,5vw,2.25rem)}
  .vcard h3{min-height:0}
}

/* ============================================================
   PERSONAL MATCHING — why use Find My Villa
   An editorial pause after the grid, not a second feature section.
   A narrow left-aligned column, three numbered statements separated by
   hairlines, one action. Nothing boxed.
   ============================================================ */
.match{padding-block:var(--sec);background:var(--paper);border-block:1px solid var(--line)}
/* Text left, one photograph right. The column is still narrow — the
   section is an editorial pause, and the picture is there to stop the
   right-hand half being empty at laptop widths, not to add information. */
.match-in{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,24rem);
  gap:clamp(1.75rem,4.5vw,4.5rem);align-items:center
}
.match-copy{max-width:36rem}
.match-fig{margin:0;overflow:hidden;background:var(--white)}
.match-fig img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.match h2{
  font-family:var(--serif);font-weight:300;letter-spacing:-.022em;line-height:1.1;
  font-size:clamp(1.85rem,1.3rem + 2.1vw,2.9rem);margin:0;max-width:20ch
}
/* No numbers here, on purpose. How It Works below is the numbered
   sequence; this section is the argument for using Find My Villa at all,
   and numbering it a second time made the two read as the same list
   twice. A short teal lead-in rule carries each point instead. */
.match-list{list-style:none;margin:clamp(1.75rem,3.4vw,2.75rem) 0 0;padding:0}
.match-list li{
  position:relative;
  border-top:1px solid var(--line-2);padding:clamp(1rem,2vw,1.4rem) 0
}
.match-list li::before{
  content:"";position:absolute;left:0;top:-1px;width:1.75rem;height:1px;background:var(--brand)
}
.match-list h3{
  font-family:var(--serif);font-weight:400;letter-spacing:-.012em;line-height:1.25;
  font-size:clamp(1.15rem,1.02rem + .5vw,1.35rem);margin:0
}
.match-list p{margin:.35rem 0 0;color:var(--ink-soft);font-size:.98rem;line-height:1.6}
.match .btn{margin-top:clamp(1.5rem,2.8vw,2.25rem)}
/* stacked, the photograph leads and the CTA stays the last thing in the
   section rather than being stranded above a picture */
@media (max-width:64rem){
  .match-in{grid-template-columns:1fr;gap:clamp(1.5rem,4vw,2.25rem)}
  .match-copy{max-width:none}
  .match-fig{order:-1}
  .match-fig img{aspect-ratio:16/9}
}

/* ============================================================
   WHY CHOOSE WDV
   A large heading area on one side, four numbered reasons on the
   other, one supporting photograph. Thin separators and type — not
   four cards.
   ============================================================ */
.why{padding-block:var(--sec)}
.why-in{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1fr);gap:clamp(2rem,4.5vw,4.5rem);align-items:start}
.why-lead h2{
  font-family:var(--serif);font-weight:300;letter-spacing:-.022em;line-height:1.1;
  font-size:clamp(1.85rem,1.3rem + 2.1vw,2.85rem);margin:0;max-width:18ch
}
.why-lead figure{margin:clamp(1.5rem,3vw,2.25rem) 0 0;overflow:hidden;background:var(--paper)}
.why-lead img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.why-list{list-style:none;margin:0;padding:0;counter-reset:w}
.why-list li{
  counter-increment:w;border-top:1px solid var(--line);
  padding:clamp(1rem,2vw,1.45rem) 0;
  display:grid;grid-template-columns:2.75rem 1fr;gap:0 clamp(.5rem,1.4vw,1rem)
}
.why-list li:last-child{border-bottom:1px solid var(--line)}
.why-list li::before{
  content:counter(w,decimal-leading-zero);
  font-size:.68rem;letter-spacing:.16em;font-weight:600;color:var(--brand);
  font-variant-numeric:lining-nums;line-height:2.1
}
.why-list h3{
  font-family:var(--serif);font-weight:400;letter-spacing:-.012em;line-height:1.2;
  font-size:clamp(1.15rem,1.02rem + .55vw,1.4rem);margin:0
}
.why-list p{margin:.3rem 0 0;color:var(--ink-soft);font-size:.96rem;line-height:1.6}
@media (max-width:64rem){
  .why-in{grid-template-columns:1fr;gap:clamp(1.75rem,4vw,2.5rem)}
  .why-lead h2{max-width:22ch}
  .why-lead figure{display:none}   /* the photograph is a desktop grace note */
}

/* ============================================================
   HOW IT WORKS — three steps, typography only, deliberately shallow
   ============================================================ */
.how{padding-block:var(--sec);background:var(--brand-050);border-block:1px solid var(--brand-100)}
.how-head{display:grid;grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:var(--s3) clamp(2rem,4.5vw,4.5rem);align-items:end}
.how-head h2{
  font-family:var(--serif);font-weight:300;letter-spacing:-.022em;line-height:1.1;
  font-size:clamp(1.7rem,1.25rem + 1.7vw,2.4rem);margin:0
}
.how-steps{
  list-style:none;margin:clamp(1.5rem,3vw,2.25rem) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.1rem,2.6vw,2.75rem)
}
.how-steps li{border-top:1px solid var(--brand-200);padding-top:clamp(.85rem,1.6vw,1.2rem)}
.how-steps .n{display:block;font-family:var(--serif);font-size:1rem;letter-spacing:.05em;color:var(--brand-700);margin-bottom:.5rem}
.how-steps h3{
  font-family:var(--serif);font-weight:400;letter-spacing:-.012em;line-height:1.22;
  font-size:clamp(1.1rem,1rem + .45vw,1.3rem);margin:0
}
.how-steps p{margin:.3rem 0 0;color:var(--ink-soft);font-size:.94rem;line-height:1.6}
@media (max-width:60rem){
  .how-head{grid-template-columns:1fr}
  .how-steps{grid-template-columns:1fr;gap:1.1rem}
}

/* ============================================================
   TESTIMONIAL — one voice, editorial scale, no carousel
   ============================================================ */
.prf{padding-block:var(--sec);background:#FAF7F1;--prf-gold:#BC8C4E}
.prf-in{display:grid;grid-template-columns:minmax(0,27%) minmax(0,1fr);gap:var(--s3) clamp(1.75rem,3.4vw,3.5rem);align-items:start}
.prf-rule{display:block;width:2.25rem;height:1px;background:var(--line-2);margin-top:.35rem}
.prf-mark{
  display:block;font-family:var(--serif);font-weight:400;line-height:.72;
  font-size:clamp(2.5rem,4.2vw,3.9rem);color:var(--prf-gold);margin-bottom:clamp(.5rem,1.1vw,1rem)
}
.prf blockquote{margin:0}
.prf blockquote p{
  margin:0;font-family:var(--serif);font-weight:300;letter-spacing:-.014em;
  font-size:clamp(1.35rem,1rem + 1.35vw,2.15rem);line-height:1.32;color:var(--ink)
}
.prf figcaption{margin-top:clamp(1.25rem,2.4vw,1.9rem);display:flex;flex-direction:column;gap:.35rem}
.prf figcaption::before{content:"";display:block;width:2.25rem;height:1px;background:var(--line-2);margin-bottom:clamp(.8rem,1.5vw,1.15rem)}
.prf-who{font-style:normal;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:var(--ink)}
.prf-where{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;font-weight:600;color:var(--brand-700);line-height:1.7}
.prf-where a{color:inherit;text-decoration:none;border-bottom:1px solid var(--brand-200)}
.prf-where a:hover{border-bottom-color:var(--brand);color:var(--brand)}
@media (max-width:64rem){
  .prf-in{grid-template-columns:1fr}
  .prf-rule{display:none}
}

/* ============================================================
   JAMAICA INSPIRATION — a restrained image strip, not a guide
   ============================================================ */
.insp{padding-block:var(--sec);border-top:1px solid var(--line)}
.insp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.75rem,1.6vw,1.35rem);margin-top:clamp(1.25rem,2.4vw,1.85rem)}
.insp figure{overflow:hidden;background:var(--paper)}
.insp img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;transition:transform 1.1s var(--ease)}
.insp figure:hover img{transform:scale(1.035)}
.insp figcaption{
  margin-top:.7rem;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;
  font-weight:600;color:var(--ink-mute);line-height:1.5
}
@media (max-width:52rem){
  .insp-grid{grid-template-columns:1fr 1fr}
  .insp img{aspect-ratio:4/3}
  .insp figure:hover img{transform:none}
}

/* ============================================================
   FINAL CTA — one photograph, one obvious action
   ============================================================ */
.fin{position:relative;isolation:isolate;padding-block:clamp(3.5rem,8vw,6.5rem);background:var(--brand-800);overflow:hidden}
.fin-bg{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;object-position:50% 58%}
.fin-scrim{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    /* Measured for THIS photograph: About Time at night, a dark frame
       with its lit rooms to the right of the copy. The Algarve stops
       clear AA unchanged at 1100, 1440 and 1920: label 6.24 to 6.31,
       heading 3.95 to 5.99 (large text), supporting line 6.86 to 8.72.
       The right-hand third stays open. */
    linear-gradient(to right,rgba(var(--scrim),.88) 0%,rgba(var(--scrim),.78) 42%,rgba(var(--scrim),.40) 72%,rgba(var(--scrim),.22) 100%),
    linear-gradient(to top,rgba(var(--scrim),.5) 0%,rgba(var(--scrim),0) 45%)
}
/* The measure is capped on the children, not on the container. This
   element is also a .wrap, and a max-width here beat .wrap's own 78rem
   and re-centred the copy inside a narrower box — which put the closing
   headline 300px in from where every other section on the page starts,
   and sat it over the thin end of a scrim weighted to the left. Capping
   the children keeps the shared grid and still holds the measure. */
.fin-in{color:var(--white)}
.fin-in > *{max-width:40rem}
/* the hero's gold, not the light teal: the accent thread runs through
   every section label on the page, and this is the last one */
.fin .eyebrow{
  color:var(--gold);width:max-content;max-width:100%;
  text-shadow:0 1px 14px rgba(var(--scrim),.85)
}
.fin h2{
  font-family:var(--serif);font-weight:300;letter-spacing:-.022em;line-height:1.08;
  font-size:clamp(1.9rem,1.3rem + 2.4vw,3.1rem);margin:0;
  text-shadow:0 1px 30px rgba(var(--scrim),.4)
}
.fin p{margin:clamp(.9rem,1.8vw,1.3rem) 0 0;color:rgba(255,255,255,.9);max-width:30rem;line-height:1.65}
.fin-acts{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:clamp(1.5rem,3vw,2.25rem)}

/* Same reasoning as the hero, and the same breakpoint. As the window
   narrows the copy keeps its 40rem measure but the frame shrinks around
   it, so the text runs into the open right-hand end of a left-weighted
   scrim. Measured at 390 the supporting line fell to 2.39:1 and the
   heading to 3.05; at 768 the line was still 4.08. Below the desktop
   composition the scrim goes even, and the lightest even pair that
   clears AA is .86/.80 — label 4.79, heading 11.05, line 9.75. */
@media (max-width:64rem){
  .fin-scrim{
    background:
      /* .86/.80 put the label at exactly 4.50:1 at 768 on this frame;
         raised a step for margin: 4.70 at 768, 6.57 at 390. */
      linear-gradient(to right,rgba(var(--scrim),.87) 0%,rgba(var(--scrim),.81) 100%),
      linear-gradient(to top,rgba(var(--scrim),.4) 0%,rgba(var(--scrim),0) 45%)
  }
}
@media (max-width:34rem){
  .fin-acts .btn{flex:1 1 100%}
}

/* ============================================================
   FOOTER — minimal, paid traffic. No mega-footer.

   The homepage's closing device: full-bleed photography under a deep
   wash, so the page ends at dusk rather than on a second bright panel.
   The gold thread that opened the hero closes it here, on the EST. 2004
   rule and the contact icons.

   Content is unchanged from the paid-traffic set — mark, Established
   2004, telephone, email, Privacy, Terms, copyright. Only the treatment
   is new. Terms and Privacy move to the base row, which is where the
   reference puts them.
   ============================================================ */
.foot{
  position:relative;isolation:isolate;overflow:hidden;
  background:var(--brand-800);color:rgba(255,255,255,.82);
  padding-block:clamp(2.5rem,5vw,4rem) clamp(1rem,2vw,1.4rem)
}
.foot-bg{
  position:absolute;inset:0;width:100%;height:100%;z-index:-2;
  object-fit:cover;object-position:50% 58%
}
/* Heavier than the hero: this is the one place the page is allowed to
   go properly dark, and every line on it is small. */
.foot-wash{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(100deg,
      rgba(var(--scrim),.96) 0%, rgba(var(--scrim),.93) 42%,
      rgba(var(--scrim),.90) 74%, rgba(var(--scrim),.94) 100%),
    linear-gradient(to bottom,
      rgba(var(--scrim),.55) 0%, rgba(var(--scrim),.20) 42%,
      rgba(var(--scrim),.62) 100%)
}
.foot-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(1.75rem,4vw,4rem);align-items:start}
.foot .brand-still{width:clamp(11rem,19vw,14.5rem);max-width:100%}

/* the "Established 2004" line, as a rule rather than a sentence */
.foot-est{
  display:flex;align-items:center;gap:.85rem;
  max-width:clamp(11rem,19vw,14.5rem);
  margin:clamp(.9rem,1.9vw,1.35rem) 0 0;
  font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;
  font-weight:600;color:var(--gold)
}
.foot-est::before,.foot-est::after{
  content:"";height:1px;flex:1 1 auto;min-width:1rem;
  background:linear-gradient(to right,rgba(206,154,85,0),rgba(206,154,85,.55),rgba(206,154,85,0))
}
.foot-say{
  margin:clamp(1rem,2vw,1.5rem) 0 0;max-width:28ch;
  font-family:var(--serif);font-weight:300;text-wrap:balance;
  font-size:clamp(1.05rem,.95rem + .45vw,1.3rem);line-height:1.45;
  color:rgba(255,255,255,.92)
}

.foot-contact{
  display:flex;flex-direction:column;
  padding-left:clamp(1.5rem,3.5vw,3.25rem);
  border-left:1px solid rgba(255,255,255,.2)
}
.foot-contact a{
  display:inline-flex;align-items:center;gap:.75rem;min-height:44px;
  font-size:.93rem;color:rgba(255,255,255,.9);text-decoration:none;
  transition:color .25s var(--ease)
}
.foot-contact a:hover{color:var(--white)}
.foot-contact svg{width:15px;height:15px;flex:none;color:var(--gold)}

.foot-base{
  margin-top:clamp(1.75rem,3.5vw,2.75rem);padding-top:var(--s3);
  border-top:1px solid rgba(255,255,255,.2);
  display:flex;justify-content:space-between;align-items:center;
  gap:var(--s2) var(--s3);flex-wrap:wrap;
  font-size:.82rem;color:rgba(255,255,255,.7)
}
.foot-legal{display:flex;align-items:center;gap:.8rem}
.foot-legal a{color:rgba(255,255,255,.82);text-decoration:none;transition:color .25s var(--ease)}
.foot-legal a:hover{color:var(--white)}
.foot-legal .sep{color:var(--gold)}

@media (max-width:48rem){
  .foot-top{grid-template-columns:1fr}
  .foot-contact{
    padding-left:0;border-left:0;
    border-top:1px solid rgba(255,255,255,.2);padding-top:var(--s2)
  }
  .foot-base{justify-content:flex-start}
}

/* ============================================================
   SCROLL REVEAL — one gesture, small, and off by default
   ============================================================ */
.rv{opacity:0;transform:translateY(12px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rv.in{opacity:1;transform:none}
html:not(.js) .rv{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  .vfig img,.insp img,.btn svg,.lnk svg{transition:none}
  .sent{transition:opacity .01ms}
}

/* ============================================================
   LAPTOP / COMPACT DESKTOP — density layer

   The same measurement the homepage records: between roughly 1300 and
   1920 every clamp has already reached its maximum, so a 1366 laptop
   renders 1920-sized type and padding with 40% less room. This layer
   re-opens the scale by reducing absolute sizes only. It changes no
   grid, no display and no order — the layout breakpoints above own
   those — and sits after them purely to win on size properties.

   Lower bound is 64.0625rem, not the homepage's 72.0625rem. The
   homepage stops there because that is where its desktop header stops
   existing; this page has no navigation to lose, so its two-column
   hero survives down to 1024. Measured at 1140px without this layer the
   H1 rendered at 53.6px against 45.6px at 1153 — a narrower window
   getting larger type, which is the exact fault the layer exists to
   correct. It therefore starts where the hero stacks, not where a
   navigation bar would have.

   The test that matters: at 1366x768 the header, H1, supporting line,
   trust cues, the whole form and its button sit inside the first
   viewport.
   ============================================================ */
@media (min-width:64.0625rem) and (max-width:96rem){
  :root{
    --sec:3.25rem;
    --hdr-h:3.75rem;
    --gutter:2.5rem;
    --s5:3.25rem;
  }
  .hero{padding-top:calc(var(--hdr-h) + 1.1rem);padding-bottom:1.6rem}
  .hero-in{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,25rem);column-gap:2.75rem}
  .hero-copy h1{font-size:2.9rem}
  .hero-sub{font-size:1.02rem;margin-top:1rem}
  .hero-copy .eyebrow{margin-bottom:.95rem}
  .hero-stats{margin-top:1.5rem;gap:2.25rem}
  .hero-stats .n{font-size:1.95rem}

  .panel{padding:1.35rem}
  .panel-h{font-size:1.45rem}
  .panel-sub{font-size:.85rem;margin-bottom:.95rem}
  .form-grid{gap:.6rem}
  .f input,.f select,.f textarea{min-height:42px;padding:.45rem .65rem;font-size:.9rem}
  .f textarea{min-height:3.2rem}
  .form-actions{margin-top:.8rem}
  .form-actions .btn{min-height:46px}

  .shead h2,.match h2,.why-lead h2{font-size:2.5rem}
  .prf blockquote p{font-size:1.95rem}
  .fin h2{font-size:2.85rem}
  .btn{min-height:46px;padding:.85rem 1.75rem}
  .lnk{min-height:40px}
  .creds{padding-block:1.35rem}
}
/* ============================================================
   TOUCH TARGETS — pointer:coarse only

   The 40px links are comfortable with a mouse and are what the WDV
   homepage's own density layer uses. On a touch screen they go to 44px
   instead of being made permanently taller, so the desktop rhythm is
   not paid for by a device that does not need it.
   ============================================================ */
@media (pointer:coarse){
  /* the density layer tightens the panel fields to 42px for a mouse;
     a finger gets the 44 back */
  .f input,.f select,.f textarea{min-height:44px}
  .vacts .lnk,.venq{min-height:44px}
  .foot-legal a{min-height:44px}
  .prf-where a{display:inline-flex;align-items:center;min-height:44px}
}
/* and by width as well, for the touch tablets and hybrids that still
   report a fine pointer — below the desktop composition there is room
   for the larger target either way */
@media (max-width:64rem){
  .vacts .lnk,.venq,.foot-legal a{min-height:44px}
  .prf-where a{display:inline-flex;align-items:center;min-height:44px}
}
