@layer reset, base, components, layout;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
  img { display: block; max-inline-size: 100%; }
  button, input, select, textarea { font: inherit; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    --navy: #091b2a;
    --navy-2: #102c41;
    --ink: #142838;
    --muted: #456071;
    --teal: #115968;
    --teal-dark: #0c4050;
    --paper: #f5f8f8;
    --white: #fff;
    --border: #d7e0e4;
    --gold: #ffd26b;
    --gold-strong: #f0ba40;
    --radius: 14px;
    --shell: min(100% - 80px, 1300px);
    color-scheme: light;
    font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
    font-synthesis: none;
  }
  body { background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.58; }
  main { min-height: 45vh; }
  a { color: var(--teal); text-underline-offset: .2em; }
  a:hover { color: var(--teal-dark); }
  a, button, input, select, textarea { outline-offset: 4px; }
  :focus-visible { outline: 3px solid #027492; }
  h1,h2,h3,h4 { color: inherit; line-height: 1.09; font-weight: 770; letter-spacing: -.045em; }
  h1 { font-size: clamp(2.8rem,7.2vw,5.4rem); }
  h2 { font-size: clamp(1.85rem,4.1vw,3.4rem); }
  h3 { font-size: 1.38rem; }
  ul { padding-inline-start: 1.35rem; }
  address { font-style: normal; }
  .shell { width: var(--shell); margin-inline: auto; }
  .section { padding-block: clamp(3rem,6vw,6rem); }
  p { overflow-wrap: anywhere; }
}

@layer components {
  .button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; text-align: center;
    gap: .5rem; padding: .65rem 1.12rem; border: 1px solid transparent; border-radius: 8px; font-size: .96rem;
    line-height: 1.3; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .17s,border-color .17s,color .17s; }
  .button:disabled { cursor: not-allowed; opacity: .55; }
  .button-primary { color: white; background: var(--teal); }
  .button-primary:hover { color: white; background: var(--teal-dark); }
  .button-outline { color: var(--teal-dark); background: transparent; border-color: #8da3ae; }
  .button-outline:hover { color: var(--navy); background: #e9f1f3; border-color: var(--teal); }
  .button-sun { color: var(--navy); background: var(--gold); border-color: var(--gold); }
  .button-sun:hover { color: var(--navy); background: #ffe29e; border-color: #ffe29e; }
  .button-light { color: white; background: #0c2534a0; border-color: #d9e8efbf; }
  .button-light:hover { color: var(--navy); background: #fff; border-color: #fff; }
  .actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .8rem; }
  .kicker { margin-bottom: .8rem; color: var(--teal); font-size: .78rem; line-height: 1.35; font-weight: 770; letter-spacing: .14em; text-transform: uppercase; }
  .text-link { font-weight: 680; white-space: normal; }
  .image-placeholder { min-height: 132px; display: grid; place-items: center; background: linear-gradient(130deg,#c5d8df,#e5eff0 52%,#d6e4e8); }
  .image-placeholder::after { content: "Photo coming soon"; color: #294553; font-size: .94rem; font-weight: 660; }
  .skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; transform: translateY(-180%); background: white; padding: .65rem 1rem; }
  .skip-link:focus { transform: none; }
  .site-header { background: var(--navy); color: white; }
  .utility { background: #0f293b; font-size: .84rem; }
  .utility-row { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .utility a { color: #e7f0f4; text-decoration: none; }
  .utility a:hover { color: var(--gold); text-decoration: underline; }
  .nav-row { min-height: 88px; display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; }
  .brand { display: inline-flex; color: white; text-decoration: none; flex: none; }
  .brand img { width: 108px; height: auto; }
  .brand-text { color:white; font-weight: 760; line-height: 1.2; }
  #main-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(.8rem,2vw,1.7rem); }
  #main-nav a { color: #edf4f6; font-weight: 660; text-decoration: none; font-size: .96rem; white-space: nowrap; }
  #main-nav a:hover, #main-nav a[aria-current] { color: var(--gold); }
  #main-nav .nav-contact { padding: .48rem .85rem; border-radius: 7px; border: 1px solid #476170; }
  .nav-toggle { display: none; color:white; background:#142e42; border:1px solid #526879; border-radius:7px; padding:.55rem .85rem; }
  .home-hero { position: relative; isolation: isolate; overflow: hidden; background: #102837; color:white; min-height: clamp(510px,52vw,660px); display: grid; align-items: center; }
  .hero-image { position: absolute; inset: 0; z-index: -2; width:100%; height:100%; object-fit: cover; object-position: 56% center; }
  .hero-shade { position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg,#081a28f5 0%,#0a2332e8 26%,#0b273789 54%,#09202f10 80%),linear-gradient(0deg,#091f3080,transparent 44%); }
  .hero-copy { padding-block: 5rem 5.5rem; }
  .hero-copy .kicker { color: var(--gold); }
  .hero-copy h1 { max-width: 9ch; font-size: clamp(4.35rem,8.1vw,7.85rem); letter-spacing: -.085em; line-height: .91; margin-bottom: 1.5rem; }
  .hero-copy > p:not(.kicker) { max-width: 42ch; font-size: clamp(1.04rem,1.4vw,1.27rem); color: #edf5f8; margin-bottom: 1.7rem; }
  .hero-copy .actions { gap: .7rem; }
  .hero-copy .button { min-height: 50px; padding-inline: 1.2rem; }
  .quick-links { background: #edf4f5; border-bottom: 1px solid #d5e2e7; }
  .quick-grid { display: grid; grid-template-columns: repeat(4,1fr); }
  .quick-grid a { color: var(--navy); text-align: center; padding: 1.05rem .35rem; font-size: 1rem; text-decoration: none; font-weight: 720; }
  .quick-grid a + a { border-left: 1px solid #d5e2e7; }
  .quick-grid a:hover { background: #dcebed; color: var(--teal); }
  .section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.8rem; }
  .boat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.2vw,1.7rem); }
  .boat-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow:hidden; transition: border-color .17s,box-shadow .17s; }
  .boat-card:hover { border-color:#95adb8; box-shadow: 0 6px 22px #1031450d; }
  .boat-image { display: block; aspect-ratio: 4/2.68; position:relative; overflow:hidden; background:#dce7ed; }
  .boat-image img,.boat-image .image-placeholder { width:100%;height:100%;object-fit:cover; }
  .tag { position:absolute; left:.8rem;top:.8rem; border-radius: 4px; padding:.25rem .52rem; background: #f2fafb; color: #173543; font-size:.81rem; font-weight:740; box-shadow:0 1px 6px #081a2830; }
  .boat-info { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding: 1.13rem 1.12rem 1.2rem; }
  .boat-info h3 { font-size:clamp(1.18rem,2vw,1.44rem); margin-bottom: .85rem; line-height:1.2; overflow-wrap:anywhere; }
  .boat-info h3 a { color: var(--ink); text-decoration:none; }
  .boat-info h3 a:hover { color:var(--teal); text-decoration:underline; }
  .boat-meta { font-size:.87rem; margin-bottom:.33rem; color:var(--muted); line-height:1.4; }
  .boat-meta span { margin-inline:.2rem; }
  .boat-bottom { display:flex;gap:.6rem;flex-wrap:wrap;justify-content:space-between;align-items:center;width:100%;margin-top:auto;font-size:.93rem; }
  .inventory-shortcuts { display:flex;gap:.7rem 1.35rem;flex-wrap:wrap;margin-top:1.35rem;font-weight:660; }
  .offerings { background: #edf4f5; }
  .offering-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.6rem; }
  .offering { overflow:hidden; background:white; border:1px solid var(--border); border-radius:var(--radius); }
  .offering-image { aspect-ratio: 3/1.35; }
  .offering-image img,.offering-image .image-placeholder { width:100%; height:100%; object-fit:cover; }
  .offering-copy { padding:clamp(1.25rem,3vw,2.3rem); }
  .offering-copy h2 { font-size:clamp(1.65rem,2.7vw,2.7rem); }
  .offering-copy p:not(.kicker) { margin:.9rem 0 1.1rem; color:var(--muted); }
  .visit-band { display:grid;grid-template-columns:1fr 1fr; column-gap:clamp(2rem,5vw,5rem);align-items:center; }
  .visit-band p { margin:.8rem 0 1.1rem; color:var(--muted); }
  .visit-hours { background:var(--paper); border:1px solid var(--border); border-radius:var(--radius); padding:clamp(1.25rem,3vw,2rem); }
  .visit-hours h2,.visit-hours h3 { margin-bottom:.75rem; font-size:1.43rem; }
  .hours > div,.specs > div { display:flex;justify-content:space-between;align-items:start;gap:.6rem;padding:.4rem 0;border-bottom:1px solid #dce5e7;line-height:1.4; }
  .hours>div:last-child,.specs>div:last-child { border-bottom:0; }
  .hours dd,.specs dd { font-weight:650;text-align:right; }
  .page-intro { background:#eff5f7; border-bottom:1px solid #dce6eb; padding:1.05rem 0 clamp(2.6rem,4vw,4rem); }
  .page-intro h1 { font-size:clamp(2.5rem,6.3vw,5.1rem);max-width:19ch; }
  .intro { margin-top: .9rem; max-width: 62ch; color:var(--muted); font-size: clamp(1.03rem,2vw,1.19rem); }
  .crumbs { display:flex; align-items:center; gap:.56rem; flex-wrap:wrap; font-size:.88rem;color:var(--muted); margin-bottom:1.5rem; }
  .crumbs span:last-child { overflow-wrap:anywhere; }
  .crumbs a { color:var(--teal-dark); }
  .catalog { padding-top:2.25rem; }
  .filters { display:grid; grid-template-columns:1.25fr repeat(4,1fr) auto; align-items:end; gap:.7rem; background:#f2f6f7; border:1px solid var(--border); border-radius:var(--radius); padding:1.14rem; }
  label { display:block; font-size:.91rem; font-weight:675; min-width:0; }
  input:not([type=checkbox]), select,textarea { display:block;width:100%;min-height:44px;margin-top:.3rem;padding:.6rem .66rem;border:1px solid #8399a6;border-radius:7px;background:white;color:var(--ink); }
  textarea { min-height:115px; resize:vertical; }
  input::placeholder { color:#5d737f;opacity:1; }
  select { appearance:none;padding-right:1.7rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M2 3l5 5 5-5' fill='none' stroke='%23142838' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right .56rem center;background-repeat:no-repeat; }
  .list-summary { display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin:1.4rem 0 1rem;color:var(--muted); }
  .empty { text-align:center;padding:3rem 1rem;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius); }
  .empty p { margin:.7rem 0 1.15rem; }
  .detail { padding-top:1.6rem; }
  .detail-grid { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.4rem); }
  .gallery { min-width:0; }
  .gallery-main { width:100%;aspect-ratio:4/3;object-fit:contain;background:#e4eef2;border:1px solid var(--border);border-radius:var(--radius); }
  .thumbs { display:flex;gap:.45rem;overflow:auto;padding:.65rem .25rem 0; }
  .thumbs button { flex:0 0 74px; width:74px; padding:0;border:2px solid transparent;border-radius:6px;background:#dfe8ec;cursor:pointer; }
  .thumbs button[aria-pressed=true] {border-color:var(--teal); }
  .thumbs img { width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:4px; }
  .detail-summary h1 { font-size:clamp(2.15rem,4.4vw,4.1rem);margin-bottom: .72rem; }
  .detail-price { font-size:1.55rem;font-weight:730; }
  .availability { color:var(--muted);margin-top:.25rem; }
  .detail-actions { display:flex; gap:.65rem;flex-wrap:wrap;margin:1.5rem 0 1.1rem; }
  .detail-links { display:flex;gap:.5rem 1rem;flex-wrap:wrap;margin-top:1rem; }
  .detail-text { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.4rem);margin-top:2.25rem; }
  .detail-text h2 { font-size:1.9rem;margin-bottom:1rem; }
  .detail-text p { margin:.85rem 0; }
  .editorial.with-image { display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(1.35rem,4vw,3.4rem);align-items:start; }
  .editorial-photo img { width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius); }
  .article-copy { max-width:72ch; }
  .article-copy p, .article p { margin-bottom:1.1rem; }
  .article-copy .actions { margin-top:1.35rem;gap:.68rem; }
  .article-copy ul li { margin-bottom:.4rem; }
  .blog-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem; }
  .post-card { border:1px solid var(--border);border-radius:var(--radius);overflow:hidden; }
  .post-card > div { padding:1.2rem; }
  .post-card img { width:100%;aspect-ratio:1.7;object-fit:cover; }
  .post-card h2 { font-size:1.26rem;margin-bottom:.42rem;line-height:1.27; }
  .post-card h2 a { color:var(--ink);text-decoration:none; }
  .post-card h2 a:hover { color:var(--teal);text-decoration:underline; }
  .post-card time,.article time { color:var(--muted);font-size:.88rem; }
  .post-card p { margin-top:.6rem; }
  .post-feature { width:min(800px,100%);max-height:450px;object-fit:cover;margin:1.15rem 0 1.5rem;border-radius:var(--radius); }
  .article .article-copy { margin-top:.9rem; }
  .form-layout { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.4rem);align-items:start; }
  .form-card,.form-aside { border:1px solid var(--border);border-radius:var(--radius);padding:clamp(1.15rem,3vw,2rem); }
  .form-aside { background:var(--paper); }
  .form-aside h2,.form-card h2 { font-size:1.65rem;margin-bottom:.6rem; }
  .form-aside p { margin:.8rem 0; color:var(--muted); }
  .form-boat { margin-bottom:1rem; }
  .form-row { display:grid;grid-template-columns:1fr 1fr;gap:.85rem; }
  .lead-form { display:grid;gap:.83rem; }
  .lead-form button { justify-self:start; }
  .form-note { font-size:.91rem;color:var(--muted); }
  .required { color:#a23d16; }
  .notice { padding:.8rem 1rem;margin-bottom:.95rem;border:1px solid #decc98;border-radius:6px;background:#fff7e2;color:#583e18; }
  .notice.error { background:#fbedec;border-color:#dda9a3;color:#741915; }
  .notice.success { background:#e9f6ed;border-color:#aad0b3;color:#174a26;margin:0; }
  .hp { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  .site-map li { margin:.4rem 0; }
  .site-footer { background:var(--navy);color:#e4eef2;padding:3rem 0 1rem; }
  .footer-grid { display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:1.65rem; }
  .footer-brand img { width:116px; }
  .footer-grid h2 { font-size:1.12rem;letter-spacing:0;margin:.35rem 0 .78rem;color:white; }
  .footer-grid p { margin:.65rem 0;max-width:32ch;color:#c3d6e0; }
  .footer-grid a:not(.brand),.footer-end a { color:#e4eef2;text-decoration:none; display:block;padding:.22rem 0; }
  .footer-grid a:hover,.footer-end a:hover { color:var(--gold);text-decoration:underline; }
  .footer-social { display:flex;gap:.85rem; }
  .footer-end { display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem;border-top:1px solid #324a58;padding-top:.75rem;margin-top:2rem;font-size:.85rem;color:#c3d6e0; }
  .footer-end nav { display:flex;flex-wrap:wrap;gap:.4rem 1rem; }
  .staff-toolbar,.staff-tabs,.staff-actions { display:flex;flex-wrap:wrap;gap:.6rem;align-items:center; }
  .staff-toolbar { justify-content:space-between;margin-bottom:1rem; }
  .staff-tabs button { cursor:pointer;background:var(--paper);border:1px solid var(--border);border-radius:6px;padding:.5rem .75rem;color:var(--ink); }
  .staff-tabs button[aria-pressed=true] { background:var(--teal);border-color:var(--teal);color:white; }
  #staff-result { min-height:1.5em;color:var(--teal-dark);margin-bottom:.7rem; }
  #staff-panel { min-width:0; }
  .staff-editor { max-width:850px;display:grid;gap:.9rem; }
  .staff-editor .panel-head,.lead-header { display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;justify-content:space-between; }
  .staff-editor textarea { min-height:148px; }
  .staff-editor h2,.staff-list h2 { font-size:1.65rem; }
  .staff-list { display:grid;gap:.65rem; }
  .staff-list article { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem;padding:.85rem .95rem;border:1px solid var(--border);border-radius:8px;background:white; }
  .staff-list article h3 { font-size:1.12rem;letter-spacing:-.02em; }
  .staff-sub,.staff-photo-caption { color:var(--muted);font-size:.9rem; }
  .staff-lead { display:grid!important; }
  .staff-lead[hidden] { display:none!important; }
  .lead-filters { display:flex; flex-wrap:wrap; align-items:end; gap:.7rem 1rem; padding:.85rem; background:var(--paper); border-radius:8px; }
  .lead-filters label { flex:1 1 170px; }
  .lead-filters p { flex:0 1 auto; color:var(--muted); padding-bottom:.55rem; }
  .staff-lead details { overflow-wrap:anywhere; }
  .staff-lead p { margin:.48rem 0; }
  .staff-lead-details { display:grid;gap:.35rem;margin:.65rem 0; }
  .staff-lead-details div { display:flex;flex-wrap:wrap;gap:.2rem .6rem; }
  .staff-lead-details dt { font-weight:700; }
  .staff-lead-details dd { margin:0; }
  .staff-lead select { width:auto; }
  .staff-uploads { display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.6rem; }
  .staff-uploads img { width:76px;aspect-ratio:1;object-fit:cover;border-radius:5px; }
}

@layer layout {
  @media (max-width: 1060px) {
    :root { --shell:min(100% - 52px,1300px); }
    .nav-row { gap:.7rem; }
    #main-nav { gap:.75rem; }
    .filters { grid-template-columns:repeat(3,minmax(0,1fr)); }
  }
  @media (max-width: 760px) {
    :root { --shell:calc(100% - 36px); }
    .nav-row { min-height:75px;flex-wrap:wrap; }
    #main-nav { width:100%;font-size:.95rem;gap:.5rem;justify-content:flex-start;flex-wrap:wrap;padding-bottom:.7rem; }
    .has-js .nav-toggle {display:inline-flex;}
    .has-js #main-nav:not([data-open]) {display:none;}
    .has-js #main-nav[data-open] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
    #main-nav a { white-space:normal;padding:.45rem .32rem; }
    #main-nav .nav-contact {padding:.45rem .32rem; }
    .brand img {width:95px;}
    .home-hero {min-height:530px;align-items:end;}
    .hero-copy {padding-block:6rem 2.5rem;}
    .hero-copy h1 {font-size:clamp(3.35rem,12.8vw,5.85rem);}
    .hero-image {object-position:62% center;}
    .hero-shade {background:linear-gradient(0deg,#071b2cf5 0%,#102b3cda 32%,#0a203f28 82%),linear-gradient(90deg,#091c2a72 0%,transparent 95%);}
    .quick-grid {grid-template-columns:repeat(2,1fr);}
    .quick-grid a {padding:.65rem .22rem;font-size:.92rem;}
    .quick-grid a:nth-child(3) {border-left:0;}
    .quick-grid a:nth-child(n+3) {border-top:1px solid #d5e2e7;}
    .boat-grid,.blog-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
    .offering-grid,.visit-band,.detail-grid,.detail-text,.form-layout,.editorial.with-image {grid-template-columns:1fr;row-gap:1.45rem;}
    .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.05rem;}
  }
  @media (max-width: 480px) {
    :root { --shell:calc(100% - 26px); }
    .utility {font-size:.77rem;}
    .utility-row {min-height:36px;}
    .hero-copy .button {padding-inline:.8rem;min-height:46px;}
    .hero-copy {padding-block:5rem 2.05rem;}
    .home-hero {min-height:492px;}
    .boat-grid,.blog-grid {grid-template-columns:1fr;}
    .boat-image {aspect-ratio:4/2.55;}
    .filters {grid-template-columns:repeat(2,minmax(0,1fr));padding:.85rem;}
    .filters label:first-child {grid-column:1/-1;}
    .filters button {grid-column:1/-1;}
    .form-row {grid-template-columns:1fr;}
    .site-footer {padding-top:2.2rem;}
    .footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
    .footer-intro {grid-column:1/-1;}
    .footer-end {font-size:.8rem;}
    .offering-image {aspect-ratio:2.1;}
  }
  @media (prefers-reduced-motion: reduce) {
    *,*::before,*::after {transition:none!important;scroll-behavior:auto!important;}
  }
}

