@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");

:root {
  --site-width: 1170px;
  --header-height: 72px;
  --text: #333333;
  --muted: #808080;
  --line: #e6e6e6;
  --light: #f7f7f7;
  --lighter: #fbfbfb;
  --accent: #1f93d1;
  --active: #efefef;
  --dark: #202020;
  --header-font: "Montserrat", "Open Sans", sans-serif;
  --display-font: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #d9d9d9;
}

.header-shell,
.story-shell,
.footer-shell,
.gallery-layout {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
}

.header-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
  padding: 0 10px 0 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 212px;
  padding-right: 6px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: 50px;
  overflow: visible;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--header-height) - 18px);
  margin: 9px 0;
  padding: 0 14px;
  border-radius: 10px;
  color: #5d5d5d;
  font-family: var(--header-font);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 11px;
  height: 1px;
  background: rgba(74, 74, 74, 0.45);
  opacity: 0;
  transform: scaleX(0.65);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover {
  color: #2f2f2f;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a.is-active {
  background: linear-gradient(180deg, rgba(239, 239, 239, 0.92), rgba(232, 232, 232, 0.92));
  color: #494949;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.header-tools {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 8px;
  padding-left: 14px;
  gap: 10px;
  border-left: 1px solid #dddddd;
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: calc(var(--header-height) - 18px);
  margin: 9px 0;
  padding: 0 12px;
  border: 1px solid rgba(20, 47, 73, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(244, 248, 252, 0.96));
  box-shadow: 0 10px 24px rgba(16, 35, 58, 0.06);
}

.locale-switcher-label {
  color: #5f7388;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.locale-switcher-select {
  min-width: 88px;
  border: 0;
  background: transparent;
  color: #17324a;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.locale-switcher-select:focus {
  outline: none;
}

.tool-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: calc(var(--header-height) - 18px);
  margin: 9px 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  appearance: none;
  color: #3f3f3f;
  background: transparent;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.tool-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-button:hover,
.tool-button:focus-visible {
  background: #f4f4f4;
  color: #202020;
}

.tool-button:active {
  transform: translateY(1px);
}

.tool-button.is-active {
  background: #e8e8e8;
  color: #303030;
}

.tool-button:focus-visible,
.main-nav a:focus-visible {
  outline: none;
}

.cart-badge {
  position: absolute;
  top: 9px;
  right: 3px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.63rem;
  line-height: 14px;
  text-align: center;
}

.page-home {
  padding-top: 0;
}

.hero-slider {
  position: relative;
  height: min(700px, calc(100vh - var(--header-height)));
  min-height: 520px;
  overflow: hidden;
  background: #efefef;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 620ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-image {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
  transition:
    transform 4200ms linear,
    filter 700ms ease;
  filter: saturate(1.02) contrast(1.02);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.18));
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(var(--site-width), calc(100vw - 40px));
  height: 100%;
  margin: 0 auto;
  color: #ffffff;
  text-align: center;
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
}

.hero-slide-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slide-content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
}

.hero-slide-content p {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 300;
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-dots button.is-active {
  background: #ffffff;
}

.hero-slide.is-active .hero-slide-image {
  transform: scale(1.085);
}

.page-home {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(31, 147, 209, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fdfefe 58%, #fbfdff 100%);
}

.home-hero {
  height: min(760px, calc(100vh - var(--header-height)));
  min-height: 560px;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.home-hero::before {
  top: 38px;
  left: 8%;
  width: min(420px, 32vw);
  height: min(420px, 32vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 147, 209, 0.12), rgba(31, 147, 209, 0));
}

.home-hero::after {
  right: 7%;
  bottom: 44px;
  width: min(540px, 36vw);
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.home-hero .hero-slide-overlay {
  background:
    linear-gradient(90deg, rgba(15, 19, 24, 0.48) 0%, rgba(15, 19, 24, 0.2) 46%, rgba(15, 19, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 12, 18, 0.14), rgba(7, 12, 18, 0.26));
}

.home-hero .hero-slide-content {
  align-items: flex-start;
  justify-content: center;
  padding: 54px 0 74px;
  text-align: left;
}

.home-hero .hero-slide-copy {
  max-width: min(560px, 52vw);
  padding: 34px 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid rgba(132, 211, 255, 0.92);
  background: linear-gradient(180deg, rgba(16, 22, 29, 0.3), rgba(16, 22, 29, 0.12));
  box-shadow: 0 26px 46px rgba(13, 18, 24, 0.18);
}

.home-hero .hero-slide-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms cubic-bezier(0.2, 0.72, 0.24, 1),
    transform 520ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.home-hero .hero-slide.is-active .hero-slide-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.home-hero .hero-slide.is-active .hero-slide-eyebrow {
  transition-delay: 120ms;
}

.home-hero .hero-slide.is-active h1 {
  transition-delay: 180ms;
}

.home-hero .hero-slide.is-active p {
  transition-delay: 260ms;
}

.home-hero .hero-slide.is-active .hero-slide-actions {
  transition-delay: 320ms;
}

.home-hero .hero-slide.is-active .hero-slide-note {
  transition-delay: 380ms;
}

.home-hero .hero-slide-eyebrow {
  margin-bottom: 14px;
  color: rgba(247, 252, 255, 0.82);
}

.home-hero .hero-slide-content h1 {
  max-width: 10ch;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.home-hero .hero-slide-content p {
  max-width: 31rem;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-hero .hero-slide-content a {
  min-width: 138px;
  margin-top: 26px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #16577f;
  font-family: var(--header-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(13, 18, 24, 0.14);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.home-hero .hero-slide-content a:hover,
.home-hero .hero-slide-content a:focus-visible {
  background: #1f93d1;
  border-color: #1f93d1;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 147, 209, 0.26);
}

.home-hero .hero-slide-note {
  max-width: 31rem;
}

.home-hero .hero-dots {
  right: 36px;
  bottom: 34px;
  gap: 10px;
}

.home-hero .hero-dots button {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.home-hero .hero-dots button.is-active {
  background: #ffffff;
  transform: scaleX(1.08);
}

.home-latest {
  position: relative;
  padding: 56px 0 34px;
}

.home-latest::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: min(480px, 34vw);
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 147, 209, 0.08), rgba(31, 147, 209, 0));
  pointer-events: none;
}

.home-latest-shell,
.home-slogan-shell {
  position: relative;
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
}

.home-section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.home-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px 40px;
  align-items: end;
}

.home-section-heading--center {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
}

.home-kicker {
  margin: 0 0 14px;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-section-heading h2,
.home-slogan-shell h2 {
  margin: 0;
  color: #18324a;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.15rem, 3.2vw, 3.1rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.home-section-copy,
.home-slogan-shell p {
  margin: 0;
  color: #6b7886;
  font-size: 1rem;
  line-height: 1.9;
}

.home-filters {
  justify-content: flex-start;
  gap: 26px;
  margin-bottom: 24px;
  padding-left: 2px;
}

.home-filters a {
  position: relative;
  padding: 0 0 10px;
  color: #7a8794;
  font-family: var(--header-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-filters a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(31, 147, 209, 0.7);
  opacity: 0;
  transform: scaleX(0.65);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.home-filters a:hover,
.home-filters a:focus-visible {
  color: #1f93d1;
}

.home-filters a:hover::after,
.home-filters a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-latest {
  padding: 48px 0 34px;
}

.home-latest::before {
  top: 32px;
  right: 8%;
  width: min(420px, 30vw);
  height: 180px;
  background: radial-gradient(circle, rgba(31, 147, 209, 0.05), rgba(31, 147, 209, 0));
}

.home-latest-header {
  margin: 0 auto 22px;
  text-align: center;
}

.home-latest-header h2 {
  margin: 0;
  color: #18324a;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.home-filters {
  justify-content: center;
  gap: 30px;
  margin-bottom: 28px;
  padding-left: 0;
}

.home-latest-grid {
  width: min(940px, 100%);
  margin: 0 auto;
  gap: 18px;
}

.page-home .home-latest-grid .portfolio-card {
  aspect-ratio: 7 / 5;
  border-radius: 0;
  background: #f1f1f1;
  box-shadow: none;
}

.page-home .home-latest-grid .portfolio-card img {
  transition: transform 320ms cubic-bezier(0.19, 1, 0.22, 1);
}

.page-home .home-latest-grid .portfolio-card-overlay {
  padding: 28px;
  background: rgba(0, 0, 0, 0.42);
}

.page-home .home-latest-grid .portfolio-card-overlay > span {
  max-width: 88%;
}

.page-home .home-latest-grid .portfolio-card-meta {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--header-font);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .home-latest-grid .portfolio-card-title {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  font-weight: 300;
  line-height: 1.08;
}

@media (min-width: 981px) {
  .page-home .home-latest-grid .portfolio-card--last-single {
    grid-column: 1 / -1;
    width: min(420px, 100%);
    justify-self: center;
  }
}

.home-featured-grid {
  position: relative;
  z-index: 1;
}

.home-featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(292px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.home-featured-card,
.home-featured-aside {
  border: 1px solid rgba(22, 55, 84, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 254, 0.96));
  box-shadow:
    0 20px 44px rgba(16, 35, 58, 0.06),
    0 4px 18px rgba(31, 147, 209, 0.05);
}

.home-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  overflow: hidden;
}

.home-featured-media {
  position: relative;
  display: block;
  min-height: 100%;
  background: #e8eef2;
  overflow: hidden;
}

.home-featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 22, 0), rgba(11, 17, 22, 0.12));
}

.home-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.19, 1, 0.22, 1);
}

.home-featured-media:hover img,
.home-featured-media:focus-visible img {
  transform: scale(1.045);
}

.home-featured-badge,
.home-featured-overlay {
  position: absolute;
  left: 20px;
  z-index: 2;
}

.home-featured-badge {
  top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f567b;
  font-family: var(--header-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(17, 25, 33, 0.1);
}

.home-featured-overlay {
  bottom: 18px;
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.home-featured-media:hover .home-featured-overlay,
.home-featured-media:focus-visible .home-featured-overlay {
  opacity: 1;
  transform: translateY(0);
}

.home-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 28px 30px;
}

.home-featured-kicker {
  margin: 0;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-featured-copy h3 {
  margin: 0;
  color: #18324a;
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 0.96;
}

.home-featured-description {
  margin: 0;
  color: #617183;
  font-size: 0.98rem;
  line-height: 1.85;
}

.home-featured-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-featured-stat {
  padding: 14px 14px 15px;
  border: 1px solid rgba(31, 147, 209, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 147, 209, 0.08), rgba(31, 147, 209, 0.02));
}

.home-featured-stat span {
  display: block;
  margin-bottom: 7px;
  color: #63809b;
  font-family: var(--header-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-featured-stat strong {
  display: block;
  color: #15324c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-featured-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.home-featured-button,
.home-featured-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-featured-button {
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #1f93d1;
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(31, 147, 209, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.home-featured-button:hover,
.home-featured-button:focus-visible {
  background: #177cae;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 147, 209, 0.24);
}

.home-featured-link {
  color: #5d7388;
  font-family: var(--header-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-featured-link:hover,
.home-featured-link:focus-visible {
  color: #1f93d1;
}

.home-featured-aside {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px 24px 24px;
  overflow: hidden;
}

.home-featured-aside::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(31, 147, 209, 0.08), rgba(31, 147, 209, 0));
  pointer-events: none;
}

.home-featured-aside-kicker {
  position: relative;
  margin: 0;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-featured-aside-text {
  position: relative;
  margin: 0;
  color: #617183;
  line-height: 1.85;
}

.home-featured-points {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.home-featured-points li {
  position: relative;
  padding: 12px 14px 12px 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #274960;
  line-height: 1.7;
  box-shadow: inset 0 0 0 1px rgba(31, 147, 209, 0.08);
}

.home-featured-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f93d1;
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(31, 147, 209, 0.12);
}

.home-slogan {
  padding: 24px 0 60px;
}

.home-slogan-shell {
  padding: 30px 22px 34px;
  border-top: 1px solid rgba(25, 56, 84, 0.08);
  border-bottom: 1px solid rgba(25, 56, 84, 0.08);
  text-align: center;
}

.home-slogan-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-slogan-shell h2 {
  max-width: 15ch;
  margin: 0 auto;
}

.home-slogan-shell p {
  max-width: 760px;
  margin: 16px auto 0;
}

.portfolio-section {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
  padding: 26px 0 48px;
}

.listing-shell {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
  padding: 36px 0 52px;
}

.listing-page,
.landing-page,
.basket-page {
  background: #ffffff;
}

.listing-header {
  margin-bottom: 26px;
}

.listing-header-compact {
  margin-bottom: 18px;
}

.listing-header h1 {
  margin: 8px 0 0;
  font-size: 2rem;
  font-weight: 300;
  color: #333333;
}

.listing-header p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: #7c7c7c;
  font-size: 0.95rem;
  line-height: 1.8;
}

.listing-breadcrumb {
  margin: 0;
  color: #999999;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listing-breadcrumb a {
  color: #7a7a7a;
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
}

.portfolio-filters-left {
  justify-content: flex-start;
}

.portfolio-filters a,
.portfolio-filters button {
  border: 0;
  background: transparent;
  color: #9c9c9c;
  font-size: 0.88rem;
  cursor: pointer;
}

.portfolio-filters-sport {
  gap: 38px;
  margin-bottom: 26px;
}

.portfolio-filters-sport a {
  position: relative;
  padding: 0 0 10px;
  color: #9d9d9d;
  font-size: 0.96rem;
  font-weight: 400;
  transition: color 180ms ease;
}

.portfolio-filters-sport a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(66, 66, 66, 0.42);
  opacity: 0;
  transform: scaleX(0.7);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.portfolio-filters-sport a:hover,
.portfolio-filters-sport a.is-active {
  color: #585858;
}

.portfolio-filters-sport a:hover::after,
.portfolio-filters-sport a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.portfolio-filters .is-active {
  color: #5c5c5c;
}

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

.portfolio-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #f1f1f1;
  aspect-ratio: 7 / 5;
}

.portfolio-card {
  outline: none;
}

.gallery-shot {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  break-inside: avoid;
  background: #f1f1f1;
}

.gallery-shot--intro {
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  will-change: opacity, transform;
  transition:
    opacity 680ms cubic-bezier(0.2, 0.72, 0.24, 1),
    transform 680ms cubic-bezier(0.2, 0.72, 0.24, 1);
  transition-delay: var(--shot-delay, 0ms);
}

.gallery-shot--intro.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-card img,
.gallery-shot img {
  display: block;
  width: 100%;
}

.gallery-shot img {
  transition:
    transform 300ms ease,
    filter 300ms ease;
}

.portfolio-card img {
  height: 100%;
  object-fit: cover;
}

.portfolio-card img {
  transform-origin: center center;
  transition: transform 300ms cubic-bezier(0.19, 1, 0.22, 1);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  opacity: 0;
  text-align: center;
  transition: opacity 300ms ease;
  z-index: 2;
}

.portfolio-card-overlay > span {
  max-width: min(86%, 34ch);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.portfolio-card:hover img,
.portfolio-card:focus-visible img {
  transform: scale(1.08) rotate(0.5deg);
}

.portfolio-card:hover .portfolio-card-overlay,
.portfolio-card:focus-visible .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card:hover .portfolio-card-overlay > span,
.portfolio-card:focus-visible .portfolio-card-overlay > span {
  opacity: 1;
  transform: scale(1);
}

.portfolio-card-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.4;
}

.portfolio-card-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
}

.listing-shell-sport {
  padding-top: 28px;
}

.listing-header-hidden {
  display: none;
}

.listing-empty {
  margin: 24px 0 8px;
  color: #8f8f8f;
  font-size: 0.96rem;
  text-align: center;
}

.portfolio-card--last-single,
.portfolio-card--last-pair-first,
.portfolio-card--last-pair-second {
  grid-column: auto;
}

@media (min-width: 981px) {
  .portfolio-card--last-single {
    grid-column: 2;
  }

  .portfolio-card--last-pair-first {
    grid-column: 2;
  }

  .portfolio-card--last-pair-second {
    grid-column: 3;
  }
}

.gallery-shot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.34);
  color: #ffffff;
  opacity: 0;
  transition: opacity 240ms ease;
}

.gallery-shot:hover .gallery-shot-overlay,
.gallery-shot:focus-within .gallery-shot-overlay {
  opacity: 1;
}

.gallery-shot:hover img,
.gallery-shot:focus-within img {
  transform: scale(1.045) rotate(0.25deg);
  filter: saturate(0.96);
}

.story-section {
  padding: 30px 0 65px;
}

.section-title {
  margin-bottom: 26px;
  text-align: center;
}

.section-title span {
  display: inline-block;
  color: #5c5c5c;
  font-size: 1rem;
  font-weight: 300;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.story-card-thumb {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f2f2f2;
}

.story-card-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.story-card p {
  margin: 0;
  color: #7c7c7c;
  font-size: 0.88rem;
  line-height: 1.8;
}

.page-home .story-section {
  position: relative;
  padding: 14px 0 86px;
}

.page-home .story-shell {
  position: relative;
  z-index: 1;
}

.page-home .story-grid {
  gap: 24px;
}

.page-home .home-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.72, 0.24, 1),
    transform 760ms cubic-bezier(0.2, 0.72, 0.24, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.page-home .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-gallery {
  padding-top: 78px;
}

.gallery-shell {
  padding: 38px 0 70px;
  background: #ffffff;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
  align-items: start;
}

.gallery-grid {
  columns: 3 210px;
  column-gap: 14px;
}

.gallery-shot-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.gallery-shot:hover .gallery-shot-actions,
.gallery-shot:focus-within .gallery-shot-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-shot-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(250, 251, 253, 0.92);
  color: #1f2937;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.gallery-shot-action:hover,
.gallery-shot-action:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.gallery-shot-action img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gallery-shot-action-cart.is-active {
  background: rgba(232, 246, 253, 0.96);
  border-color: rgba(31, 147, 209, 0.52);
}

.gallery-shot-action-cart.is-active:hover,
.gallery-shot-action-cart.is-active:focus-visible {
  background: rgba(241, 250, 255, 0.98);
}

.gallery-shot.is-added::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(31, 147, 209, 0.92);
  pointer-events: none;
}

.gallery-shot-hitarea {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

body.is-preview-open {
  overflow: hidden;
}

.preview-modal[hidden] {
  display: none;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.preview-modal.is-open,
.preview-modal.is-closing {
  pointer-events: auto;
}

.preview-modal.is-open {
  opacity: 1;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 24, 0.74);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition:
    opacity 240ms ease,
    backdrop-filter 240ms ease;
}

.preview-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  gap: 12px;
  align-items: center;
  width: min(1450px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 32px);
  padding: 0 58px;
  opacity: 0;
  transform: translateY(14px) scale(0.988);
  transition:
    opacity 240ms ease,
    transform 300ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.preview-modal.is-open .preview-backdrop {
  opacity: 1;
}

.preview-modal.is-open .preview-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preview-stage-shell {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.preview-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 188px);
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(10, 14, 22, 0.14);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 260ms ease,
    transform 360ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.preview-modal.is-open .preview-stage img {
  opacity: 1;
  transform: scale(1);
}

.preview-modal.is-preview-landscape .preview-stage-shell {
  width: min(100%, 1040px);
}

.preview-modal.is-preview-landscape .preview-stage img {
  max-height: calc(100vh - 206px);
}

.preview-modal.is-preview-portrait .preview-stage-shell,
.preview-modal.is-preview-square .preview-stage-shell {
  width: min(100%, 760px);
  justify-self: center;
}

.preview-modal.is-preview-portrait .preview-stage img {
  max-height: calc(100vh - 168px);
}

.preview-modal.is-preview-square .preview-stage img {
  max-height: calc(100vh - 184px);
}

.preview-modal.is-preview-portrait .preview-info-panel,
.preview-modal.is-preview-square .preview-info-panel {
  margin-left: -108px;
}

.preview-watermark-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.preview-watermark-item {
  position: absolute;
  display: block;
  transform: translate(-50%, -50%) scale(var(--wm-scale, 1));
  transform-origin: center;
  pointer-events: none;
  opacity: var(--wm-opacity, 0.3);
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.preview-watermark-word {
  color: rgba(155, 161, 171, 0.74);
  font-family: var(--header-font);
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
  text-shadow: 0 1px 10px rgba(10, 12, 18, 0.14);
}

.preview-watermark-suffix {
  display: inline-block;
  margin-left: 0.03em;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: baseline;
}

.preview-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(22, 28, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.preview-modal.is-preview-portrait .preview-stage-footer,
.preview-modal.is-preview-square .preview-stage-footer {
  margin-top: 8px;
}

.preview-stage-copy {
  display: grid;
  gap: 2px;
  color: #f4f7fb;
}

.preview-stage-copy strong {
  font-family: var(--header-font);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-stage-copy span {
  color: rgba(241, 245, 249, 0.66);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.preview-add-button {
  min-width: 170px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.preview-add-button:hover,
.preview-add-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 22px rgba(10, 14, 22, 0.12);
}

.preview-info-panel {
  align-self: center;
  padding: 20px 18px;
  background: rgba(244, 246, 249, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(10, 14, 22, 0.12);
  height: auto;
  max-height: calc(100vh - 72px);
  overflow: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.preview-modal.is-open .preview-info-panel {
  opacity: 1;
  transform: translateY(0);
}

.preview-info-kicker {
  margin: 0 0 14px;
  color: #6c7482;
  font-family: var(--header-font);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-info-list {
  display: grid;
  gap: 0;
}

.preview-info-row {
  padding: 11px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.preview-info-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.preview-info-row span {
  display: block;
  color: #747d8d;
  font-family: var(--header-font);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-info-row strong {
  display: block;
  margin-top: 7px;
  color: #202734;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.preview-close,
.preview-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(22, 28, 36, 0.42);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(10, 14, 22, 0.1);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.preview-close:hover,
.preview-close:focus-visible,
.preview-nav:hover,
.preview-nav:focus-visible {
  background: rgba(22, 28, 36, 0.58);
  border-color: rgba(255, 255, 255, 0.24);
}

.preview-close {
  position: absolute;
  top: 14px;
  right: 76px;
  z-index: 2;
  font-size: 1.4rem;
}

.preview-nav {
  position: fixed;
  top: 50%;
  z-index: 245;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.preview-nav:hover,
.preview-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.preview-nav-prev {
  left: 28px;
}

.preview-nav-next {
  right: 28px;
}

@media (max-width: 1180px) {
  .preview-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    width: min(1220px, calc(100vw - 24px));
    padding: 0 52px;
  }
}

@media (max-width: 920px) {
  .preview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: min(760px, calc(100vw - 20px));
    min-height: auto;
    padding: 0;
  }

  .preview-modal.is-preview-portrait .preview-info-panel,
  .preview-modal.is-preview-square .preview-info-panel {
    margin-left: 0;
  }

  .preview-stage {
    min-height: auto;
  }

  .preview-stage img {
    max-height: 52vh;
  }

  .preview-close {
    top: 14px;
    right: 18px;
  }

  .preview-nav {
    position: fixed;
    top: 50%;
    z-index: 245;
    transform: translateY(-50%);
  }

  .preview-nav:hover,
  .preview-nav:focus-visible {
    transform: translateY(calc(-50% - 1px));
  }

  .preview-nav-prev {
    left: 18px;
  }

  .preview-nav-next {
    right: 18px;
  }
}

@media (max-width: 640px) {
  .preview-stage {
    padding: 0;
  }

  .preview-stage-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-add-button {
    width: 100%;
  }

  .preview-info-panel {
    padding: 18px 16px;
  }

  .preview-watermark-layer {
    inset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-shot--intro {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .preview-modal,
  .preview-backdrop,
  .preview-shell,
  .preview-stage img,
  .preview-info-panel {
    transition: none;
  }

  .preview-shell,
  .preview-stage img,
  .preview-info-panel {
    opacity: 1;
    transform: none;
  }
}

.gallery-sidebar h1 {
  margin: 0;
  color: #313131;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.15;
}

.share-row {
  display: flex;
  gap: 16px;
  padding: 14px 0 10px;
}

.share-row a {
  color: #202020;
  font-size: 1rem;
  font-weight: 700;
}

.gallery-copy {
  color: #8c8c8c;
  font-size: 0.9rem;
  line-height: 1.8;
}

.gallery-tags {
  margin: 0;
  padding: 12px 0 10px;
  list-style: none;
}

.gallery-tags li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
  color: #767676;
  font-size: 0.95rem;
}

.gallery-tags li::before {
  content: "◌";
  position: absolute;
  left: 0;
  top: 11px;
  color: #7e7e7e;
  font-size: 1rem;
}

.gallery-actions {
  padding-top: 18px;
}

.buy-all-button {
  width: 100%;
  padding: 18px 14px;
  border: 0;
  background: #202020;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}

.buy-all-button span,
.buy-all-button strong {
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-all-button span {
  font-size: 0.92rem;
  font-weight: 700;
}

.buy-all-button strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.single-price-note {
  margin: 22px 0 0;
  color: #8f8f8f;
  font-size: 0.95rem;
}

.basket-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.basket-page-items {
  display: grid;
  gap: 14px;
}

.basket-page-row,
.basket-page-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.basket-page-row strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.basket-page-row small {
  display: block;
  margin-top: 6px;
  color: #8a8a8a;
  font-size: 0.84rem;
}

.basket-page-row-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #555555;
  font-size: 0.92rem;
}

.basket-page-row-actions button {
  border: 0;
  background: transparent;
  color: #7d7d7d;
  font-size: 0.88rem;
  cursor: pointer;
}

.basket-page-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.basket-page-summary span {
  display: block;
  color: #888888;
  font-size: 0.88rem;
}

.basket-page-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333333;
}

.checkout-primary {
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  cursor: pointer;
}

.basket-items {
  display: grid;
  gap: 10px;
}

.basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7a7a7a;
  font-size: 0.88rem;
}

.basket-item-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.basket-item-copy span {
  min-width: 0;
}

.basket-item-price {
  flex: 0 0 auto;
}

.basket-item button {
  border: 0;
  background: transparent;
  color: #888888;
  cursor: pointer;
}

.basket-item-quick-remove {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  color: #9c9c9c;
  font-size: 1rem;
  line-height: 1;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.basket-item-quick-remove:hover,
.basket-item-quick-remove:focus-visible {
  color: #2f2f2f;
  transform: scale(1.08);
}

.basket-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #707070;
  font-size: 0.92rem;
}

.basket-summary strong {
  font-size: 1rem;
  font-weight: 600;
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  margin-top: 18px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.94rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 46px;
  background: #ffffff;
}

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

.footer-column h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 8px;
  color: #7e7e7e;
  font-size: 0.88rem;
  line-height: 1.8;
}

.toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 320;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}

.toast-note {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 16px 16px 16px 14px;
  border: 1px solid rgba(21, 45, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 38px rgba(17, 31, 48, 0.14),
    0 4px 14px rgba(17, 31, 48, 0.08);
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  pointer-events: auto;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.72, 0.24, 1),
    box-shadow 220ms ease;
}

.toast-note.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-note.is-hiding {
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
}

.toast-note--success {
  border-color: rgba(44, 161, 92, 0.16);
}

.toast-note--error {
  border-color: rgba(196, 76, 76, 0.16);
}

.toast-note--info {
  border-color: rgba(31, 147, 209, 0.16);
}

.toast-note-copy {
  min-width: 0;
}

.toast-note-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #18324a;
  font-family: var(--header-font);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast-note-copy span {
  display: block;
  color: #567086;
  font-size: 0.94rem;
  line-height: 1.55;
}

.toast-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eff7ff;
}

.toast-note-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-note-icon--success {
  background: linear-gradient(180deg, #eefbf3, #e5f7ec);
  color: #2ca15c;
}

.toast-note-icon--success svg {
  stroke: currentColor;
}

.toast-note-icon--error {
  background: linear-gradient(180deg, #fff4f4, #fdeaea);
  color: #c44c4c;
}

.toast-note-icon--error svg {
  stroke: currentColor;
}

.toast-note-icon--info {
  background: linear-gradient(180deg, #eef8ff, #e3f3ff);
  color: #1f93d1;
}

.toast-note-icon--info svg {
  stroke: currentColor;
}

.toast-note-ring {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: toast-ring-draw 520ms ease forwards;
}

.toast-note-check {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: toast-check-draw 340ms ease 180ms forwards;
}

.toast-note-close {
  align-self: start;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8fa1b3;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.toast-note-close:hover,
.toast-note-close:focus-visible {
  background: rgba(31, 147, 209, 0.08);
  color: #46647d;
  transform: scale(1.04);
}

.toast-note-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(31, 147, 209, 0.16);
  transform-origin: left center;
  animation: toast-progress 4s linear forwards;
}

.toast-note--error .toast-note-progress {
  background: rgba(196, 76, 76, 0.18);
  animation-duration: 5.2s;
}

.toast-note--success .toast-note-progress {
  background: rgba(44, 161, 92, 0.24);
}

.toast-note--info .toast-note-progress {
  background: rgba(31, 147, 209, 0.22);
}

@keyframes toast-ring-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes toast-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes toast-progress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 1180px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-featured-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 980px) {
  .header-shell {
    width: 100%;
    flex-wrap: wrap;
    padding: 8px 10px 10px 2px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    min-height: 40px;
    margin: 10px 0 0;
  }

  .header-tools {
    border-left: 0;
    margin-left: auto;
    padding-left: 0;
  }

  .hero-slider {
    height: 520px;
  }

  .home-hero .hero-slide-content {
    align-items: center;
    padding: 48px 0 68px;
    text-align: center;
  }

  .home-hero .hero-slide-copy {
    max-width: min(640px, calc(100vw - 40px));
    padding: 30px 28px 32px;
    border-left-width: 1px;
  }

  .home-hero .hero-slide-content h1 {
    max-width: none;
  }

  .home-hero .hero-slide-actions {
    justify-content: center;
  }

  .home-section-heading--split,
  .home-featured-layout,
  .page-home .story-grid,
  .story-grid,
  .footer-shell,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .home-featured-aside {
    padding-top: 24px;
  }

  .home-section-heading--center {
    margin-bottom: 24px;
  }

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

  .gallery-grid {
    columns: 2 240px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .header-shell,
  .story-shell,
  .footer-shell,
  .gallery-layout,
  .portfolio-section,
  .home-latest-shell,
  .home-slogan-shell {
    width: min(var(--site-width), calc(100vw - 24px));
  }

  .brand {
    min-width: 0;
    max-width: 180px;
  }

  .header-shell {
    width: 100%;
    padding: 8px 8px 8px 2px;
  }

  .main-nav {
    overflow-x: auto;
  }

  .main-nav a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.66rem;
  }

  .hero-slider {
    min-height: 420px;
    height: 420px;
  }

  .home-hero {
    min-height: 460px;
    height: 460px;
  }

  .home-hero .hero-slide-copy {
    width: min(100%, calc(100vw - 24px));
    padding: 24px 20px 26px;
  }

  .home-hero .hero-slide-eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
  }

  .home-hero .hero-slide-content h1 {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }

  .home-hero .hero-dots {
    right: 18px;
    bottom: 20px;
  }

  .hero-slide-content h1 {
    font-size: 1.85rem;
  }

  .hero-slide-content p {
    font-size: 0.92rem;
  }

  .portfolio-filters {
    flex-wrap: wrap;
    gap: 14px;
  }

  .home-filters {
    justify-content: center;
    margin-bottom: 20px;
  }

  .home-featured-card,
  .home-featured-layout,
  .home-featured-meta,
  .page-home .story-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-copy,
  .home-featured-aside,
  .home-slogan-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-featured-media {
    min-height: 280px;
  }

  .home-featured-actions {
    display: grid;
    gap: 12px;
    justify-items: stretch;
  }

  .home-featured-button {
    width: 100%;
  }

  .home-section-heading h2,
  .home-slogan-shell h2 {
    font-size: clamp(2.1rem, 11vw, 2.9rem);
  }

  .home-section-copy,
  .home-slogan-shell p,
  .home-featured-description,
  .home-featured-aside-text {
    font-size: 0.95rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 1;
  }

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

  .page-gallery {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-reveal,
  .home-hero .hero-slide-copy > *,
  .home-hero .hero-slide-image,
  .home-featured-media img,
  .page-home .story-card,
  .page-home .story-card-thumb img,
  .home-featured-button,
  .home-featured-link,
  .home-filters a::after,
  .home-hero .hero-dots button {
    transition: none;
    animation: none;
  }

  .page-home .home-reveal {
    opacity: 1;
    transform: none;
  }
}

.page-gallery {
  background:
    radial-gradient(circle at top right, rgba(31, 147, 209, 0.09), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.gallery-shell {
  padding: 42px 0 82px;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.gallery-grid-wrap,
.gallery-sidebar {
  min-width: 0;
}

.gallery-listing-head {
  margin-bottom: 12px;
}

.gallery-listing-head .listing-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #6f8397;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-listing-head .listing-breadcrumb a {
  color: #3f6b91;
}

.gallery-grid-surface {
  position: relative;
}

.gallery-grid {
  display: grid;
  columns: unset;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  grid-auto-rows: 8px;
  align-items: start;
}

.gallery-shot {
  display: block;
  width: 100%;
  margin: 0;
  grid-row: span var(--shot-span, 30);
  border-radius: 20px;
  background: #eef4f8;
  box-shadow: 0 16px 38px rgba(16, 35, 58, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.gallery-shot img,
.gallery-shot-hitarea img {
  border-radius: inherit;
}

.gallery-shot-hitarea {
  overflow: hidden;
  border-radius: inherit;
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(16, 35, 58, 0.12);
}

.gallery-shot--intro {
  transition:
    opacity 760ms cubic-bezier(0.2, 0.72, 0.24, 1),
    transform 760ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.gallery-shot-overlay {
  inset: 0;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 16, 26, 0) 28%, rgba(8, 16, 26, 0.4) 100%);
  border-radius: inherit;
}

.gallery-shot:hover img,
.gallery-shot:focus-within img {
  transform: scale(1.032);
  filter: saturate(0.98);
}

.gallery-shot-actions {
  gap: 10px;
}

.gallery-shot-action {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(250, 252, 255, 0.94);
  box-shadow: 0 12px 30px rgba(8, 16, 26, 0.22);
}

.gallery-shot-action:hover,
.gallery-shot-action:focus-visible {
  background: rgba(255, 255, 255, 1);
}

.gallery-shot-action-preview {
  border-color: rgba(31, 147, 209, 0.22);
}

.gallery-shot-action-cart.is-active {
  background: linear-gradient(135deg, rgba(233, 246, 255, 0.98), rgba(209, 236, 252, 0.98));
  border-color: rgba(31, 147, 209, 0.62);
}

.gallery-shot.is-added::after {
  inset: 0;
  border: 2px solid rgba(31, 147, 209, 0.92);
  border-radius: inherit;
}

.gallery-sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 16px;
}

.gallery-sidebar-card {
  padding: 20px 20px 22px;
  border: 1px solid #ddebf6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 35, 58, 0.07);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.gallery-sidebar-card:hover {
  transform: translateY(-2px);
  border-color: #cfe4f4;
  box-shadow: 0 22px 48px rgba(16, 35, 58, 0.1);
}

.gallery-sidebar-card--hero {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.gallery-sidebar-kicker {
  margin: 0 0 10px;
  color: #5f7d98;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-sidebar h1 {
  margin: 0;
  color: #17324a;
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.gallery-copy {
  margin: 14px 0 0;
  color: #60778e;
  font-size: 0.95rem;
  line-height: 1.75;
}

.gallery-copy code {
  display: inline-block;
  padding: 0.15rem 0.42rem;
  border-radius: 8px;
  background: #eef6fd;
  color: #1b6fa4;
  font-size: 0.82em;
}

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

.gallery-quick-stat {
  padding: 12px 10px;
  border: 1px solid #dceaf6;
  border-radius: 18px;
  background: #f5faff;
}

.gallery-quick-stat span {
  display: block;
  color: #698197;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-quick-stat strong {
  display: block;
  margin-top: 7px;
  color: #17324a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.share-row {
  gap: 10px;
  padding: 18px 0 0;
}

.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dceaf6;
  border-radius: 12px;
  background: #ffffff;
  color: #395e7b;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(16, 35, 58, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.share-row a:hover,
.share-row a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 147, 209, 0.48);
  color: #1f93d1;
  box-shadow: 0 14px 28px rgba(16, 35, 58, 0.1);
}

.gallery-card-heading {
  margin: 0 0 14px;
  color: #658099;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-tags li {
  padding: 8px 12px;
  border: 1px solid #dceaf6;
  border-radius: 999px;
  background: #f7fbff;
  color: #4f6d89;
  font-size: 0.84rem;
  border-bottom: 0;
}

.gallery-tags li::before {
  content: none;
}

.gallery-actions {
  padding-top: 0;
}

.buy-all-button {
  width: 100%;
  padding: 20px 18px;
  border: 1px solid rgba(31, 147, 209, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, #16334f 0%, #1f93d1 100%);
  box-shadow: 0 18px 42px rgba(31, 147, 209, 0.2);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease;
}

.buy-all-button:hover,
.buy-all-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(31, 147, 209, 0.24);
  filter: saturate(1.04);
}

.buy-all-button span {
  font-size: 0.86rem;
}

.buy-all-button strong {
  margin-top: 6px;
  font-size: 1.08rem;
}

.single-price-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid #dceaf6;
  border-radius: 16px;
  background: #f6fbff;
  color: #688099;
  font-size: 0.9rem;
  line-height: 1.65;
}

.single-price-note strong {
  color: #176c9f;
}

.basket-box {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.gallery-basket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gallery-basket-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8ff;
  color: #166d9f;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.basket-items {
  display: grid;
  gap: 10px;
}

.basket-item {
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 12px 10px;
  border: 1px solid #e1edf7;
  border-radius: 18px;
  background: #f8fbff;
  color: #617a91;
  font-size: 0.86rem;
}

.basket-item--empty {
  justify-content: center;
  color: #7f92a5;
}

.basket-item-copy {
  align-items: flex-start;
  gap: 10px;
}

.basket-item-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.basket-item-title {
  display: block;
  color: #1f3850;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.basket-item-meta {
  display: block;
  color: #6e859b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.basket-item-price strong {
  color: #166d9f;
  font-size: 0.92rem;
  font-weight: 700;
}

.basket-item-quick-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #86a0b7;
  box-shadow: 0 8px 16px rgba(16, 35, 58, 0.08);
}

.basket-item-quick-remove:hover,
.basket-item-quick-remove:focus-visible {
  color: #1f93d1;
  transform: scale(1.04);
}

.basket-summary {
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dfebf5;
  color: #5e778e;
}

.basket-summary strong {
  font-size: 1.18rem;
  color: #17324a;
}

.checkout-button {
  width: 100%;
  min-width: 0;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1b88c6 0%, #2aa5e4 100%);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(31, 147, 209, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.checkout-button:hover,
.checkout-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(31, 147, 209, 0.26);
  filter: saturate(1.02);
}

.gallery-mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(208, 225, 239, 0.98);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 44px rgba(16, 35, 58, 0.14);
  backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.gallery-mobile-bar-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gallery-mobile-bar-label {
  color: #698298;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-mobile-bar-copy strong {
  color: #17324a;
  font-size: 1.06rem;
  font-weight: 700;
}

.checkout-button--mobile {
  width: auto;
  min-width: 138px;
  margin-top: 0;
  white-space: nowrap;
}

body.is-preview-open .gallery-mobile-bar {
  opacity: 0;
  transform: translateY(calc(100% + 20px));
  pointer-events: none;
}

.preview-shell {
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 18px;
  width: min(1540px, calc(100vw - 40px));
  min-height: auto;
  padding: 0 70px;
}

.preview-stage-shell,
.preview-modal.is-preview-landscape .preview-stage-shell {
  width: min(100%, 1180px);
  justify-self: end;
}

.preview-modal.is-preview-portrait .preview-stage-shell,
.preview-modal.is-preview-square .preview-stage-shell {
  width: min(100%, 700px);
}

.preview-stage img {
  max-height: calc(100vh - 180px);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(9, 18, 30, 0.18);
}

.preview-modal.is-preview-landscape .preview-stage img {
  max-height: calc(100vh - 196px);
}

.preview-modal.is-preview-portrait .preview-stage img {
  max-height: calc(100vh - 168px);
}

.preview-modal.is-preview-square .preview-stage img {
  max-height: calc(100vh - 182px);
}

.preview-modal.is-preview-portrait .preview-info-panel,
.preview-modal.is-preview-square .preview-info-panel {
  margin-left: 0;
}

.preview-stage-footer {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(12, 22, 34, 0.76);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(9, 18, 30, 0.16);
}

.preview-stage-copy strong {
  font-size: 0.86rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

.preview-stage-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.preview-add-button {
  min-width: 180px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1788c7 0%, #2fa6e3 100%);
  box-shadow: 0 14px 28px rgba(31, 147, 209, 0.24);
}

.preview-add-button:hover,
.preview-add-button:focus-visible {
  background: linear-gradient(135deg, #1a8fd0 0%, #36ace9 100%);
  border-color: transparent;
}

.preview-info-panel {
  width: 276px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(248, 251, 254, 0.98), rgba(242, 247, 252, 0.96));
  border: 1px solid rgba(214, 229, 241, 0.94);
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(9, 18, 30, 0.14);
  max-height: calc(100vh - 76px);
}

.preview-info-kicker {
  margin: 0 0 12px;
  color: #4f7390;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.preview-info-row {
  padding: 10px 0;
  border-top: 1px solid rgba(154, 178, 197, 0.22);
}

.preview-info-row span {
  color: #5f7891;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.preview-info-row strong {
  margin-top: 6px;
  color: #21374b;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.6;
}

.preview-close,
.preview-nav {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(15, 24, 36, 0.56);
  box-shadow: 0 14px 28px rgba(9, 18, 30, 0.16);
}

.preview-close {
  top: 18px;
  right: 84px;
}

.preview-nav-prev {
  left: 36px;
}

.preview-nav-next {
  right: 36px;
}

@media (max-width: 1280px) {
  .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .preview-shell {
    width: min(1320px, calc(100vw - 28px));
    padding: 0 58px;
  }
}

@media (max-width: 980px) {
  .gallery-shell {
    padding-bottom: 118px;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-sidebar {
    order: -1;
  }

  .gallery-sidebar-sticky {
    position: static;
  }

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

  .gallery-sidebar-card--basket {
    display: none;
  }

  .gallery-mobile-bar {
    display: flex;
  }

  .preview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: min(780px, calc(100vw - 20px));
    padding: 0;
  }

  .preview-stage-shell,
  .preview-modal.is-preview-landscape .preview-stage-shell,
  .preview-modal.is-preview-portrait .preview-stage-shell,
  .preview-modal.is-preview-square .preview-stage-shell {
    width: 100%;
    justify-self: stretch;
  }

  .preview-info-panel {
    width: auto;
    max-height: none;
  }

  .preview-close {
    top: 14px;
    right: 16px;
  }

  .preview-nav-prev {
    left: 18px;
  }

  .preview-nav-next {
    right: 18px;
  }
}

@media (max-width: 680px) {
  .gallery-shell {
    padding-top: 18px;
    padding-bottom: 110px;
  }

  .gallery-layout {
    width: min(var(--site-width), calc(100vw - 24px));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-sidebar-card {
    padding: 16px;
    border-radius: 20px;
  }

  .gallery-sidebar h1 {
    font-size: 1.65rem;
  }

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

  .gallery-quick-stat:last-child {
    grid-column: 1 / -1;
  }

  .gallery-mobile-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .checkout-button--mobile {
    min-width: 124px;
    padding: 12px 14px;
  }

  .preview-stage img {
    max-height: 56vh;
    border-radius: 16px;
  }

  .preview-stage-footer {
    padding: 12px;
    border-radius: 16px;
  }

  .preview-add-button {
    width: 100%;
    min-width: 0;
  }

  .preview-info-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .preview-nav-prev {
    left: 14px;
  }

  .preview-nav-next {
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-shot,
  .gallery-sidebar-card,
  .gallery-mobile-bar,
  .buy-all-button,
  .checkout-button {
    transition: none;
  }
}

.basket-page-upgraded {
  background:
    radial-gradient(circle at top right, rgba(31, 147, 209, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.basket-shell {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.basket-page-head {
  margin-bottom: 26px;
}

.basket-layout-upgraded {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 34px;
  align-items: start;
}

.basket-items-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  color: #8a8a8a;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.basket-items-header strong {
  color: #2e2e2e;
  font-size: 0.84rem;
}

.basket-product-list {
  display: grid;
  gap: 18px;
}

.basket-product-card {
  position: relative;
  display: grid;
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(32, 32, 32, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.basket-product-card.is-size-open {
  z-index: 8;
}

.basket-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(16, 16, 16, 0.09);
  border-color: rgba(31, 147, 209, 0.18);
}

.basket-product-card-pack {
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.96), rgba(35, 35, 35, 0.94));
  color: #ffffff;
}

.basket-product-card-pack .basket-product-meta,
.basket-product-card-pack .basket-pack-note,
.basket-product-card-pack .basket-remove-button {
  color: rgba(255, 255, 255, 0.72);
}

.basket-product-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  height: 360px;
  background: #efefef;
}

.basket-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 280ms ease,
    filter 280ms ease;
}

.basket-product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.45));
  opacity: 0;
  transition: opacity 220ms ease;
}

.basket-product-thumb-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.basket-product-card:hover .basket-product-thumb::after {
  opacity: 1;
}

.basket-product-card:hover .basket-product-thumb img {
  transform: scale(1.035);
  filter: saturate(0.95) brightness(0.9);
}

.basket-product-card:hover .basket-product-thumb-overlay {
  opacity: 1;
  transform: translateY(0);
}

.basket-product-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.basket-product-meta {
  margin: 0;
  color: #8b8b8b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.basket-product-title {
  margin: 0;
  color: #333333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.basket-product-price {
  color: #8d8d8d;
  font-size: 0.95rem;
}

.basket-remove-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: #8a8a8a;
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.basket-remove-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
  opacity: 0.74;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  flex: 0 0 auto;
}

.basket-remove-button:hover {
  color: #242424;
  transform: translateX(2px);
}

.basket-remove-button:hover .basket-remove-icon {
  opacity: 1;
  transform: scale(1.04);
}

.basket-product-label {
  display: block;
  margin-bottom: 8px;
  color: #2a2a2a;
  font-size: 0.88rem;
  font-weight: 700;
}

.basket-size-picker {
  position: relative;
  margin-top: 6px;
}

.basket-size-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid #cfd8df;
  border-radius: 999px;
  background: #ffffff;
  color: #5b5b5b;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.basket-size-trigger:hover,
.basket-size-picker.is-open .basket-size-trigger {
  border-color: rgba(31, 147, 209, 0.65);
  box-shadow: 0 10px 26px rgba(31, 147, 209, 0.12);
  transform: translateY(-1px);
}

.basket-size-trigger span:first-child {
  flex: 1;
  text-align: left;
}

.basket-size-trigger strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.basket-size-chevron {
  display: inline-block;
  transition: transform 180ms ease;
}

.basket-size-picker.is-open .basket-size-chevron {
  transform: rotate(180deg);
}

.basket-size-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: min(280px, calc(100vw - 60px));
  padding: 8px;
  border: 1px solid rgba(31, 147, 209, 0.2);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(14, 23, 30, 0.14);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.basket-size-picker.is-open .basket-size-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.basket-size-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: #4f4f4f;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.basket-size-option:hover {
  background: rgba(31, 147, 209, 0.08);
  transform: translateX(2px);
}

.basket-size-option.is-active {
  background: #1f93d1;
  color: #ffffff;
}

.basket-size-option strong {
  font-size: 0.84rem;
  font-weight: 600;
}

.basket-pack-note {
  color: #7c7c7c;
  font-size: 0.88rem;
  line-height: 1.7;
}

.basket-summary-column {
  position: sticky;
  top: 110px;
}

.basket-summary-card {
  padding: 20px 26px 24px;
  background: #1f1f1f;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(16, 16, 16, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.basket-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 80px rgba(16, 16, 16, 0.24);
}

.basket-summary-card > p {
  margin: 0 0 26px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.basket-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.basket-summary-line strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.basket-summary-line-total {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.basket-summary-line-total span,
.basket-summary-line-total strong {
  font-size: 1.08rem;
  font-weight: 700;
}

.checkout-primary-animated {
  position: relative;
  width: 100%;
  margin-top: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, #1697d0, #23a7e2);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease;
}

.checkout-primary-animated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 35%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 380ms ease;
}

.checkout-primary-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31, 147, 209, 0.24);
  filter: saturate(1.06);
}

.checkout-primary-animated:hover::before {
  transform: translateX(120%);
}

.basket-terms {
  margin: 12px 0 0;
  color: #9b9b9b;
  font-size: 0.78rem;
  text-align: center;
}

.basket-terms a,
.basket-continue-link {
  color: #1f93d1;
}

.basket-continue-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 0.96rem;
}

.basket-empty-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(32, 32, 32, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.05);
}

.basket-empty-state h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 300;
}

.basket-empty-state p {
  margin: 0;
  max-width: 54ch;
  color: #7e7e7e;
  line-height: 1.7;
}

.basket-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.basket-empty-link,
.basket-empty-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 18px;
  border: 1px solid rgba(31, 147, 209, 0.22);
  background: #ffffff;
  color: #1f93d1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.basket-empty-link:hover,
.basket-empty-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(31, 147, 209, 0.1);
}

@media (max-width: 980px) {
  .basket-layout-upgraded,
  .basket-product-card {
    grid-template-columns: 1fr;
  }

  .basket-summary-column {
    position: static;
  }

  .basket-product-thumb {
    height: 260px;
  }

  .basket-empty-state {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .basket-shell {
    width: min(var(--site-width), calc(100vw - 24px));
  }

  .basket-product-card {
    padding: 14px;
  }

  .basket-size-trigger {
    min-width: 100%;
  }

  .basket-size-menu {
    width: 100%;
  }
}

.flash-stack {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 18px auto 0;
  display: grid;
  gap: 10px;
}

.flash-message {
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #232323;
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.05);
}

.flash-success {
  border-left: 4px solid #1f93d1;
}

.flash-error {
  border-left: 4px solid #d04444;
}

.flash-info {
  border-left: 4px solid #6f7b8b;
}

.auth-page,
.account-page {
  min-height: calc(100vh - 220px);
  padding: 38px 0 68px;
  background:
    radial-gradient(circle at top left, rgba(31, 147, 209, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(247, 247, 247, 0.96), rgba(255, 255, 255, 0.98));
}

.auth-shell,
.account-shell {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card,
.account-panel,
.account-sidebar-card,
.account-nav,
.account-logout-form {
  border: 1px solid rgba(22, 27, 33, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(16, 16, 16, 0.06);
}

.auth-card {
  width: min(100%, 560px);
  padding: 34px 34px 30px;
}

.auth-card-wide {
  width: min(100%, 720px);
}

.auth-card-status {
  max-width: 520px;
  text-align: center;
}

.auth-copy h1,
.account-panel-head h1 {
  margin: 0;
  color: #1f2731;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.12;
}

.auth-copy p,
.account-panel-head p {
  color: #6d7480;
  line-height: 1.7;
}

.auth-form,
.account-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field span {
  color: #555d68;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(34, 41, 49, 0.12);
  background: #ffffff;
  color: #1d252d;
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field input:focus {
  outline: none;
  border-color: rgba(31, 147, 209, 0.7);
  box-shadow: 0 0 0 4px rgba(31, 147, 209, 0.08);
}

.form-field input:disabled {
  background: #f5f6f8;
  color: #6e7783;
}

.form-field small {
  color: #c14444;
  font-size: 0.84rem;
}

.form-alert {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(19, 24, 29, 0.08);
  background: rgba(247, 249, 252, 0.95);
  color: #24303b;
}

.form-alert-error {
  border-left: 4px solid #d04444;
}

.form-alert-success {
  border-left: 4px solid #1f93d1;
}

.auth-submit,
.account-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  background: #1f1f1f;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.auth-submit:hover,
.account-logout-button:hover,
.auth-submit:focus-visible,
.account-logout-button:focus-visible {
  transform: translateY(-1px);
  background: #262626;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  color: #6c7480;
  font-size: 0.95rem;
}

.auth-links-center {
  justify-content: center;
}

.auth-links a,
.account-empty-state a,
.account-table a {
  color: #1f93d1;
}

.account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.account-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.account-sidebar-card {
  padding: 22px;
}

.account-sidebar-kicker {
  margin: 0 0 8px;
  color: #68707b;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-sidebar-card h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
}

.account-sidebar-card p {
  margin: 8px 0 0;
  color: #707884;
  line-height: 1.7;
}

.account-nav {
  display: grid;
  padding: 10px;
}

.account-nav a {
  display: block;
  padding: 13px 14px;
  color: #3b4450;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.account-nav a.is-active,
.account-nav a:hover {
  background: #f0f2f5;
  color: #1d2530;
}

.account-logout-form {
  padding: 10px;
}

.account-panel {
  padding: 30px 30px 32px;
}

.account-panel-head {
  margin-bottom: 24px;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 14px 12px;
  border-top: 1px solid rgba(25, 31, 38, 0.08);
  text-align: left;
}

.account-table th {
  color: #6c7480;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-empty-state {
  padding: 26px;
  border: 1px dashed rgba(29, 38, 47, 0.14);
  background: rgba(248, 249, 251, 0.9);
}

.account-empty-state h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 300;
}

.account-empty-state p,
.account-muted {
  color: #707884;
}

@media (max-width: 980px) {
  .account-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .auth-card,
  .account-panel {
    padding: 24px 20px;
  }

  .auth-form-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .auth-links {
    flex-direction: column;
  }
}

.checkout-page {
  min-height: calc(100vh - 220px);
  padding: 38px 0 68px;
  background:
    radial-gradient(circle at top left, rgba(31, 147, 209, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(247, 247, 247, 0.96), rgba(255, 255, 255, 0.99));
}

.checkout-shell {
  width: min(1240px, calc(100vw - 72px));
  margin: 0 auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 22px;
}

.checkout-panel,
.checkout-result-card,
.account-order-meta-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05);
}

.checkout-panel {
  padding: 24px;
}

.checkout-panel h2,
.account-downloads h2 {
  margin: 0 0 18px;
  font-size: 1.18rem;
  font-weight: 400;
}

.checkout-cart-list {
  display: grid;
  gap: 12px;
}

.checkout-cart-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(25, 31, 38, 0.08);
}

.checkout-cart-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.checkout-cart-row strong {
  display: block;
  font-weight: 600;
}

.checkout-cart-row small {
  display: block;
  margin-top: 6px;
  color: #6f7784;
}

.checkout-options {
  display: grid;
  gap: 12px;
}

.checkout-option {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 25, 31, 0.1);
  background: #fbfcfd;
  cursor: pointer;
}

.checkout-option input {
  margin-top: 3px;
}

.checkout-option strong {
  display: block;
  margin-bottom: 4px;
}

.checkout-option small {
  display: block;
  color: #6f7784;
  line-height: 1.6;
}

.checkout-promo-field {
  margin-top: 18px;
}

.checkout-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
}

.checkout-summary-card {
  padding: 26px 24px;
}

.checkout-primary:disabled,
.checkout-primary-animated:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.checkout-result-page {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 54px 20px 80px;
  background:
    radial-gradient(circle at top left, rgba(31, 147, 209, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(247, 247, 247, 0.96), rgba(255, 255, 255, 0.99));
}

.checkout-result-card {
  width: min(620px, 100%);
  padding: 34px 34px 38px;
}

.checkout-result-card .auth-submit {
  margin-top: 18px;
}

.account-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.account-order-meta-card {
  padding: 20px 22px;
}

.account-order-meta-card h3 {
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c7480;
}

.account-order-meta-card p {
  margin: 0 0 8px;
  color: #2d3743;
}

.account-order-summary {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.account-order-summary p {
  margin: 0;
  color: #4d5561;
}

.account-downloads {
  margin-top: 28px;
}

.checkout-wizard-page {
  background: #ffffff;
  padding: 34px 0 78px;
}

.checkout-wizard-shell {
  width: min(1080px, calc(100vw - 56px));
  margin: 0 auto;
}

.checkout-step-header {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 54px;
  text-align: center;
}

.checkout-step-header h1 {
  margin: 0;
  color: #1b2530;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 300;
}

.checkout-step-accent {
  display: block;
  width: 72px;
  height: 3px;
  background: #1f93d1;
}

.checkout-step-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
}

.checkout-step-nav a {
  color: #1f93d1;
  font-size: 0.98rem;
  text-decoration: none;
  transition: opacity 180ms ease, color 180ms ease;
}

.checkout-step-nav a:not(.is-current):not(.is-complete) {
  opacity: 0.72;
  pointer-events: none;
}

.checkout-step-nav a.is-complete {
  opacity: 0.8;
}

.checkout-step-nav a.is-current {
  color: #147eb4;
  font-weight: 700;
}

.checkout-step-form {
  display: grid;
  gap: 30px;
}

.checkout-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  align-items: start;
}

.checkout-step-grid-address {
  gap: 22px 28px;
}

.checkout-wizard-page .form-field span,
.checkout-company-toggle span {
  color: #1f2630;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-wizard-page .form-field input,
.checkout-wizard-page .form-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #f0f0f0;
  background: #f5f5f5;
  color: #1f2630;
  box-shadow: none;
}

.checkout-wizard-page .form-field select {
  appearance: none;
}

.checkout-wizard-page .form-field input:focus,
.checkout-wizard-page .form-field select:focus {
  outline: none;
  border-color: rgba(31, 147, 209, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 147, 209, 0.06);
}

.checkout-company-block {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 4px;
}

.checkout-company-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1f2630;
  cursor: pointer;
}

.checkout-company-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #1f93d1;
}

.checkout-company-block p {
  margin: 0;
  color: #9aa3ad;
  font-size: 0.96rem;
  line-height: 1.65;
}

.checkout-company-fields {
  display: grid;
  gap: 22px;
}

.checkout-company-fields[hidden] {
  display: none !important;
}

.checkout-choice-list {
  display: grid;
  gap: 18px;
}

.checkout-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(18, 28, 38, 0.08);
  background: #f7f7f7;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.checkout-choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 147, 209, 0.28);
  box-shadow: 0 14px 30px rgba(14, 24, 34, 0.06);
}

.checkout-choice-card input {
  margin-top: 2px;
  accent-color: #1f93d1;
}

.checkout-choice-card strong {
  display: block;
  margin-bottom: 5px;
  color: #1f2630;
  font-size: 1rem;
}

.checkout-choice-card small {
  color: #7d8792;
  font-size: 0.92rem;
  line-height: 1.6;
}

.checkout-choice-card.is-disabled {
  opacity: 0.58;
}

.checkout-choice-card.is-disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(18, 28, 38, 0.08);
}

.wizard-promo-field {
  max-width: 520px;
}

.checkout-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.checkout-step-back {
  color: #138fcb;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.checkout-step-next {
  min-width: 118px;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  background: #f1f1f1;
  color: #1f2630;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.checkout-step-next:hover,
.checkout-step-next:focus-visible {
  background: #e7e7e7;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
}

.checkout-step-next:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.checkout-review-shell {
  display: grid;
  gap: 36px;
}

.checkout-review-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.checkout-review-address-card {
  padding: 0 4px;
}

.checkout-review-address-card h2,
.checkout-review-section-head h2 {
  margin: 0 0 12px;
  color: #1b2530;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 300;
}

.checkout-review-address-card p {
  margin: 0 0 4px;
  color: #222b35;
  font-size: 0.98rem;
  line-height: 1.55;
}

.checkout-review-address-card hr {
  margin: 20px 0 18px;
  border: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.checkout-review-items-block {
  display: grid;
  gap: 26px;
}

.checkout-review-section-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.checkout-review-items {
  display: grid;
  gap: 12px;
}

.checkout-review-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.checkout-review-thumb {
  width: 76px;
  height: 52px;
  overflow: hidden;
  background: #f2f2f2;
}

.checkout-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout-review-item-copy h3,
.checkout-review-item-copy p,
.checkout-review-item-meta span,
.checkout-review-item strong {
  margin: 0;
}

.checkout-review-item-copy h3 {
  color: #1e2630;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.35;
}

.checkout-review-item-copy p,
.checkout-review-item-meta span {
  color: #138fcb;
  font-size: 0.96rem;
  line-height: 1.5;
}

.checkout-review-item strong {
  color: #5d6670;
  font-size: 1.05rem;
}

.checkout-review-final-form {
  display: grid;
  gap: 8px;
}

.checkout-review-summary-card {
  margin-top: 8px;
  padding: 34px 36px 26px;
}

.checkout-review-tax-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-align: center;
}

.checkout-review-submit {
  margin-top: 0;
}

.checkout-step-actions-review {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
  }

  .account-order-meta-grid {
    grid-template-columns: 1fr;
  }

  .checkout-wizard-shell {
    width: min(1080px, calc(100vw - 32px));
  }

  .checkout-step-grid,
  .checkout-review-address-grid,
  .checkout-review-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .checkout-step-nav {
    gap: 12px 18px;
  }

  .checkout-step-nav a {
    font-size: 0.9rem;
  }

  .checkout-step-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-step-next {
    width: 100%;
  }
}

/* Premium Blue portal redesign */
.account-page {
  background:
    radial-gradient(circle at top left, rgba(31, 147, 209, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(31, 147, 209, 0.08), transparent 26%),
    linear-gradient(180deg, #f5f9fc 0%, #ffffff 48%, #fbfdff 100%);
}

.account-shell {
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.account-main {
  display: grid;
  gap: 22px;
}

.portal-animate {
  opacity: 0;
  transform: translateY(14px);
  animation: portal-fade-lift 560ms cubic-bezier(0.2, 0.72, 0.24, 1) forwards;
  animation-delay: var(--portal-delay, 0s);
}

@keyframes portal-fade-lift {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-sidebar {
  position: sticky;
  top: 112px;
  gap: 18px;
}

.account-sidebar-card,
.account-nav,
.account-logout-form,
.portal-section-card,
.portal-card,
.portal-stat-card,
.account-panel--hero {
  border: 1px solid rgba(25, 56, 84, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 40px rgba(18, 37, 55, 0.06),
    0 2px 8px rgba(18, 37, 55, 0.03);
}

.account-sidebar-card--identity {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.account-sidebar-card--identity::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1f93d1, rgba(31, 147, 209, 0.16));
}

.account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #1f93d1, #0f5f93);
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(31, 147, 209, 0.22);
}

.account-sidebar-copy h2 {
  color: #17324b;
  font-size: 1.38rem;
  font-weight: 400;
}

.account-sidebar-copy p:last-child {
  margin-top: 6px;
  color: #6e7f92;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.account-sidebar-kicker {
  color: #5f7992;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.account-nav {
  padding: 12px;
  gap: 4px;
}

.account-nav-label {
  margin: 2px 8px 10px;
  color: #6a7f93;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  color: #32485d;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.account-nav a:hover,
.account-nav a:focus-visible {
  background: linear-gradient(180deg, rgba(31, 147, 209, 0.08), rgba(31, 147, 209, 0.03));
  color: #12324f;
  transform: translateY(-1px);
}

.account-nav a.is-active {
  background: linear-gradient(180deg, rgba(31, 147, 209, 0.12), rgba(31, 147, 209, 0.04));
  color: #103353;
  box-shadow: inset 0 0 0 1px rgba(31, 147, 209, 0.12);
}

.account-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.account-nav-icon svg,
.portal-badge-icon svg,
.portal-section-icon svg,
.portal-stat-icon svg,
.account-empty-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-nav-copy {
  min-width: 0;
}

.account-nav-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 180ms ease, transform 180ms ease;
}

.account-nav a.is-active .account-nav-indicator {
  background: #1f93d1;
  transform: scale(1.02);
}

.account-logout-form {
  padding: 12px;
}

.account-logout-button {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 14px;
  background: #fff6f6;
  color: #9a3030;
  box-shadow: none;
}

.account-logout-button:hover,
.account-logout-button:focus-visible {
  background: #ffeaea;
  color: #842222;
  box-shadow: 0 14px 28px rgba(154, 48, 48, 0.08);
}

.account-panel--hero {
  padding: 34px 34px 30px;
  background:
    radial-gradient(circle at top right, rgba(31, 147, 209, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.account-panel-head--hero {
  margin-bottom: 18px;
}

.account-panel-head--hero h1 {
  color: #18324a;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.account-panel-head--hero p:last-child {
  max-width: 64ch;
  margin-top: 12px;
  color: #6d8194;
  font-size: 1rem;
  line-height: 1.8;
}

.portal-hero-badges,
.portal-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(25, 56, 84, 0.08);
  border-radius: 999px;
  color: #30506d;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.portal-badge-icon {
  display: inline-flex;
  color: currentColor;
}

.portal-badge--neutral {
  background: #f3f8fc;
  color: #4c6680;
}

.portal-badge--success {
  background: #effaf4;
  color: #237550;
}

.portal-badge--warning {
  background: #fff7e7;
  color: #91650d;
}

.portal-badge--danger {
  background: #fff0f0;
  color: #a53e3e;
}

.account-form-sections {
  gap: 20px;
  margin-top: 0;
}

.portal-section-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portal-section-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 147, 209, 0.18);
  box-shadow:
    0 22px 42px rgba(18, 37, 55, 0.08),
    0 3px 10px rgba(18, 37, 55, 0.05);
}

.portal-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.portal-section-head h2 {
  margin: 0;
  color: #19334b;
  font-size: 1.4rem;
  font-weight: 400;
}

.portal-section-head p {
  margin: 6px 0 0;
  color: #70849a;
  line-height: 1.7;
}

.portal-section-icon,
.portal-stat-icon,
.account-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31, 147, 209, 0.14), rgba(31, 147, 209, 0.05));
  color: #1f93d1;
}

.portal-form-footer {
  display: flex;
  justify-content: flex-end;
}

.portal-primary-button {
  min-width: 220px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f93d1, #0d72ad);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(31, 147, 209, 0.2);
}

.portal-primary-button:hover,
.portal-primary-button:focus-visible {
  background: linear-gradient(135deg, #22a0e2, #0d6ca1);
  box-shadow: 0 22px 40px rgba(31, 147, 209, 0.24);
}

.portal-section-card .form-field span {
  color: #48637d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-section-card .form-field input {
  min-height: 52px;
  border-color: rgba(25, 56, 84, 0.1);
  border-radius: 14px;
  background: #f9fbfd;
}

.portal-section-card .form-field input:focus {
  border-color: rgba(31, 147, 209, 0.38);
  box-shadow: 0 0 0 4px rgba(31, 147, 209, 0.08);
}

.portal-card-list {
  display: grid;
  gap: 18px;
}

.portal-card {
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 147, 209, 0.16);
  box-shadow:
    0 22px 44px rgba(18, 37, 55, 0.08),
    0 2px 8px rgba(18, 37, 55, 0.04);
}

.portal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.portal-card-kicker {
  margin: 0 0 8px;
  color: #61809a;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-card-head h2 {
  margin: 0;
  color: #19334b;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.15;
}

.portal-card-subtitle {
  margin: 8px 0 0;
  color: #6e8194;
  font-size: 0.94rem;
}

.portal-card-total {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.portal-card-total span {
  color: #70849a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-card-total strong {
  color: #15324d;
  font-family: var(--header-font);
  font-size: 1.45rem;
  font-weight: 700;
}

.portal-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(25, 56, 84, 0.08);
}

.portal-card-meta span {
  display: block;
  margin-bottom: 6px;
  color: #7990a6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-card-meta strong {
  color: #1e3a53;
  font-weight: 600;
}

.portal-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.portal-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 147, 209, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff, #f2f8fc);
  color: #147eb4;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.portal-link-button:hover,
.portal-link-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 147, 209, 0.3);
  box-shadow: 0 14px 26px rgba(31, 147, 209, 0.12);
}

.portal-link-button--compact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.account-empty-state--rich {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 32px;
  border: 1px dashed rgba(31, 147, 209, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.account-empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.account-empty-state--rich h2 {
  color: #19334b;
  font-size: 1.75rem;
  font-weight: 300;
}

.account-empty-state--rich p {
  max-width: 58ch;
  color: #6d8194;
  line-height: 1.8;
}

.account-panel--order-hero {
  gap: 24px;
}

.portal-order-hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.portal-order-hero-total {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 190px;
  text-align: right;
}

.portal-order-hero-total span,
.portal-order-hero-total small {
  color: #6e8296;
}

.portal-order-hero-total span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-order-hero-total strong {
  color: #17324a;
  font-family: var(--header-font);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

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

.portal-stat-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portal-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 147, 209, 0.16);
  box-shadow:
    0 20px 36px rgba(18, 37, 55, 0.08),
    0 2px 8px rgba(18, 37, 55, 0.04);
}

.portal-stat-kicker {
  margin: 2px 0 8px;
  color: #6a8399;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-stat-card h2 {
  margin: 0;
  color: #18324a;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
}

.portal-stat-card p {
  margin: 6px 0 0;
  color: #6e8296;
  line-height: 1.6;
}

.portal-stat-card strong {
  display: inline-block;
  margin-top: 10px;
  color: #0f5f93;
  font-size: 1rem;
  font-weight: 700;
}

.portal-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.portal-inline-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(31, 147, 209, 0.16);
  border-radius: 10px;
  background: #f6fbff;
  color: #147eb4;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.portal-inline-links a:hover,
.portal-inline-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 147, 209, 0.28);
  box-shadow: 0 12px 24px rgba(31, 147, 209, 0.1);
}

.portal-inline-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(31, 147, 209, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(237, 247, 255, 0.9), rgba(248, 252, 255, 0.96));
  color: #274560;
  line-height: 1.7;
}

.portal-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 340px;
  gap: 22px;
  align-items: start;
}

.portal-detail-main,
.portal-detail-sidebar {
  display: grid;
  gap: 22px;
}

.portal-section-card--summary {
  position: sticky;
  top: 112px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.portal-item-list,
.portal-download-list {
  display: grid;
  gap: 12px;
}

.portal-item-row,
.portal-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(25, 56, 84, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff, #f7fbfe);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.portal-item-row:hover,
.portal-download-row:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 147, 209, 0.18);
  box-shadow: 0 14px 28px rgba(18, 37, 55, 0.06);
}

.portal-item-copy h3,
.portal-download-copy h3 {
  margin: 0;
  color: #1d3851;
  font-size: 1rem;
  font-weight: 600;
}

.portal-item-copy p,
.portal-download-copy p,
.portal-address-block p {
  margin: 6px 0 0;
  color: #6d8095;
  line-height: 1.7;
}

.portal-item-row strong {
  color: #17324a;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.portal-download-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portal-download-meter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf7fc;
  color: #0f6ea7;
  font-weight: 700;
}

.portal-download-disabled {
  color: #9a4040;
  font-weight: 700;
}

.portal-summary-list {
  display: grid;
  gap: 12px;
}

.portal-summary-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(25, 56, 84, 0.08);
}

.portal-summary-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.portal-summary-list span {
  color: #6c8194;
}

.portal-summary-list strong {
  color: #17324a;
  font-weight: 700;
}

.portal-summary-list .is-total {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(25, 56, 84, 0.12);
}

.portal-summary-list .is-total span,
.portal-summary-list .is-total strong {
  color: #123350;
  font-size: 1.08rem;
  font-weight: 700;
}

.portal-address-block {
  display: grid;
  gap: 2px;
}

.portal-address-block p:first-child {
  margin-top: 0;
  color: #16324b;
  font-weight: 700;
}

.account-muted {
  color: #6e8296;
}

.account-table a,
.auth-links a {
  color: #147eb4;
}

@media (prefers-reduced-motion: reduce) {
  .portal-animate {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .account-nav a,
  .account-logout-button,
  .portal-section-card,
  .portal-card,
  .portal-stat-card,
  .portal-link-button,
  .portal-item-row,
  .portal-download-row,
  .portal-primary-button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .portal-stat-grid,
  .portal-detail-layout {
    grid-template-columns: 1fr;
  }

  .portal-section-card--summary {
    position: static;
  }

  .portal-order-hero-meta,
  .portal-card-head,
  .portal-card-total {
    justify-items: start;
    text-align: left;
  }

  .portal-order-hero-meta,
  .portal-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .account-panel--hero,
  .portal-section-card,
  .portal-card,
  .portal-stat-card,
  .account-sidebar-card,
  .account-nav,
  .account-logout-form {
    border-radius: 18px;
  }

  .account-sidebar-card--identity,
  .portal-section-card,
  .portal-card,
  .portal-stat-card,
  .account-panel--hero {
    padding: 22px;
  }

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

  .portal-item-row,
  .portal-download-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-download-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .portal-primary-button,
  .portal-link-button {
    width: 100%;
  }

  .portal-form-footer,
  .portal-card-actions {
    justify-content: stretch;
  }
}

/* UX + Search + Metadata update overrides */
.toast-stack {
  top: calc(var(--header-height) + 14px);
  right: 14px;
  z-index: 260;
  width: min(340px, calc(100vw - 32px));
}

@media (max-width: 900px) {
  .header-shell {
    flex-wrap: wrap;
    padding: 10px 10px 12px 2px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .header-tools {
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }

  .locale-switcher {
    min-width: 0;
    padding: 0 10px;
  }

  .locale-switcher-label {
    display: none;
  }
}

.toast-note {
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(17, 25, 39, 0.14);
}

.gallery-shot {
  box-shadow: 0 18px 42px rgba(16, 35, 58, 0.1);
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 26px 52px rgba(16, 35, 58, 0.16);
}

.gallery-shot.is-added {
  box-shadow:
    0 22px 52px rgba(16, 35, 58, 0.15),
    0 0 0 1px rgba(74, 166, 230, 0.35);
}

.gallery-shot.is-added::after {
  inset: 0;
  border: 2px solid rgba(74, 166, 230, 0.98);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.gallery-shot-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(6, 12, 18, 0.02) 18%, rgba(6, 12, 18, 0.52) 76%, rgba(6, 12, 18, 0.68) 100%);
}

.gallery-shot:hover .gallery-shot-overlay,
.gallery-shot:focus-within .gallery-shot-overlay {
  opacity: 1;
}

.gallery-shot:hover img,
.gallery-shot:focus-within img {
  transform: scale(1.038);
  filter: saturate(0.97);
}

.gallery-shot-overlay-copy {
  display: grid;
  gap: 6px;
  align-self: flex-end;
  min-width: 0;
  max-width: calc(100% - 124px);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.gallery-shot:hover .gallery-shot-overlay-copy,
.gallery-shot:focus-within .gallery-shot-overlay-copy {
  opacity: 1;
  transform: translateY(0);
}

.gallery-shot-title {
  display: block;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gallery-shot-actions {
  align-self: flex-end;
  gap: 10px;
}

.gallery-shot-action {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 16px 34px rgba(8, 16, 26, 0.28);
}

.gallery-shot-action:hover,
.gallery-shot-action:focus-visible {
  box-shadow: 0 18px 38px rgba(8, 16, 26, 0.32);
}

.gallery-shot-action-cart.is-active {
  background: linear-gradient(135deg, rgba(227, 243, 255, 1), rgba(205, 234, 252, 1));
  border-color: rgba(49, 152, 223, 0.88);
}

.gallery-sidebar-sticky {
  top: calc(var(--header-height) + 24px);
  gap: 20px;
}

.gallery-sidebar-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-sidebar-panel--meta {
  padding-top: 4px;
}

.gallery-sidebar h1 {
  margin: 0;
  color: #232323;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.share-row {
  display: flex;
  gap: 18px;
  padding: 14px 0 10px;
}

.share-row a {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #191919;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
}

.share-row a:hover,
.share-row a:focus-visible {
  transform: none;
  color: #1f93d1;
  box-shadow: none;
}

.gallery-copy {
  margin: 12px 0 0;
  color: #8a8a8a;
  font-size: 0.95rem;
  line-height: 1.85;
}

.gallery-tags {
  margin: 8px 0 0;
}

.gallery-tags li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #e8e8e8;
  color: #7c7c7c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.gallery-tags li::before {
  top: 13px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(31, 147, 209, 0.32);
  border-radius: 50%;
  color: #1f93d1;
  font-size: 0.72rem;
  line-height: 14px;
  text-align: center;
  content: "";
}

.buy-all-button {
  padding: 18px 14px;
  border: 0;
  border-radius: 2px;
  background: #202020;
  box-shadow: none;
}

.buy-all-button:hover,
.buy-all-button:focus-visible {
  transform: none;
  filter: none;
  background: #171717;
  box-shadow: none;
}

.buy-all-button span,
.buy-all-button strong {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-all-button span {
  font-size: 0.93rem;
}

.buy-all-button strong {
  margin-top: 4px;
  font-size: 1.04rem;
}

.single-price-note {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d8d8d;
  font-size: 0.95rem;
  line-height: 1.75;
}

.basket-box {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.basket-items {
  gap: 10px;
}

.basket-item {
  padding: 10px 0;
  border-bottom: 1px solid #ededed;
}

.basket-item-title {
  color: #2a2a2a;
  font-size: 0.92rem;
  font-weight: 600;
}

.basket-item-meta {
  color: #8e8e8e;
  font-size: 0.8rem;
}

.basket-item-price strong {
  color: #444;
  font-size: 0.9rem;
}

.basket-summary {
  padding-top: 14px;
}

.basket-summary span {
  color: #7e7e7e;
  font-size: 0.95rem;
}

.basket-summary strong {
  color: #2c2c2c;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-button {
  margin-top: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #3c9ee0;
  box-shadow: none;
}

.checkout-button:hover,
.checkout-button:focus-visible {
  transform: none;
  filter: none;
  box-shadow: none;
  background: #3092d4;
}

.search-page {
  min-height: calc(100vh - var(--header-height));
  padding: 44px 0 78px;
  background:
    radial-gradient(circle at top right, rgba(31, 147, 209, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.search-shell {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
}

.search-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.search-kicker,
.search-section-kicker {
  margin: 0 0 12px;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-header h1,
.search-section-head h2 {
  margin: 0;
  color: #19334b;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.search-lead {
  margin: 12px 0 0;
  color: #6f8193;
  font-size: 1rem;
  line-height: 1.8;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
}

.search-form-field {
  display: grid;
  gap: 10px;
}

.search-form-field span {
  color: #5d748a;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-input {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #dce7f1;
  border-radius: 18px;
  background: #ffffff;
  color: #21374b;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(17, 25, 39, 0.04);
}

.search-input:focus {
  outline: none;
  border-color: rgba(31, 147, 209, 0.46);
  box-shadow:
    0 14px 32px rgba(17, 25, 39, 0.06),
    0 0 0 4px rgba(31, 147, 209, 0.08);
}

.search-submit {
  min-width: 136px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f93d1 0%, #1575aa 100%);
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.search-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.search-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dfeaf4;
  border-radius: 999px;
  background: #f7fbfe;
  color: #50697f;
}

.search-section {
  margin-top: 34px;
}

.search-section-head {
  margin-bottom: 18px;
}

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

.search-gallery-card,
.search-photo-card {
  display: grid;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e2ebf3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 25, 39, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.search-gallery-card:hover,
.search-gallery-card:focus-visible,
.search-photo-card:hover,
.search-photo-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 147, 209, 0.24);
  box-shadow: 0 22px 46px rgba(17, 25, 39, 0.08);
}

.search-gallery-thumb,
.search-photo-thumb {
  overflow: hidden;
  border-radius: 18px;
  background: #eef4f8;
}

.search-gallery-thumb {
  aspect-ratio: 16 / 10;
}

.search-gallery-thumb img,
.search-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.search-gallery-card:hover img,
.search-photo-card:hover img {
  transform: scale(1.035);
}

.search-gallery-copy h3,
.search-photo-copy h3 {
  margin: 0;
  color: #1f3448;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.search-gallery-copy p,
.search-photo-copy p {
  margin: 10px 0 0;
  color: #718496;
  line-height: 1.72;
}

.search-photo-list {
  display: grid;
  gap: 16px;
}

.search-photo-card {
  grid-template-columns: 176px minmax(0, 1fr);
}

.search-photo-thumb {
  aspect-ratio: 4 / 3;
}

.search-photo-file {
  color: #355c7a;
  font-weight: 600;
}

.search-result-meta {
  margin: 0;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-empty {
  margin-top: 16px;
  padding: 28px 30px;
  border: 1px dashed #cfe0ed;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdff, #f6fbff);
}

.search-empty h2 {
  margin: 0;
  color: #19334b;
  font-size: 1.8rem;
  font-weight: 300;
}

.search-empty p {
  margin: 10px 0 0;
  color: #6d8296;
  line-height: 1.78;
}

mark {
  padding: 0 0.18em;
  border-radius: 0.3em;
  background: rgba(31, 147, 209, 0.14);
  color: inherit;
}

@media (max-width: 980px) {
  .search-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-sidebar h1 {
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  .toast-stack {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .gallery-shot-overlay {
    padding: 14px;
  }

  .gallery-shot-overlay-copy {
    max-width: calc(100% - 112px);
  }

  .gallery-shot-title {
    font-size: 0.86rem;
  }

  .gallery-sidebar-panel {
    padding: 0;
  }

  .share-row {
    gap: 14px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

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

/* Public redesign v2 */
:root {
  --page-bg: #f4f7fb;
  --page-bg-strong: #edf2f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #eef4fb;
  --surface-accent: #e8f2fc;
  --text-strong: #1b2430;
  --text: #304253;
  --text-muted: #67788a;
  --line: rgba(152, 176, 198, 0.26);
  --line-strong: rgba(115, 145, 176, 0.34);
  --accent: #317dbe;
  --accent-strong: #245f91;
  --accent-soft: #edf5fd;
  --shadow-soft: 0 30px 70px rgba(15, 34, 57, 0.08);
  --shadow-card: 0 22px 46px rgba(18, 37, 60, 0.08);
  --radius-card: 28px;
  --radius-large: 34px;
  --radius-pill: 999px;
  --header-height: 92px;
  --header-font: "Manrope", "Segoe UI", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(49, 125, 190, 0.11), transparent 24%),
    radial-gradient(circle at bottom right, rgba(49, 125, 190, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fafe 0%, #f2f6fb 44%, #eef3f8 100%);
  color: var(--text);
  font-family: var(--body-font);
}

body.has-open-nav {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(247, 250, 254, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(190, 208, 225, 0.3);
  box-shadow: 0 8px 28px rgba(17, 34, 54, 0.04);
}

.header-shell {
  width: min(1320px, calc(100vw - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  width: auto;
  height: 48px;
  display: block;
}

.header-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.header-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-strong);
  transition: transform 180ms ease, opacity 180ms ease;
}

.header-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.header-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(183, 201, 217, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(17, 35, 56, 0.05);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: var(--header-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(17, 35, 56, 0.08);
  transform: translateY(-1px);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tool-button {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(183, 201, 217, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(17, 35, 56, 0.05);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tool-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-button:hover,
.tool-button:focus-visible,
.tool-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(49, 125, 190, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(17, 35, 56, 0.1);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(49, 125, 190, 0.34);
}

.header-nav-scrim {
  display: none;
}

.page-home,
.listing-page,
.basket-page,
.checkout-page,
.checkout-result-page,
.account-page,
.auth-page,
.search-page,
.page-gallery {
  position: relative;
}

.home-latest-shell,
.home-slogan-shell,
.story-shell,
.listing-shell,
.basket-shell,
.checkout-shell,
.checkout-wizard-shell,
.account-shell,
.search-shell {
  width: min(1320px, calc(100vw - 40px));
}

.home-hero {
  width: min(1320px, calc(100vw - 40px));
  margin: 24px auto 0;
  min-height: min(76vh, 760px);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(14, 33, 55, 0.16);
}

.hero-slide,
.hero-slider {
  border-radius: inherit;
}

.hero-slide-overlay {
  background:
    radial-gradient(circle at 80% 18%, rgba(76, 168, 228, 0.28), transparent 22%),
    linear-gradient(110deg, rgba(11, 20, 30, 0.8) 10%, rgba(11, 20, 30, 0.54) 42%, rgba(11, 20, 30, 0.12) 82%);
}

.hero-slide-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 84px);
}

.hero-slide-copy {
  max-width: 650px;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(9, 18, 28, 0.24);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(4, 9, 16, 0.22);
}

.hero-slide-eyebrow,
.home-kicker,
.home-slogan-kicker,
.listing-breadcrumb,
.search-result-meta,
.checkout-step-accent,
.account-sidebar-kicker,
.account-nav-label {
  color: var(--accent);
  font-family: var(--header-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide-content h1,
.listing-header h1,
.account-panel-head h1,
.auth-copy h1,
.gallery-sidebar h1,
.home-latest-header h2,
.home-slogan-shell h2,
.home-section-heading h2,
.checkout-step-header h1 {
  color: var(--text-strong);
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-slide-content h1 {
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.92;
  margin: 18px 0 14px;
}

.hero-slide-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 36rem;
}

.hero-slide-content a,
.checkout-primary,
.checkout-primary-animated,
.checkout-step-next,
.auth-submit,
.portal-primary-button,
.checkout-button,
.home-featured-button {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  box-shadow: 0 18px 36px rgba(49, 125, 190, 0.24);
  color: #ffffff;
  font-family: var(--header-font);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-slide-content a:hover,
.hero-slide-content a:focus-visible,
.checkout-primary:hover,
.checkout-primary:focus-visible,
.checkout-primary-animated:hover,
.checkout-primary-animated:focus-visible,
.checkout-step-next:hover,
.checkout-step-next:focus-visible,
.auth-submit:hover,
.auth-submit:focus-visible,
.portal-primary-button:hover,
.portal-primary-button:focus-visible,
.checkout-button:hover,
.checkout-button:focus-visible,
.home-featured-button:hover,
.home-featured-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(49, 125, 190, 0.28);
  filter: saturate(1.06);
}

.hero-dots {
  bottom: 28px;
  left: clamp(32px, 6vw, 84px);
  justify-content: flex-start;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.28);
}

.hero-dots button.is-active {
  width: 38px;
  border-radius: 999px;
  background: #ffffff;
}

.home-latest,
.home-slogan,
.story-section,
.listing-page,
.basket-page,
.checkout-page,
.account-page,
.auth-page,
.search-page {
  padding: 88px 0 110px;
}

.home-latest-header,
.home-slogan-shell,
.home-section-heading,
.listing-header,
.search-header,
.basket-page-head,
.checkout-step-header,
.account-panel-head--hero,
.auth-copy {
  max-width: 760px;
}

.home-latest-header h2,
.home-slogan-shell h2,
.home-section-heading h2,
.listing-header h1,
.checkout-step-header h1,
.auth-copy h1,
.account-panel-head--hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 0.98;
}

.home-latest-header p,
.home-slogan-shell p,
.home-section-copy,
.listing-header p:last-child,
.search-header p,
.auth-copy p,
.account-panel-head--hero p:last-child,
.basket-terms {
  color: var(--text-muted);
  line-height: 1.85;
}

.home-filters,
.portfolio-filters {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  margin: 30px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(17, 35, 56, 0.05);
}

.portfolio-filters a,
.portfolio-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--header-font);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.portfolio-filters a:hover,
.portfolio-filters a:focus-visible,
.portfolio-filters a.is-active,
.portfolio-filters button:hover,
.portfolio-filters button:focus-visible,
.portfolio-filters .is-active {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-strong);
  box-shadow: 0 10px 20px rgba(17, 35, 56, 0.08);
}

.portfolio-grid {
  gap: 22px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(208, 220, 232, 0.86);
  background: #dde7ef;
  box-shadow: var(--shadow-soft);
}

.home-reveal,
.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.gallery-shot--intro,
.gallery-shot--intro.is-visible {
  opacity: 1;
  transform: none;
}

.portfolio-card img {
  transform: scale(1.001);
  transition: transform 280ms ease, filter 280ms ease;
}

.portfolio-card-overlay {
  padding: 26px;
  background: linear-gradient(180deg, rgba(7, 13, 19, 0.04), rgba(7, 13, 19, 0.78));
}

.portfolio-card-meta {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--header-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-card-title {
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 34px 64px rgba(17, 35, 56, 0.14);
}

.portfolio-card:hover img,
.portfolio-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

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

.story-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.story-card-thumb {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  margin-bottom: 18px;
}

.story-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card h3 {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 1.2rem;
  font-weight: 700;
}

.story-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.story-grid--home {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.story-feature-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(178, 191, 203, 0.58);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(14, 24, 36, 0.96), rgba(28, 44, 62, 0.92));
  box-shadow: 0 28px 56px rgba(15, 28, 42, 0.14);
}

.story-feature-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px 34px 38px;
}

.story-feature-kicker,
.story-service-label,
.story-service-index {
  color: rgba(146, 193, 229, 0.94);
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-feature-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.story-feature-card p {
  margin: 0;
  color: rgba(232, 238, 244, 0.82);
  font-size: 1rem;
  line-height: 1.85;
}

.story-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-feature-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(151, 182, 207, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1;
}

.story-feature-media {
  min-height: 100%;
  background: #dfe7ee;
}

.story-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-service-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(189, 201, 214, 0.72);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.98));
  box-shadow: 0 18px 40px rgba(16, 35, 58, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.story-service-card:hover,
.story-service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(102, 138, 169, 0.5);
  box-shadow: 0 24px 48px rgba(16, 35, 58, 0.12);
}

.story-service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-service-index {
  color: #466a8a;
}

.story-service-label {
  color: #7d94aa;
  letter-spacing: 0.14em;
}

.story-service-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  background: #e5ecf2;
}

.story-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.story-service-card:hover .story-service-thumb img,
.story-service-card:focus-within .story-service-thumb img {
  transform: scale(1.03);
}

.story-service-card h3 {
  margin: 0;
  color: #1b3147;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.22;
}

.story-service-card p {
  margin: 0;
  color: #657789;
  font-size: 0.93rem;
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .story-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-feature-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .story-grid--home {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .story-feature-copy {
    padding: 24px 22px 24px;
  }

  .story-feature-card h3 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
  }

  .story-feature-media {
    max-height: 260px;
  }

  .story-service-card {
    padding: 16px;
  }

  .story-service-card h3 {
    font-size: 1.12rem;
  }
}

.listing-shell,
.basket-shell,
.checkout-wizard-shell,
.checkout-shell,
.account-shell,
.auth-shell,
.search-shell {
  margin: 0 auto;
}

.listing-header {
  margin-bottom: 26px;
}

.listing-page,
.basket-page,
.checkout-page,
.account-page,
.auth-page,
.search-page {
  background:
    radial-gradient(circle at top left, rgba(49, 125, 190, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.gallery-shell {
  padding: 34px 0 120px;
}

.gallery-layout {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.gallery-grid-surface {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

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

.gallery-shot {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(219, 229, 238, 0.74);
  background: #dfe9f2;
  box-shadow: 0 20px 44px rgba(17, 35, 56, 0.1);
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 54px rgba(17, 35, 56, 0.16);
}

.gallery-shot.is-added {
  border-color: rgba(49, 125, 190, 0.56);
  box-shadow:
    0 0 0 3px rgba(49, 125, 190, 0.46),
    0 28px 54px rgba(17, 35, 56, 0.16);
}

.gallery-shot.is-added::after {
  inset: 14px;
  border: 2px solid rgba(49, 125, 190, 0.92);
  border-radius: 18px;
}

.gallery-shot-overlay {
  padding: 18px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.06), rgba(8, 12, 18, 0.84));
}

.gallery-shot-overlay-copy {
  max-width: calc(100% - 118px);
}

.gallery-shot-title {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.68);
}

.gallery-shot-actions {
  gap: 10px;
}

.gallery-shot-action {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 32px rgba(17, 35, 56, 0.18);
}

.gallery-shot-action img {
  width: 20px;
  height: 20px;
}

.gallery-shot-action-cart.is-active {
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  border-color: transparent;
}

.gallery-shot-action-cart.is-active img {
  filter: brightness(0) invert(1);
}

.gallery-sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.gallery-sidebar-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.gallery-sidebar h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 0.94;
}

.gallery-copy {
  margin: 20px 0 0;
  color: var(--text-muted);
  line-height: 1.88;
}

.share-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--text-strong);
  font-family: var(--header-font);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(17, 35, 56, 0.08);
}

.share-row a:hover,
.share-row a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(49, 125, 190, 0.42);
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tags li {
  padding: 10px 14px;
  border: 1px solid rgba(49, 125, 190, 0.14);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-strong);
  font-size: 0.9rem;
}

.gallery-tags li::before {
  display: none;
}

.buy-all-button {
  width: 100%;
  min-height: 74px;
  padding: 18px 24px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #172332, #28496d);
  color: #ffffff;
  box-shadow: 0 26px 42px rgba(16, 31, 49, 0.24);
}

.single-price-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.single-price-note strong {
  color: var(--accent-strong);
  font-weight: 800;
}

.basket-box {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.basket-items {
  display: grid;
  gap: 10px;
}

.basket-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(215, 226, 236, 0.9);
}

.basket-item-title {
  color: var(--text-strong);
}

.basket-item-meta,
.basket-summary span {
  color: var(--text-muted);
}

.basket-summary {
  padding-top: 18px;
}

.basket-summary strong,
.basket-item-price strong {
  color: var(--text-strong);
  font-weight: 800;
}

.checkout-button {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  margin-top: 18px;
  border-radius: 18px;
}

.gallery-mobile-bar {
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(16, 25, 36, 0.9);
  box-shadow: 0 24px 50px rgba(15, 28, 42, 0.28);
  backdrop-filter: blur(18px);
}

.gallery-mobile-bar-copy strong,
.gallery-mobile-bar-label {
  color: #ffffff;
}

.preview-modal {
  padding: 20px;
  background: rgba(13, 18, 24, 0.8);
  backdrop-filter: blur(8px);
}

.preview-shell {
  max-width: min(1380px, calc(100vw - 40px));
  background: #0f1822;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  box-shadow: 0 40px 90px rgba(5, 10, 16, 0.34);
}

.preview-stage-shell {
  padding: 24px;
}

.preview-stage {
  border-radius: 24px;
  background: #0f1720;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.preview-stage-footer {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-stage-copy strong,
.preview-stage-copy span {
  color: #ffffff;
}

.preview-add-button {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  color: #ffffff;
}

.preview-info-panel {
  background: linear-gradient(180deg, #f9fbff, #f1f5fa);
  border-left: 1px solid rgba(208, 220, 232, 0.86);
}

.preview-info-kicker,
.preview-info-row span {
  color: #6d7f90;
}

.preview-info-row strong {
  color: var(--text-strong);
}

.preview-close,
.preview-nav {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.preview-close:hover,
.preview-close:focus-visible,
.preview-nav:hover,
.preview-nav:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.basket-page-upgraded,
.checkout-wizard-page,
.account-page,
.auth-page {
  padding-top: 52px;
}

.basket-layout-upgraded,
.checkout-layout,
.account-shell,
.auth-shell {
  gap: 28px;
}

.basket-items-header,
.basket-summary-card,
.basket-product-card,
.checkout-step-form,
.checkout-review-address-card,
.checkout-review-items-block,
.checkout-review-summary-card,
.checkout-choice-card,
.account-panel,
.account-sidebar-card,
.account-nav,
.account-logout-form,
.auth-card,
.search-gallery-card,
.search-photo-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.basket-items-header,
.checkout-step-form,
.checkout-review-items-block,
.checkout-review-summary-card,
.account-panel,
.auth-card {
  padding: 28px;
}

.basket-summary-card {
  padding: 26px;
}

.basket-product-card {
  background: rgba(255, 255, 255, 0.92);
}

.basket-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(17, 35, 56, 0.12);
}

.basket-product-thumb,
.basket-product-thumb img {
  border-radius: 22px;
}

.basket-size-trigger {
  border-radius: 18px;
  border-color: rgba(190, 206, 222, 0.9);
  background: #f9fbfd;
}

.basket-size-menu {
  border-color: rgba(190, 206, 222, 0.92);
  border-radius: 20px;
  box-shadow: 0 24px 42px rgba(17, 35, 56, 0.14);
}

.basket-empty-state,
.search-empty,
.account-empty-state--rich {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 252, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.checkout-step-header,
.account-panel--hero,
.auth-card-status {
  margin-bottom: 24px;
}

.checkout-step-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.checkout-step-nav a {
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(188, 204, 220, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--header-font);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-step-nav a.is-current {
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(49, 125, 190, 0.24);
}

.checkout-step-nav a.is-complete {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.checkout-review-address-grid,
.account-order-meta-grid {
  gap: 18px;
}

.checkout-review-address-card,
.account-order-meta-card {
  padding: 24px;
}

.checkout-review-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(215, 226, 236, 0.9);
}

.checkout-review-thumb {
  border-radius: 18px;
}

.checkout-review-submit {
  width: 100%;
}

.auth-shell,
.account-shell {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
}

.auth-shell {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
}

.auth-card,
.account-panel,
.account-sidebar-card,
.account-nav,
.account-logout-form {
  backdrop-filter: blur(12px);
}

.account-shell {
  grid-template-columns: 320px minmax(0, 1fr);
}

.account-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.account-avatar {
  background: linear-gradient(135deg, var(--accent), #58a7e1);
  box-shadow: 0 18px 32px rgba(49, 125, 190, 0.24);
}

.account-nav a {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid transparent;
}

.account-nav a:hover,
.account-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(188, 204, 220, 0.84);
}

.account-nav a.is-active {
  background: var(--accent-soft);
  border-color: rgba(49, 125, 190, 0.18);
}

.portal-section-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.form-field input,
.form-field select,
.form-field textarea,
.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(190, 206, 222, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-strong);
  font-family: var(--body-font);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.form-field textarea,
.auth-form textarea {
  min-height: 160px;
  padding: 16px 18px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: rgba(49, 125, 190, 0.56);
  box-shadow: 0 0 0 4px rgba(49, 125, 190, 0.12);
  outline: none;
}

.site-footer {
  margin-top: 20px;
  background:
    radial-gradient(circle at top left, rgba(88, 167, 225, 0.12), transparent 20%),
    linear-gradient(180deg, #181f28 0%, #121922 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: #d8e2ec;
}

.footer-shell {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.7fr);
  gap: 54px;
  padding: 64px 0 42px;
}

.footer-brand-link img {
  width: auto;
  max-width: 240px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-brand-copy,
.footer-brand-snippet,
.footer-column p,
.footer-column a {
  color: rgba(216, 226, 236, 0.88);
  line-height: 1.9;
}

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

.footer-column h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
}

.footer-brand-snippets {
  margin-top: 18px;
}

.footer-brand-snippet {
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-shell {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(216, 226, 236, 0.78);
}

.toast-stack {
  top: auto;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: auto;
}

.auth-page {
  min-height: calc(100vh - var(--header-height) - 120px);
  display: flex;
  align-items: center;
}

@media (max-width: 1180px) {
  .gallery-layout,
  .basket-layout-upgraded,
  .checkout-layout,
  .account-shell,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .gallery-sidebar-sticky,
  .account-sidebar {
    position: static;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 84px;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .header-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-nav-shell {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    z-index: 1300;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(187, 204, 221, 0.74);
    border-radius: 28px;
    background: rgba(248, 251, 255, 0.96);
    box-shadow: 0 28px 58px rgba(17, 35, 56, 0.16);
    backdrop-filter: blur(18px);
  }

  .header-nav-shell.is-open {
    display: flex;
  }

  .header-nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: block;
    background: rgba(11, 19, 29, 0.36);
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
  }

  .header-nav-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .header-tools {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(187, 204, 221, 0.7);
    justify-content: flex-start;
  }

  .home-hero {
    min-height: 620px;
  }

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

  .story-grid,
  .footer-links-grid,
  .checkout-step-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-shell,
  .home-hero,
  .home-latest-shell,
  .home-slogan-shell,
  .story-shell,
  .listing-shell,
  .basket-shell,
  .checkout-wizard-shell,
  .account-shell,
  .auth-shell,
  .search-shell,
  .footer-shell,
  .footer-bottom-shell,
  .gallery-layout {
    width: min(100vw - 28px, 1320px);
  }

  .brand-logo img {
    height: 40px;
  }

  .hero-slide-content {
    padding: 22px;
    align-items: flex-end;
  }

  .hero-slide-copy {
    max-width: none;
    padding: 22px;
    border-radius: 24px;
  }

  .hero-slide-content h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .home-latest,
  .home-slogan,
  .story-section,
  .listing-page,
  .basket-page,
  .checkout-page,
  .account-page,
  .auth-page,
  .search-page {
    padding: 64px 0 96px;
  }

  .gallery-layout {
    gap: 18px;
  }

  .gallery-grid-surface,
  .gallery-sidebar-panel,
  .basket-items-header,
  .basket-summary-card,
  .basket-product-card,
  .checkout-step-form,
  .checkout-review-address-card,
  .checkout-review-items-block,
  .checkout-review-summary-card,
  .account-panel,
  .account-sidebar-card,
  .account-nav,
  .account-logout-form,
  .auth-card,
  .search-gallery-card,
  .search-photo-card {
    border-radius: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .preview-modal {
    padding: 10px;
  }

  .preview-shell {
    border-radius: 24px;
  }

  .preview-stage-shell {
    padding: 14px;
  }

  .preview-stage-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-add-button {
    width: 100%;
  }

  .footer-bottom-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-stack {
    right: 14px;
    left: 14px;
    width: auto;
  }
}

/* Public redesign v2 refinement */
:root {
  --page-bg: #e9edf2;
  --page-bg-strong: #dde3ea;
  --surface: rgba(244, 247, 250, 0.92);
  --surface-solid: #f6f8fa;
  --surface-soft: #dde5ee;
  --surface-accent: #dbe7f2;
  --text-strong: #18222c;
  --text: #2d3a47;
  --text-muted: #617180;
  --line: rgba(114, 132, 150, 0.26);
  --line-strong: rgba(82, 103, 125, 0.34);
  --accent: #2e6d9d;
  --accent-strong: #214f72;
  --accent-soft: #dbe7f2;
  --shadow-soft: 0 20px 42px rgba(19, 33, 47, 0.08);
  --shadow-card: 0 14px 30px rgba(18, 31, 45, 0.08);
  --radius-card: 18px;
  --radius-large: 22px;
  --radius-pill: 14px;
  --header-font: "Montserrat", "Segoe UI", sans-serif;
  --body-font: "Open Sans", "Segoe UI", sans-serif;
  --display-font: "Open Sans", "Segoe UI", sans-serif;
}

body {
  background:
    linear-gradient(180deg, #eef2f6 0%, #e7ecf1 40%, #e2e8ee 100%);
}

.site-header {
  background: rgba(236, 241, 246, 0.9);
  border-bottom-color: rgba(145, 161, 178, 0.26);
  box-shadow: 0 6px 18px rgba(17, 30, 44, 0.04);
}

.main-nav {
  gap: 4px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
}

.main-nav a {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  box-shadow: 0 8px 18px rgba(17, 35, 56, 0.06);
}

.tool-button,
.header-menu-toggle {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(17, 35, 56, 0.06);
}

.hero-slide-copy {
  border-radius: 20px;
  background: rgba(11, 18, 28, 0.34);
}

.hero-slide-content h1,
.listing-header h1,
.account-panel-head h1,
.auth-copy h1,
.gallery-sidebar h1,
.home-latest-header h2,
.home-slogan-shell h2,
.home-section-heading h2,
.checkout-step-header h1 {
  font-family: var(--display-font);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.hero-slide-content h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.home-latest-header h2,
.home-slogan-shell h2,
.home-section-heading h2,
.listing-header h1,
.checkout-step-header h1,
.auth-copy h1,
.account-panel-head--hero h1,
.gallery-sidebar h1 {
  font-weight: 300;
}

.home-latest,
.home-slogan,
.story-section,
.listing-page,
.basket-page,
.checkout-page,
.account-page,
.auth-page,
.search-page {
  padding: 76px 0 96px;
}

.portfolio-filters,
.home-filters {
  padding: 6px;
  border-radius: 16px;
  background: rgba(244, 247, 250, 0.92);
}

.portfolio-filters a,
.portfolio-filters button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.74rem;
}

.portfolio-card,
.gallery-grid-surface,
.gallery-sidebar-panel,
.basket-items-header,
.basket-summary-card,
.basket-product-card,
.checkout-step-form,
.checkout-review-address-card,
.checkout-review-items-block,
.checkout-review-summary-card,
.checkout-choice-card,
.account-panel,
.account-sidebar-card,
.account-nav,
.account-logout-form,
.auth-card,
.search-gallery-card,
.search-photo-card,
.story-card,
.portal-section-card,
.basket-empty-state,
.search-empty,
.account-empty-state--rich {
  border-radius: 18px;
}

.page-home .home-reveal,
.page-home .home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.portfolio-card {
  border-color: rgba(177, 189, 202, 0.65);
  box-shadow: 0 14px 28px rgba(18, 31, 45, 0.08);
}

.portfolio-card-overlay {
  background: linear-gradient(180deg, rgba(7, 13, 19, 0.04), rgba(7, 13, 19, 0.66));
}

.portfolio-card-title {
  font-family: var(--body-font);
  font-weight: 300;
}

.gallery-grid-surface {
  background: rgba(243, 246, 249, 0.84);
  border-color: rgba(163, 178, 193, 0.44);
}

.gallery-shot {
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(17, 35, 56, 0.08);
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  box-shadow: 0 18px 32px rgba(17, 35, 56, 0.12);
}

.gallery-shot.is-added {
  box-shadow:
    0 0 0 3px rgba(46, 109, 157, 0.34),
    0 18px 32px rgba(17, 35, 56, 0.12);
}

.gallery-shot.is-added::after {
  inset: 10px;
  border-radius: 12px;
  border-color: rgba(46, 109, 157, 0.82);
}

.gallery-shot-action {
  width: 48px;
  height: 48px;
}

.gallery-sidebar-panel {
  background: rgba(243, 246, 249, 0.88);
}

.gallery-sidebar h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.share-row a {
  border-radius: 12px;
  width: 38px;
  height: 38px;
}

.gallery-tags li {
  border-radius: 12px;
  background: rgba(219, 231, 242, 0.8);
}

.buy-all-button {
  border-radius: 14px;
  background: linear-gradient(180deg, #1f2730, #141b22);
  box-shadow: 0 14px 28px rgba(16, 31, 49, 0.18);
}

.basket-summary-card {
  background: linear-gradient(180deg, #2b323a, #21272d);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 32, 0.2);
}

.basket-summary-card > p,
.basket-summary-line,
.basket-summary-line span,
.basket-summary-line strong,
.basket-summary-line-total span,
.basket-summary-line-total strong {
  color: #ffffff;
}

.basket-summary-line {
  border-color: rgba(255, 255, 255, 0.12);
}

.checkout-primary,
.checkout-primary-animated,
.checkout-step-next,
.auth-submit,
.portal-primary-button,
.checkout-button,
.home-featured-button {
  border-radius: 12px;
  background: linear-gradient(180deg, #387eb8, #2b6ea4);
  box-shadow: 0 12px 26px rgba(46, 109, 157, 0.22);
}

.preview-shell {
  border-radius: 22px;
  background: #151c24;
}

.preview-stage,
.preview-stage-footer {
  border-radius: 16px;
}

.preview-info-panel {
  background: linear-gradient(180deg, #eef2f6, #e6ebf0);
}

.auth-card,
.account-panel,
.account-sidebar-card,
.account-nav,
.account-logout-form,
.portal-section-card {
  background: rgba(243, 246, 249, 0.88);
}

.account-nav a,
.checkout-step-nav a {
  border-radius: 12px;
}

.footer-shell {
  gap: 42px;
}

.footer-brand-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand-link img {
  filter: brightness(1.16) contrast(1.02);
}

.footer-column h3 {
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .header-nav-shell {
    border-radius: 18px;
    background: rgba(239, 244, 248, 0.97);
  }

  .main-nav a {
    border-radius: 10px;
  }
}

.site-footer {
  margin-top: 72px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background:
    radial-gradient(circle at top left, rgba(33, 150, 211, 0.12), transparent 34%),
    linear-gradient(180deg, #20242a 0%, #171a1f 100%);
  color: rgba(235, 241, 247, 0.92);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 42px;
  padding: 54px 0 42px;
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
}

.footer-brand-link img {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(240px, 100%);
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.footer-brand-copy {
  max-width: 440px;
  margin: 0;
  color: rgba(212, 223, 235, 0.82);
  font-size: 0.96rem;
  line-height: 1.85;
}

.footer-brand-snippets {
  max-width: 440px;
  margin-top: 1.15rem;
}

.footer-brand-snippet {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(212, 223, 235, 0.82);
  font-size: 0.96rem;
  line-height: 1.85;
}

.footer-brand-snippet p,
.footer-brand-snippet ul,
.footer-brand-snippet ol {
  margin: 0 0 0.85rem;
}

.footer-brand-snippet p:last-child,
.footer-brand-snippet ul:last-child,
.footer-brand-snippet ol:last-child {
  margin-bottom: 0;
}

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

.footer-column h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: var(--header-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 10px;
  color: rgba(219, 229, 239, 0.78);
  font-size: 0.94rem;
  line-height: 1.8;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-shell {
  width: min(var(--site-width), calc(100vw - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(188, 201, 214, 0.72);
  font-size: 0.84rem;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
}

.content-page {
  padding: 48px 0 24px;
}

.content-page-shell {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
}

.content-page-kicker {
  margin: 0 0 10px;
  color: #3d6d92;
  font-family: var(--header-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-page h1 {
  margin: 0;
  color: #182e44;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.content-page-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: #657d93;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-page-card {
  margin-top: 28px;
  padding: 30px 30px 34px;
  border: 1px solid rgba(26, 61, 91, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 254, 0.98));
  box-shadow: 0 26px 64px rgba(17, 31, 48, 0.08);
}

.content-page-body {
  color: #314a60;
  font-size: 1rem;
  line-height: 1.9;
}

.content-page-body > :first-child {
  margin-top: 0;
}

.content-page-body h2,
.content-page-body h3 {
  color: #16324a;
  font-family: var(--header-font);
  line-height: 1.2;
}

.content-page-body h2 {
  margin: 0 0 14px;
  font-size: 1.85rem;
}

.content-page-body h3 {
  margin: 26px 0 12px;
  font-size: 1.35rem;
}

.content-page-body p,
.content-page-body ul,
.content-page-body ol,
.content-page-body blockquote {
  margin: 0 0 16px;
}

.content-page-body ul,
.content-page-body ol {
  padding-left: 1.2rem;
}

.content-page-body blockquote {
  padding: 14px 18px;
  border-left: 3px solid rgba(33, 150, 211, 0.45);
  background: rgba(33, 150, 211, 0.06);
  border-radius: 0 16px 16px 0;
}

@media (max-width: 960px) {
  .footer-shell,
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-shell {
    padding: 40px 0 30px;
    gap: 26px;
  }

  .footer-bottom-shell {
    width: min(var(--site-width), calc(100vw - 24px));
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 20px;
  }

  .content-page {
    padding-top: 34px;
  }

  .content-page-card {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }
}

/* Final gallery/search polish overrides */
.toast-stack {
  top: auto;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: auto;
  z-index: 340;
  width: min(332px, calc(100vw - 28px));
  pointer-events: none;
}

.toast-stack > * {
  pointer-events: auto;
}

.toast-note {
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
}

.gallery-shot {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(16, 35, 58, 0.1);
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(16, 35, 58, 0.18);
}

.gallery-shot.is-added {
  box-shadow:
    0 26px 54px rgba(16, 35, 58, 0.16),
    0 0 0 2px rgba(70, 156, 224, 0.62),
    0 0 0 7px rgba(70, 156, 224, 0.14);
}

.gallery-shot.is-added::after {
  inset: 0;
  border: 2px solid rgba(70, 156, 224, 0.96);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 0 6px rgba(70, 156, 224, 0.12);
}

.gallery-shot-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.02) 12%, rgba(8, 14, 20, 0.56) 72%, rgba(8, 14, 20, 0.78) 100%);
}

.gallery-shot-overlay-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: calc(100% - 118px);
  align-self: flex-end;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.gallery-shot:hover .gallery-shot-overlay-copy,
.gallery-shot:focus-within .gallery-shot-overlay-copy {
  opacity: 1;
  transform: translateY(0);
}

.gallery-shot-title {
  display: block;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.86);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gallery-shot-actions {
  gap: 12px;
  align-self: flex-end;
}

.gallery-shot-action {
  width: 47px;
  height: 47px;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(250, 252, 255, 0.97);
  box-shadow: 0 18px 36px rgba(8, 16, 26, 0.28);
}

.gallery-shot-action img {
  width: 20px;
  height: 20px;
}

.gallery-shot-action-cart.is-active {
  background: linear-gradient(135deg, #e4f3ff 0%, #d6ecfb 100%);
  border-color: rgba(49, 152, 223, 0.92);
  box-shadow:
    0 18px 38px rgba(8, 16, 26, 0.28),
    0 0 0 4px rgba(70, 156, 224, 0.14);
}

.gallery-sidebar-sticky {
  top: calc(var(--header-height) + 24px);
  gap: 16px;
}

.gallery-sidebar-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-sidebar-panel--meta {
  padding-top: 2px;
}

.gallery-sidebar h1 {
  margin: 0;
  color: #232323;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.15rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.share-row {
  display: flex;
  gap: 18px;
  padding: 14px 0 10px;
}

.share-row a {
  width: auto;
  height: auto;
  min-width: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #151515;
  font-family: var(--header-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.share-row a:hover,
.share-row a:focus-visible {
  transform: none;
  color: #1f93d1;
  box-shadow: none;
}

.gallery-copy {
  margin: 12px 0 0;
  color: #8b8b8b;
  font-size: 0.95rem;
  line-height: 1.84;
}

.gallery-tags {
  margin: 8px 0 0;
}

.gallery-tags li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #e8e8e8;
  color: #7c7c7c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.gallery-tags li::before {
  top: 13px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(31, 147, 209, 0.34);
  border-radius: 50%;
  color: #1f93d1;
  font-size: 0.72rem;
  line-height: 14px;
  text-align: center;
  content: "";
}

.buy-all-button {
  width: 100%;
  padding: 18px 16px;
  border: 0;
  border-radius: 2px;
  background: #1f1f1f;
  box-shadow: none;
}

.buy-all-button:hover,
.buy-all-button:focus-visible {
  transform: none;
  filter: none;
  background: #171717;
  box-shadow: none;
}

.buy-all-button span,
.buy-all-button strong {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.buy-all-button span {
  font-size: 0.92rem;
}

.buy-all-button strong {
  margin-top: 4px;
  font-size: 1.04rem;
}

.single-price-note {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d8d8d;
  font-size: 0.95rem;
  line-height: 1.75;
}

.basket-box {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ececec;
}

.basket-items {
  gap: 10px;
}

.basket-item {
  padding: 10px 0;
  border-bottom: 1px solid #ededed;
}

.basket-item-title {
  color: #2a2a2a;
  font-size: 0.93rem;
  font-weight: 600;
}

.basket-item-meta {
  color: #8d8d8d;
  font-size: 0.79rem;
}

.basket-item-price strong {
  color: #444444;
  font-size: 0.9rem;
}

.basket-summary {
  padding-top: 14px;
}

.basket-summary span {
  color: #7e7e7e;
  font-size: 0.95rem;
}

.basket-summary strong {
  color: #2c2c2c;
  font-size: 1rem;
  font-weight: 600;
}

.checkout-button {
  margin-top: 14px;
  align-self: flex-start;
  min-width: 146px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #3c9ee0;
  box-shadow: none;
}

.checkout-button:hover,
.checkout-button:focus-visible {
  transform: none;
  filter: none;
  box-shadow: none;
  background: #3092d4;
}

.search-page {
  min-height: calc(100vh - var(--header-height));
  padding: 44px 0 78px;
  background:
    radial-gradient(circle at top right, rgba(31, 147, 209, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.search-shell {
  width: min(1080px, calc(100vw - 40px));
  margin: 0 auto;
}

.search-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.search-section {
  margin-top: 34px;
}

.search-section-head {
  margin-bottom: 18px;
}

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

.search-gallery-card,
.search-photo-card {
  display: grid;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid #e2ebf3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 25, 39, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.search-gallery-card:hover,
.search-gallery-card:focus-visible,
.search-photo-card:hover,
.search-photo-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 147, 209, 0.24);
  box-shadow: 0 22px 46px rgba(17, 25, 39, 0.08);
}

.search-gallery-thumb,
.search-photo-thumb {
  overflow: hidden;
  border-radius: 18px;
  background: #eef4f8;
}

.search-gallery-thumb {
  aspect-ratio: 16 / 10;
}

.search-gallery-thumb img,
.search-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.search-gallery-card:hover img,
.search-photo-card:hover img {
  transform: scale(1.035);
}

.search-gallery-copy h3,
.search-photo-copy h3 {
  margin: 0;
  color: #1f3448;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.search-gallery-copy p,
.search-photo-copy p {
  margin: 10px 0 0;
  color: #718496;
  line-height: 1.72;
}

.search-photo-list {
  display: grid;
  gap: 16px;
}

.search-photo-card {
  grid-template-columns: 176px minmax(0, 1fr);
}

.search-photo-thumb {
  aspect-ratio: 4 / 3;
}

.search-photo-file {
  color: #355c7a;
  font-weight: 600;
}

.search-result-meta {
  margin: 0;
  color: #1f93d1;
  font-family: var(--header-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-empty {
  margin-top: 16px;
  padding: 28px 30px;
  border: 1px dashed #cfe0ed;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdff, #f6fbff);
}

@media (max-width: 980px) {
  .search-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-sidebar h1 {
    font-size: 2rem;
  }
}

@media (max-width: 760px) {
  .toast-stack {
    top: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }

  .gallery-shot-overlay {
    padding: 14px;
  }

  .gallery-shot-overlay-copy {
    max-width: calc(100% - 112px);
  }

  .gallery-shot-title {
    font-size: 0.86rem;
  }

  .gallery-sidebar-panel {
    padding: 0;
  }

  .share-row {
    gap: 14px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

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

/* Home hero reset: full-width classic Fotolens banner */
.page-home {
  padding-top: 0;
}

.page-home .home-hero {
  width: 100%;
  min-height: clamp(580px, calc(100vh - var(--header-height)), 820px);
  height: min(820px, calc(100vh - var(--header-height)));
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.page-home .hero-slider,
.page-home .hero-slide {
  border-radius: 0;
}

.page-home .hero-slide-image {
  transform: scale(1.015);
  filter: saturate(1.01) contrast(1.03);
}

.page-home .hero-slide.is-active .hero-slide-image {
  transform: scale(1.055);
}

.page-home .hero-slide-overlay {
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.8) 0%, rgba(9, 15, 22, 0.56) 34%, rgba(9, 15, 22, 0.16) 70%, rgba(9, 15, 22, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.18) 0%, rgba(6, 10, 16, 0.32) 100%);
}

.page-home .hero-slide-content {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) 0 clamp(70px, 8vw, 112px);
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.page-home .hero-slide-copy {
  max-width: min(620px, 54vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.page-home .hero-slide-eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.page-home .hero-slide-content h1 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 7.2vw, 5.8rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.page-home .hero-slide-content p {
  max-width: 34rem;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 1.82;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.page-home .hero-slide-actions {
  justify-content: flex-start;
}

.page-home .hero-slide-content a {
  min-width: 156px;
  margin-top: 30px;
  padding: 15px 26px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(5, 12, 20, 0.22);
  color: #102131;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.page-home .hero-slide-content a:hover,
.page-home .hero-slide-content a:focus-visible {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(49, 125, 190, 0.28);
}

.page-home .hero-slide-note {
  max-width: 31rem;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.75;
}

.page-home .hero-dots {
  left: min(1320px, calc(100vw - 48px));
  right: auto;
  bottom: 34px;
  justify-content: flex-start;
  transform: translateX(-100%);
}

.page-home .hero-dots button {
  width: 30px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.page-home .hero-dots button.is-active {
  width: 44px;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .page-home .home-hero {
    min-height: 620px;
    height: min(700px, calc(100vh - var(--header-height)));
  }

  .page-home .hero-slide-content {
    width: min(100vw - 36px, 1320px);
  }

  .page-home .hero-slide-copy {
    max-width: min(620px, 72vw);
  }

  .page-home .hero-dots {
    left: min(100vw - 36px, 1320px);
  }
}

@media (max-width: 760px) {
  .page-home .home-hero {
    min-height: 520px;
    height: 520px;
  }

  .page-home .hero-slide-content {
    width: min(100vw - 28px, 1320px);
    padding: 28px 0 72px;
    align-items: flex-end;
    text-align: left;
  }

  .page-home .hero-slide-copy {
    max-width: 100%;
  }

  .page-home .hero-slide-content h1 {
    max-width: 8.5ch;
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .page-home .hero-slide-content p {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .page-home .hero-slide-content a {
    min-width: 144px;
    padding: 14px 24px;
  }

  .page-home .hero-dots {
    left: 14px;
    bottom: 18px;
    transform: none;
  }
}

/* Home latest galleries refresh */
.home-latest {
  position: relative;
  padding: 72px 0 84px;
  background:
    linear-gradient(180deg, rgba(245, 248, 251, 0.98) 0%, rgba(250, 252, 253, 0.98) 46%, rgba(255, 255, 255, 0.96) 100%);
}

.home-latest::before {
  content: "";
  position: absolute;
  inset: 18px 22px 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(86, 141, 188, 0.08), transparent 22%),
    radial-gradient(circle at 88% 24%, rgba(160, 182, 204, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 249, 251, 0.92));
  box-shadow: inset 0 0 0 1px rgba(198, 211, 223, 0.42);
  pointer-events: none;
}

.home-latest-shell {
  position: relative;
  z-index: 1;
}

.home-latest-header {
  margin: 0 auto 32px;
}

.home-latest-header h2 {
  margin-top: 8px;
}

.home-latest-grid {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: 0 auto;
  gap: 24px;
}

.page-home .home-latest-grid .portfolio-card--home {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: auto;
  border-radius: 22px;
  border: 1px solid rgba(188, 201, 214, 0.78);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
  box-shadow: 0 18px 38px rgba(15, 28, 42, 0.08);
  overflow: hidden;
}

.page-home .home-latest-grid .portfolio-card--home:hover,
.page-home .home-latest-grid .portfolio-card--home:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(15, 28, 42, 0.16);
}

.page-home .home-latest-grid .portfolio-card-media {
  position: relative;
  display: block;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: #dde6ee;
}

.page-home .home-latest-grid .portfolio-card--home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(0.19, 1, 0.22, 1), filter 320ms ease;
}

.page-home .home-latest-grid .portfolio-card--home:hover img,
.page-home .home-latest-grid .portfolio-card--home:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.03) contrast(1.02);
}

.page-home .home-latest-grid .portfolio-card-caption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.96));
}

.page-home .home-latest-grid .portfolio-card-caption-meta {
  color: #68819a;
  font-family: var(--header-font);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-home .home-latest-grid .portfolio-card-caption-title {
  color: #1c3147;
  font-family: var(--body-font);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.3;
}

.page-home .home-latest-grid .portfolio-card-overlay {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  background: linear-gradient(180deg, rgba(7, 13, 19, 0.04), rgba(7, 13, 19, 0.44));
}

.page-home .home-latest-grid .portfolio-card-overlay > span {
  max-width: 92%;
  display: none;
}

.page-home .home-latest-grid .portfolio-card:hover .portfolio-card-overlay,
.page-home .home-latest-grid .portfolio-card:focus-visible .portfolio-card-overlay {
  opacity: 1;
}

.page-home .home-latest-grid .portfolio-card-overlay .portfolio-card-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
}

.page-home .home-latest-grid .portfolio-card-overlay .portfolio-card-title {
  margin-top: 8px;
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.28;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

@media (min-width: 981px) {
  .page-home .home-latest-grid .portfolio-card--last-single {
    width: min(420px, 100%);
  }
}

@media (max-width: 980px) {
  .home-latest {
    padding: 62px 0 72px;
  }

  .home-latest::before {
    inset: 14px 16px 0;
    border-radius: 28px;
  }
}

@media (max-width: 760px) {
  .home-latest {
    padding: 54px 0 62px;
  }

  .home-latest::before {
    inset: 10px 10px 0;
    border-radius: 24px;
  }

  .home-latest-header {
    margin-bottom: 24px;
  }

  .home-latest-grid {
    gap: 18px;
  }

  .page-home .home-latest-grid .portfolio-card-caption {
    padding: 16px 16px 18px;
  }

  .page-home .home-latest-grid .portfolio-card-caption-title {
    font-size: 1.04rem;
  }
}

/* Home ambient side-fill polish */
.page-home {
  background:
    radial-gradient(circle at 8% 34%, rgba(116, 154, 188, 0.12), transparent 22%),
    radial-gradient(circle at 92% 28%, rgba(148, 167, 186, 0.11), transparent 24%),
    radial-gradient(circle at 18% 72%, rgba(189, 202, 214, 0.1), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(110, 142, 170, 0.1), transparent 22%),
    linear-gradient(180deg, #f7fafc 0%, #f4f8fb 34%, #f8fbfd 64%, #f6f9fb 100%);
}

.page-home::before,
.page-home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.page-home::before {
  top: min(760px, calc(100vh - var(--header-height))) ;
  height: 980px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(244, 248, 251, 0.7)),
    radial-gradient(circle at 14% 18%, rgba(157, 184, 207, 0.12), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(164, 181, 198, 0.11), transparent 22%);
}

.page-home::after {
  top: min(1380px, calc(100vh - var(--header-height)) + 620px);
  height: 980px;
  background:
    radial-gradient(circle at 12% 18%, rgba(181, 194, 205, 0.12), transparent 20%),
    radial-gradient(circle at 88% 32%, rgba(139, 166, 188, 0.11), transparent 22%),
    linear-gradient(180deg, rgba(248, 251, 253, 0), rgba(243, 247, 250, 0.82));
}

.home-latest,
.home-slogan,
.story-section {
  position: relative;
  z-index: 1;
}

.home-latest::after,
.home-slogan::before,
.story-section::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(1520px, calc(100vw - 24px));
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.home-latest::after {
  top: 0;
  bottom: 0;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 252, 0.9)),
    radial-gradient(circle at 12% 24%, rgba(117, 153, 182, 0.1), transparent 18%),
    radial-gradient(circle at 88% 16%, rgba(165, 183, 201, 0.08), transparent 20%);
  box-shadow:
    inset 0 0 0 1px rgba(201, 212, 222, 0.38),
    0 26px 70px rgba(18, 32, 46, 0.04);
}

.home-slogan::before {
  top: 24px;
  bottom: 24px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(250, 252, 253, 0.92), rgba(245, 249, 251, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(205, 215, 224, 0.34),
    0 20px 54px rgba(17, 31, 45, 0.04);
}

.story-section::after {
  top: 20px;
  bottom: 0;
  border-radius: 42px 42px 0 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.94), rgba(243, 247, 250, 0.98)),
    radial-gradient(circle at 18% 18%, rgba(169, 187, 203, 0.08), transparent 20%),
    radial-gradient(circle at 84% 20%, rgba(126, 158, 185, 0.08), transparent 18%);
  box-shadow: inset 0 0 0 1px rgba(203, 214, 223, 0.34);
}

.home-latest-shell,
.home-slogan-shell,
.story-shell {
  position: relative;
  z-index: 1;
}

.home-latest-header,
.home-slogan-shell,
.home-section-heading {
  position: relative;
}

.home-latest-header::before,
.home-slogan-shell::before,
.home-section-heading::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: min(180px, 28vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(122, 144, 166, 0), rgba(122, 144, 166, 0.46), rgba(122, 144, 166, 0));
}

.home-slogan {
  padding-top: 78px;
  padding-bottom: 82px;
}

.story-section {
  padding-top: 34px;
}

@media (max-width: 980px) {
  .page-home::before {
    height: 840px;
  }

  .page-home::after {
    top: min(1260px, calc(100vh - var(--header-height)) + 560px);
    height: 860px;
  }

  .home-latest::after,
  .home-slogan::before,
  .story-section::after {
    width: min(100vw - 20px, 1520px);
    border-radius: 30px;
  }
}

@media (max-width: 760px) {
  .page-home {
    background:
      radial-gradient(circle at 10% 18%, rgba(139, 168, 192, 0.1), transparent 26%),
      radial-gradient(circle at 88% 24%, rgba(164, 181, 197, 0.08), transparent 26%),
      linear-gradient(180deg, #f7fafc 0%, #f5f9fb 44%, #f8fbfd 100%);
  }

  .page-home::before,
  .page-home::after {
    display: none;
  }

  .home-latest::after,
  .home-slogan::before,
  .story-section::after {
    width: min(100vw - 10px, 1520px);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(205, 214, 222, 0.26);
  }

  .home-latest::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 252, 0.94));
  }

  .home-slogan::before,
  .story-section::after {
    background: linear-gradient(180deg, rgba(249, 252, 253, 0.95), rgba(244, 248, 251, 0.98));
  }

  .home-slogan {
    padding-top: 64px;
    padding-bottom: 68px;
  }
}

/* Ambient correction: remove visible framed panels, keep only subtle side fill */
.page-home {
  background:
    linear-gradient(90deg, rgba(228, 236, 243, 0.3) 0%, rgba(228, 236, 243, 0) 16%),
    linear-gradient(270deg, rgba(228, 236, 243, 0.3) 0%, rgba(228, 236, 243, 0) 16%),
    radial-gradient(circle at 10% 36%, rgba(118, 151, 181, 0.08), transparent 18%),
    radial-gradient(circle at 90% 30%, rgba(140, 164, 184, 0.08), transparent 20%),
    radial-gradient(circle at 18% 76%, rgba(181, 193, 204, 0.07), transparent 18%),
    radial-gradient(circle at 84% 78%, rgba(122, 149, 173, 0.07), transparent 18%),
    linear-gradient(180deg, #f8fbfc 0%, #f5f8fb 34%, #f9fbfd 66%, #f7fafc 100%);
}

.page-home::before,
.page-home::after,
.home-latest::before,
.home-latest::after,
.home-slogan::before,
.story-section::after {
  display: none;
}

.home-latest,
.home-slogan,
.story-section {
  background: transparent;
}

.home-latest {
  padding-top: 76px;
}

.home-latest-shell,
.home-slogan-shell,
.story-shell {
  background: transparent;
}

.home-latest-header::before,
.home-slogan-shell::before,
.home-section-heading::before {
  top: -14px;
  width: min(140px, 24vw);
  background: linear-gradient(90deg, rgba(116, 136, 156, 0), rgba(116, 136, 156, 0.26), rgba(116, 136, 156, 0));
}

@media (max-width: 760px) {
  .page-home {
    background:
      radial-gradient(circle at 10% 20%, rgba(140, 165, 187, 0.07), transparent 24%),
      radial-gradient(circle at 88% 24%, rgba(154, 173, 190, 0.06), transparent 24%),
      linear-gradient(180deg, #f8fbfc 0%, #f6f9fb 46%, #f9fbfd 100%);
  }
}

/* Listing page sport sub-navigation refresh */
#listing-subnav.portfolio-filters-sport {
  width: min(100%, max-content);
  justify-content: center;
  margin: 10px auto 34px;
  padding: 0;
  gap: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#listing-subnav.portfolio-filters-sport a {
  position: relative;
  min-height: 0;
  padding: 6px 0 10px;
  border-radius: 0;
  color: #6d7785;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  box-shadow: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

#listing-subnav.portfolio-filters-sport a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(39, 73, 108, 0.5);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

#listing-subnav.portfolio-filters-sport a:hover,
#listing-subnav.portfolio-filters-sport a:focus-visible {
  background: transparent;
  color: #243446;
  box-shadow: none;
  transform: translateY(-1px);
}

#listing-subnav.portfolio-filters-sport a.is-active {
  background: transparent;
  color: #1f3347;
  box-shadow: none;
}

#listing-subnav.portfolio-filters-sport a:hover::after,
#listing-subnav.portfolio-filters-sport a:focus-visible::after,
#listing-subnav.portfolio-filters-sport a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 900px) {
  #listing-subnav.portfolio-filters-sport {
    width: 100%;
    margin: 10px auto 28px;
    gap: 18px 22px;
  }

  #listing-subnav.portfolio-filters-sport a {
    flex: 0 0 auto;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  #listing-subnav.portfolio-filters-sport {
    justify-content: center;
    gap: 14px 18px;
  }

  #listing-subnav.portfolio-filters-sport a {
    min-height: 0;
    min-width: 0;
    padding-bottom: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

/* Article page final minimalist refresh */
.page-gallery {
  background:
    radial-gradient(circle at top left, rgba(49, 125, 190, 0.05), transparent 22%),
    linear-gradient(180deg, #fbfcfd 0%, #f7f9fb 100%);
}

.gallery-shell {
  padding: 26px 0 82px;
  background: transparent;
}

.gallery-layout {
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 36px;
}

.gallery-listing-head {
  margin-bottom: 18px;
}

.gallery-listing-head .listing-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #7d8a98;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-listing-head .listing-breadcrumb a {
  color: #5f7488;
}

.gallery-grid-surface {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.gallery-shot {
  margin: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}

.gallery-shot:hover,
.gallery-shot:focus-within {
  transform: translateY(-1px);
  box-shadow: none;
}

.gallery-shot img {
  border-radius: 16px;
}

.gallery-shot.is-added {
  box-shadow: none;
}

.gallery-shot.is-added::after {
  inset: 0;
  border: 1px solid rgba(74, 166, 230, 0.8);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.gallery-shot-overlay {
  padding: 16px;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(8, 14, 20, 0.02) 10%, rgba(8, 14, 20, 0.28) 72%, rgba(8, 14, 20, 0.44) 100%);
}

.gallery-shot-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.56);
}

.gallery-shot-action {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(8, 16, 26, 0.18);
}

.gallery-shot-action:hover,
.gallery-shot-action:focus-visible {
  box-shadow: 0 14px 28px rgba(8, 16, 26, 0.22);
}

.gallery-shot-action img {
  width: 20px;
  height: 20px;
}

.gallery-shot-action-cart.is-active {
  background: rgba(230, 244, 254, 0.96);
  border-color: rgba(63, 148, 212, 0.72);
}

.gallery-sidebar-panel--meta {
  padding-top: 18px;
}

.gallery-sidebar h1 {
  margin: 8px 0 0;
  color: #20252b;
  font-family: var(--header-font);
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.share-row {
  display: none;
}

.gallery-copy {
  margin: 14px 0 0;
  color: #7e8790;
  font-size: 0.94rem;
  line-height: 1.82;
}

.gallery-tags {
  margin: 10px 0 0;
  display: block;
}

.gallery-tags li {
  position: relative;
  padding: 12px 0 12px 24px;
  border: 0;
  border-bottom: 1px solid #e7eaee;
  border-radius: 0;
  background: transparent;
  color: #7a7f85;
  font-size: 0.94rem;
  line-height: 1.5;
}

.gallery-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(78, 126, 173, 0.46);
  border-radius: 50%;
  background: transparent;
  display: block;
}

.gallery-sidebar-panel--buy {
  padding-top: 4px;
}

.buy-all-button {
  width: 100%;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid rgba(27, 40, 55, 0.12);
  border-radius: 12px;
  background: #1d2024;
  color: #ffffff;
  box-shadow: none;
}

.buy-all-button:hover,
.buy-all-button:focus-visible {
  transform: none;
  background: #171a1d;
  box-shadow: none;
  filter: none;
}

.buy-all-button span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.buy-all-button strong {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.single-price-note {
  margin: 14px 0 0;
  color: #6e7f91;
  font-size: 0.93rem;
  font-style: italic;
  line-height: 1.72;
}

.single-price-note strong {
  color: #2e79b8;
  font-weight: 700;
}

.basket-box {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eceff2;
}

.basket-items {
  gap: 6px;
}

.basket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy remove"
    "price remove";
  align-items: start;
  column-gap: 10px;
  row-gap: 5px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #eceff2;
  border-radius: 0;
  background: transparent;
  color: #66717d;
}

.basket-item--empty {
  display: block;
  padding: 4px 0 0;
  border-bottom: 0;
  color: #8c959f;
}

.basket-item-copy {
  grid-area: copy;
  display: block;
  min-width: 0;
  gap: 0;
}

.basket-item-text {
  gap: 4px;
}

.basket-item-title {
  overflow-wrap: anywhere;
  color: #272b31;
  font-size: 0.89rem;
  font-weight: 600;
  line-height: 1.38;
}

.basket-item-meta {
  color: #8a9199;
  font-size: 0.77rem;
  line-height: 1.35;
}

.basket-item-price {
  grid-area: price;
  justify-self: start;
  padding-top: 0;
}

.basket-item-price strong {
  color: #444d57;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.basket-item-quick-remove {
  grid-area: remove;
  width: 20px;
  height: 20px;
  align-self: center;
  justify-self: end;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #9aa7b3;
}

.basket-item-quick-remove:hover,
.basket-item-quick-remove:focus-visible {
  color: #476987;
  transform: none;
}

.basket-item-remove-icon {
  display: block;
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.basket-item-quick-remove:hover .basket-item-remove-icon,
.basket-item-quick-remove:focus-visible .basket-item-remove-icon {
  opacity: 0.9;
}

.basket-summary {
  margin-top: 14px;
  padding-top: 14px;
}

.preview-backdrop {
  background: rgba(14, 18, 24, 0.48);
  backdrop-filter: blur(9px);
}

.preview-shell {
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 22px;
  width: min(1480px, calc(100vw - 40px));
  padding: 0 74px;
}

.preview-stage img {
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(8, 14, 20, 0.14);
}

.preview-stage-footer {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 228, 235, 0.8);
  border-radius: 14px;
  background: rgba(251, 253, 255, 0.86);
  box-shadow: 0 12px 28px rgba(8, 14, 20, 0.08);
}

.preview-stage-copy strong,
.preview-stage-copy span {
  color: #26323f;
}

.preview-stage-copy strong {
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.preview-stage-copy span {
  color: #7b8793;
  font-size: 0.72rem;
}

.preview-add-button {
  min-width: 164px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(42, 57, 74, 0.14);
  border-radius: 12px;
  background: #1d2024;
  color: #ffffff;
  box-shadow: none;
}

.preview-add-button:hover,
.preview-add-button:focus-visible {
  background: #171a1d;
  border-color: rgba(42, 57, 74, 0.14);
  box-shadow: none;
  transform: none;
}

.preview-info-panel {
  width: 286px;
  padding: 18px 18px 16px;
  background: rgba(249, 251, 253, 0.94);
  border: 1px solid rgba(220, 227, 235, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(8, 14, 20, 0.08);
  max-height: calc(100vh - 90px);
}

.preview-info-kicker,
.preview-info-row span {
  color: #728091;
  font-style: normal;
}

.preview-info-row {
  padding: 9px 0;
  border-top: 1px solid rgba(225, 231, 237, 0.9);
}

.preview-info-row strong {
  color: #293847;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.58;
}

.preview-close,
.preview-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 236, 242, 0.84);
  border-radius: 50%;
  background: rgba(252, 253, 255, 0.82);
  color: #28323d;
  box-shadow: 0 12px 24px rgba(8, 14, 20, 0.08);
}

.preview-close:hover,
.preview-close:focus-visible,
.preview-nav:hover,
.preview-nav:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(214, 223, 231, 0.94);
}

.preview-close {
  top: 18px;
  right: 78px;
  font-size: 1.2rem;
}

.preview-nav {
  font-size: 1.26rem;
}

@media (max-width: 1280px) {
  .gallery-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .gallery-grid {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-sidebar {
    order: -1;
  }

  .gallery-sidebar-panel--meta {
    padding-top: 0;
  }

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

  .preview-shell {
    grid-template-columns: minmax(0, 1fr);
    width: min(780px, calc(100vw - 20px));
    padding: 0;
  }

  .preview-info-panel {
    width: auto;
    max-height: none;
  }
}

@media (max-width: 680px) {
  .gallery-shell {
    padding-top: 16px;
    padding-bottom: 108px;
  }

  .gallery-listing-head .listing-breadcrumb {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .gallery-sidebar h1 {
    margin-top: 2px;
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-shot,
  .gallery-shot img,
  .gallery-shot.is-added::after {
    border-radius: 14px;
  }
}

/* Preview modal final minimalist refresh */
.preview-modal {
  padding: 18px 22px;
  z-index: 1600;
  background:
    radial-gradient(circle at 18% 20%, rgba(78, 121, 159, 0.08), transparent 0 26%),
    radial-gradient(circle at 82% 76%, rgba(255, 255, 255, 0.04), transparent 0 18%),
    rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(12px);
}

.preview-backdrop {
  background: linear-gradient(180deg, rgba(12, 16, 21, 0.28), rgba(10, 14, 20, 0.56));
  backdrop-filter: blur(10px);
}

.preview-shell {
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 24px;
  width: min(1320px, calc(100vw - 44px));
  padding: 0 82px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.preview-stage-shell,
.preview-modal.is-preview-landscape .preview-stage-shell {
  width: min(100%, 1040px);
  justify-self: center;
  padding: 0;
}

.preview-modal.is-preview-portrait .preview-stage-shell,
.preview-modal.is-preview-square .preview-stage-shell {
  width: min(100%, 720px);
}

.preview-modal.is-preview-portrait .preview-shell {
  grid-template-columns: minmax(0, 1fr) 244px;
  width: min(1140px, calc(100vw - 44px));
  gap: 12px;
}

.preview-modal.is-preview-portrait .preview-stage-shell {
  width: min(100%, 620px);
}

.preview-stage {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.preview-stage img {
  max-height: calc(100vh - 172px);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(6, 16, 28, 0.24);
}

.preview-modal.is-preview-landscape .preview-stage img {
  max-height: calc(100vh - 184px);
}

.preview-modal.is-preview-portrait .preview-stage img {
  max-height: calc(100vh - 248px);
}

.preview-modal.is-preview-square .preview-stage img {
  max-height: calc(100vh - 170px);
}

.preview-modal.is-preview-portrait .preview-stage-footer {
  max-width: 620px;
  margin-top: 10px;
  padding: 10px 12px 10px 14px;
}

.preview-modal.is-preview-portrait .preview-stage-copy strong {
  font-size: 0.78rem;
}

.preview-modal.is-preview-portrait .preview-stage-copy span {
  font-size: 0.7rem;
}

.preview-modal.is-preview-portrait .preview-add-button {
  min-width: 146px;
  height: 34px;
  font-size: 0.66rem;
}

.preview-stage-footer {
  margin-top: 14px;
  padding: 11px 14px 11px 16px;
  border: 1px solid rgba(223, 230, 236, 0.88);
  border-radius: 16px;
  background: rgba(246, 249, 252, 0.92);
  box-shadow: 0 12px 26px rgba(6, 16, 28, 0.08);
  backdrop-filter: blur(10px);
  width: min(100%, var(--preview-image-width, 100%));
  margin-left: auto;
  margin-right: auto;
}

.preview-stage-copy {
  min-width: 0;
  gap: 3px;
}

.preview-stage-copy strong {
  color: #1e2934;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.preview-stage-copy span {
  color: #7a8794;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.preview-add-button {
  min-width: 156px;
  height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(26, 34, 42, 0.14);
  border-radius: 999px;
  background: #171d23;
  color: #ffffff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
}

.preview-add-button:hover,
.preview-add-button:focus-visible {
  background: #10161b;
  border-color: rgba(26, 34, 42, 0.14);
  box-shadow: none;
  transform: none;
}

.preview-info-panel {
  align-self: start;
  width: 248px;
  padding: 18px 16px 16px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(225, 231, 237, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(6, 16, 28, 0.12);
  backdrop-filter: blur(10px);
  max-height: calc(100vh - 86px);
}

.preview-modal.is-preview-portrait .preview-info-panel {
  align-self: stretch;
  width: 244px;
  min-height: min(74vh, 760px);
  max-height: calc(100vh - 92px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: auto;
}

.preview-info-kicker {
  margin: 0 0 12px;
  color: #7a8895;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.preview-info-row {
  padding: 10px 0;
  border-top: 1px solid rgba(228, 233, 238, 0.92);
}

.preview-info-row span {
  color: #7b8794;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-info-row strong {
  margin-top: 6px;
  color: #25313d;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.preview-close,
.preview-nav {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.78);
  color: #1d2833;
  box-shadow: 0 12px 28px rgba(6, 16, 28, 0.12);
  backdrop-filter: blur(10px);
}

.preview-close:hover,
.preview-close:focus-visible,
.preview-nav:hover,
.preview-nav:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
}

.preview-close {
  position: fixed;
  top: 24px;
  right: 24px;
  font-size: 1.08rem;
}

.preview-nav {
  position: fixed;
  top: 50%;
  font-size: 1.14rem;
}

.preview-nav:hover,
.preview-nav:focus-visible {
  transform: translateY(-50%);
}

.preview-nav-prev {
  left: 20px;
}

.preview-nav-next {
  right: 20px;
}

@media (max-width: 1280px) {
  .preview-shell {
    width: min(1220px, calc(100vw - 32px));
    padding: 0 68px;
  }
}

@media (max-width: 1080px) {
  .preview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: min(820px, calc(100vw - 20px));
    padding: 0;
  }

  .preview-stage-shell,
  .preview-modal.is-preview-landscape .preview-stage-shell,
  .preview-modal.is-preview-portrait .preview-stage-shell,
  .preview-modal.is-preview-square .preview-stage-shell {
    width: 100%;
  }

  .preview-info-panel {
    width: auto;
    max-height: none;
  }
}

@media (max-width: 680px) {
  .preview-modal {
    padding: 12px;
  }

  .preview-stage img {
    max-height: 56vh;
    border-radius: 16px;
  }

  .preview-stage-footer {
    padding: 12px 13px;
    border-radius: 15px;
  }

  .preview-stage-copy strong {
    font-size: 0.78rem;
  }

  .preview-add-button {
    width: 100%;
    min-width: 0;
    border-radius: 999px;
  }

  .preview-info-panel {
    padding: 16px 15px 15px;
    border-radius: 16px;
  }

  .preview-close {
    top: 14px;
    right: 14px;
  }

  .preview-nav {
    width: 38px;
    height: 38px;
  }

  .preview-nav-prev {
    left: 12px;
  }

  .preview-nav-next {
    right: 12px;
  }
}

.wedding-landing-page {
  position: relative;
  background:
    radial-gradient(circle at 14% 22%, rgba(86, 145, 201, 0.12), transparent 28%),
    radial-gradient(circle at 84% 28%, rgba(160, 181, 202, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6f9 36%, #f7f8fa 100%);
}

.wedding-landing-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.landing-shell {
  position: relative;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.landing-shell--narrow {
  width: min(1100px, calc(100% - 56px));
}

.wedding-landing-page .landing-hero {
  margin-bottom: 0;
}

.wedding-landing-intro,
.landing-service-section,
.landing-story-section {
  position: relative;
  padding: 42px 0;
}

.wedding-landing-intro {
  padding-top: 62px;
}

.landing-intro-head,
.landing-section-heading {
  max-width: 780px;
}

.landing-intro-head {
  margin: 0 auto 30px;
  text-align: center;
}

.landing-intro-kicker,
.landing-section-kicker,
.landing-card-kicker,
.landing-package-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #6480a0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-intro-head h1,
.landing-section-heading h2,
.landing-surface-card h2,
.landing-process-copy h2 {
  margin: 0;
  color: #1e2935;
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  font-weight: 300;
  line-height: 1.03;
}

.landing-section-heading h2,
.landing-surface-card h2,
.landing-process-copy h2 {
  font-size: clamp(1.62rem, 3vw, 2.34rem);
  line-height: 1.12;
}

.landing-intro-copy,
.landing-section-heading p,
.landing-process-copy p,
.landing-surface-card p,
.landing-package-card p,
.landing-step-card p,
.landing-quick-fact span {
  color: #617282;
  font-size: 1rem;
  line-height: 1.8;
}

.landing-intro-grid,
.landing-process-layout,
.landing-benefits-grid {
  display: grid;
  gap: 24px;
}

.wedding-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 26px;
  align-items: start;
}

.wedding-editorial-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 18px;
}

.wedding-editorial-main,
.wedding-editorial-stack figure {
  margin: 0;
}

.wedding-editorial-main {
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(17, 33, 49, 0.12);
}

.wedding-editorial-main img,
.wedding-editorial-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wedding-editorial-stack {
  display: grid;
  gap: 18px;
}

.wedding-editorial-stack figure {
  min-height: 240px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(17, 33, 49, 0.1);
}

.wedding-editorial-copy {
  display: grid;
  gap: 22px;
}

.landing-intro-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.landing-process-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.landing-benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-surface-card,
.landing-quick-facts,
.landing-package-card,
.landing-step-card {
  border: 1px solid rgba(210, 220, 230, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(17, 33, 49, 0.08);
  backdrop-filter: blur(10px);
}

.landing-surface-card {
  padding: 30px 32px;
}

.landing-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-check-list li {
  position: relative;
  padding-left: 24px;
  color: #273444;
  font-size: 0.98rem;
  line-height: 1.7;
}

.landing-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7aa2c5;
  transform: translateY(-50%);
}

.landing-quick-facts {
  display: grid;
  gap: 0;
  padding: 10px 0;
}

.landing-quick-fact {
  padding: 20px 24px;
  border-top: 1px solid rgba(216, 225, 233, 0.85);
}

.landing-quick-fact:first-child {
  border-top: 0;
}

.landing-quick-fact strong {
  display: block;
  margin-top: 8px;
  color: #1f2c39;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.landing-section-heading {
  margin: 0 0 26px;
}

.landing-section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.landing-package-card {
  padding: 28px 26px;
}

.landing-package-card--featured {
  border-color: rgba(126, 160, 194, 0.95);
  box-shadow: 0 24px 60px rgba(25, 42, 60, 0.11);
}

.landing-package-card h3,
.landing-step-card h3 {
  margin: 0 0 12px;
  color: #1c2834;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.2;
}

.landing-package-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.landing-package-card li {
  position: relative;
  padding-left: 20px;
  color: #495b6c;
  font-size: 0.96rem;
  line-height: 1.7;
}

.landing-package-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #7596b5;
}

.wedding-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wedding-feature-card {
  padding: 22px 24px;
  border: 1px solid rgba(210, 220, 230, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(17, 33, 49, 0.07);
}

.wedding-feature-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: #7089a3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding-feature-card strong {
  display: block;
  color: #1f2c39;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

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

.landing-step-card {
  padding: 24px 24px 22px;
}

.landing-step-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #6c87a4;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.landing-preview-grid {
  gap: 22px;
}

.landing-preview-grid .portfolio-card {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(17, 33, 49, 0.08);
}

.landing-story-section {
  padding-bottom: 74px;
}

.wedding-contact-card {
  padding: 34px 36px;
  border: 1px solid rgba(210, 220, 230, 0.85);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(145, 173, 201, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 64px rgba(17, 33, 49, 0.1);
  text-align: center;
}

.wedding-contact-card h2 {
  margin: 0;
  color: #1e2935;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.14;
}

.wedding-contact-card p {
  margin: 16px 0 0;
  color: #415262;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.7;
}

.wedding-landing-page .story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wedding-landing-page .story-card {
  padding: 0;
  border: 1px solid rgba(210, 220, 230, 0.8);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 52px rgba(17, 33, 49, 0.08);
}

.wedding-landing-page .story-card-thumb {
  margin: 0;
  aspect-ratio: 1.24 / 1;
}

.wedding-landing-page .story-card h3,
.wedding-landing-page .story-card p {
  padding-left: 24px;
  padding-right: 24px;
}

.wedding-landing-page .story-card h3 {
  margin: 22px 0 10px;
  color: #1f2c39;
  font-size: 1.16rem;
  font-weight: 600;
}

.wedding-landing-page .story-card p {
  margin: 0 0 24px;
  color: #617282;
  line-height: 1.75;
}

@media (max-width: 1080px) {
  .landing-intro-grid,
  .landing-process-layout,
  .landing-benefits-grid,
  .landing-package-grid,
  .wedding-landing-page .story-grid {
    grid-template-columns: 1fr;
  }

  .wedding-editorial-grid,
  .wedding-feature-strip {
    grid-template-columns: 1fr;
  }

  .wedding-editorial-media {
    grid-template-columns: 1fr 180px;
  }

  .landing-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .landing-shell,
  .landing-shell--narrow {
    width: calc(100% - 24px);
  }

  .wedding-landing-intro,
  .landing-service-section,
  .landing-story-section {
    padding: 30px 0;
  }

  .landing-surface-card,
  .landing-package-card,
  .landing-step-card {
    padding: 22px 20px;
  }

  .wedding-contact-card {
    padding: 26px 22px;
  }

  .landing-intro-head h1 {
    font-size: clamp(1.82rem, 9vw, 2.6rem);
  }

  .landing-section-heading h2,
  .landing-surface-card h2,
  .landing-process-copy h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }

  .wedding-editorial-media {
    grid-template-columns: 1fr;
  }

  .wedding-editorial-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.portrait-landing-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 196, 176, 0.18), transparent 30%),
    radial-gradient(circle at 80% 24%, rgba(173, 187, 203, 0.16), transparent 26%),
    linear-gradient(180deg, #fbfaf8 0%, #f5f4f1 34%, #f7f7f6 100%);
}

.portrait-landing-page .landing-hero {
  margin-bottom: 0;
}

.portrait-landing-intro {
  padding: 58px 0 42px;
}

.portrait-intro-head {
  max-width: 760px;
}

.portrait-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.02fr);
  gap: 24px;
  align-items: stretch;
}

.portrait-copy-card,
.portrait-contact-card {
  padding: 30px 32px;
  border: 1px solid rgba(218, 213, 206, 0.88);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(26, 33, 40, 0.07);
}

.portrait-copy-card--lead {
  min-height: 100%;
}

.portrait-copy-card h2,
.portrait-contact-card h2 {
  margin: 0;
  color: #202a34;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 300;
  line-height: 1.12;
}

.portrait-copy-card p,
.portrait-contact-card p {
  margin: 16px 0 0;
  color: #66717d;
  font-size: 1rem;
  line-height: 1.8;
}

.portrait-showcase-media {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(26, 33, 40, 0.11);
}

.portrait-showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portrait-showcase-media--tall {
  grid-row: span 2;
  min-height: 640px;
}

.portrait-service-section {
  padding-top: 8px;
}

.portrait-service-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.portrait-service-chip {
  padding: 13px 20px;
  border: 1px solid rgba(206, 212, 219, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(26, 33, 40, 0.05);
}

.portrait-service-chip span {
  color: #4f6173;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait-preview-grid .portfolio-card {
  border-radius: 28px;
}

.portrait-contact-card {
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(214, 196, 176, 0.18), transparent 26%),
    rgba(255, 255, 255, 0.9);
}

.portrait-contact-card p {
  color: #465664;
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .portrait-showcase-grid {
    grid-template-columns: 1fr;
  }

  .portrait-showcase-media--tall {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .portrait-copy-card,
  .portrait-contact-card {
    padding: 24px 22px;
  }

  .portrait-showcase-media--tall {
    min-height: 420px;
  }
}
