:root {
  --background: #f2efe6;
  --foreground: #090b0a;
  --card: #f8f6ef;
  --card-foreground: #090b0a;
  --primary: #d9b560;
  --primary-foreground: #090b0a;
  --secondary: #ded9cc;
  --secondary-foreground: #090b0a;
  --muted: #d8d4c9;
  --muted-foreground: #5a5b56;
  --accent: #d9b560;
  --accent-foreground: #090b0a;
  --destructive: #b42318;
  --border: #292c28;
  --input: #777b73;
  --ring: #d9b560;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --font-sans: var(--font-body);
}

.dark {
  --background: #090b0a;
  --foreground: #f2efe6;
  --card: #121512;
  --card-foreground: #f2efe6;
  --primary: #d9b560;
  --primary-foreground: #090b0a;
  --secondary: #242823;
  --secondary-foreground: #f2efe6;
  --muted: #242823;
  --muted-foreground: #afb1aa;
  --accent: #d9b560;
  --accent-foreground: #090b0a;
  --destructive: #ef6a5b;
  --border: #454a43;
  --input: #626860;
  --ring: #d9b560;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

figure,
h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  align-items: center;
  color: #fff;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  left: 0;
  padding: 22px clamp(22px, 4vw, 70px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  display: block;
  height: 72px;
  width: 72px;
}

.brand img {
  filter: invert(1);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-header > nav {
  display: flex;
  gap: clamp(24px, 3vw, 50px);
  justify-self: center;
}

.site-header nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 10px 0;
  text-transform: uppercase;
}

.site-header nav a,
.button,
.header-cta,
.text-link {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--primary);
}

.header-cta {
  border: 1px solid rgb(255 255 255 / 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  padding: 14px 18px;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #fff;
  color: #090b0a;
}

.mobile-menu {
  display: none;
}

.hero {
  color: #fff;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 54% center;
  scale: 1.015;
}

.hero-shade {
  background:
    linear-gradient(270deg, rgb(5 7 6 / 0.89) 0%, rgb(5 7 6 / 0.5) 48%, rgb(5 7 6 / 0.1) 76%),
    linear-gradient(180deg, rgb(5 7 6 / 0.58) 0%, transparent 32%, rgb(5 7 6 / 0.28) 100%);
}

.hero-content {
  margin-left: auto;
  padding: clamp(235px, 32vh, 315px) clamp(22px, 7vw, 120px) 90px;
  position: relative;
  width: min(840px, 61vw);
  z-index: 2;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.2em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--primary);
  display: inline-block;
  height: 2px;
  width: 38px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.2vw, 142px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.79;
  margin-bottom: 30px;
  text-transform: uppercase;
}

h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-copy {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  margin-bottom: 34px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.55);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 34px;
  justify-content: space-between;
  letter-spacing: 0.14em;
  min-width: 188px;
  padding: 17px 19px;
  text-transform: uppercase;
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0d28c;
  border-color: #f0d28c;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: #fff;
  color: #090b0a;
}

.hero-note {
  bottom: 40px;
  display: grid;
  gap: 7px;
  position: absolute;
  left: clamp(22px, 4vw, 70px);
  text-align: left;
  z-index: 2;
}

.hero-note span {
  color: rgb(255 255 255 / 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::before {
  background: currentColor;
  content: '';
  display: inline-block;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  width: 28px;
}

.section-label.light {
  color: var(--primary);
}

.work-section {
  padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 100px);
}

.section-intro {
  align-items: start;
  display: grid;
  gap: clamp(30px, 5vw, 80px);
  grid-template-columns: 0.7fr 2fr 0.9fr;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.section-intro h2,
.coverage-heading h2,
.about-copy h2,
.more-work-heading h2,
.contact-heading h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.section-intro h2 {
  font-size: clamp(54px, 7vw, 112px);
  line-height: 0.9;
}

.section-copy {
  font-size: 16px;
  line-height: 1.65;
  padding-top: 6px;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-auto-rows: 70px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-grid figure,
.more-work-grid figure {
  background: #111;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-grid figure:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 8;
}

.gallery-grid figure:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1 / span 4;
}

.gallery-grid figure:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: 5 / span 7;
}

.gallery-grid figure:nth-child(4) {
  grid-column: 1 / span 7;
  grid-row: 9 / span 6;
}

.gallery-grid figure:nth-child(5) {
  grid-column: 1 / span 4;
  grid-row: 15 / span 7;
}

.gallery-grid figure:nth-child(6) {
  grid-column: 5 / span 4;
  grid-row: 15 / span 7;
}

.gallery-grid figure:nth-child(7) {
  grid-column: 9 / span 4;
  grid-row: 12 / span 5;
}

.gallery-grid figure:nth-child(8) {
  grid-column: 9 / span 4;
  grid-row: 17 / span 5;
}

.gallery-grid img,
.more-work-grid img {
  height: 100%;
  object-fit: cover;
  transition: scale 500ms ease;
  width: 100%;
}

.gallery-grid .gallery-medium img {
  object-position: center 62%;
}

.gallery-grid figure:hover img,
.more-work-grid figure:hover img {
  scale: 1.025;
}

.gallery-grid figcaption,
.more-work-grid figcaption {
  align-items: center;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.72));
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.15em;
  padding: 40px 18px 16px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.gallery-grid figcaption span,
.more-work-grid figcaption span {
  color: var(--primary);
}

.coverage-section {
  background: #090b0a;
  color: #f2efe6;
  padding: clamp(90px, 10vw, 155px) clamp(22px, 6vw, 100px) 0;
}

.coverage-heading {
  align-items: end;
  display: grid;
  gap: clamp(30px, 5vw, 80px);
  grid-template-columns: 0.65fr 2fr 0.9fr;
  margin-bottom: clamp(80px, 10vw, 150px);
}

.coverage-heading h2 {
  font-size: clamp(58px, 7.5vw, 122px);
  line-height: 0.88;
}

.coverage-heading > p:last-child {
  color: #babdb5;
  font-size: 16px;
  line-height: 1.65;
}

.coverage-list {
  border-bottom: 1px solid #3c403b;
}

.coverage-list article {
  align-items: center;
  border-top: 1px solid #3c403b;
  display: grid;
  gap: 30px;
  grid-template-columns: 70px 1fr 1.2fr;
  padding: 38px 0;
}

.coverage-number,
.coverage-tag {
  color: #888d84;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.coverage-tag {
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.coverage-list h3 {
  font-family: var(--font-display);
  font-size: clamp(42px, 4vw, 72px);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.coverage-list article > p {
  color: #babdb5;
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
}

.area-band {
  align-items: center;
  background: var(--primary);
  color: #090b0a;
  display: grid;
  gap: 28px;
  grid-template-columns: 40px 1fr 1fr auto;
  margin-top: clamp(80px, 8vw, 120px);
  padding: 32px clamp(20px, 3vw, 44px);
}

.area-band > svg {
  height: 30px;
  width: 30px;
}

.area-band p {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.area-band p span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
  opacity: 0.65;
}

.area-band a {
  align-items: center;
  border-bottom: 1px solid #090b0a;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 16px;
  letter-spacing: 0.12em;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.area-band a svg {
  height: 15px;
  width: 15px;
}

.about-section {
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: 1.05fr 0.95fr;
  padding: clamp(100px, 12vw, 190px) clamp(22px, 7vw, 120px);
}

.about-collage {
  min-height: 820px;
  position: relative;
}

.about-collage figure {
  margin: 0;
  overflow: hidden;
  position: absolute;
}

.about-collage img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-photo-main {
  height: 86%;
  left: 0;
  top: 0;
  width: 72%;
}

.about-photo-small {
  border: 12px solid var(--background);
  bottom: 0;
  height: 44%;
  right: 0;
  width: 48%;
}

.about-stamp {
  align-items: center;
  background: #090b0a;
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  height: 108px;
  justify-content: center;
  left: 64%;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  top: 12%;
  transform: rotate(-10deg);
  width: 108px;
  z-index: 2;
}

.about-copy {
  align-self: center;
  max-width: 600px;
}

.about-copy h2 {
  font-size: clamp(62px, 7vw, 118px);
  line-height: 0.85;
  margin: 42px 0;
}

.about-copy > p:not(.section-label) {
  color: #4e514c;
  font-size: 16px;
  line-height: 1.75;
}

.about-copy .about-lead {
  color: #090b0a !important;
  font-size: clamp(23px, 2vw, 31px) !important;
  font-weight: 600;
  line-height: 1.35 !important;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 30px;
  letter-spacing: 0.14em;
  margin-top: 22px;
  padding-bottom: 7px;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: #9a7625;
}

.text-link svg {
  height: 16px;
  width: 16px;
}

.more-work {
  background: #ded9cc;
  padding: clamp(90px, 10vw, 150px) clamp(22px, 6vw, 100px);
}

.more-work-heading {
  align-items: end;
  display: grid;
  gap: clamp(30px, 5vw, 80px);
  grid-template-columns: 0.65fr 2fr 0.9fr;
  margin-bottom: clamp(60px, 7vw, 100px);
}

.more-work-heading h2 {
  font-size: clamp(52px, 6.5vw, 106px);
  line-height: 0.9;
}

.more-work-summary > p {
  color: #4e514c;
  line-height: 1.65;
}

.more-work-summary .text-link {
  margin-top: 26px;
}

.more-work-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.15fr 0.85fr 1fr;
}

.more-work-grid figure {
  aspect-ratio: 4 / 5;
}

.more-work-grid figure:nth-child(1) {
  aspect-ratio: 5 / 6;
}

.more-work-grid figure:nth-child(2) {
  margin-top: 80px;
}

.more-work-grid figure:nth-child(3) {
  margin-top: 28px;
}

.pricing-section {
  background: #f2efe6;
  padding: clamp(100px, 11vw, 170px) clamp(22px, 7vw, 120px);
}

.pricing-heading {
  align-items: end;
  display: grid;
  gap: clamp(30px, 5vw, 80px);
  grid-template-columns: 0.65fr 2fr 0.9fr;
  margin-bottom: clamp(55px, 7vw, 90px);
}

.pricing-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 106px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.pricing-heading > p:last-child {
  color: #4e514c;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-card {
  background: #e6e1d5;
  border-top: 4px solid #090b0a;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: clamp(26px, 3vw, 44px);
}

.pricing-card-topline {
  display: flex;
  font-size: 9px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 80px 0 24px;
}

.pricing-price {
  color: #9a7625;
  font-family: var(--font-display);
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-price small {
  color: #4e514c;
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-top: 8px;
  text-transform: uppercase;
}

.pricing-copy {
  color: #4e514c;
  line-height: 1.65;
  margin: 34px 0 28px;
}

.pricing-detail {
  border-top: 1px solid #aaa69c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 18px;
  text-transform: uppercase;
}

.tournament-pricing {
  border-top: 4px solid #090b0a;
  margin-top: clamp(70px, 8vw, 110px);
  padding-top: clamp(40px, 5vw, 70px);
}

.table-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.tournament-heading {
  align-items: end;
  display: grid;
  gap: clamp(25px, 4vw, 60px);
  grid-template-columns: 0.65fr 1.7fr 0.9fr;
  margin-bottom: 48px;
}

.tournament-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

.tournament-heading > p:last-child {
  color: #4e514c;
  line-height: 1.65;
}

.tournament-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.tournament-table th {
  border-bottom: 1px solid #898b84;
  color: #62655f;
  font-size: 9px;
  font-weight: 800;
  height: auto;
  letter-spacing: 0.13em;
  padding: 16px 18px;
  text-align: left;
  text-transform: uppercase;
}

.tournament-table td {
  border-bottom: 1px solid #aaa69c;
  font-size: 14px;
  padding: 24px 18px;
}

.tournament-table td:first-child {
  font-weight: 800;
}

.tournament-table td:nth-child(2),
.tournament-table td:nth-child(3) {
  color: #9a7625;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
}

.tournament-table td:last-child {
  color: #4e514c;
  font-size: 11px;
}

.tournament-table caption {
  caption-side: bottom;
  color: #696c66;
  font-size: 11px;
  line-height: 1.6;
  padding-top: 16px;
  text-align: left;
}

.pricing-custom {
  align-items: center;
  border-bottom: 1px solid #aaa69c;
  border-top: 1px solid #aaa69c;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 40px;
  padding: 32px 0;
}

.pricing-custom span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-custom p {
  color: #4e514c;
  line-height: 1.55;
  margin-top: 9px;
  max-width: 650px;
}

.pricing-custom .text-link {
  flex: 0 0 auto;
  margin-top: 0;
}

.pricing-note {
  color: #696c66;
  font-size: 11px;
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 900px;
}

.contact-section {
  background: #090b0a;
  color: #f2efe6;
  display: grid;
  gap: clamp(55px, 8vw, 130px);
  grid-template-columns: 0.95fr 1.05fr;
  padding: clamp(100px, 11vw, 170px) clamp(22px, 7vw, 120px);
}

.contact-heading h2 {
  font-size: clamp(68px, 8vw, 132px);
  line-height: 0.84;
  margin: 40px 0;
}

.contact-heading > p:not(.section-label) {
  color: #babdb5;
  font-size: 17px;
  line-height: 1.65;
  max-width: 550px;
}

.contact-links {
  border-top: 1px solid #3c403b;
  margin-top: 60px;
}

.contact-links a {
  align-items: center;
  border-bottom: 1px solid #3c403b;
  display: flex;
  gap: 18px;
  padding: 22px 0;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--primary);
}

.contact-links svg {
  height: 20px;
  width: 20px;
}

.contact-links .social-mark {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  width: 20px;
}

.contact-links span {
  font-size: 14px;
  font-weight: 700;
}

.contact-links small {
  color: #878c83;
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.availability-form {
  align-self: start;
  background: #f2efe6;
  color: #090b0a;
  padding: clamp(28px, 4vw, 58px);
}

.form-heading {
  border-bottom: 1px solid #95998f;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.16em;
  margin-bottom: 38px;
  padding-bottom: 14px;
  text-transform: uppercase;
}

.form-heading b,
.form-required {
  color: #8a671b;
}

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

.availability-form [data-slot='field-group'] {
  display: grid;
  gap: 24px;
}

.availability-form .availability-conditional[hidden] {
  display: none !important;
}

.form-trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.availability-form [data-slot='field-label'] {
  color: #393c38;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability-form [data-slot='input'],
.availability-form [data-slot='textarea'],
.availability-form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #747970;
  border-radius: 0;
  color: #090b0a;
  font-size: 16px;
  height: 46px;
  outline: none;
  padding: 8px 0;
  width: 100%;
}

.availability-form [data-slot='textarea'] {
  height: auto;
  min-height: 118px;
  resize: vertical;
}

.availability-form [data-slot='input']:focus-visible,
.availability-form [data-slot='textarea']:focus-visible,
.availability-form select:focus-visible {
  border-bottom-color: #090b0a;
  box-shadow: none;
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.availability-form [data-slot='textarea']::placeholder {
  color: #747970;
}

.form-submit {
  background: var(--primary);
  border: 0;
  border-radius: 0;
  color: #090b0a;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 54px;
  justify-content: space-between;
  letter-spacing: 0.14em;
  margin-top: 32px;
  padding: 0 20px;
  text-transform: uppercase;
  width: 100%;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: #f0d28c;
}

.form-note {
  color: #62665f;
  font-size: 11px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.form-note[data-state='sending'] {
  color: #4e514c;
}

.form-note[data-state='success'] {
  color: #1f6b3a;
  font-weight: 700;
}

.form-note[data-state='error'] {
  color: #a12f25;
  font-weight: 700;
}

footer {
  align-items: center;
  background: #090b0a;
  border-top: 1px solid #3c403b;
  color: #f2efe6;
  display: grid;
  gap: 28px;
  grid-template-columns: 80px 1fr auto auto;
  padding: 34px clamp(22px, 5vw, 80px);
}

.footer-brand {
  height: 58px;
  width: 58px;
}

.footer-brand img {
  filter: invert(1);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

footer p,
footer nav {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

footer nav {
  display: flex;
  gap: 22px;
}

footer nav a:hover,
footer nav a:focus-visible {
  color: var(--primary);
}

.footer-meta {
  align-items: center;
  display: flex;
  gap: 10px;
}

.manager-link {
  border-left: 1px solid #3c403b;
  color: #777c75;
  font-size: 8px;
  padding-left: 10px;
  transition: color 160ms ease;
}

.manager-link:hover,
.manager-link:focus-visible {
  color: var(--primary);
}

@media (max-width: 980px) {
  .section-intro,
  .coverage-heading,
  .more-work-heading,
  .pricing-heading {
    gap: 30px;
    grid-template-columns: 1fr 2fr;
  }

  .section-intro .section-copy,
  .coverage-heading > p:last-child,
  .more-work-summary,
  .pricing-heading > p:last-child {
    grid-column: 2;
  }

  .pricing-card {
    min-height: 460px;
  }

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

  .tournament-heading {
    grid-template-columns: 1fr 2fr;
  }

  .tournament-heading > p:last-child {
    grid-column: 2;
  }

  .area-band {
    grid-template-columns: 36px 1fr 1fr;
  }

  .area-band a {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .about-section,
  .contact-section {
    gap: 60px;
  }

  .about-collage {
    min-height: 660px;
  }

  footer {
    grid-template-columns: 64px 1fr auto;
  }

  footer > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 58px 1fr auto;
    padding: 16px 18px;
  }

  .brand {
    height: 54px;
    width: 54px;
  }

  .site-header > nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
    padding: 12px 13px;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-menu summary {
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    list-style: none;
    padding: 12px 4px;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu > div {
    background: #090b0a;
    border: 1px solid #4d514b;
    display: grid;
    min-width: 190px;
    padding: 12px 18px;
    position: absolute;
    right: 0;
    top: 48px;
  }

  .mobile-menu a {
    border-bottom: 1px solid #353934;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 14px 0;
    text-transform: uppercase;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .hero-image {
    object-position: 42% center;
  }

  .hero-shade {
    background:
      linear-gradient(270deg, rgb(5 7 6 / 0.8), rgb(5 7 6 / 0.16)),
      linear-gradient(180deg, rgb(5 7 6 / 0.65) 0%, transparent 35%, rgb(5 7 6 / 0.65) 100%);
  }

  .hero-content {
    margin-left: auto;
    padding: 142px 20px 165px;
    text-align: right;
    width: 100%;
  }

  .hero-content .eyebrow,
  .hero-actions {
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(58px, 18vw, 88px);
  }

  .hero-copy {
    margin-left: auto;
    max-width: 92%;
  }

  .button {
    min-width: 168px;
  }

  .hero-note {
    bottom: 24px;
    left: 20px;
    right: auto;
    text-align: left;
  }

  .section-intro,
  .coverage-heading,
  .more-work-heading,
  .pricing-heading {
    grid-template-columns: 1fr;
  }

  .section-intro .section-copy,
  .coverage-heading > p:last-child,
  .more-work-summary,
  .pricing-heading > p:last-child {
    grid-column: 1;
  }

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

  .pricing-card {
    min-height: 420px;
  }

  .pricing-card h3 {
    margin-top: 56px;
  }

  .pricing-custom {
    align-items: flex-start;
    flex-direction: column;
  }

  .tournament-heading {
    grid-template-columns: 1fr;
  }

  .tournament-heading > p:last-child {
    grid-column: 1;
  }

  .gallery-grid {
    display: grid;
    gap: 10px;
    grid-auto-rows: auto;
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid figure:nth-child(n) {
    aspect-ratio: 4 / 5;
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid figure:nth-child(1) {
    aspect-ratio: 16 / 10;
    grid-column: 1 / -1;
  }

  .gallery-grid figure:nth-child(4) {
    aspect-ratio: 4 / 5;
    grid-column: 1 / -1;
  }

  .coverage-list article {
    align-items: start;
    grid-template-columns: 42px 1fr;
    padding: 30px 0;
  }

  .coverage-list article > p {
    grid-column: 2;
  }

  .area-band {
    grid-template-columns: 32px 1fr;
    margin-left: -22px;
    margin-right: -22px;
  }

  .area-band p,
  .area-band a {
    grid-column: 2;
  }

  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-collage {
    min-height: 680px;
  }

  .about-copy h2 {
    margin: 32px 0;
  }

  .more-work-grid {
    grid-template-columns: 1fr;
  }

  .more-work-grid figure,
  .more-work-grid figure:nth-child(1) {
    aspect-ratio: 4 / 3;
    margin-top: 0;
  }

  footer {
    align-items: start;
    grid-template-columns: 62px 1fr;
  }

  footer nav {
    flex-wrap: wrap;
    grid-column: 1 / -1;
  }

  footer > p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: 58px 1fr;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 260px;
  }

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

  .gallery-grid figure:nth-child(n) {
    aspect-ratio: 4 / 5;
    grid-column: 1;
  }

  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(4) {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid figure:nth-child(4) {
    aspect-ratio: 4 / 5;
  }

  .about-collage {
    min-height: 540px;
  }

  .about-photo-main {
    width: 82%;
  }

  .about-photo-small {
    height: 39%;
    width: 52%;
  }

  .about-stamp {
    height: 84px;
    left: 66%;
    width: 84px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-links span {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Client gallery portal */
.client-portal {
  background: #090b0a;
  color: #f2efe6;
  min-height: 100svh;
}

.portal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(22px, 4vw, 70px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.portal-brand {
  height: 72px;
  width: 72px;
}

.portal-brand img {
  filter: invert(1);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.portal-back {
  border-bottom: 1px solid rgb(242 239 230 / 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 9px 0;
  text-transform: uppercase;
}

.portal-back:hover,
.portal-back:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: calc(100svh - 150px);
}

.portal-copy {
  align-self: center;
  max-width: 850px;
  padding: 155px clamp(28px, 7vw, 120px) 90px;
}

.portal-copy h1 {
  font-size: clamp(66px, 7.2vw, 126px);
  margin-bottom: 32px;
}

.portal-lede {
  color: #c8cac4;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 610px;
}

.gallery-access-form {
  max-width: 650px;
}

.gallery-access-form > label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 11px;
  text-transform: uppercase;
}

.gallery-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.gallery-code-row input {
  background: #f2efe6;
  border: 1px solid #f2efe6;
  border-radius: 0;
  color: #090b0a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 0;
  padding: 20px 21px;
  text-transform: uppercase;
}

.gallery-code-row input::placeholder {
  color: #6e716b;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.gallery-code-row button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 0;
  color: #090b0a;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  gap: 24px;
  justify-content: space-between;
  letter-spacing: 0.13em;
  padding: 0 20px;
  text-transform: uppercase;
}

.gallery-code-row button:hover,
.gallery-code-row button:focus-visible {
  background: #f0d28c;
  border-color: #f0d28c;
}

.gallery-code-row button:disabled,
.admin-login-form button:disabled,
.gallery-manager button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.gallery-access-form > p {
  color: #8f938b;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.gallery-access-form .gallery-form-error {
  color: #f0a89f;
  min-height: 20px;
}

.portal-photo {
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.portal-photo::after {
  background: linear-gradient(90deg, #090b0a 0%, transparent 26%),
    linear-gradient(180deg, rgb(9 11 10 / 0.25), rgb(9 11 10 / 0.05));
  content: '';
  inset: 0;
  position: absolute;
}

.portal-photo > img {
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  width: 100%;
}

.portal-photo-label {
  align-items: center;
  bottom: 42px;
  display: flex;
  gap: 14px;
  left: 42px;
  position: absolute;
  z-index: 2;
}

.portal-photo-label span {
  align-items: center;
  background: var(--primary);
  color: #090b0a;
  display: flex;
  font-family: var(--font-display);
  font-size: 20px;
  height: 52px;
  justify-content: center;
  letter-spacing: 0.02em;
  width: 52px;
}

.portal-photo-label p {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.portal-assurance {
  border-top: 1px solid #343833;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(22px, 4vw, 70px);
}

.portal-assurance article {
  align-items: start;
  border-right: 1px solid #343833;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  min-height: 150px;
  padding: 32px clamp(20px, 3vw, 46px);
}

.portal-assurance article:first-child {
  padding-left: 0;
}

.portal-assurance article:last-child {
  border-right: 0;
  padding-right: 0;
}

.portal-assurance svg {
  color: var(--primary);
  height: 23px;
  margin-top: 2px;
  width: 23px;
}

.portal-assurance h2 {
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.portal-assurance p {
  color: #969a92;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.portal-assurance a {
  border-bottom: 1px solid #6c7069;
  color: #f2efe6;
}

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

  .portal-copy {
    max-width: none;
    padding-bottom: 70px;
  }

  .portal-photo {
    min-height: 620px;
  }

  .portal-photo::after {
    background: linear-gradient(180deg, #090b0a 0%, transparent 25%);
  }
}

@media (max-width: 760px) {
  .portal-header {
    padding: 16px 18px;
  }

  .portal-brand {
    height: 54px;
    width: 54px;
  }

  .portal-copy {
    padding: 132px 20px 58px;
  }

  .portal-copy h1 {
    font-size: clamp(57px, 17vw, 86px);
  }

  .gallery-code-row {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .gallery-code-row button {
    min-height: 58px;
  }

  .portal-photo {
    min-height: 520px;
  }

  .portal-photo-label {
    bottom: 24px;
    left: 20px;
  }

  .portal-assurance {
    grid-template-columns: 1fr;
  }

  .portal-assurance article,
  .portal-assurance article:first-child,
  .portal-assurance article:last-child {
    border-bottom: 1px solid #343833;
    border-right: 0;
    min-height: 0;
    padding: 26px 0;
  }

  .portal-assurance article:last-child {
    border-bottom: 0;
  }
}

/* Delivered gallery */
.delivered-gallery {
  background: var(--background);
  min-height: 100svh;
}

.gallery-view-header {
  align-items: center;
  border-bottom: 1px solid #cac6bb;
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 68px);
}

.gallery-view-brand {
  height: 64px;
  width: 64px;
}

.gallery-view-brand img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gallery-view-header button,
.gallery-admin-header button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #777b73;
  color: inherit;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 9px 0;
  text-transform: uppercase;
}

.gallery-view-header button:hover,
.gallery-view-header button:focus-visible,
.gallery-admin-header button:hover,
.gallery-admin-header button:focus-visible {
  border-color: var(--primary);
  color: #8a6819;
}

.gallery-view-intro {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr) auto;
  padding: clamp(65px, 9vw, 130px) clamp(20px, 6vw, 100px) clamp(52px, 6vw, 90px);
}

.gallery-view-intro .eyebrow {
  align-self: start;
  margin-top: 9px;
}

.gallery-view-intro h1 {
  font-size: clamp(58px, 8vw, 132px);
  line-height: 0.82;
  margin: 0 0 26px;
  max-width: 920px;
}

.gallery-view-intro > div > p {
  color: var(--muted-foreground);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  margin: 0;
  max-width: 650px;
}

.gallery-view-intro dl {
  display: grid;
  gap: 20px;
  margin: 0;
  min-width: 150px;
}

.gallery-view-intro dl div {
  border-top: 1px solid #aaa69b;
  padding-top: 10px;
}

.gallery-view-intro dt {
  color: var(--muted-foreground);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.gallery-view-intro dd {
  font-size: 13px;
  margin: 0;
}

.delivered-photo-grid {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 10px 80px;
}

.delivered-photo-grid figure {
  background: #111310;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.delivered-photo-grid figure > a:first-child {
  display: block;
}

.delivered-photo-grid img {
  height: auto;
  transition: filter 220ms ease, scale 400ms ease;
  width: 100%;
}

.delivered-photo-grid figure:hover img {
  filter: brightness(0.82);
  scale: 1.012;
}

.delivered-photo-grid figcaption {
  align-items: center;
  bottom: 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  left: 0;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: opacity 180ms ease;
}

.delivered-photo-grid figure:hover figcaption,
.delivered-photo-grid figure:focus-within figcaption {
  opacity: 1;
}

.delivered-photo-grid figcaption span {
  font-family: var(--font-display);
  font-size: 20px;
}

.delivered-photo-grid figcaption a {
  align-items: center;
  background: var(--primary);
  color: #090b0a;
  display: inline-flex;
  font-size: 9px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.12em;
  padding: 11px 13px;
  pointer-events: auto;
  text-transform: uppercase;
}

.empty-gallery {
  align-items: center;
  border-bottom: 1px solid #c7c3b8;
  border-top: 1px solid #c7c3b8;
  display: flex;
  flex-direction: column;
  margin: 0 clamp(20px, 6vw, 100px) 80px;
  padding: 90px 20px;
  text-align: center;
}

.empty-gallery svg {
  color: #9a792b;
  margin-bottom: 20px;
}

.empty-gallery h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.empty-gallery p {
  color: var(--muted-foreground);
  margin: 0;
}

.gallery-view-footer {
  background: #090b0a;
  color: #f2efe6;
  display: flex;
  justify-content: space-between;
  padding: 30px clamp(20px, 4vw, 68px);
}

.gallery-view-footer p,
.gallery-view-footer a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0;
  text-transform: uppercase;
}

/* Returning-client gallery index */
.client-gallery-index {
  background: var(--background);
  min-height: 100svh;
}

.client-gallery-heading {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) minmax(250px, 0.55fr);
  padding: clamp(68px, 9vw, 130px) clamp(20px, 6vw, 100px) clamp(48px, 6vw, 82px);
}

.client-gallery-heading h1 {
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.82;
  margin: 0;
}

.client-gallery-heading > p:last-child {
  align-self: end;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.client-gallery-list {
  border-top: 1px solid #aaa69b;
  margin: 0 clamp(20px, 6vw, 100px) 90px;
}

.client-gallery-list article {
  align-items: center;
  border-bottom: 1px solid #aaa69b;
  display: grid;
  gap: 26px;
  grid-template-columns: 58px 160px minmax(0, 1fr) minmax(190px, 0.35fr) auto;
  padding: clamp(28px, 4vw, 48px) 0;
}

.client-gallery-cover {
  background: #171916;
  display: block;
  height: 110px;
  overflow: hidden;
  width: 160px;
}

.client-gallery-cover img {
  height: 100%;
  object-fit: cover;
  transition: scale 300ms ease;
  width: 100%;
}

.client-gallery-cover:hover img,
.client-gallery-cover:focus-visible img {
  scale: 1.04;
}

.client-gallery-cover.is-empty {
  border: 1px dashed #aaa69b;
}

.client-gallery-number {
  color: #9a7625;
  font-family: var(--font-display);
  font-size: 28px;
}

.client-gallery-list article p,
.client-gallery-expiration > span {
  color: var(--muted-foreground);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.client-gallery-list h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.client-gallery-list article > div > span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.client-gallery-expiration {
  border-left: 1px solid #c7c3b8;
  padding-left: 28px;
}

.client-gallery-expiration > span {
  display: block;
}

.client-gallery-expiration strong {
  font-size: 13px;
}

.client-gallery-list .client-gallery-open {
  align-items: center;
  background: var(--primary);
  color: #090b0a;
  display: inline-flex;
  font-size: 9px;
  font-weight: 900;
  gap: 24px;
  letter-spacing: 0.12em;
  min-height: 48px;
  padding: 0 17px;
  text-transform: uppercase;
}

.client-gallery-list .client-gallery-open:hover,
.client-gallery-list .client-gallery-open:focus-visible {
  background: #090b0a;
  color: #f2efe6;
}

.gallery-view-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.gallery-view-actions > a {
  border-bottom: 1px solid #777b73;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 9px 0;
  text-transform: uppercase;
}

.gallery-view-actions > a:hover,
.gallery-view-actions > a:focus-visible {
  border-color: var(--primary);
  color: #8a6819;
}

/* Private gallery manager */
.gallery-admin-login {
  align-items: center;
  background: #090b0a;
  color: #f2efe6;
  display: grid;
  min-height: 100svh;
  padding: 110px max(20px, 8vw);
  position: relative;
}

.gallery-admin-login::after {
  background: linear-gradient(90deg, #090b0a 10%, rgb(9 11 10 / 0.15)),
    url('/assets/images/soccer-goalie-save.jpeg') center / cover;
  content: '';
  inset: 0 0 0 55%;
  opacity: 0.72;
  position: absolute;
}

.admin-login-brand {
  height: 66px;
  left: max(20px, 4vw);
  position: absolute;
  top: 22px;
  width: 66px;
  z-index: 2;
}

.admin-login-brand img {
  filter: invert(1);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gallery-admin-login > section {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.gallery-admin-login h1 {
  font-size: clamp(66px, 8vw, 120px);
}

.gallery-admin-login > section > p:not(.eyebrow) {
  color: #adb0a9;
  line-height: 1.6;
  max-width: 500px;
}

.admin-login-form {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  max-width: 470px;
}

.admin-login-form label,
.gallery-manager label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login-form input,
.gallery-manager input,
.gallery-manager textarea,
.gallery-manager select {
  background: #f6f3eb;
  border: 1px solid #aaa69d;
  border-radius: 0;
  color: #090b0a;
  font-size: 14px;
  margin-top: 9px;
  padding: 15px;
  width: 100%;
}

.admin-login-form button,
.gallery-manager form > button,
.new-gallery-code button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #090b0a;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 50px;
  padding: 0 18px;
  text-transform: uppercase;
}

.admin-login-form > p {
  color: #f0a89f;
  font-size: 12px;
  min-height: 18px;
}

.gallery-admin {
  background: var(--background);
  min-height: 100svh;
  padding-bottom: 90px;
}

.gallery-admin-header {
  align-items: center;
  background: #090b0a;
  color: #f2efe6;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  padding: 18px clamp(20px, 4vw, 68px);
}

.gallery-admin-brand {
  height: 58px;
  width: 58px;
}

.gallery-admin-brand img {
  filter: invert(1);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.gallery-admin-header > div {
  border-left: 1px solid #3d413b;
  margin-left: 20px;
  padding-left: 22px;
}

.gallery-admin-header p {
  color: #9b9f97;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.gallery-admin-header h1 {
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  text-transform: none;
}

.gallery-manager {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(42px, 6vw, 80px) clamp(20px, 4vw, 60px);
}

.admin-create-card,
.admin-upload-card,
.admin-deliver-card,
.admin-client-card,
.admin-operations-card,
.admin-gallery-list {
  border: 1px solid #bdb9ae;
  padding: clamp(24px, 3vw, 42px);
}

.admin-operations-card {
  grid-column: 1 / -1;
}

.admin-deliver-card {
  grid-column: 1 / -1;
}

.admin-workflow-overview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-workflow-overview > div {
  background: #e6e1d5;
  border-top: 3px solid #8f752f;
  min-height: 94px;
  padding: 16px;
}

.admin-workflow-overview span {
  color: var(--muted-foreground);
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.admin-workflow-overview strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  margin-top: 9px;
}

.admin-workflow-overview .is-expiring {
  border-color: #c0861b;
}

.admin-workflow-overview .is-expired {
  border-color: var(--destructive);
}

.admin-export-tools {
  align-items: center;
  border-top: 1px solid #c5c1b7;
  display: grid;
  gap: 18px 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 28px;
  padding-top: 26px;
}

.admin-export-tools h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.admin-export-tools p {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}

.admin-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-export-actions a {
  align-items: center;
  background: #090b0a;
  border: 1px solid #090b0a;
  color: #f2efe6;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  min-height: 40px;
  padding: 0 13px;
  text-transform: uppercase;
}

.admin-export-actions a:hover,
.admin-export-actions a:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.admin-backup-status {
  color: #336a4c;
  font-size: 9px;
  font-weight: 800;
  grid-column: 1 / -1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-backup-status.is-warning {
  color: var(--destructive);
}

.admin-card-heading {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 34px 1fr;
  margin-bottom: 30px;
}

.admin-card-heading > span {
  color: #937322;
  font-family: var(--font-display);
  font-size: 19px;
}

.admin-card-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.admin-card-heading p {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

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

.gallery-manager form label {
  display: block;
}

.gallery-manager .admin-full-field,
.gallery-manager .admin-form-note,
.gallery-manager .admin-email-option,
.gallery-manager .admin-file-input,
.gallery-manager form > button {
  grid-column: 1 / -1;
}

.admin-standalone-fields {
  background: #e9e4d8;
  border-left: 4px solid var(--primary);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  padding: 22px;
}

.admin-standalone-fields[hidden] {
  display: none;
}

.admin-standalone-heading {
  grid-column: 1 / -1;
}

.admin-standalone-heading strong {
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.admin-standalone-heading p {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.admin-client-card {
  grid-column: 1 / -1;
}

.admin-client-create {
  border-bottom: 1px solid #c5c1b7;
  padding-bottom: 34px;
}

.admin-customer-search {
  align-items: end;
  border-bottom: 1px solid #c5c1b7;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  margin-bottom: 34px;
  padding-bottom: 28px;
}

.admin-customer-search label {
  min-width: 0;
}

.admin-customer-search > button {
  grid-column: auto !important;
  min-width: 120px;
}

.admin-customer-search > a {
  align-items: center;
  border-bottom: 1px solid #8d897f;
  display: inline-flex;
  font-size: 9px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 50px;
  padding: 0 10px;
  text-transform: uppercase;
}

.admin-form-note {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.55;
  margin: -4px 0 0;
}

.admin-package-note {
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  margin-top: 0;
  padding: 12px 14px;
}

.admin-client-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.admin-client-profile {
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  padding: 24px;
}

.admin-client-profile.is-archived {
  border-left-color: #9da098;
  opacity: 0.62;
}

.admin-client-summary {
  align-self: center;
  min-width: 0;
}

.admin-client-summary p {
  color: #8b6b1e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.admin-client-summary h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  margin: 0 0 8px;
}

.admin-client-summary span {
  color: var(--muted-foreground);
  display: block;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-client-summary .admin-customer-organization {
  color: #343732;
  font-weight: 800;
  margin-bottom: 4px;
}

.admin-customer-totals {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.admin-customer-totals > span {
  background: #f4f1e8;
  padding: 10px;
}

.admin-customer-totals small {
  color: #777970;
  display: block;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.admin-customer-totals strong {
  color: #090b0a;
  font-size: 12px;
}

.admin-client-code {
  min-height: 120px;
}

.admin-client-edit {
  border-top: 1px solid #c5c1b7;
  grid-column: 1 / -1;
  padding-top: 16px;
}

.admin-client-edit summary {
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  list-style-position: inside;
  text-transform: uppercase;
}

.admin-client-edit form {
  margin-top: 22px;
}

.admin-client-actions {
  display: flex;
  gap: 7px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.admin-client-actions form {
  display: block;
}

.admin-client-actions button {
  background: transparent;
  border: 1px solid #a7a399;
  color: #090b0a;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  min-height: 38px;
  padding: 0 11px;
  text-transform: uppercase;
}

.admin-customer-record-link {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #090b0a;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 38px;
  padding: 0 12px;
  text-transform: uppercase;
}

.admin-customer-record-link:hover,
.admin-customer-record-link:focus-visible {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.admin-client-actions button:hover,
.admin-client-actions button:focus-visible {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.gallery-manager .admin-email-option {
  align-items: center;
  display: flex;
  gap: 11px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: none;
}

.gallery-manager .admin-email-option input {
  accent-color: #090b0a;
  flex: 0 0 auto;
  height: 17px;
  margin: 0;
  padding: 0;
  width: 17px;
}

.gallery-manager textarea {
  min-height: 95px;
  resize: vertical;
}

.admin-upload-card form {
  grid-template-columns: 1fr;
}

.admin-selected-gallery {
  background: #ded8ca;
  border-left: 4px solid var(--primary);
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.admin-selected-gallery[hidden] {
  display: none;
}

.admin-selected-gallery span {
  color: #7b641f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-selected-gallery strong {
  font-size: 15px;
}

.admin-selected-gallery p,
.admin-selected-gallery small {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}

.admin-file-preview {
  background: #e7e1d4;
  border: 1px solid #b9b4a9;
  padding: 16px;
}

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

.admin-file-preview-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-file-preview-heading strong {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-file-preview-heading button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #6f571c;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  padding: 3px 0;
  text-transform: uppercase;
}

.admin-file-preview-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-height: 440px;
  overflow: auto;
}

.admin-file-preview-item {
  background: #111310;
  color: #f2efe6;
  min-width: 0;
  position: relative;
}

.admin-file-preview-item img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.admin-file-preview-item div {
  padding: 9px;
}

.admin-file-preview-item strong,
.admin-file-preview-item span {
  display: block;
  font-size: 7px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-file-preview-item span {
  color: #aaaea6;
  margin-top: 3px;
}

.admin-file-preview-item button {
  background: #b42318;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  height: 30px;
  line-height: 1;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 30px;
}

.admin-finish-delivery {
  border-top: 1px solid #c5c1b7;
  margin-top: 32px;
  padding-top: 28px;
}

.admin-finish-delivery h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.admin-finish-delivery > p {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.admin-delivery-buttons {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-delivery-buttons button {
  min-height: 46px;
}

.admin-delivery-buttons button:disabled,
.admin-delivery-launch-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-deliver-card form {
  grid-template-columns: 1fr;
}

.admin-delivery-preview {
  background: #ded8ca;
  border-left: 4px solid var(--primary);
  padding: clamp(20px, 3vw, 32px);
}

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

.admin-delivery-preview-heading {
  border-bottom: 1px solid #b8b2a5;
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.admin-delivery-preview-heading span {
  color: #7b641f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-delivery-preview-heading strong {
  font-size: clamp(20px, 2.2vw, 30px);
}

.admin-delivery-preview dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 22px;
}

.admin-delivery-preview dl div {
  border-top: 1px solid #aaa497;
  min-width: 0;
  padding-top: 10px;
}

.admin-delivery-preview dt {
  color: #777269;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.admin-delivery-preview dd {
  font-size: 10px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-delivery-preview > label {
  font-size: 8px;
}

.admin-delivery-preview textarea {
  background: #f6f2e8;
  color: #090b0a;
  line-height: 1.55;
  margin-top: 8px;
  min-height: 125px;
}

.admin-delivery-state {
  background: #f0ece2;
  color: #4b4e48;
  font-size: 10px;
  line-height: 1.5;
  margin: 14px 0 0;
  padding: 12px 14px;
}

.admin-delivery-launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.admin-delivery-launch-actions button {
  background: #090b0a;
  border: 1px solid #090b0a;
  color: #f2efe6;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 13px;
  text-transform: uppercase;
}

.admin-delivery-launch-actions button:hover:not(:disabled),
.admin-delivery-launch-actions button:focus-visible:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.new-gallery-code {
  align-items: center;
  background: #090b0a;
  color: #f2efe6;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px;
}

.admin-flash-code {
  grid-column: 1 / -1;
  margin-top: 0;
}

.new-gallery-code span {
  color: #a4a79f;
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.new-gallery-code strong {
  color: var(--primary);
  font-size: 19px;
  letter-spacing: 0.08em;
}

.new-gallery-code button {
  min-height: 42px;
}

.admin-message {
  background: #e3ddcc;
  border-left: 4px solid var(--primary);
  font-size: 13px;
  grid-column: 1 / -1;
  margin: 0;
  min-height: 46px;
  padding: 14px 18px;
}

.admin-message.is-error {
  background: #f4d7d3;
  border-left-color: var(--destructive);
  color: #6b1710;
}

.admin-gallery-list {
  grid-column: 1 / -1;
}

.admin-gallery-toolbar {
  align-items: end;
  background: #e5e0d4;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.32fr) auto;
  margin-bottom: 18px;
  padding: 18px;
}

.admin-gallery-toolbar label {
  color: #51544e;
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-gallery-toolbar input,
.admin-gallery-toolbar select {
  background: #f7f4ec;
  border: 1px solid #aaa69d;
  border-radius: 0;
  color: #090b0a;
  font-size: 13px;
  margin-top: 7px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.admin-gallery-toolbar > span {
  align-items: center;
  background: #090b0a;
  color: #f2efe6;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 46px;
  min-width: 92px;
  padding: 0 13px;
  text-transform: uppercase;
}

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

.admin-list-grid > article[data-gallery-card] {
  display: block;
  padding: 0;
}

.admin-list-grid > article[hidden],
.admin-gallery-tools[hidden],
.admin-gallery-no-results[hidden] {
  display: none;
}

.admin-gallery-card-header {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px 24px;
}

.admin-gallery-card-header .admin-gallery-summary {
  align-self: auto;
}

.admin-gallery-card-header .admin-gallery-summary > p {
  margin-bottom: 4px;
}

.admin-gallery-card-header .admin-gallery-summary > h3 {
  font-size: clamp(20px, 2vw, 27px);
  margin-bottom: 6px;
}

.admin-gallery-card-header .admin-gallery-summary .admin-gallery-recipient {
  color: #343732;
  font-weight: 750;
  margin: 0;
}

.admin-gallery-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-top: 10px;
}

.admin-list-grid article[data-gallery-card] .admin-gallery-quick-meta > span {
  color: #686b65;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.admin-list-grid article[data-gallery-card] .admin-gallery-quick-meta > span.is-expiring {
  color: #8a5d08;
}

.admin-list-grid article[data-gallery-card] .admin-gallery-quick-meta > span.is-expired {
  color: var(--destructive);
}

.admin-gallery-toggle {
  align-items: center;
  background: #090b0a;
  border: 1px solid #090b0a;
  color: #f2efe6;
  cursor: pointer;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  gap: 16px;
  justify-content: space-between;
  letter-spacing: 0.11em;
  min-height: 44px;
  min-width: 154px;
  padding: 0 14px;
  text-transform: uppercase;
}

.admin-gallery-toggle:hover,
.admin-gallery-toggle:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.admin-gallery-toggle i::before {
  content: "+";
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.admin-gallery-toggle[aria-expanded="true"] i::before {
  content: "−";
}

.admin-gallery-tools {
  border-top: 1px solid #c5c1b7;
  display: grid;
  gap: 24px clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  padding: clamp(24px, 3vw, 38px);
}

.admin-gallery-tools > .admin-code-card {
  grid-column: 1 / -1;
  min-height: 104px;
}

.admin-list-grid article {
  align-items: stretch;
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 24px clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  padding: clamp(26px, 3vw, 42px);
}

.admin-list-grid article.is-archived {
  border-color: #9da098;
  opacity: 0.62;
}

.admin-list-grid article p {
  color: #8b6b1e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.admin-list-grid article h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  margin: 0 0 10px;
}

.admin-list-grid article span {
  color: var(--muted-foreground);
  font-size: 11px;
}

.admin-gallery-summary {
  align-self: center;
  min-width: 0;
}

.admin-gallery-summary > span {
  display: block;
  line-height: 1.5;
}

.admin-gallery-summary .admin-gallery-recipient {
  color: #343732;
  margin-top: 10px;
}

.admin-gallery-summary .admin-gallery-expiration {
  color: #8b6b1e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 5px;
  text-transform: uppercase;
}

.admin-gallery-summary .admin-gallery-expiration.is-expiring {
  background: #f0dba5;
  color: #6d4a08;
  display: inline-block;
  margin-top: 9px;
  padding: 6px 8px;
}

.admin-gallery-summary .admin-gallery-expiration.is-expired {
  background: #f4d7d3;
  color: #8d1d14;
  display: inline-block;
  margin-top: 9px;
  padding: 6px 8px;
}

.admin-gallery-summary .admin-gallery-email-status {
  color: #336a4c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 5px;
  text-transform: uppercase;
}

.admin-gallery-summary .admin-gallery-email-status.is-pending {
  color: #7a6330;
}

.admin-gallery-summary .admin-gallery-client-profile {
  color: #343732;
  font-weight: 700;
}

.admin-gallery-summary .admin-gallery-finance {
  color: #343732;
  font-weight: 800;
  margin: 7px 0;
}

.admin-code-card {
  align-items: center;
  align-self: stretch;
  background: #090b0a;
  color: #f2efe6;
  display: grid;
  gap: 7px 12px;
  grid-template-columns: 1fr auto;
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
}

.admin-code-card > span {
  color: #a4a79f !important;
  font-size: 8px !important;
  font-weight: 800;
  grid-column: 1 / -1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-code-card strong {
  color: var(--primary);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.08em;
}

.admin-code-card button {
  background: transparent;
  border: 1px solid #777b74;
  color: #f2efe6;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  min-height: 36px;
  padding: 0 11px;
  text-transform: uppercase;
}

.admin-code-card button:hover,
.admin-code-card button:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.admin-code-card em {
  color: #b8bbb4;
  font-size: 11px;
  font-style: normal;
  grid-column: 1 / -1;
  line-height: 1.5;
}

.admin-gallery-edit,
.admin-photo-manager,
.admin-gallery-email,
.admin-gallery-text {
  border-bottom: 1px solid #c5c1b7;
  border-top: 1px solid #c5c1b7;
  grid-column: 1 / -1;
  padding: 16px 0;
}

.admin-gallery-email,
.admin-gallery-text {
  border-top: 0;
  margin-top: -24px;
}

.admin-gallery-edit summary,
.admin-photo-manager > summary,
.admin-gallery-email summary,
.admin-gallery-text summary {
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  list-style-position: inside;
  text-transform: uppercase;
}

.admin-photo-manager {
  border-top: 0;
  margin-top: -24px;
}

.admin-photo-manager > summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.admin-photo-manager > summary::-webkit-details-marker {
  display: none;
}

.admin-photo-manager > summary::before {
  content: "+";
  margin-right: 8px;
}

.admin-photo-manager[open] > summary::before {
  content: "−";
}

.admin-photo-manager > summary > span {
  background: #090b0a;
  color: #f2efe6;
  display: inline-grid;
  font-size: 8px;
  height: 25px;
  place-items: center;
  width: 25px;
}

.admin-photo-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.admin-list-grid article .admin-photo-item {
  background: #111310;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0;
}

.admin-list-grid article .admin-photo-item.is-cover {
  border-color: var(--primary);
}

.admin-photo-item > a {
  aspect-ratio: 4 / 3;
  background: #080908;
  display: block;
  overflow: hidden;
}

.admin-photo-item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-photo-item figcaption {
  min-height: 65px;
  padding: 11px;
}

.admin-photo-item figcaption strong,
.admin-list-grid article .admin-photo-item figcaption span {
  color: #f2efe6;
  display: block;
  font-size: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-list-grid article .admin-photo-item figcaption span {
  color: #a8aca4;
  margin-top: 4px;
}

.admin-photo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding: 0 10px 10px;
}

.gallery-manager .admin-photo-controls form {
  display: block;
}

.admin-photo-controls button {
  background: transparent;
  border: 1px solid #696d66;
  color: #f2efe6;
  cursor: pointer;
  font-size: 7px;
  font-weight: 900;
  min-height: 29px;
  padding: 0 7px;
  text-transform: uppercase;
}

.admin-photo-controls button:hover,
.admin-photo-controls button:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.admin-photo-controls button.admin-danger-button {
  background: #b42318;
  border-color: #e8aaa5;
  color: #fff;
}

.admin-photo-controls button.admin-danger-button:hover,
.admin-photo-controls button.admin-danger-button:focus-visible {
  background: #7f1d16;
  border-color: #fff;
  color: #fff;
}

.admin-gallery-edit form,
.admin-gallery-email form {
  gap: 20px;
  margin-top: 24px;
}

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

.admin-gallery-email form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-gallery-edit form > button,
.admin-gallery-email form > button {
  min-height: 44px;
}

.admin-gallery-text > .admin-form-note {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.6;
  margin: 18px 0 0;
  text-transform: none;
}

.admin-text-message {
  background: #ded8ca;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.admin-list-grid article .admin-text-message > p {
  color: #343732;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1.55;
  margin: 0 0 12px;
  text-transform: none;
}

.admin-text-message textarea {
  background: #f5f1e7;
  border: 1px solid #aaa69d;
  color: #090b0a;
  font: inherit;
  line-height: 1.55;
  min-height: 118px;
  padding: 14px;
  resize: vertical;
  width: 100%;
}

.admin-text-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.admin-text-actions button,
.admin-text-actions a,
.admin-text-message form button {
  align-items: center;
  background: #090b0a;
  border: 1px solid #090b0a;
  color: #f2efe6;
  cursor: pointer;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 40px;
  padding: 0 13px;
  text-transform: uppercase;
}

.admin-text-actions button:hover,
.admin-text-actions button:focus-visible,
.admin-text-actions a:hover,
.admin-text-actions a:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.admin-text-message form {
  display: block;
  margin-top: 14px;
}

.admin-text-message form button {
  background: var(--primary);
  border-color: var(--primary);
  color: #090b0a;
}

.admin-upload-more {
  border-top: 1px dashed #aaa69d;
  margin-top: 28px;
  padding-top: 24px;
}

.admin-upload-more h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.admin-upload-more > p {
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.admin-gallery-edit .admin-upload-more form {
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.admin-gallery-edit .admin-upload-more form label,
.admin-gallery-edit .admin-upload-more form > button {
  grid-column: 1;
}

.admin-gallery-actions {
  display: flex;
  gap: 7px;
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: auto;
}

.admin-gallery-actions form {
  display: block;
}

.gallery-manager .admin-gallery-actions .admin-custom-expiration-form {
  align-items: end;
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(150px, 190px) auto;
}

.admin-gallery-actions .admin-custom-expiration-form label {
  font-size: 7px;
  letter-spacing: 0.1em;
}

.admin-gallery-actions .admin-custom-expiration-form input {
  font-size: 11px;
  margin-top: 4px;
  min-height: 38px;
  padding: 7px 9px;
}

.admin-gallery-actions .admin-custom-expiration-form > button {
  grid-column: auto;
}

.admin-gallery-actions button {
  align-items: center;
  background: transparent;
  border: 1px solid #a7a399;
  color: #090b0a;
  cursor: pointer;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: 0.1em;
  min-height: 38px;
  padding: 0 11px;
  text-transform: uppercase;
}

.admin-gallery-actions button:hover,
.admin-gallery-actions button:focus-visible {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.admin-gallery-actions button.admin-danger-button {
  border-color: var(--destructive);
  color: #8d1d14;
}

.admin-gallery-actions button.admin-danger-button:hover,
.admin-gallery-actions button.admin-danger-button:focus-visible {
  background: var(--destructive);
  border-color: var(--destructive);
  color: #fff;
}

.admin-delete-zone {
  background: #e2ddd1;
  border-left: 3px solid var(--destructive);
  grid-column: 1 / -1;
  padding: 14px 16px;
}

.admin-delete-zone > summary {
  color: #8d1d14;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.admin-delete-zone > p {
  color: #6f453f !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  margin: 12px 0 !important;
  text-transform: none !important;
}

.gallery-manager .admin-delete-zone form,
.customer-record-page .admin-delete-zone form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
}

.admin-delete-zone form label {
  grid-column: auto;
}

.admin-delete-zone form label strong {
  display: block;
  margin: 5px 0 8px;
  text-transform: none;
}

.admin-delete-zone form .admin-delete-acknowledgement {
  align-items: center;
  align-self: center;
  display: flex;
  gap: 9px;
  grid-column: 1 / -1;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.admin-delete-zone form .admin-delete-acknowledgement input {
  accent-color: var(--destructive);
  flex: 0 0 auto;
  height: 17px;
  margin: 0;
  width: 17px;
}

.admin-client-delete-zone {
  margin-top: 10px;
}

.customer-delete-zone {
  margin-top: 28px;
}

.admin-delete-zone form > button.admin-danger-button {
  background: var(--destructive);
  border-color: var(--destructive);
  color: #fff;
  grid-column: auto;
}

.admin-gallery-archive {
  border-top: 1px solid #bdb9ae;
  margin-top: 34px;
  padding-top: 28px;
}

.admin-gallery-archive > summary {
  align-items: center;
  background: #090b0a;
  color: #f2efe6;
  cursor: pointer;
  display: flex;
  font-size: 10px;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: 0.12em;
  list-style: none;
  min-height: 56px;
  padding: 0 18px;
  text-transform: uppercase;
}

.admin-gallery-archive > summary::-webkit-details-marker {
  display: none;
}

.admin-gallery-archive > summary::before {
  color: var(--primary);
  content: "+";
  font-size: 18px;
  margin-right: 12px;
}

.admin-gallery-archive[open] > summary::before {
  content: "−";
}

.admin-gallery-archive > summary > span {
  flex: 1;
}

.admin-gallery-archive > summary > strong {
  align-items: center;
  background: var(--primary);
  color: #090b0a;
  display: inline-flex;
  font-size: 10px;
  height: 28px;
  justify-content: center;
  min-width: 28px;
  padding: 0 8px;
}

.admin-archive-list {
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.admin-archive-item {
  align-items: center;
  background: #e3dfd4;
  border-left: 3px solid #8e918a;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px 22px;
}

.admin-archive-item p {
  color: #6e716b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.admin-archive-item h3 {
  font-size: 20px;
  line-height: 1.05;
  margin: 0 0 7px;
}

.admin-archive-item span {
  color: var(--muted-foreground);
  display: block;
  font-size: 10px;
  line-height: 1.5;
}

.gallery-manager .admin-archive-item form {
  display: block;
}

.admin-archive-actions {
  display: flex;
  gap: 8px;
}

.admin-archive-delete-zone {
  grid-column: 1 / -1;
}

.admin-archive-item button {
  background: transparent;
  border: 1px solid #777b74;
  color: #090b0a;
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  min-height: 40px;
  padding: 0 14px;
  text-transform: uppercase;
}

.admin-archive-item button:hover,
.admin-archive-item button:focus-visible {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.admin-archive-item button.admin-danger-button {
  border-color: var(--destructive);
  color: #8d1d14;
}

.admin-archive-item button.admin-danger-button:hover,
.admin-archive-item button.admin-danger-button:focus-visible {
  background: var(--destructive);
  border-color: var(--destructive);
  color: #fff;
}

.admin-empty {
  color: var(--muted-foreground);
  font-size: 14px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px 0;
}

/* Compact customer database and batch game creation */
.admin-new-customer-panel,
.admin-game-batch-panel {
  background: #090b0a;
  color: #f2efe6;
  margin-bottom: 24px;
  padding: 0 clamp(18px, 3vw, 28px);
}

.admin-new-customer-panel > summary,
.admin-game-batch-panel > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 68px;
}

.admin-new-customer-panel > summary::-webkit-details-marker,
.admin-game-batch-panel > summary::-webkit-details-marker {
  display: none;
}

.admin-new-customer-panel > summary::before,
.admin-game-batch-panel > summary::before {
  color: var(--primary);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.admin-new-customer-panel[open] > summary::before,
.admin-game-batch-panel[open] > summary::before {
  content: "−";
}

.admin-new-customer-panel > summary span,
.admin-game-batch-panel > summary span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-right: auto;
  text-transform: uppercase;
}

.admin-new-customer-panel > summary small,
.admin-game-batch-panel > summary small {
  color: #aeb1aa;
  font-size: 10px;
}

.admin-new-customer-panel > form,
.admin-game-batch-panel > form {
  border-top: 1px solid #4d514b;
  color: #090b0a;
  padding: 26px 0 30px;
}

.admin-new-customer-panel > form,
.admin-game-batch-panel > form {
  background: #ebe7dc;
  margin: 0 -28px;
  padding-left: clamp(18px, 3vw, 28px);
  padding-right: clamp(18px, 3vw, 28px);
}

.admin-game-empty {
  background: #ebe7dc;
  border-top: 1px solid #4d514b;
  color: #090b0a;
  margin: 0 -28px;
  padding: clamp(26px, 4vw, 40px) clamp(18px, 3vw, 28px);
}

.admin-game-empty .eyebrow {
  color: #8b6b1e;
  margin-bottom: 14px;
}

.admin-game-empty h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.admin-game-empty > p:not(.eyebrow),
.admin-game-empty li {
  color: #555851;
  font-size: 12px;
  line-height: 1.6;
}

.admin-game-empty > p:not(.eyebrow) {
  margin: 0;
  max-width: 760px;
}

.admin-game-empty ol {
  margin: 18px 0 22px;
  padding-left: 20px;
}

.admin-game-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-game-empty-actions a {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #090b0a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 13px 14px;
  text-transform: uppercase;
}

.admin-game-empty-actions a:hover,
.admin-game-empty-actions a:focus-visible {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.admin-customer-browser {
  align-items: end;
  background: #e5e0d4;
  border-left: 4px solid var(--primary);
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: minmax(230px, 1.1fr) minmax(170px, 0.8fr) minmax(190px, 1fr) minmax(190px, 1fr) auto !important;
  padding: 20px;
}

.admin-customer-browser-actions {
  display: flex;
  gap: 8px;
}

.admin-customer-browser-actions button,
.admin-customer-browser-actions a {
  align-items: center;
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 50px;
  padding: 0 14px;
  text-transform: uppercase;
}

.admin-customer-browser-actions a {
  border: 1px solid #969188;
}

.admin-customer-result-count {
  color: #686b65;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 12px 0 20px;
  text-transform: uppercase;
}

.admin-client-profile-selected {
  margin-top: 0;
}

.admin-customer-roster-summary,
.admin-customer-gallery-summary {
  border-top: 1px solid #c5c1b7;
  padding-top: 18px;
}

.admin-customer-roster-summary h4,
.admin-customer-gallery-summary h4 {
  font-size: 9px;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.admin-customer-roster-summary > div,
.admin-customer-gallery-summary > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-customer-roster-summary a,
.admin-customer-gallery-summary a {
  background: #f6f3eb;
  border: 1px solid #ccc7bc;
  display: block;
  padding: 12px;
}

.admin-customer-roster-summary a:hover,
.admin-customer-gallery-summary a:hover {
  border-color: #937322;
}

.admin-customer-roster-summary strong,
.admin-customer-gallery-summary strong,
.admin-customer-roster-summary span,
.admin-customer-gallery-summary span {
  display: block;
}

.admin-customer-roster-summary strong,
.admin-customer-gallery-summary strong {
  font-size: 11px;
  margin-bottom: 4px;
}

.admin-customer-roster-summary p,
.admin-customer-gallery-summary p,
.admin-customer-prompt {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.admin-create-mode-label {
  border-left: 4px solid #090b0a;
  margin-bottom: 22px;
  padding: 4px 0 4px 15px;
}

.admin-create-mode-label span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-create-mode-label p {
  color: var(--muted-foreground);
  font-size: 11px;
  margin: 5px 0 0;
}

.admin-game-batch-panel {
  margin: 34px 0 0;
}

.admin-roster-picker {
  border: 1px solid #aaa69d;
  margin: 0;
  padding: 18px;
}

.admin-roster-picker legend {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0 8px;
  text-transform: uppercase;
}

.admin-roster-picker > p {
  color: var(--muted-foreground);
  font-size: 11px;
  margin: 0 0 14px;
}

.admin-roster-picker-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-height: 460px;
  overflow: auto;
}

.admin-roster-picker-grid label {
  align-items: start;
  background: #f6f3eb;
  border: 1px solid #c6c1b6;
  display: flex !important;
  gap: 10px;
  padding: 12px;
}

.admin-roster-picker-grid input {
  accent-color: #090b0a;
  flex: 0 0 auto;
  height: 17px;
  margin: 1px 0 0;
  width: 17px;
}

.admin-roster-picker-grid strong,
.admin-roster-picker-grid small {
  display: block;
}

.admin-roster-picker-grid strong {
  font-size: 10px;
  margin-bottom: 4px;
}

.admin-roster-picker-grid small {
  color: var(--muted-foreground);
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.admin-gallery-summary .admin-gallery-player {
  color: #686b65;
  font-size: 10px;
  margin-top: 4px;
}

.admin-gallery-summary .admin-gallery-player a,
.customer-history-player a {
  border-bottom: 1px solid #937322;
  color: #5f4814;
}

/* Private customer records */
.admin-record-back {
  border: 1px solid #5e625b;
  color: #f2efe6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 13px 16px;
  text-transform: uppercase;
}

.admin-record-back:hover,
.admin-record-back:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.customer-record {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(42px, 6vw, 80px) clamp(20px, 4vw, 60px);
}

.customer-record-hero,
.customer-record-details,
.customer-player-records,
.customer-purchase-history {
  border: 1px solid #bdb9ae;
  padding: clamp(24px, 3vw, 42px);
}

.customer-record-hero {
  align-items: stretch;
  display: grid;
  gap: 28px clamp(30px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
}

.customer-record-identity {
  align-self: center;
}

.customer-record-identity .eyebrow {
  margin-bottom: 18px;
}

.customer-record-identity h2 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 82px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.customer-record-identity > p:not(.eyebrow) {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.65;
  margin: 3px 0;
}

.customer-record-identity .customer-record-organization {
  color: #343732;
  font-weight: 800;
}

.customer-record-code {
  min-height: 170px;
}

.customer-record-stats {
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.customer-record-stats > div {
  background: #ebe7dc;
  padding: 20px;
}

.customer-record-stats dt,
.customer-history-finances dt {
  color: #777970;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.customer-record-stats dd {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  margin: 0;
}

.customer-record > .admin-message {
  grid-column: auto;
}

.customer-record form {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-record form label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.customer-record input,
.customer-record textarea,
.customer-record select {
  background: #f6f3eb;
  border: 1px solid #aaa69d;
  border-radius: 0;
  color: #090b0a;
  font-size: 14px;
  margin-top: 9px;
  padding: 15px;
  width: 100%;
}

.customer-record textarea {
  min-height: 105px;
  resize: vertical;
}

.customer-record .admin-full-field,
.customer-record .admin-form-note,
.customer-record form > button {
  grid-column: 1 / -1;
}

.customer-record form > button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #090b0a;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 50px;
  padding: 0 18px;
  text-transform: uppercase;
}

.customer-add-player {
  background: #090b0a;
  color: #f2efe6;
  margin-bottom: 20px;
  padding: 0 20px;
}

.customer-add-player > summary,
.customer-player-edit > summary,
.customer-add-team > summary {
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  list-style-position: inside;
  text-transform: uppercase;
}

.customer-add-player > summary {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 60px;
}

.customer-add-player > summary small {
  color: #aeb1aa;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.customer-add-player > form {
  border-top: 1px solid #4d514b;
  padding: 24px 0;
}

.customer-team-starter {
  background: #e8e2d5;
  border-left: 4px solid var(--primary);
  color: #090b0a;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px;
}

.customer-team-starter > div {
  grid-column: 1 / -1;
}

.customer-team-starter strong {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-team-starter p {
  color: var(--muted-foreground);
  font-size: 11px;
  margin: 5px 0 0;
}

.customer-player-list {
  display: grid;
  gap: 16px;
}

.customer-player-card {
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  padding: clamp(20px, 3vw, 30px);
}

.customer-player-card.is-archived {
  border-left-color: #9da098;
  opacity: 0.7;
}

.customer-player-heading {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.customer-player-heading p {
  color: #8b6b1e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.customer-player-heading h3 {
  font-size: clamp(23px, 3vw, 34px);
  margin: 0 0 5px;
}

.customer-player-heading span {
  color: var(--muted-foreground);
  font-size: 11px;
}

.customer-player-edit > summary {
  border: 1px solid #a9a49a;
  padding: 11px 13px;
}

.customer-player-edit[open] {
  grid-column: 1 / -1;
  width: 100%;
}

.customer-player-edit form,
.customer-add-team form,
.customer-team-row form {
  margin-top: 18px;
}

.customer-team-list {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}

.customer-team-row {
  background: #f6f3eb;
  border: 1px solid #c8c3b8;
  padding: 0 15px;
}

.customer-team-row.is-archived {
  opacity: 0.58;
}

.customer-team-row > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  min-height: 62px;
}

.customer-team-row > summary::-webkit-details-marker {
  display: none;
}

.customer-team-row > summary strong,
.customer-team-row > summary small {
  display: block;
}

.customer-team-row > summary strong {
  font-size: 12px;
  margin-bottom: 4px;
}

.customer-team-row > summary small,
.customer-team-row > summary em {
  color: var(--muted-foreground);
  font-size: 9px;
  font-style: normal;
}

.customer-team-row form {
  border-top: 1px solid #d0cbc0;
  padding: 18px 0;
}

.customer-add-team {
  border-top: 1px solid #c5c1b7;
  margin-top: 18px;
  padding-top: 14px;
}

.customer-record .admin-checkbox-label {
  align-items: center;
  display: flex;
  gap: 9px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.customer-record .admin-checkbox-label input {
  accent-color: #090b0a;
  height: 17px;
  margin: 0;
  padding: 0;
  width: 17px;
}

.customer-history-player {
  color: #343732 !important;
  font-weight: 700;
  margin-top: 5px;
}

/* Private game roster */
.game-record {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1320px;
  padding: clamp(42px, 6vw, 80px) clamp(20px, 4vw, 60px);
}

.game-record-hero,
.game-roster-section {
  border: 1px solid #bdb9ae;
  padding: clamp(24px, 3vw, 42px);
}

.game-record-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.92;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.game-record-hero > p:not(.eyebrow) {
  color: var(--muted-foreground);
  font-size: 13px;
}

.game-record-hero dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 220px));
  margin: 28px 0 0;
}

.game-record-hero dl div {
  background: #ebe7dc;
  padding: 16px;
}

.game-record-hero dt {
  color: #777970;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-record-hero dd {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 4px 0 0;
}

.game-team-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-team-filter a {
  background: #e5e0d4;
  border: 1px solid #b9b4a9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 12px 14px;
  text-transform: uppercase;
}

.game-team-filter a[aria-current="page"] {
  background: #090b0a;
  border-color: #090b0a;
  color: #f2efe6;
}

.game-roster-list {
  display: grid;
  gap: 8px;
}

.game-roster-player {
  align-items: center;
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 18px;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  padding: 16px 18px;
}

.game-roster-player.is-archived {
  opacity: 0.6;
}

.game-roster-number {
  font-family: var(--font-display);
  font-size: 29px;
  text-align: center;
}

.game-roster-identity p {
  color: #8b6b1e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.game-roster-identity h3 {
  font-size: 22px;
  margin: 0 0 4px;
}

.game-roster-identity span {
  color: var(--muted-foreground);
  font-size: 10px;
}

.game-roster-actions {
  display: flex;
  gap: 7px;
}

.game-roster-actions a {
  border: 1px solid #9b978e;
  font-size: 8px;
  font-weight: 900;
  padding: 11px 12px;
  text-transform: uppercase;
}

.customer-history-list {
  display: grid;
  gap: 18px;
}

.customer-history-item {
  background: #ebe7dc;
  border-left: 3px solid var(--primary);
  padding: clamp(22px, 3vw, 34px);
}

.customer-history-item.is-archived {
  border-left-color: #9da098;
  opacity: 0.7;
}

.customer-history-heading {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.customer-history-heading p {
  color: #8b6b1e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.customer-history-heading h3 {
  font-size: clamp(24px, 3vw, 38px);
  margin: 0 0 9px;
}

.customer-history-heading span,
.customer-history-gallery-status span {
  color: var(--muted-foreground);
  display: block;
  font-size: 11px;
  line-height: 1.55;
}

.customer-history-gallery-status {
  border-left: 1px solid #c5c1b7;
  min-width: 190px;
  padding: 7px 0 7px 22px;
}

.customer-history-gallery-status strong {
  color: #8b6b1e;
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.customer-history-finances {
  display: grid;
  gap: 1px;
  grid-template-columns: 1.4fr repeat(4, minmax(100px, 1fr));
  margin: 24px 0 0;
}

.customer-history-finances > div {
  background: #f5f2e9;
  padding: 16px;
}

.customer-history-finances dd {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.customer-history-note {
  background: #dfd9c9;
  color: #41433e;
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0 0;
  padding: 16px;
}

.customer-history-edit {
  border-top: 1px solid #c5c1b7;
  margin-top: 22px;
  padding-top: 16px;
}

.customer-history-edit summary {
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  list-style-position: inside;
  text-transform: uppercase;
}

.customer-history-edit form {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .admin-customer-browser {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-customer-browser-actions {
    grid-column: 1 / -1;
  }

  .customer-record-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-team-starter {
    grid-template-columns: 1fr;
  }

  .customer-team-starter > div {
    grid-column: 1;
  }

  .game-roster-player {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .game-roster-actions {
    grid-column: 2;
  }

  .admin-gallery-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
  }

  .admin-gallery-toolbar > span {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-gallery-tools {
    grid-template-columns: 1fr;
  }

  .admin-gallery-tools > .admin-code-card {
    grid-column: 1;
  }

  .client-gallery-heading {
    grid-template-columns: 1fr;
  }

  .client-gallery-heading > p:last-child {
    max-width: 680px;
  }

  .client-gallery-list article {
    grid-template-columns: 48px 120px minmax(0, 1fr) auto;
  }

  .client-gallery-cover {
    height: 86px;
    width: 120px;
  }

  .client-gallery-expiration {
    border-left: 0;
    grid-column: 3;
    padding-left: 0;
  }

  .client-gallery-list .client-gallery-open {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .admin-workflow-overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-export-tools {
    grid-template-columns: 1fr;
  }

  .admin-export-actions {
    justify-content: flex-start;
  }

  .admin-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-view-intro {
    grid-template-columns: 1fr;
  }

  .gallery-view-intro .eyebrow {
    margin: 0;
  }

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

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

  .gallery-manager {
    grid-template-columns: 1fr;
  }

  .admin-create-card,
  .admin-upload-card,
  .admin-deliver-card,
  .admin-client-card,
  .admin-gallery-list,
  .admin-message {
    grid-column: 1;
  }

  .admin-list-grid {
    grid-template-columns: 1fr;
  }

  .admin-client-grid {
    grid-template-columns: 1fr;
  }

  .admin-file-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-delivery-preview dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-record-hero {
    grid-template-columns: 1fr;
  }

  .customer-record-code,
  .customer-record-stats {
    grid-column: 1;
  }

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

  .admin-list-grid article {
    grid-template-columns: 1fr;
  }

  .admin-code-card,
  .admin-gallery-edit,
  .admin-gallery-email,
  .admin-gallery-text,
  .admin-gallery-actions {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .admin-new-customer-panel,
  .admin-game-batch-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-new-customer-panel > form,
  .admin-game-batch-panel > form {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-game-empty {
    margin-left: -18px;
    margin-right: -18px;
  }

  .admin-new-customer-panel > summary small,
  .admin-game-batch-panel > summary small,
  .customer-add-player > summary small {
    display: none;
  }

  .admin-customer-browser {
    grid-template-columns: 1fr !important;
  }

  .admin-customer-browser-actions {
    grid-column: 1;
  }

  .customer-record-stats,
  .game-record-hero dl {
    grid-template-columns: 1fr 1fr;
  }

  .customer-player-heading {
    grid-template-columns: 1fr;
  }

  .customer-player-edit[open] {
    grid-column: 1;
  }

  .customer-team-row > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
  }

  .game-roster-player {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .game-roster-actions {
    flex-direction: column;
  }

  .admin-gallery-toolbar,
  .admin-gallery-card-header {
    grid-template-columns: 1fr;
  }

  .admin-gallery-toolbar > span {
    grid-column: 1;
  }

  .admin-gallery-toggle {
    width: 100%;
  }

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

  .admin-delivery-buttons {
    grid-template-columns: 1fr;
  }

  .client-gallery-heading {
    gap: 24px;
    padding: 58px 20px 42px;
  }

  .client-gallery-heading h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .client-gallery-list {
    margin: 0 20px 70px;
  }

  .client-gallery-list article {
    align-items: start;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .client-gallery-cover,
  .client-gallery-list article > div,
  .client-gallery-expiration,
  .client-gallery-list .client-gallery-open {
    grid-column: 2;
    grid-row: auto;
  }

  .client-gallery-cover {
    height: min(55vw, 240px);
    width: 100%;
  }

  .client-gallery-list .client-gallery-open {
    justify-content: space-between;
  }

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

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

  .gallery-manager .admin-delete-zone form,
  .customer-record-page .admin-delete-zone form {
    grid-template-columns: 1fr;
  }

  .admin-delete-zone form > button.admin-danger-button {
    grid-column: 1;
  }

  .gallery-view-actions {
    gap: 14px;
  }

  .gallery-view-header {
    padding: 14px 18px;
  }

  .gallery-view-brand {
    height: 50px;
    width: 50px;
  }

  .gallery-view-intro {
    padding: 58px 20px 46px;
  }

  .gallery-view-intro h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .delivered-photo-grid {
    grid-template-columns: 1fr;
  }

  .admin-file-preview-grid,
  .admin-delivery-preview dl {
    grid-template-columns: 1fr;
  }

  .delivered-photo-grid figcaption {
    opacity: 1;
  }

  .gallery-view-footer {
    gap: 14px;
    flex-direction: column;
  }

  .gallery-admin-login::after {
    display: none;
  }

  .gallery-admin-header {
    grid-template-columns: 52px 1fr;
  }

  .gallery-admin-header > div {
    margin-left: 10px;
    padding-left: 14px;
  }

  .gallery-admin-header > form {
    grid-column: 2;
    justify-self: start;
    margin-left: 24px;
    margin-top: 12px;
  }

  .gallery-manager form {
    grid-template-columns: 1fr;
  }

  .admin-standalone-fields {
    grid-template-columns: 1fr;
  }

  .admin-standalone-heading {
    grid-column: 1;
  }

  .admin-customer-search {
    grid-template-columns: 1fr !important;
  }

  .admin-customer-search > button,
  .admin-customer-search > a {
    grid-column: 1 !important;
  }

  .gallery-manager form label,
  .gallery-manager .admin-full-field,
  .gallery-manager .admin-file-input,
  .gallery-manager form > button {
    grid-column: 1;
  }

  .new-gallery-code,
  .admin-list-grid article,
  .admin-client-profile {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .admin-client-profile {
    grid-template-columns: 1fr;
  }

  .admin-gallery-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .gallery-manager .admin-gallery-actions .admin-custom-expiration-form {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .admin-archive-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .admin-archive-actions {
    flex-direction: column;
  }

  .admin-archive-item button {
    width: 100%;
  }

  .admin-client-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .customer-record form,
  .customer-record-stats,
  .customer-history-finances,
  .customer-history-heading {
    grid-template-columns: 1fr;
  }

  .customer-record form label,
  .customer-record .admin-full-field,
  .customer-record form > button {
    grid-column: 1;
  }

  .customer-history-gallery-status {
    border-left: 0;
    border-top: 1px solid #c5c1b7;
    min-width: 0;
    padding: 16px 0 0;
  }
}
