/* Video opening and real 3D studio. Shared by the Site and WordPress theme. */
main{max-width:none;padding:0}
html{scroll-padding-top:28px}
body{font-size:16px}
.skip-link{position:absolute;left:20px;top:15px;z-index:20;padding:12px 20px;background:#fff;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}
.header{position:absolute;inset:0 0 auto;z-index:3;max-width:none;padding:28px 5%;color:white;border-bottom:1px solid #ffffff38;gap:24px}
.brand-sub{font-size:12px;letter-spacing:2px}.brand{flex-shrink:0}
.nav-cta{border-color:#ffffffa0}.nav-cta:hover{background:#ffffff14}
.hero{position:relative;min-height:760px;min-height:max(760px,100svh);padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0;isolation:isolate;background:#182e35;color:white;overflow:hidden}
.hero-media,.hero-shade{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-media{background:#263f49}
.hero-media video{width:100%;height:100%;display:block;object-fit:cover;object-position:56% center}
.hero-shade{background:linear-gradient(90deg,rgba(7,21,30,.68),rgba(7,21,30,.24)),linear-gradient(180deg,rgba(7,21,30,.20),rgba(7,21,30,.06) 45%,rgba(7,21,30,.42))}
.hero-content{padding:180px 5% 150px;width:100%;max-width:1666px;margin:auto}
.hero .eyebrow{display:block;font-size:13px;letter-spacing:2px;color:#e6eeef;margin-bottom:30px}
h1{font-size:clamp(68px,7.2vw,110px);line-height:1.07;letter-spacing:-4.5px}h1 em{color:#e2ecdf}
.hero-description{white-space:pre-line;margin:28px 0 32px;color:#e1e9eb;font-size:17px;line-height:1.7;max-width:410px}
.hero-cta{display:inline-flex;gap:48px;align-items:center;justify-content:space-between;border:1px solid var(--accent);background:var(--accent);color:var(--ink);padding:16px 23px;border-radius:3px;font-size:16px}.hero-cta:hover{filter:brightness(1.08)}
.hero-bottom{position:absolute;bottom:30px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;gap:24px}
.scroll-cue{display:flex;align-items:center;gap:15px;font-size:12px;letter-spacing:1.7px;padding:10px 0}.scroll-line{display:block;height:30px;width:1px;background:#fff9}
.video-toggle{border:1px solid #ffffff7a;background:#10232d75;backdrop-filter:blur(10px);color:white;border-radius:30px;padding:11px 17px;font-size:14px;display:flex;gap:15px;align-items:center;min-height:44px;flex-shrink:0}.video-toggle:disabled{opacity:.7}
.hero a:focus-visible,.header a:focus-visible,.video-toggle:focus-visible{outline-color:var(--accent)}
.content-shell{max-width:1500px;margin:auto;padding:0 5%}.studio-section{padding-top:74px}
.studio-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px}.studio-intro .eyebrow{color:var(--muted);margin-bottom:14px}.studio-intro h2{font-size:clamp(32px,3.2vw,46px);margin:0}.studio-intro h2 em{font-family:Georgia,serif;font-weight:400;color:#617c80}.studio-intro>p{font-size:16px;color:var(--muted);margin:0 0 3px;line-height:1.65;white-space:pre-line}
.studio{grid-template-columns:minmax(0,1fr) 350px}
legend{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;font-size:14px;color:var(--ink)}legend .step-number{font-size:12px;color:var(--muted)}
.model-picker{grid-column:1/-1;background:white;margin:0;padding:24px 30px;border-bottom:1px solid var(--line)}.model-picker legend{float:left;margin:0 0 16px}.model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;clear:both}.model-hint{margin-left:auto;font-size:12px;color:var(--muted);letter-spacing:1px}
.model-option{position:relative;display:flex;align-items:center;gap:13px;min-width:0;min-height:80px;padding:15px 22px 15px 15px;background:#f3f5f4;border:1px solid transparent;border-radius:4px;color:var(--ink);text-align:left;font-size:14px;transition:border-color .2s,background .2s}.model-option strong{display:block;font-size:16px;font-weight:500}.model-option small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.model-number{font-size:12px;color:var(--muted)}.model-option:hover{background:#e9eeea}.model-option[aria-pressed=true]{border-color:var(--ink);background:#eef2e5}.model-check{position:absolute;top:5px;right:7px;font-size:12px;opacity:0}.model-option[aria-pressed=true] .model-check{opacity:1}.model-option[aria-busy=true]{opacity:.65}
.preview{min-width:0;min-height:610px}.preview-top{padding:20px 26px 5px}.preview-top>span{font-size:12px}.preview button{font-size:14px;min-height:44px}.preview-top button span{margin-left:7px}
.boat-stage{height:385px;min-height:260px;width:100%;position:relative;flex:1;isolation:isolate}
.boat-stage canvas{display:block;width:100%;height:100%;mix-blend-mode:normal;touch-action:none;cursor:grab;outline-offset:-4px}.boat-stage canvas:active{cursor:grabbing}.boat-stage[aria-busy=true] canvas{opacity:.4}
.preview-status,.no-script{position:absolute;inset:40% 8% auto;margin:0;font-size:14px;color:var(--muted);text-align:center;z-index:2;pointer-events:none;background:#edf0efe8;padding:12px;border-radius:3px}.preview-status:empty{display:none}
.viewer-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:0 26px 18px;position:relative;z-index:1}.viewer-toolbar p{font-size:12px;color:var(--muted);margin:0}.view-buttons{display:flex;gap:4px;flex-wrap:wrap}.view-buttons button{border:1px solid #d8dfdc;background:#f9fbf9;min-width:38px;min-height:40px;border-radius:3px;font-size:19px}.view-buttons #reset-view{font-size:12px;padding:0 10px}.view-buttons button:hover{background:white}
.preview-bottom{padding:0 26px;flex-wrap:wrap;gap:10px}.preview-bottom button{font-size:14px}.tiny{font-size:12px;letter-spacing:1px}.model-note{font-size:12px;margin:12px 26px 24px;line-height:1.6}
.controls{padding:30px}.controls h2{white-space:pre-line;font-size:32px}.controls .eyebrow{font-size:12px}.swatch{height:44px}.selection-label{font-size:14px;gap:10px;flex-wrap:wrap}.selection-label span,#colour-count{font-size:12px}.finishes button{font-size:14px;min-height:44px}.finish-note{font-size:14px;min-height:42px}.small{font-size:12px}
.approach h2,.enquiry h2{white-space:pre-line}.steps p{font-size:16px}.eyebrow,.approach .eyebrow,.enquiry .eyebrow{font-size:12px}.enquiry{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.enquiry p{font-size:16px}.chosen small{font-size:12px}.chosen>span{flex-shrink:0}.chosen .brief-model{font-size:14px;color:#b9c7c9}.enquiry .form-note{font-size:12px}label{font-size:14px}.studio-caption{font-size:12px}footer{font-size:14px}footer p{font-size:12px}
.custom-logo-link,.brand .custom-logo{max-width:200px;max-height:70px;object-fit:contain;width:auto;height:auto}.wp-extra-content,.page-content{max-width:1100px;margin:auto;padding:45px 5%;overflow-wrap:anywhere}.page-header{padding:24px 5%;background:var(--ink);color:white}.page-content img{max-width:100%;height:auto}.page-content input,.page-content textarea{color:var(--ink);border-color:var(--line)}.admin-bar .header{top:32px}
@media(max-width:1100px){.studio{grid-template-columns:minmax(0,1fr) 310px}.controls{padding:25px}.studio-intro{align-items:flex-start;flex-direction:column;gap:16px}.studio-intro>p{white-space:normal}.model-grid{gap:10px}.model-option{gap:9px;padding:14px 20px 14px 12px}.model-number{display:none}.model-option strong{font-size:15px}.preview{min-height:600px}.boat-stage{height:345px}.viewer-toolbar{padding-left:20px;padding-right:20px}.view-buttons button{min-width:35px}}
@media(max-width:720px){
  .header{padding:21px 5%;gap:16px}.brand{font-size:12px;gap:9px;letter-spacing:1.5px}.brand-sub{font-size:12px;letter-spacing:.8px}.brandmark{font-size:26px}nav{gap:0}.nav-cta{font-size:12px;padding:11px 12px;max-width:145px;text-align:center;line-height:1.4}.nav-cta span{display:none}
  .hero{min-height:760px;min-height:max(700px,100svh)}.hero-content{padding:150px 6% 145px;margin:0;max-width:100%}.hero-shade{background:linear-gradient(90deg,rgba(7,21,30,.68),rgba(7,21,30,.36)),linear-gradient(180deg,rgba(7,21,30,.25),rgba(7,21,30,.08) 45%,rgba(7,21,30,.45))}
  h1{font-size:clamp(53px,10.9vw,76px);letter-spacing:-2.7px;line-height:1.08}.hero .eyebrow{font-size:12px;letter-spacing:1.4px;max-width:245px;line-height:1.8;margin-bottom:22px}.hero-description{font-size:16px;margin:24px 0 28px;max-width:310px}.hero-cta{font-size:16px;padding:15px 20px;gap:42px}.hero-bottom{bottom:24px;left:6%;right:6%;gap:18px}.scroll-cue{max-width:160px;font-size:12px;letter-spacing:1px;gap:11px}.scroll-line{flex:0 0 1px}.video-toggle{font-size:14px;padding:10px 13px;gap:9px}
  .studio-section{padding-top:45px}.studio-intro{margin-bottom:25px}.studio-intro h2{font-size:34px;letter-spacing:-1.2px}.studio-intro h2 em{display:block;margin-top:3px}.studio{grid-template-columns:1fr}.model-picker{padding:20px 18px}.model-hint{display:none}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.model-option{min-height:72px;padding:11px 20px 11px 12px}.model-option strong{font-size:14px}.model-option small{font-size:12px}
  .preview{min-height:535px}.preview-top{padding:15px 20px 0}.preview-top>span{font-size:12px}.boat-stage{height:295px;flex:none}.preview-bottom{padding:0 20px;gap:9px}.preview-bottom p{font-size:25px}.preview-bottom button{font-size:14px;padding:8px 11px}.model-note{margin:12px 20px 20px;font-size:12px}.viewer-toolbar{justify-content:center;gap:10px;padding-bottom:18px}.viewer-toolbar p{width:100%;text-align:center}.view-buttons button{min-height:44px;min-width:44px}.view-buttons #reset-view{font-size:14px}
  .controls{padding:27px;border-top:1px solid var(--line)}.controls h2{white-space:normal;font-size:30px}.swatches{grid-template-columns:repeat(4,1fr);gap:13px}.swatch{height:44px}.enquiry{grid-template-columns:1fr}.studio-caption{font-size:12px}footer{font-size:14px}.admin-bar .header{top:46px}
}
@media(max-width:380px){.header{gap:10px}.brand{font-size:11px}.brand-sub{font-size:12px;letter-spacing:0}.nav-cta{max-width:120px;padding:10px 8px}.hero-bottom{gap:12px}.scroll-cue{max-width:140px}.preview-bottom{align-items:flex-start;flex-direction:column}.form-row{grid-template-columns:1fr;gap:0}.enquiry{padding:22px}.preview{min-height:585px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Original supplied logo, kept in its original proportions. */
.brand-logo{display:block;width:270px;max-width:100%;height:auto;border-radius:3px}
.header .brand{min-width:0}.header .brand .custom-logo{display:block;max-width:270px;max-height:90px;width:auto;height:auto}
@media(max-width:720px){.brand-logo{width:180px}.header .brand{flex-shrink:1}.header .brand .custom-logo{max-width:180px;max-height:65px}.header .nav-cta{max-width:130px}}
@media(max-width:380px){.brand-logo{width:156px}.header .brand .custom-logo{max-width:156px}.header .nav-cta{max-width:116px}}

.own-boat{clear:both;padding-top:22px;margin-top:20px;border-top:1px solid var(--line)}.own-boat strong{font-weight:500;font-size:18px}.own-boat p{font-size:14px;color:var(--muted);margin:7px 0 12px;max-width:720px}.own-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.file-button,.own-actions button{border:1px solid var(--ink);background:white;color:var(--ink);border-radius:3px;padding:11px 16px;font:inherit;font-size:14px;cursor:pointer;margin:0;min-height:44px}.file-button{background:var(--ink);color:white}.file-input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;overflow:hidden}.own-actions:has(.file-input:focus-visible) .file-button{outline:3px solid #518298;outline-offset:4px}.own-boat details{margin-top:14px;font-size:14px}.own-boat summary{cursor:pointer;padding:5px 0}.own-boat select{max-width:100%;width:420px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:3px;background:white;color:var(--ink);padding:12px}.own-boat select:focus-visible{outline:3px solid #518298;outline-offset:3px}#hull-material-panel{margin-top:18px}#own-boat-status:empty{display:none}[hidden]{display:none!important}

/* Båtnamnsstudio: lokal typografi och en ren arbetsyta för textdesign. */
@font-face{font-family:'SY Sans';src:url('fonts/DejaVuSans.woff') format('woff');font-display:swap}
@font-face{font-family:'SY Serif';src:url('fonts/DejaVuSerif.woff') format('woff');font-display:swap}
@font-face{font-family:'SY Mono';src:url('fonts/DejaVuSansMono.woff') format('woff');font-display:swap}
.name-section{padding:65px 0 35px;scroll-margin-top:24px}.name-studio{display:grid;grid-template-columns:minmax(0,1fr) 350px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.name-preview{background:#eef1f0;display:flex;flex-direction:column;min-width:0}.name-preview-top{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:24px 30px;font-size:14px}.name-preview-top>span{letter-spacing:1.5px;font-size:12px}.name-preview-top label{display:flex;align-items:center;gap:10px}.name-section select{font:inherit;font-size:16px;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:3px;background:white;color:var(--ink)}.name-section select:focus-visible{outline:3px solid #518298;outline-offset:3px}#name-canvas-wrap{display:flex;align-items:center;flex:1;min-height:270px;transition:background .2s}#name-canvas{display:block;width:100%;height:auto;mix-blend-mode:normal}#name-preview-caption{padding:0 30px;font-size:14px;overflow-wrap:anywhere}.name-disclaimer{margin:10px 30px 28px;font-size:14px;color:#516469}.name-controls{padding:28px;background:white;min-width:0}.name-controls>label{display:block;margin-bottom:8px;font-size:16px}.name-controls>input[type=text],.name-controls>select{width:100%;font:inherit;font-size:16px;color:var(--ink);background:white;border:1px solid var(--line);padding:12px;border-radius:3px}.name-controls>select{margin-bottom:24px}#name-help{font-size:14px;color:var(--muted);margin:7px 0 22px}.name-controls legend{font-size:16px;color:var(--ink)}.name-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.name-styles button,.name-actions>button{font:inherit;font-size:14px;min-height:44px;border:1px solid var(--line);border-radius:3px;background:white;color:var(--ink);padding:10px}.name-styles button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.name-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.name-swatch{height:42px;border:1px solid #0002;border-radius:3px;position:relative}.name-swatch[aria-pressed=true]{outline:1px solid var(--ink);outline-offset:3px}.name-swatch[aria-pressed=true]:after{content:'✓';color:var(--check);position:absolute;inset:0;display:grid;place-items:center;font-size:20px}.name-colour-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:14px}.name-colour-row label,#name-edge-control{display:flex;align-items:center;gap:12px}.name-controls input[type=color]{width:50px;height:38px;padding:3px;border:1px solid var(--line);border-radius:3px;background:white;cursor:pointer}.name-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}.name-actions .primary{font-size:14px;text-align:center;display:block;padding:14px}.name-actions :disabled,.name-actions [aria-disabled=true]{opacity:.5;cursor:not-allowed}#name-status{font-size:14px;margin-bottom:0}#name-status:empty{display:none}.name-brief{padding:18px;background:#edf0ef;border:1px solid var(--line);border-radius:4px;margin-bottom:24px}.name-brief>label{display:flex;align-items:center;gap:10px}.name-brief input[type=checkbox]{width:20px;height:20px;margin:0;flex-shrink:0}.name-brief p{font-size:14px;overflow-wrap:anywhere;margin:10px 0}.name-brief>a{text-decoration:underline;font-size:14px}
.header nav{flex-wrap:wrap;justify-content:flex-end;gap:18px}
@media(max-width:1100px){.name-studio{grid-template-columns:minmax(0,1fr) 310px}.name-controls{padding:22px}}
@media(max-width:720px){.name-studio{grid-template-columns:1fr}.name-section{padding-top:40px}.name-preview-top{padding:20px}.name-preview{min-height:330px}#name-canvas-wrap{min-height:170px}#name-preview-caption{padding:0 20px}.name-disclaimer{margin:8px 20px 20px}.header{flex-wrap:wrap;gap:14px}.header nav{width:100%;justify-content:flex-start;gap:10px 18px}.header nav .name-nav{display:inline-flex}.header nav .nav-cta{margin-left:auto;max-width:none}.hero-content{padding-top:240px}}

.quote-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.quote-download{font:inherit;font-size:14px;padding:12px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:3px;width:100%;margin-top:10px}#quote-send:disabled{opacity:.6;cursor:not-allowed}#quote-availability{font-weight:600}

.name-dimensions{margin:24px 0 0}.name-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.name-size-grid label{font-size:14px}.name-size-grid input{display:block;width:100%;min-width:0;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:3px;background:white;font:inherit;font-size:16px;color:var(--ink)}#name-size-help,#name-size-status{font-size:14px;margin:10px 0 0;color:var(--muted)}#name-size-status:empty{display:none}#name-shadow-control{display:flex;align-items:center;gap:12px}

.quote-choices{margin:30px 0 0}.quote-choices>legend{font-size:14px;letter-spacing:1.4px;font-weight:600;color:var(--ink)}.quote-choice{padding:18px 0;border-bottom:1px solid var(--line)}.quote-choice>label{display:flex;align-items:flex-start;gap:12px;font-size:16px;cursor:pointer}.quote-choice input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:var(--ink)}.quote-choices .chosen{margin:16px 0 0;padding:0;background:transparent;border:0}.quote-choices .chosen p{margin-top:0}.quote-choice a{font-size:14px;text-decoration:underline}.quote-choice #name-brief-summary{font-size:14px;overflow-wrap:anywhere}.quote-choice-help,#quote-choice-status{font-size:14px;margin:14px 0 0}#quote-choice-status:empty{display:none}.quote-choice input:focus-visible{outline:3px solid #518298;outline-offset:4px}
