:root {
  color-scheme: light;
  --bg: #e8f0f8;
  --bg-soft: #f4f8fc;
  --surface: #ffffff;
  --surface-2: #dbe8f4;
  --text: #10243d;
  --muted: #52677f;
  --accent: #155fa9;
  --accent-strong: #0b4f94;
  --line: rgba(24, 71, 117, 0.18);
  --shadow: 0 18px 45px rgba(40, 73, 108, 0.15);
  --radius: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(88, 154, 218, 0.22), transparent 32rem),
    linear-gradient(145deg, #f7fbff, var(--bg) 58%, #dce9f5);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 95, 169, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 95, 169, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #0a477f;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 0.75em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1.15em;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent-strong);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid rgba(153, 191, 230, 0.25);
  background: rgba(5, 24, 49, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 35px rgba(4, 20, 42, 0.18);
}

.site-header__inner,
.site-footer__inner,
.section,
.page-hero {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: #f5f9ff;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(185, 215, 244, 0.38);
  border-radius: 50%;
}

.brand span {
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 5px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #b8cce2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 10px 13px;
  color: #c5d5e7;
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(107, 174, 255, 0.18);
}

main {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
  width: min(100% - 40px, var(--content));
  min-height: 680px;
  margin-inline: auto;
  padding-block: 70px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero__lead {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #1769cf, var(--accent-strong));
  border: 1px solid rgba(170, 210, 255, 0.45);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(23, 105, 207, 0.2);
}

.button:hover {
  color: #fff;
  background: linear-gradient(135deg, #247ce5, #4995f5);
}

.button--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(21, 95, 169, 0.08);
}

.hero__image {
  position: relative;
}

.hero__image::before {
  position: absolute;
  inset: 8% -5% -6% 8%;
  z-index: -1;
  content: "";
  background: rgba(38, 111, 183, 0.2);
  border-radius: 40% 16% 35% 20%;
  filter: blur(30px);
}

.hero__image img {
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 45% 16% 38% 18%;
  box-shadow: var(--shadow);
}

.section {
  padding-block: 76px;
}

.section--compact {
  padding-block: 45px;
}

.section--tinted {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--content)) / 2));
  background: rgba(218, 232, 245, 0.72);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 560px;
  margin-bottom: 4px;
}

.art-grid,
.collection-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.art-card,
.collection-card,
.shop-card,
.news-item,
.form-card,
.prose-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 251, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.art-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.art-card__body,
.collection-card,
.shop-card__body,
.news-item,
.form-card,
.prose-card {
  padding: 24px;
}

.art-card h3,
.collection-card h3,
.shop-card h3 {
  margin-bottom: 6px;
}

.art-card p,
.collection-card p,
.shop-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.page-hero {
  padding-block: 72px 52px;
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero p {
  max-width: 720px;
  font-size: 1.1rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100% - 40px, var(--content));
  margin: 0 auto 30px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.subnav a {
  min-height: 44px;
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 9px;
}

.subnav a:hover,
.subnav a[aria-current="page"] {
  color: #fff;
  background: var(--accent-strong);
}

.prose {
  max-width: 780px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 1.5em;
}

.prose p {
  font-size: 1.04rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 38px;
  align-items: start;
}

.story__media {
  display: grid;
  gap: 18px;
}

.story__media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.gallery-grid a {
  display: block;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.025);
}

.gallery-grid figcaption {
  padding: 12px 15px 15px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trip-gallery img {
  aspect-ratio: auto;
}

.shop-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  grid-column: 1 / -1;
}

.shop-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.shop-card__meta {
  display: grid;
  gap: 7px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.shop-card__price {
  margin-block: 20px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.form-card {
  max-width: 760px;
  margin-inline: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note,
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.news-list {
  display: grid;
  gap: 18px;
  max-width: 850px;
  margin-inline: auto;
}

.news-item time {
  color: var(--accent);
  font-size: 0.88rem;
}

.news-item h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.site-footer {
  margin-top: 60px;
  color: #eaf3fc;
  border-top: 1px solid rgba(153, 191, 230, 0.25);
  background: #061a35;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding-block: 42px;
  align-items: end;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #b8cce2;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer__links a {
  color: #c5d8ec;
}

.empty-state {
  padding: 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .story {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 55px;
  }

  .hero__image {
    max-width: 680px;
  }

  .art-grid,
  .collection-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .site-footer__inner,
  .section,
  .page-hero,
  .hero,
  .subnav {
    width: min(100% - 28px, var(--content));
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 11px;
  }

  .hero {
    gap: 38px;
  }

  .hero__image img {
    max-height: 470px;
  }

  .section,
  .page-hero {
    padding-block: 50px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .art-grid,
  .collection-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .shop-card {
    grid-template-columns: 1fr;
  }

  .shop-card img {
    min-height: 260px;
  }

  .field--wide {
    grid-column: auto;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
