:root {
  color-scheme: light;
  --ink: #173337;
  --muted: #6f8582;
  --deep: #082f35;
  --teal: #185c60;
  --seafoam: #c6dbb0;
  --paper: #f5f6ef;
  --line: #e1e6df;
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.site-header { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(7%, calc((100% - 1120px) / 2)); border-bottom: 1px solid rgba(255,255,255,.15); color: white; }
.brand { font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.site-header nav { display: flex; align-items: center; gap: 29px; color: #d6e2db; font-size: 12px; }
.site-header nav a:hover, .site-footer a:hover { color: var(--seafoam); }

.hero { position: relative; display: flex; min-height: 530px; align-items: center; overflow: hidden; padding: 104px max(7%, calc((100% - 1120px) / 2)) 70px; color: white; background: radial-gradient(ellipse at 75% 55%, #1a6870 0, #104852 38%, var(--deep) 77%); }
.hero-copy { position: relative; z-index: 2; width: min(510px, 55%); }
.eyebrow { margin: 0 0 10px; color: #6e9285; font-size: 11px; letter-spacing: .09em; }
.hero .eyebrow { color: var(--seafoam); }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); font-weight: 500; line-height: 1.22; letter-spacing: -.03em; }
.hero h1 em { color: var(--seafoam); font-style: normal; }
.hero-description { max-width: 370px; margin: 18px 0 13px; color: #d1ded7; font-size: 14px; }
.intro-link { display: inline-flex; gap: 11px; align-items: center; color: var(--seafoam); font-size: 12px; font-weight: 600; }
.intro-link span { font-size: 18px; }
.hero-art { position: absolute; top: 70px; bottom: 0; left: 0; width: 52%; overflow: hidden; background: radial-gradient(ellipse at 55% 52%, rgba(116,188,171,.32), transparent 49%); }
.reef-ring { position: absolute; top: 10%; left: 14%; width: min(400px, 65vw); aspect-ratio: 1; border: 1px solid rgba(203,230,202,.13); border-radius: 50%; box-shadow: 0 0 0 45px rgba(203,230,202,.025), 0 0 0 95px rgba(203,230,202,.02); }
.reef-glow { position: absolute; top: 30%; left: 56%; width: 17px; height: 17px; border-radius: 50%; background: #e1ebc3; box-shadow: 0 0 35px 12px rgba(209,235,195,.3); }
.reef-coral { position: absolute; z-index: 1; bottom: 104px; width: 12px; border-radius: 15px; background: #c1d47b; transform-origin: bottom; }
.reef-coral::before, .reef-coral::after { position: absolute; bottom: 50px; width: 10px; height: 80px; border-radius: 12px; background: inherit; content: ""; transform-origin: bottom; }
.reef-coral::before { left: 0; transform: rotate(-32deg); }
.reef-coral::after { bottom: 73px; left: 8px; height: 66px; transform: rotate(28deg); }
.reef-coral-one { left: 21%; height: 145px; transform: rotate(6deg); }
.reef-coral-two { left: 66%; height: 92px; background: #df9d77; transform: rotate(-7deg); }
.reef-sand { position: absolute; right: -5%; bottom: -96px; left: -5%; height: 190px; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, #d0bd90, #8c836a); }
.hero-caption { position: absolute; z-index: 1; bottom: 24px; left: 9%; color: #f5efd6; font-size: 9px; letter-spacing: .14em; }

.example-notice { margin: 0; padding: 11px max(7%, calc((100% - 1120px) / 2)); color: #695b31; background: #fff8df; font-size: 12px; }
.example-notice[hidden] { display: none; }
.section { padding: 66px max(7%, calc((100% - 1120px) / 2)) 72px; }
.gallery-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2, .contact-section h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); font-weight: 500; line-height: 1.4; }
.section-aside { margin: 0 0 3px; color: var(--muted); font-size: 11px; text-align: left; }
#count-visible { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; margin-right: 7px; border-radius: 50%; color: var(--teal); background: #e8eee7; font-size: 12px; vertical-align: 3px; }
.inventory-filters { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; margin-bottom: 15px; }
.filter-button { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 18px; color: #596e65; background: white; cursor: pointer; font-size: 11px; }
.filter-button span { color: #87988d; font-size: 10px; }
.filter-button.is-active { border-color: #88a895; color: #234f3d; background: #eef4ed; }
.filter-button:focus-visible { outline: 2px solid #78a38c; outline-offset: 3px; }
.fish-group-note { max-width: 720px; margin: 0 0 16px; padding: 11px 14px; border-right: 2px solid #a7b9a6; color: var(--muted); background: #f7f8f3; font-size: 12px; line-height: 1.8; }
.fish-group-note[hidden] { display: none; }
.inventory-data-status { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.inventory-data-status.is-error { padding: 10px 12px; border-right: 3px solid #b64c42; color: #8c3730; background: #fff3f0; }
.inventory-data-status[hidden] { display: none; }

.gallery-grid { display: grid; gap: 16px; }
.overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-card { min-width: 0; }
.gallery-frame { position: relative; display: flex; width: 100%; aspect-ratio: 4 / 3; align-items: center; justify-content: center; overflow: hidden; color: white; background: #0b2f35; }
.gallery-frame.is-video { aspect-ratio: 16 / 9; }
.gallery-frame img, .gallery-frame video { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b2f35; }
.gallery-frame .image-viewer-trigger { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.image-viewer-trigger { display: block; padding: 0; overflow: hidden; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.image-viewer-trigger:focus-visible { z-index: 3; outline: 3px solid #78a38c; outline-offset: -3px; }
.image-viewer-trigger img { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b2f35; }
.placeholder-sparkle, .placeholder-label { position: relative; z-index: 1; }
.placeholder-sparkle { font-size: 24px; color: #e3edcc; }
.placeholder-label { padding: 6px 9px; background: rgba(5, 40, 45, .34); font-size: 10px; }
.gallery-caption { padding-top: 11px; }
.gallery-caption h3 { margin: 0 0 3px; font-size: 13px; font-weight: 600; }
.gallery-caption p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.inventory-section { background: white; }
.sale-terms-section { background: var(--paper); }
.sale-terms-copy { max-width: 760px; padding: 17px 20px; border-right: 2px solid #a7b9a6; color: var(--muted); background: white; font-size: 13px; line-height: 1.8; }
.sale-terms-copy p { margin: 0; }
.sale-terms-copy p + p { margin-top: 8px; }
.sale-terms-copy strong { color: var(--deep); font-weight: 600; }
.inventory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.item-card { position: relative; display: flex; min-width: 0; min-height: 154px; flex-direction: column; padding: 18px 20px 17px 0; border-bottom: 1px solid var(--line); }
.item-card:nth-child(odd) { padding-right: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.item-image { width: min(100%, 360px); max-height: 220px; object-fit: contain; background: #f5f6ef; }
.item-card > .image-viewer-trigger { width: min(100%, 360px); max-height: 220px; align-self: start; margin-bottom: 12px; }
.item-card > .image-viewer-trigger img { max-height: 220px; }
.item-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.item-number { color: #a0aaa3; font-size: 10px; }
.status-tag { padding: 3px 8px; border-radius: 12px; color: #466d4e; background: #edf4e9; font-size: 9px; }
.status-sold { color: #82625d; background: #f2e9e5; }
.item-name { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; }
.item-description { max-width: 520px; margin: 4px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.item-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.item-price { color: var(--deep); font-size: 15px; font-weight: 700; }
.item-card.is-sold { opacity: .68; }
.item-card.is-sold .item-name, .item-card.is-sold .item-price { color: #74817b; text-decoration: line-through; }
.loading-message { color: var(--muted); font-size: 12px; }
.load-error { color: #9b423b; }

.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 40px max(10%, calc((100% - 1000px) / 2)); color: white; background: var(--deep); }
.contact-section .eyebrow { margin-bottom: 4px; color: var(--seafoam); }
.contact-section h2 { font-size: 23px; }
.contact-details { width: min(390px, 50%); }
.contact-row { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 11px; }
.contact-label { color: #b6cec1; }
.contact-value { margin: 0; overflow-wrap: anywhere; color: white; }
.contact-placeholder { margin: 0; padding: 13px; border: 1px solid rgba(255,255,255,.2); color: #d4e1d8; font-size: 11px; }
.site-footer { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; padding: 0 max(7%, calc((100% - 1120px) / 2)); color: var(--muted); font-size: 10px; }
.site-footer a { color: #526d5d; }

body.image-lightbox-open { overflow: hidden; }
.image-lightbox { position: fixed; width: min(94vw, 1200px); max-width: none; max-height: 92dvh; padding: 50px 14px 14px; overflow: visible; border: 0; border-radius: 12px; color: white; background: #092b30; box-shadow: 0 16px 70px rgba(0,0,0,.4); }
.image-lightbox::backdrop { background: rgba(3, 18, 20, .88); }
.image-lightbox img { display: block; width: 100%; max-height: calc(92dvh - 64px); object-fit: contain; }
.image-lightbox-close { position: absolute; z-index: 1; top: 8px; left: 8px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; background: rgba(0,0,0,.38); cursor: pointer; font-size: 27px; line-height: 1; }
.image-lightbox-close:focus-visible { outline: 3px solid #c6dbb0; outline-offset: 3px; }

a:focus-visible { outline: 2px solid #78a38c; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .site-header { min-height: 58px; padding-inline: 5%; }
  .site-header nav { gap: 14px; font-size: 10px; }
  .hero { min-height: 565px; align-items: start; padding: 112px 7% 55px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(40px, 11vw, 59px); }
  .hero-description { max-width: 310px; font-size: 12px; }
  .hero-art { top: auto; bottom: 0; width: 100%; height: 47%; opacity: .8; }
  .reef-ring { top: 0; left: 20%; width: 280px; }
  .reef-coral { bottom: 56px; }
  .reef-coral-one { left: 24%; }
  .reef-coral-two { left: 67%; }
  .reef-sand { height: 110px; bottom: -58px; }
  .hero-caption { bottom: 13px; }
  .section { padding: 43px 6% 48px; }
  .section-heading { align-items: start; margin-bottom: 18px; }
  .section-heading h2 { font-size: 22px; }
  .section-aside { flex: 0 0 auto; font-size: 10px; }
  .inventory-filters { gap: 6px; margin-bottom: 11px; }
  .filter-button { min-height: 36px; padding-inline: 13px; }
  .overview-grid { grid-template-columns: 1fr; gap: 20px; }
  .inventory-grid { grid-template-columns: 1fr; }
  .item-card, .item-card:nth-child(odd) { min-height: 135px; padding: 14px 0; border-left: 0; }
  .image-lightbox { width: 100vw; max-height: 100dvh; padding: 52px 7px 7px; border-radius: 0; }
  .image-lightbox img { max-height: calc(100dvh - 59px); }
  .item-name { font-size: 16px; }
  .item-description { font-size: 11px; }
  .contact-section { align-items: start; flex-direction: column; gap: 14px; padding: 29px 7%; }
  .contact-details { width: 100%; }
  .site-footer { padding-inline: 6%; }
}

@media (max-width: 370px) {
  .brand { font-size: 12px; }
  .site-header nav { gap: 9px; font-size: 9px; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero { min-height: 540px; }
}
