:root {
  color-scheme: light;
  --deep: #081d1d;
  --cream: #f7f1e4;
  --text: #102627;
  --secondary: #384e4e;
  --lime: #c4ff00;
  --rule: #849a56;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-underline-offset: .23em; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: .25rem; }
.wrap { width: min(92%, 78rem); margin-inline: auto; }
.masthead { background: var(--deep); color: var(--cream); border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 6rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--lime); font-weight: 900; letter-spacing: -.055em; font-size: clamp(1.1rem, 3vw, 2rem); line-height: 1; }
.brand-emblem { display: block; width: 4.7rem; height: 3.65rem; overflow: hidden; flex: none; }
.brand-emblem img { width: 100%; height: auto; display: block; }
.location { font-weight: 650; font-size: .91rem; text-align: right; }

.hero { background: var(--deep); color: var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.04fr; align-items: stretch; min-height: 33rem; }
.hero-copy { align-self: center; position: relative; z-index: 1; padding: 3.25rem 1rem 3.25rem 0; }
.overline { color: var(--lime); font-size: clamp(.77rem, 2vw, 1.02rem); text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
h1 { font-size: clamp(3rem, 6.7vw, 6rem); font-weight: 850; letter-spacing: -.072em; line-height: .99; max-width: 13ch; margin-block: .9rem 1.35rem; }
.hero-copy p:last-child { max-width: 35ch; font-size: clamp(1.08rem, 2.1vw, 1.4rem); }
.hero-photo { position: relative; display: block; min-width: 0; }
.hero-photo img, .hero-photo::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: center; }
.hero-photo::after { content: ""; background: linear-gradient(90deg, var(--deep), transparent 21%, transparent 91%, var(--deep)); }

h2 { font-size: clamp(2.1rem, 4.6vw, 4.15rem); font-weight: 830; letter-spacing: -.063em; line-height: 1.05; }
.catalog { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.catalog h2 { padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.65rem; gap: 1.4rem; }
.catalog-grid article + article { border-inline-start: 1px solid #c3ccad; padding-inline-start: 1.4rem; }
.catalog-photo { aspect-ratio: 16 / 10; background: #162e2e; overflow: hidden; }
.catalog-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
h3 { font-size: clamp(1.42rem, 2.4vw, 2rem); letter-spacing: -.05em; line-height: 1.2; margin-block: .7rem .45rem; }
.catalog-grid p, .aquarium p { color: var(--secondary); }
.aquarium { display: grid; grid-template-columns: 1fr 2fr; align-items: baseline; gap: 2rem; border-top: 1px solid var(--rule); padding-block: 1.7rem 2.75rem; }
.aquarium h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); }

.contact { background: var(--deep); color: var(--cream); padding-block: clamp(2.5rem, 5vw, 4rem); }
.contact h2 { color: var(--lime); margin-bottom: 1.45rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.65rem; }
.contact-grid > div + div { border-inline-start: 1px solid var(--rule); padding-inline-start: 1.65rem; }
.contact p + p { margin-top: .35rem; }
address { font-style: normal; }
.source-link { margin-top: .75rem; }
.social { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; list-style: none; padding: 1.15rem 0 0; margin-top: 1.5rem; border-top: 1px solid #456061; font-size: .93rem; }

@media (max-width: 760px) {
  .catalog-grid { gap: 1rem; }
  .catalog-grid article + article { padding-inline-start: 1rem; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 4.5rem; }
  .brand { gap: .35rem; }
  .brand-emblem { width: 3.25rem; height: 2.55rem; }
  .location { font-size: .75rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 2rem 0 .9rem; }
  h1 { font-size: clamp(2.75rem, 11vw, 4rem); }
  .hero-photo { min-height: clamp(14rem, 65vw, 24rem); }
  .hero-photo::after { background: linear-gradient(180deg, var(--deep), transparent 19%, transparent 90%, var(--deep)); }
  .catalog-grid, .aquarium, .contact-grid { grid-template-columns: 1fr; }
  .catalog-grid { gap: 1.45rem; }
  .catalog-grid article + article, .contact-grid > div + div { border-inline-start: 0; padding-inline-start: 0; }
  .aquarium { gap: .8rem; }
}
