:root{--cream:#f3ebdc;--brown:#533d37;--coral:#e27661;--muted:#7c6d60;--gutter:clamp(20px,3.333vw,48px);--round:clamp(10px,1.35vw,20px)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;overflow-x:clip;min-height:100dvh;display:flex;flex-direction:column;color:var(--brown);background:var(--cream);font-family:'Montserrat',Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{color:inherit;font:inherit;cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
button{border:0}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--brown);outline-offset:5px}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
@font-face{font-family:'Super Ocean';src:url('../fonts/super-ocean.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
h1,h2,h3{font-family:'Super Ocean','Arial Rounded MT Bold',cursive;font-weight:400;font-synthesis:none}
[hidden]{display:none!important}
.skip{position:absolute;z-index:20;top:-80px;left:20px;padding:12px 20px;background:var(--cream)}
.skip:focus{top:8px}
.utility-bar{height:clamp(44px,5.07vw,73px);background:var(--brown);color:var(--cream);border-radius:0 0 var(--round) var(--round)}
.utility-inner{height:100%;max-width:1440px;margin:auto;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:clamp(10px,1.05vw,15px)}
.utility-inner>span{letter-spacing:.07em}
.utility-inner nav{display:flex;align-items:center;gap:8px}
.utility-actions{flex-shrink:0}
.utility-actions .icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:transparent;border-radius:6px}
.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.utility-actions .icon-button:hover{background:#f3ebdc18}
.utility-inner button{padding:0;background:none}
.utility-inner a:focus-visible,.utility-inner button:focus-visible,.site-footer :focus-visible{outline-color:var(--cream)}
.utility-inner a:hover,.utility-inner button:hover{text-decoration:underline;text-underline-offset:5px}
.site-header{max-width:1440px;margin:auto;padding:0 var(--gutter)}
.desktop-nav{width:min(80vw,1152px);margin-inline:auto;min-height:clamp(150px,20vw,288px);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;--nav-gap:min(8.4vw,121px);column-gap:var(--nav-gap);padding-inline:0;text-align:center;font-size:clamp(14px,2.13vw,30px);font-weight:600;text-transform:uppercase}
.desktop-nav .brand{width:clamp(150px,19.45vw,280px);flex-shrink:0}
/* Logo sits in the exact centre column. Every gap (link to link, link to logo) uses the same --nav-gap, so the spacing reads identically on both sides. */
.nav-group{display:flex;align-items:center;gap:var(--nav-gap)}
.nav-group--left{justify-content:flex-end}
.nav-group--right{justify-content:flex-start}
.desktop-nav a:not(.brand),.desktop-nav button{white-space:nowrap}
.desktop-nav button{padding:0;background:none;text-transform:inherit;font-weight:inherit}
.desktop-nav a:not(.brand):hover,.desktop-nav button:hover{color:var(--coral)}
.brand{display:block;justify-self:center;width:min(100%,280px)}
/* Display the supplied logo in its original artwork, using the reference as a sprite. */
.brand-crop{display:block;position:relative;width:100%;aspect-ratio:280/210;overflow:hidden}
.brand-crop img{position:absolute;width:514.285714%;height:auto;max-width:none;left:-201.428571%;top:-45.714286%}
.mobile-header,.mobile-nav{display:none}
.page-shell{max-width:1440px;padding:0 var(--gutter);margin:0 auto;flex:1 0 auto}
.photo-panel{position:relative;isolation:isolate;overflow:hidden;border-radius:var(--round);color:var(--cream)}
.panel-photo{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}
.photo-panel::after,.photo-frame::after{content:'';position:absolute;inset:0;background:var(--brown);opacity:.2;pointer-events:none}
.photo-panel::after{z-index:-1}
.photo-frame{position:relative;overflow:hidden;border-radius:var(--round)}
.photo-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-frame::after{z-index:1}
/* Banner height = the old 1.9:1 ratio + 10px (ratio-box via ::before, since aspect-ratio can't take a pixel offset). */
.hero{aspect-ratio:auto}
.hero::before{content:'';display:block;padding-top:calc(52.6316% + 10px)}
.hero::after{opacity:.3}
/* Framing: photo at 136.8% of its natural size, bottom edge flush with the banner, left edge 7.4% outside it (the reference framing at 2.4%, then moved 5% further left). The 107.6% width includes 40px of extra water on the right, so the right edge still reaches the banner (100.2%). */
.hero .panel-photo{inset:auto;left:-7.4%;bottom:0;width:107.6%;height:auto;max-width:none}
.hero-copy{position:absolute;top:22%;right:calc(4% - 3px);width:46%;text-align:center}
.hero h1{font-size:clamp(37.8px,7.2vw,103.5px);line-height:1.06;white-space:nowrap}
.hero p{margin-top:6px;font-size:clamp(19px,3.2vw,46px);font-weight:500;line-height:1.05;letter-spacing:-.025em}
.hero-hit-area{position:absolute;inset:0}
/* Sits above the full-banner link so it takes focus and hover itself; styled like the collection buttons (coral, cream text, 8px radius). */
.hero-button{position:relative;z-index:1;gap:.25em;margin-top:clamp(14px,2vw,28px);padding:clamp(10px,1.2vw,16px) calc(clamp(28px,3.4vw,52px) - .7em);border-radius:8px;font-size:clamp(13px,1.5vw,21px);font-weight:500}
/* The arrow (1.15em + .25em gap) is paid for by trimming .7em off each side, so the button stays the size it was without it. */
.hero-button svg{flex:none;width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.95vw,28px);margin-top:clamp(26px,4vw,57.5px)}
.collection-dots{display:none} /* phone carousel dots; shown in the 640px-and-under block */
.category{box-sizing:content-box;aspect-ratio:.91;padding-block:5px 15px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
/* Collection cards: 10px taller (extra bottom padding, so the copy keeps its old centre), brown overlay 20% -> 35%, title block lowered 20px. */
.category::after{opacity:.35}
.category-copy{position:relative;top:20px}
.category .panel-photo{object-position:center 85%}
#wetsuits .panel-photo{object-position:center 73%}
#swimwear .panel-photo{object-position:center calc(100% + 15px)}
#jewelry .panel-photo{inset:auto;left:-47.5%;bottom:0;width:195%;height:auto;max-width:none;filter:brightness(.85)}
.category-copy p{font-size:clamp(14px,2.05vw,29px);font-weight:600;text-transform:uppercase;line-height:1.2}
.category-copy h2{font-family:'Montserrat',sans-serif;font-size:clamp(23px,3.15vw,45px);font-weight:600;line-height:1.1;text-transform:uppercase}
.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:clamp(7px,1.4vw,20px);background:var(--coral);color:var(--cream);text-align:center;transition:background .18s ease,transform .18s ease}
.button:not(:disabled):hover{background:#d9644d;transform:translateY(-2px)}
.category-button{position:absolute;bottom:calc((100% - 10px)*.1 + 10px);min-width:41%;padding:clamp(8px,1vw,14px) 16px;border-radius:8px;font-size:clamp(11px,1.3vw,18px);font-weight:500}
.category-button:disabled{cursor:default;opacity:1}
/* The gap above the collection cards and the gap below them (this margin) are the same value on purpose; change both together. */
.salt-ribbon{margin-top:clamp(26px,4vw,57.5px);height:clamp(46.7px,6.33vw,90.7px);display:flex;align-items:center;overflow:hidden;width:100vw;margin-left:calc(50% - 50vw);background:var(--brown);color:#dacfc0}
/* Full-bleed bar (square corners) with a seamless marquee: two identical sets, the track slides left by exactly one set. */
.ribbon-track{flex:none;display:flex;width:max-content;white-space:nowrap;line-height:1.2;font-size:clamp(11px,1.9vw,27.5px);font-weight:600;animation:ribbon-scroll 55s linear infinite}
.ribbon-set{flex:none;display:flex;align-items:center;gap:2.2em;padding-right:2.2em}
@keyframes ribbon-scroll{to{transform:translateX(-50%)}}
.story{display:grid;grid-template-columns:1.14fr 1fr;gap:clamp(34px,5vw,72px);align-items:center;margin:clamp(56px,7.6vw,110px) 0 0}
/* Space between the scrolling banner and the ocean story photo matches the space above the banner (same value). */
.story-ocean{margin-top:clamp(26px,4vw,57.5px)}
.story-photo{width:100%;height:auto;aspect-ratio:4/5}
.story-ocean .story-photo>img{object-position:center bottom}
/* Ocean and community stories share this styling: narrower, taller text column (desktop and tablet) and a button that hugs its label instead of filling the column. */
@media(min-width:641px){.story-ocean .story-copy,.story-community .story-copy{max-width:93.6%}}
.story-ocean .story-copy h2,.story-community .story-copy h2{text-wrap:balance}
.story-ocean .story-button,.story-community .story-button{width:auto;padding:12px clamp(22px,2.4vw,34px);font-size:clamp(11px,1.9vw,27.5px)} /* label size = the scrolling banner's text size */
.story-copy h2{font-size:clamp(26px,3.6vw,52px);line-height:1.02;letter-spacing:-.035em}
.story-copy>p{font-size:clamp(16px,2.12vw,30.5px);line-height:1.12;color:var(--muted);margin-top:clamp(24px,3.4vw,49px);letter-spacing:-.025em}
.story-button{width:100%;min-height:clamp(48px,5.6vw,80px);font-size:clamp(17px,2.55vw,36px);margin-top:clamp(26px,3vw,43px);padding:12px 18px}
.story-community{grid-template-columns:1fr 1.14fr;margin-top:clamp(47.5px,5.4vw,77.76px)} /* 46% less than the old clamp(88px,10vw,144px) */
.closing-section{margin-top:clamp(26px,4vw,57.5px)} /* same gap as hero to cards and cards to banner */
.dive-banner{aspect-ratio:1.84;border-bottom-left-radius:0;border-bottom-right-radius:0}
.dive-banner .panel-photo{inset:auto;left:0;top:-66.13%;width:120.09%;height:auto;max-width:none} /* framing matched to the reference design */
.dive-banner::after{opacity:.35} /* same brown overlay strength as the collection cards */
.dive-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 20px .5%} /* text block sits lower, as in the reference */
.dive-copy>*{transform:translateY(10px)}
.dive-copy h2{font-size:clamp(67px,11.62vw,167px);line-height:1.05} /* title back at the reference size */
.dive-copy p{font-size:clamp(16.2px,2.7vw,38.7px);font-weight:600;line-height:1.05;letter-spacing:-.015em}
.site-footer{position:relative;margin-top:-5px;border-radius:var(--round);background:var(--brown);color:#d8caba}
.footer-inner{width:100%;max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:40px;min-height:350px;padding:24px calc(var(--gutter) + clamp(28px,7vw,100px)) 38px}
.footer-brand{flex:0 0 34%}
.footer-brand .brand{width:clamp(165px,17vw,244px);justify-self:start;margin:0 0 14px}
.brand-crop--footer{aspect-ratio:233/178}
.brand-crop--footer img{width:618.025751%;left:-65.236052%;top:-2564.044944%}
address{font-style:normal;font-size:clamp(14px,1.78vw,25px);line-height:1.16}
address a{display:inline-block;margin-top:14px}
.footer-links{display:flex;gap:clamp(34px,5vw,72px);font-size:clamp(14px,1.4vw,20px);line-height:1.5}
.footer-links>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer-links h2{font-family:'Montserrat',sans-serif;font-size:inherit;font-weight:700;color:var(--cream);margin-bottom:6px}
.footer-links button{padding:0;background:none;text-align:left}
.site-footer a:hover,.footer-links button:hover{color:var(--cream);text-decoration:underline;text-underline-offset:4px}
/* Collection and editorial previews keep every navigation destination usable. */
body:has(dialog[open]){overflow:hidden}
dialog{border:0;border-radius:16px;padding:48px;background:var(--cream);color:var(--brown);width:min(900px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 100px #25160f44}
dialog::backdrop{background:#2d211c99;backdrop-filter:blur(4px)}
.dialog-close{position:absolute;right:16px;top:12px;width:38px;height:38px;font:32px/1 Arial,sans-serif;background:var(--cream);border-radius:50%;z-index:2}
dialog h2{font-size:clamp(32px,4vw,48px);line-height:1.05;margin-bottom:22px}
dialog p{font-size:16px;line-height:1.65;margin:16px 0;color:var(--muted)}
dialog .button{font-size:16px;padding:14px 20px;border-radius:9px;margin-top:14px}
.collection-dialog[open]{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:34px}
.collection-dialog>.photo-frame{border-radius:10px;width:100%;aspect-ratio:3/4}
dialog .eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px;color:var(--brown)}
.text-dialog{max-width:740px}
.journal-entry{padding:20px 0;border-top:1px solid #563e3633}
.journal-entry h3{font-size:25px}
.journal-entry a,dialog details a{text-decoration:underline;text-underline-offset:4px}
details{padding:18px 0;border-top:1px solid #563e3633}
summary{font-size:17px;font-weight:600;cursor:pointer}
.search-form label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}
.search-form input{width:100%;border:1px solid #533d3780;border-radius:8px;background:#fffaf1;color:var(--brown);font:inherit;font-size:16px;padding:15px 16px;outline-offset:3px}
.search-form input:focus-visible{outline:3px solid var(--coral)}
dialog .search-status{font-size:13px;margin:20px 0 8px}
.search-results{display:grid}
.search-result{display:block;width:100%;padding:15px 0;text-align:left;background:none;border-top:1px solid #533d3726}
.search-result strong,.search-result span{display:block}
.search-result strong{font-size:16px;font-weight:600}
.search-result span{font-size:13px;line-height:1.45;color:var(--muted);margin-top:5px}
.search-result:hover strong{color:#a4422f}
/* The shop follows the product-led wireframe with a quiet, four-column grid. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.shop-page{padding-inline:clamp(20px,4.444vw,64px);padding-bottom:clamp(72px,8.333vw,120px)}
@media(min-width:641px){
  .site-header{width:100%}
  .desktop-nav{padding-inline:0}
}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(28px,3.056vw,44px) clamp(16px,1.667vw,24px)}
.product-card{min-width:0}
.product-card__image{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:8px 8px 0 0;background:#e7dfd0}
.product-card__details{padding:12px 12px 0}
.product-card__name{font-family:'Montserrat',Arial,sans-serif;font-size:13px;line-height:1.5;font-weight:500;color:var(--muted)}
.product-card__price{font-size:13px;line-height:1.5;color:var(--muted);margin-top:2px}
.shop-page+.site-footer{margin-top:0}
/* Blog index: three thumbnails with their titles underneath (grey frames until photos are supplied; swap the div for an <img class="blog-card__image">). */
.blog-page{padding-top:clamp(20px,3vw,43px);padding-bottom:clamp(52px,5.333vw,77px)}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.083vw,30px)}
.blog-card{min-width:0}
.blog-card__image{display:block;width:100%;height:auto;aspect-ratio:5/6;object-fit:cover;border-radius:var(--round);background:#d9d9d9}
.blog-card__title{margin-top:clamp(16px,2.4vw,34px);font-family:'Montserrat',Arial,sans-serif;font-size:clamp(17px,2.083vw,30px);font-weight:600;line-height:1;color:var(--brown);max-width:88%}
.blog-card__more{display:block;margin-top:clamp(8px,.9vw,13px);font-size:clamp(13px,1.25vw,18px);font-weight:500;line-height:1.2;color:var(--coral);text-decoration:underline;text-underline-offset:4px} /* 'Read More' line under each title at every width; phones override the size and gap just below (no post pages yet, so it is text, not a link) */
@media(max-width:640px){.blog-grid{grid-template-columns:1fr;gap:34px}.blog-card__title{font-size:22px;line-height:1.1;max-width:none}.blog-card__more{display:block;margin-top:10px;font-size:16px;font-weight:500;line-height:1.2;color:var(--coral);text-decoration:underline;text-underline-offset:4px}}
/* About page, from the wireframe: hero frame, centred intro, scrolling banner, community story (photo left), best sellers.
   Checkered .photo-placeholder frames stand in until photos are supplied: swap each div for an <img> in the same frame. */
.photo-placeholder{background-color:#d8d4d0;background-image:conic-gradient(#cbc6c2 25%,transparent 0 50%,#cbc6c2 0 75%,transparent 0);background-size:clamp(40px,5vw,72px) clamp(40px,5vw,72px)}
.photo-placeholder::after{display:none}
.about-page{padding-bottom:clamp(48px,6vw,86px)}
.about-hero{position:relative;isolation:isolate;aspect-ratio:680/362;border-radius:var(--round);overflow:hidden;background:#e9c9d0}
.about-hero::after{content:"";position:absolute;inset:0;background:rgba(40,26,22,.2);pointer-events:none}
.about-hero__video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.about-hero__title{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;padding:0 var(--gutter) 40px;color:#fff;font-size:clamp(37.8px,7.2vw,103.5px);line-height:1.06;text-align:center;text-shadow:0 2px 28px rgba(40,26,22,.35)}
.about-intro{max-width:80%;margin:clamp(56px,7.6vw,110px) auto 0;padding-bottom:clamp(30px,3.6vw,52px);text-align:center}
.about-intro h2{max-width:64%;margin-inline:auto;font-size:clamp(26px,3.6vw,52px);line-height:1.02;letter-spacing:-.035em} /* wraps after "Care", as in the wireframe */
.about-intro p{max-width:88%;margin:clamp(24px,3.4vw,49px) auto 0;font-size:clamp(16px,2.12vw,30.5px);line-height:1.12;color:var(--muted);letter-spacing:-.025em}
.about-sellers{margin-top:clamp(56px,7.6vw,110px)}
.about-sellers h2{font-family:'Montserrat',Arial,sans-serif;font-size:clamp(26px,3.6vw,52px);font-weight:400;line-height:1.02;letter-spacing:-.035em;text-align:center} /* same size, leading and tracking as the other section titles */
.about-sellers h2 a{display:inline-flex;align-items:center;gap:.2em;color:inherit;transition:color .18s ease}
.about-sellers h2 a:hover{color:var(--coral)}
.about-sellers h2 svg{flex:none;width:.75em;height:.75em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round} /* same arrow as the Shop now button */
.about-sellers__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,.6vw,9px);margin-top:clamp(24px,3.4vw,49px)} /* heading-to-content gap matches the intro and story titles */
.about-sellers__item{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:var(--round)}
.about-sellers__link{display:block;min-width:0} /* the best-seller photos link to their product pages; the link only holds the photo, so the grid is unchanged */
@media(max-width:640px){.about-intro{max-width:100%;margin-top:42px;padding-bottom:20px}.about-intro h2,.about-sellers h2{max-width:none;font-size:clamp(30px,8.1vw,42px);line-height:1.04}.about-intro p{max-width:none;font-size:16px;line-height:1.55;margin-top:20px;letter-spacing:0}.about-sellers{margin-top:48px}.about-sellers__grid{grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:640px){.about-hero{aspect-ratio:680/562}.about-hero__title{inset:auto;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.about-sellers h2{font-size:clamp(24px,7vw,34px)}.about-sellers__link:nth-child(1){order:4}.about-sellers__link:nth-child(2){order:3}.about-sellers__link:nth-child(3){order:1}.about-sellers__link:nth-child(4){order:2}} /* phones: smaller Best Sellers title; photo order is wetsuit, lei bikini, then bikini set, shark bodysuit */
@media(max-width:640px){
  .shop-page:not(.blog-page){padding-top:10px} /* Shop only (the Blog page shares .shop-page): gap from the logo to the first photos 50% larger (20px -> 30px) */
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}
  .product-card__details{padding:10px 2px 0}
  .product-card__name,.product-card__price{font-size:12px}
}
/* Tablet (641-1000px): the scaled desktop layout, with touch-friendly sizing on top: 44px tap targets, 12px+ text, ~1.5 line height. */
@media(max-width:1000px) and (min-width:641px){
  .utility-inner{font-size:12px}
  .utility-inner>span{letter-spacing:.08em}
  .desktop-nav a:not(.brand){padding:12px 6px}
  .hero-button{min-height:44px;padding:0 calc(28px - .7em);font-size:16px}
  .category-copy{top:8px}
  .category-button{min-height:44px;padding:0 18px;font-size:14px;bottom:calc((100% - 10px)*.06 + 10px)}
  .story{grid-template-columns:1fr 1fr;gap:40px;margin-inline:0}
  .story-copy h2{font-size:clamp(26px,3.75vw,38px)}
  .story-copy>p{font-size:17px;line-height:1.5;margin-top:22px}
  .story-button{font-size:19px;margin-top:24px}
  .story-ocean .story-button,.story-community .story-button{min-height:48px;padding:0 28px;font-size:16px}
  .story-photo{height:100%;min-height:400px;aspect-ratio:765/1024}
  .story-community .story-photo{aspect-ratio:820/1024}
  .closing-section{margin-top:calc(clamp(26px,4vw,57.5px)*1.4)} /* gap above the Dive In banner: 40% larger than the desktop value */
  .about-community{margin-top:calc(clamp(26px,4vw,57.5px)*1.4)} /* About page: gap between the scrolling banner and the ocean story, 40% larger than desktop */
  .footer-brand{flex-basis:38%}
  .footer-inner{padding:26px calc(var(--gutter) + 30px);min-height:270px}
  .footer-links{font-size:15px}
  .footer-links>div{gap:0}
  .footer-links h2{margin-bottom:2px}
  .footer-links a,.footer-links button{display:inline-flex;align-items:center;min-height:44px}
  address{font-size:15px}
  address a{display:inline-flex;align-items:center;min-height:44px;margin-top:4px}
}
@media(max-width:640px){
  .utility-inner{font-size:10px;gap:8px}
  .utility-inner>span{font-size:9px;letter-spacing:0}
  .utility-inner nav{gap:2px}
  .utility-actions .icon-button{width:26px;height:32px}
  .utility-actions .icon-button svg{width:14px;height:14px}
  .utility-actions .icon-button:focus-visible{outline-width:2px;outline-offset:1px}
  .desktop-nav{display:none}
  .site-header{width:100%} /* header fills the page width, so Menu and Shop line up with the edges of the photo frames below */
  .page-shell{width:100%} /* the page container fills the screen instead of shrinking to its content (the carousel track would otherwise widen the page) */
  .mobile-header{height:140px;display:grid;grid-template-columns:1fr 133.2px 1fr;align-items:center;gap:4px}
  .mobile-header .brand{width:133.2px} /* 10% smaller than the original 148px */
  .menu-toggle,.mobile-shop{padding:0;background:none;font-size:11px;font-weight:600;text-transform:uppercase}
  /* Menu and Shop are the same width (60px), pinned to the outer edges, so the gap from each one to the centred logo is identical. */
  .menu-toggle{display:flex;gap:7px;align-items:center;justify-content:space-between;justify-self:start;min-width:60px}
  .menu-icon{width:17px;height:12px;border-top:1.5px solid;border-bottom:1.5px solid;position:relative}
  .menu-icon::after{content:'';position:absolute;top:4px;left:0;right:0;border-top:1.5px solid}
  .mobile-shop{display:flex;align-items:center;justify-content:space-between;justify-self:end;min-width:60px}
  .mobile-shop span{font-size:14px;line-height:1}
  .mobile-nav{display:flex;flex-direction:column;gap:0;padding:0 0 22px}
  .mobile-nav a,.mobile-nav button{padding:14px 0;border-top:1px solid #563e3622;background:none;text-align:left;font-weight:500}
  .hero::before{padding-top:calc((90.9091% + 10px)*1.5)} /* phone banner is 50% taller than the original 0.909 ratio + 10px */
  /* Phone hero uses hero-water-mobile.jpg (top trimmed 92px, water extended 95px below), so the swimmer sits higher and a little smaller; the image fits the banner's height and the crop is centred on her face. */
  .hero .panel-photo{inset:0;transform:none;width:100%;height:100%;object-fit:cover;object-position:40% 50%}
  .hero-copy{width:calc(100% - 28px);left:50%;right:auto;top:auto;bottom:9%;transform:translateX(-50%);text-align:center}
  .hero h1{font-size:clamp(37.8px,9.9vw,63px)}
  .hero p{font-size:clamp(18px,4.4vw,27px);margin-top:5px}
  /* Collection: the three cards become one full-width card at a time (swipeable, auto-rotating every 5s via main.js) with three dots above. */
  .collection-dots{display:flex;justify-content:center;margin-top:10px}
  .collection-dots button{display:flex;align-items:center;justify-content:center;width:28px;height:44px;padding:0;background:none}
  .collection-dots button::before{content:'';width:8px;height:8px;border-radius:4px;background:var(--brown);opacity:.28;transition:width .25s ease,opacity .25s ease}
  .collection-dots button[aria-current="true"]::before{width:22px;opacity:1}
  .collection-dots button:focus-visible{outline-offset:-6px;border-radius:8px}
  .collection{display:flex;gap:12px;margin-top:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
  .collection::-webkit-scrollbar{display:none}
  .category,.category:last-child{flex:0 0 100%;aspect-ratio:.88;scroll-snap-align:start;scroll-snap-stop:always}
  .category-copy p{font-size:14px}
  .category-copy h2{font-size:clamp(28px,8.4vw,36px)}
  .category-button{font-size:16px;min-height:44px;padding:0 28px;bottom:calc((100% - 10px)*.08 + 10px)}
  #wetsuits .panel-photo{object-position:center 12%}
  #swimwear .panel-photo{object-position:center 14%}
  #jewelry .panel-photo{left:-15%;width:130%;transform:none} /* zoomed and bottom-aligned, as on the larger layouts, so the card stays on the necklace and the face stays out of frame */
  .salt-ribbon{margin-top:22px;height:42.7px}
  .ribbon-track{font-size:14px}
  .story,.story-community{grid-template-columns:1fr;gap:30px;margin-inline:0}
  .story-ocean{margin-top:22px}
  .about-community{margin-top:33px} /* About page: gap between the scrolling banner and the ocean story, 50% more than the old 22px */
  .story-photo{aspect-ratio:4/5;max-height:590px}
  .story-copy h2{font-size:clamp(30px,8.1vw,42px);line-height:1.04}
  .story-copy>p{font-size:16px;line-height:1.55;margin-top:20px;letter-spacing:0}
  .story-button{font-size:19px;min-height:49px;margin-top:24px;border-radius:10px}
  .story-ocean .story-button,.story-community .story-button{font-size:14px}
  .story-community .story-photo{grid-row:1}
  .closing-section{margin-top:33px} /* 50% more than the old 22px */
  .dive-banner{aspect-ratio:.82} /* ~28% taller than the old 1.05 ratio */
  .dive-banner .panel-photo{inset:auto;left:-55%;top:-55%;width:229.6%;height:auto} /* the real photo, zoomed in 40% and centred on the diver's head; the diver's centre sits about 26% down the banner */
  /* Text styled like the phone hero copy: same title and body sizes, weight, spacing and bottom-centred position. */
  .dive-copy{justify-content:center;padding:0 14px} /* text block vertically centred on the photo */
  .dive-copy>*{transform:none}
  .dive-copy h2{font-size:clamp(37.8px,9.9vw,63px);line-height:1.06}
  .dive-copy p{font-size:max(15px,min(clamp(18px,4.4vw,27px),calc((100vw - 68px)/17.5)));font-weight:500;line-height:1.05;letter-spacing:-.025em;margin-top:5px;text-wrap:balance} /* the hero's body size, eased down only as far as needed to keep 'Shop our new Heat Wave collection.' on one line */
  .site-footer{margin-top:-5px}
  .footer-inner{flex-direction:column;align-items:stretch;gap:30px;padding:22px 46px 32px}
  .footer-brand .brand{width:117px;margin-bottom:12px} /* 35% smaller than the old 180px */
  address{font-size:13px;line-height:1.35}
  .footer-links{display:grid;grid-template-columns:1fr 1fr;gap:26px;font-size:13px}
  .footer-links>div{gap:10px}
  dialog{padding:44px 24px 28px}
  .collection-dialog[open]{grid-template-columns:1fr;gap:24px}
  .collection-dialog>.photo-frame{max-height:270px}
  .collection-dialog>.photo-frame>img{object-position:center 35%}
}
/* Collection card photo framing (3-up layout; the phone layout keeps its own framing).
   Wetsuits: photo fits the card width and is lifted 19.4% of its height, so the crop starts at the nose/mouth and the eyes stay out of frame. Swimwear is bottom-aligned (see below).
   Jewelry: 20% more zoom than the wireframe framing (148.8% -> 178.56% wide), re-centred on the pendant, bottom-aligned; the photo has 34px of extra skin added below
   the pendant so the necklace sits higher, clear of the button. */
@media(min-width:641px){
  #wetsuits .panel-photo{inset:auto;left:0;top:0;width:100%;height:auto;max-width:none;transform:translateY(-19.4%)}
  /* Swimwear: bottom edge of the photo flush with the card, so the top is cropped below the model's eyes (at 1440 the crop starts ~23% down the photo). */
  #swimwear .panel-photo{inset:auto;left:0;bottom:0;width:100%;height:auto;max-width:none}
  #jewelry .panel-photo{left:-38.78%;width:178.56%}
}
/* Product pages: image and reviews on the left, details on the right; stacked on phones. Cards on the shop grids link here. */
.product-card__link{display:block;color:inherit}
.product-card__link:hover .product-card__name{color:var(--brown);text-decoration:underline;text-underline-offset:4px}
.product-page{padding-inline:clamp(20px,4.444vw,64px);padding-top:clamp(4px,1.5vw,22px);padding-bottom:clamp(72px,8.333vw,120px)}
.product-layout{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);grid-template-areas:"media info" "reviews info";column-gap:clamp(32px,5.5vw,80px);row-gap:clamp(28px,4vw,56px);align-items:start}
.product-media{grid-area:media}
.product-media__image{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:8px;background:#e7dfd0}
.product-info{grid-area:info;min-width:0}
.product-title{font-family:'Montserrat',Arial,sans-serif;font-size:clamp(24px,2.7vw,36px);line-height:1.2;font-weight:500;letter-spacing:-.01em}
.product-rating{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:13px;color:#66584d}
.product-rating a{text-decoration:underline;text-underline-offset:3px}
.stars{display:inline-block;font-family:Arial,'Helvetica Neue',sans-serif;font-size:16px;line-height:1;letter-spacing:2px;white-space:nowrap;background:linear-gradient(90deg,var(--brown) calc(var(--rating)/5*100%),#d9cdbb calc(var(--rating)/5*100%));-webkit-background-clip:text;background-clip:text;color:transparent}
.product-price{margin-top:clamp(18px,2vw,26px);font-size:clamp(20px,1.9vw,24px);font-weight:500}
.product-installments{margin-top:10px;font-size:13px;color:#66584d}
.product-installments__badge{display:inline-block;margin-right:6px;padding:2px 7px;border-radius:5px;background:#e7dfd0;font-size:11px;font-weight:600;letter-spacing:.02em;color:var(--brown)}
.add-to-cart{width:min(100%,360px);min-height:52px;margin-top:clamp(20px,2.4vw,30px);padding:0 28px;border-radius:8px;font-size:18px;font-weight:500}
.cart-note{min-height:1.5em;margin-top:10px;font-size:13px;line-height:1.5;color:#66584d}
.product-details{margin-top:clamp(14px,2vw,26px);border-top:1px solid #d9cdbb}
.product-details__item{border-bottom:1px solid #d9cdbb}
.product-details__item summary{display:flex;align-items:center;gap:12px;padding:16px 4px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.product-details__item summary::-webkit-details-marker{display:none}
.product-details__item summary svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.product-details__item summary::after{content:"+";margin-left:auto;padding-left:12px;font-size:20px;font-weight:400;line-height:1}
.product-details__item[open] summary::after{content:"\2212"}
.product-details__body{padding:0 4px 20px 34px;font-size:14px;line-height:1.65;color:#66584d}
.product-details__body p+p{margin-top:12px}
.product-details__body a{text-decoration:underline;text-underline-offset:3px}
.product-reviews{grid-area:reviews;min-width:0}
.rating-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.rating-summary__score{font-size:22px;font-weight:500}
.rating-summary__count{font-size:13px;color:#66584d}
.rating-bars{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:9px}
.rating-row{display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:10px;font-size:13px;color:#66584d}
.rating-row__bar{display:block;height:5px;border-radius:3px;background:#d9cdbb;overflow:hidden}
.rating-row__bar>span{display:block;height:100%;background:var(--brown);border-radius:3px}
.rating-row__count{text-align:right}
.recommend{margin-top:22px;font-size:13px;color:#66584d}
.recommend strong{font-size:18px;font-weight:500;color:var(--brown);margin-right:4px}
.related{max-width:1440px;margin:clamp(64px,8vw,112px) auto 0}
.related__title{margin-bottom:clamp(20px,2.4vw,32px);font-family:'Montserrat',Arial,sans-serif;font-size:clamp(20px,2vw,26px);font-weight:500;text-align:center}
@media(max-width:640px){
  .product-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"media" "info" "reviews";row-gap:28px}
  .add-to-cart{width:100%}
}
/* ==========================================================================
   Motion and interaction.
   Everything below only animates opacity, position offsets (the translate and scale properties) and colour, so content, layout and
   design are untouched. It all sits inside prefers-reduced-motion:no-preference, so visitors who ask for less motion get the static site.
   Scroll reveals are driven by main.js (it adds .motion to <html> and .reveal / .is-in to elements); with JavaScript off nothing is hidden.
   ========================================================================== */
@media(prefers-reduced-motion:no-preference){
  :root{--ease-out:cubic-bezier(.22,.8,.24,1);--ease-soft:cubic-bezier(.4,.1,.2,1)}
  @keyframes rise{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
  @keyframes fade-in{from{opacity:0}to{opacity:1}}
  @keyframes settle{from{scale:1.07}to{scale:1}}
  @keyframes pop-in{from{opacity:0;translate:0 18px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
  @keyframes menu-drop{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}
  @keyframes soft-pulse{0%{scale:1}40%{scale:1.035}100%{scale:1}}
  @keyframes tick{from{opacity:.3;rotate:-90deg}to{opacity:1;rotate:0deg}}

  /* Entrance on load: only for what is already on screen, in CSS so there is no flash of unanimated content. */
  .hero-copy h1{animation:rise .9s var(--ease-out) .15s backwards}
  .hero-copy p{animation:rise .9s var(--ease-out) .3s backwards}
  .hero-copy .hero-button{animation:rise .9s var(--ease-out) .45s backwards}
  .hero .panel-photo{transform-origin:55% 100%;animation:settle 1.8s var(--ease-out) backwards}
  .about-hero__title{animation:rise 1s var(--ease-out) .2s backwards}
  .shop-page .product-grid .product-card,.blog-card{animation:rise .8s var(--ease-out) backwards}
  .product-grid .product-card:nth-child(1),.blog-card:nth-child(1){animation-delay:.05s}
  .product-grid .product-card:nth-child(2),.blog-card:nth-child(2){animation-delay:.12s}
  .product-grid .product-card:nth-child(3),.blog-card:nth-child(3){animation-delay:.19s}
  .product-grid .product-card:nth-child(4){animation-delay:.26s}
  .product-grid .product-card:nth-child(5){animation-delay:.33s}
  .product-grid .product-card:nth-child(6){animation-delay:.4s}
  .product-grid .product-card:nth-child(7){animation-delay:.47s}
  .product-grid .product-card:nth-child(8){animation-delay:.54s}
  .product-media{animation:rise .9s var(--ease-out) .05s backwards}
  .product-info>*{animation:rise .8s var(--ease-out) backwards}
  .product-info>:nth-child(1){animation-delay:.1s}
  .product-info>:nth-child(2){animation-delay:.17s}
  .product-info>:nth-child(3){animation-delay:.24s}
  .product-info>:nth-child(4){animation-delay:.3s}
  .product-info>:nth-child(5){animation-delay:.36s}
  .product-info>:nth-child(7){animation-delay:.44s}

  /* Scroll reveals (classes added by main.js to elements that start below the fold). The footer clips its own content so a link waiting to rise can never lengthen the page. */
  .site-footer{overflow:clip}
  .motion .reveal{transition:opacity 1s var(--ease-out) var(--reveal-delay,0s),translate 1s var(--ease-out) var(--reveal-delay,0s)}
  .motion .reveal:not(.is-in){opacity:0;translate:0 30px}
  .motion .story-photo.reveal img{transition:scale 1.5s var(--ease-out) var(--reveal-delay,0s)}
  .motion .story-photo.reveal:not(.is-in) img{scale:1.08}
  .motion .product-reviews.reveal .rating-row__bar>span{transform-origin:left;transition:transform 1.1s var(--ease-out) calc(var(--reveal-delay,0s) + .25s)}
  .motion .product-reviews.reveal:not(.is-in) .rating-row__bar>span{transform:scaleX(0)}

  /* Buttons: soft glow on hover, press-down on click. */
  .button{transition:background .2s ease,transform .25s var(--ease-out),box-shadow .3s ease}
  .button:not(:disabled):hover{box-shadow:0 12px 26px -12px rgba(214,100,77,.65)}
  .button:not(:disabled):active{transform:translateY(0) scale(.97);box-shadow:none}
  .utility-actions .icon-button,.menu-toggle,.mobile-shop{transition:background .2s ease,scale .2s var(--ease-out)}
  .icon-button:active,.menu-toggle:active,.mobile-shop:active{scale:.92}
  .hero-button svg,.about-sellers h2 svg{transition:translate .3s var(--ease-out)}
  .hero-button:hover svg,.hero-button:focus-visible svg,.about-sellers h2 a:hover svg,.about-sellers h2 a:focus-visible svg{translate:3px -3px}

  /* Product and blog cards: the photo eases in on hover/focus inside its frame (the opaque details block hides the overflow below it). */
  .product-card__link{overflow:hidden;border-radius:8px 8px 0 0}
  .product-card__details{position:relative;background:var(--cream)}
  .product-card__image,.blog-card__image,.about-sellers__item{transition:scale .9s var(--ease-out)}
  .product-card__link:focus-visible .product-card__image,.about-sellers__link:focus-visible .about-sellers__item{scale:1.05}
  .about-sellers__link{overflow:hidden;border-radius:var(--round)}
  .blog-card__media{overflow:hidden;border-radius:var(--round)}

  /* Menus, dialogs and the product accordion. */
  .mobile-nav:not([hidden]){animation:menu-drop .3s var(--ease-out)}
  dialog[open]{animation:pop-in .38s var(--ease-out)}
  dialog[open]::backdrop{animation:fade-in .3s ease}
  .product-details__item summary{transition:color .2s ease}
  .product-details__item[open] .product-details__body{animation:rise .45s var(--ease-out)}
  .product-details__item[open] summary::after{animation:tick .3s var(--ease-out)}
  .add-to-cart.is-added{animation:soft-pulse .5s var(--ease-out)}
  .cart-note.is-new{animation:rise .45s var(--ease-out)}
  @supports selector(::details-content){
    :root{interpolate-size:allow-keywords}
    .product-details__item::details-content{block-size:0;overflow:hidden;transition:block-size .4s var(--ease-out),content-visibility .4s allow-discrete}
    .product-details__item[open]::details-content{block-size:auto}
  }
}

/* Hover-only effects (not on touch screens, where hover sticks). */
@media(prefers-reduced-motion:no-preference) and (hover:hover){
  .desktop-nav a:not(.brand),.desktop-nav button{background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;background-origin:content-box;background-clip:content-box;transition:color .2s ease,background-size .35s var(--ease-out)}
  .desktop-nav a:not(.brand):hover,.desktop-nav button:hover,.desktop-nav a:not(.brand):focus-visible{background-size:100% 2px}
  .brand{transition:scale .5s var(--ease-out)}
  .brand:hover{scale:1.035}
  .utility-actions .icon-button:hover{scale:1.08}
  .panel-photo{transition:scale 1.1s var(--ease-out)}
  .category:hover .panel-photo,.dive-banner:hover .panel-photo{scale:1.05}
  .hero:hover .panel-photo{scale:1.03}
  .product-card__link:hover .product-card__image,.blog-card:hover .blog-card__image,.about-sellers__link:hover .about-sellers__item{scale:1.05}
  .product-details__item summary:hover{color:#a4422f}
  .search-result strong{transition:color .2s ease,translate .3s var(--ease-out)}
  .search-result:hover strong{translate:4px 0}
  .salt-ribbon:hover .ribbon-track{animation-play-state:paused}
}

/* Safety net: never leave anything hidden on paper. */
@media print{.reveal{opacity:1!important;translate:none!important;transition:none!important}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.ribbon-track{animation:none}}
