/* =========================================================
   IzeMark Phase 2 website
   ========================================================= */

/* ---------- Design tokens ---------- */

:root {
  --black: #0d0d0d;
  --bronze: #b98a4a;
  --bronze-soft: #d1a461;
  --white: #f5f5f5;
  --muted: #bdb7ae;
  --dim: #8d8780;
  --card: #171717;
  --line: rgba(185, 138, 74, 0.28);
  --line-strong: rgba(185, 138, 74, 0.55);
  --shadow: rgba(0, 0, 0, 0.46);
}

/* ---------- Reset and base ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(185, 138, 74, 0.21), transparent 34%),
    radial-gradient(circle at top right, rgba(245, 245, 245, 0.07), transparent 28%),
    var(--black);
}

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

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

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

main {
  min-height: 50vh;
}

section {
  padding: 24px 0;
}

.page-wrap {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.page-wrap-go {
  text-align: center;
}

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 4.75rem);
  letter-spacing: -2px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -1px;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--bronze-soft);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.card-thanks .lead,
.gallery-showcase .lead,
.card-go .lead,
.profile-card .lead {
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.brand-name span:first-child {
  color: var(--white);
}

.brand-name span:last-child {
  color: var(--bronze-soft);
}

.embedded-link {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(185, 138, 74, 0.65);
  text-underline-offset: 3px;
}

.embedded-link:hover {
  color: var(--bronze-soft);
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(185, 138, 74, 0.22);
  background: rgba(13, 13, 13, 0.86);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bronze-soft);
}

/* ---------- Social icons ---------- */

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--white);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.social-icons a:hover {
  border-color: var(--bronze);
  background: var(--bronze-soft);
  transform: translateY(-2px);
}

.social-icons img {
  width: 19px;
  height: 19px;
  opacity: 1;
  filter: none;
}

/* ---------- Buttons ---------- */

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.page-wrap .button-row {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  color: #111;
  background: var(--bronze);
  box-shadow: 0 14px 32px rgba(185, 138, 74, 0.22);
}

.btn-primary:hover {
  background: var(--bronze-soft);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--white);
  background: rgba(245, 245, 245, 0.045);
}

.btn-secondary:hover {
  border-color: var(--bronze);
  color: var(--bronze-soft);
  transform: translateY(-2px);
}

/* ---------- Grids and cards ---------- */

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

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(245, 245, 245, 0.045);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.card h3 {
  color: var(--bronze-soft);
}

.card p {
  color: var(--muted);
}

.card .eyebrow {
  color: var(--bronze-soft);
}

.card-thanks {
  text-align: center;
  max-width: 760px;
  margin: 40px auto;
}

.card-go {
  max-width: 720px;
  margin: 60px auto;
}

.card-review {
  text-align: center;
}

/* ---------- Shop ---------- */

.warning-note {
  padding: 16px;
  border: 1px solid rgba(185, 138, 74, 0.35);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(185, 138, 74, 0.08);
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 22px;
}

.price {
  margin: 10px 0;
  color: var(--white);
  font-weight: 900;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.product-actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.9rem;
}

/* ---------- Find Me page ---------- */

.find-me {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(185, 138, 74, 0.18), rgba(245, 245, 245, 0.045)),
    #141414;
}

/* --- Not used --- */
.schedule-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.22);
}

.schedule-meta {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: var(--muted);
}

.embedded-logo-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 6px;
}

.embedded-logo-grid > div {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.embedded-logo-grid iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 20px;
}

.embedded-logo-link {
  display: block;
  width: min(100%, 280px);
  margin: 0 auto;
}

.embedded-logo {
  width: 100%;
  max-width: none;
  height: auto;
}

/* ---------- Gallery ---------- */

.gallery-showcase {
  display: grid;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(185, 138, 74, 0.18), rgba(245, 245, 245, 0.05)),
    #151515;
}

.gallery-scroll {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 32%);
  gap: 18px;

  overflow-x: auto;
  overscroll-behavior-inline: contain;

  padding: 4px 2px 16px;

  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.gallery-scroll > .gallery-card {
  scroll-snap-align: start;
}

.gallery-tools {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 18px;

  padding: 20px;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: rgba(245, 245, 245, 0.03);
}

.gallery-tools label {
  font-weight: 700;
}

.gallery-tools input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(245, 245, 245, 0.055);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.gallery-tools input::placeholder {
  color: var(--muted);
}

.gallery-tools input:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}

.gallery-filter {
  padding: 10px 15px;

  color: var(--white);
  background: transparent;

  border: 1px solid var(--line);
  border-radius: 999px;

  font: inherit;
  font-weight: 700;

  cursor: pointer;
}

.gallery-filter:hover {
  border-color: var(--bronze);
}

.gallery-filter[aria-pressed="true"] {
  color: var(--black);
  background: var(--bronze-soft);
  border-color: var(--bronze-soft);
}

section.page-wrap.gallery-showcase {
  width: min(1320px, 92%);
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  width: 100%;
  grid-template-columns:
    repeat(auto-fit, minmax(min(100%, 280px), 360px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: rgba(245, 245, 245, 0.035);
}

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

.gallery-card .eyebrow {
  margin-bottom: 0;
  font-size: .85rem;
  text-align: left;
}

.gallery-image-button {
  position: relative;
  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;
  
  padding: 0px;

  overflow: hidden;

  background: #0d0d0d;
  border: 0;

  cursor: pointer;
}

.gallery-image-button img {
  position: absolute;
  inset: 0;
  display: block;

  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;

  margin: 0;

  object-fit: var(--preview-fit, cover);

  transition: transform 180ms ease, opacity 180ms ease;

  object-position: var(--focus-x, 50%) var(--focus-y, 50%);
  
  transform:
    translate(
      var(--pan-x, 0%),
      var(--pan-y, 0%)
    )
    scale(var(--preview-zoom, 1));
}

.gallery-image-button:hover img,
.gallery-image-button:focus-visible img {
  opacity: .94;
}

.gallery-image-button:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: -3px;
}

.gallery-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;

  padding: 18px;
}

.gallery-card-body h3,
.gallery-card-body p {
  margin: 0;
}

.gallery-card-body > p:not(.eyebrow) {
  color: var(--muted);
}

.gallery-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: auto;
  padding-top: 10px;
}

.gallery-empty {
  padding: 24px;

  color: var(--muted);
  text-align: center;

  border: 1px dashed var(--line);
  border-radius: 20px;
}

.gallery-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal-card {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);

  width: min(100%, 980px);
  max-height: calc(100vh - 40px);

  overflow: auto;

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--black);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

.gallery-modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;

  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: var(--white);
  background: rgba(0, 0, 0, 0.72);

  border: 1px solid var(--line);
  border-radius: 50%;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}

.gallery-modal-close:hover {
  border-color: var(--bronze);
}

.gallery-modal-image {
  min-height: 320px;
  background: rgba(245, 245, 245, 0.025);
}

.gallery-modal-image img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 720px;

  object-fit: contain;
}

.gallery-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;

  padding: 38px 28px 28px;
}

.gallery-modal-content h2,
.gallery-modal-content p {
  margin: 0;
}

.gallery-modal-content > p:not(.eyebrow) {
  color: var(--muted);
}

.category-tile {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  text-align: center;
  background: rgba(245, 245, 245, 0.045);
}

.category-tile strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze-soft);
}

/* ---------- Contact form ---------- */

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

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

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

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

label {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(185, 138, 74, 0.45);
  outline-offset: 1px;
  border-color: var(--bronze);
}

input::placeholder,
textarea::placeholder {
  color: var(--dim);
}

select {
  color-scheme: dark;
  cursor: pointer;
}

select option {
  color: var(--white);
  background: var(--black);
}

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

input::file-selector-button {
  margin-right: 10px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: var(--bronze);
  font-weight: 800;
  cursor: pointer;
}

.form-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.9rem;
}

/* ---------- Link-hub home page ---------- */

.home-shell {
  width: min(680px, 92%);
  margin-inline: auto;
  padding: 48px 0 34px;
}

.profile-card {
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  text-align: center;
  background: rgba(245, 245, 245, 0.045);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.profile-logo {
  width: 360px;
  height: 360px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.34));
}

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

.link-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(245, 245, 245, 0.052);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.link-button:hover {
  border-color: var(--bronze);
  background: rgba(185, 138, 74, 0.1);
  transform: translateY(-2px);
}

.link-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--bronze-soft);
  background: rgba(185, 138, 74, 0.16);
  font-weight: 900;
}

.link-main strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.link-main span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.link-arrow {
  color: var(--bronze-soft);
  font-weight: 900;
}

/* ---------- Footer ---------- */

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer .review-strip {
  color: var(--white);
}

.home-footer {
  padding-top: 24px;
  border-top: 0;
}

.footer-social {
  display: grid;
  place-items: center;
  gap: 0px;
  text-align: center;
}

.footer-social > .footer-copy {
  margin-top: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--bronze-soft);
}

.footer-copy {
  color: var(--dim);
  font-size: 0.86rem;
}

.footer-social-r {
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
}

/* ---------- Review Strip ---------- */

.review-strip {
  transform: scale(.8);
  padding: 6px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(
      135deg,
      rgba(185, 138, 74, 0.14),
      rgba(245, 245, 245, 0.025)
    );
}

.review-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.review-strip h2,
.review-strip p {
  margin-bottom: 0;
}

/* review-strip playground for sizing */

.review-strip .review-strip-inner h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.review-strip .review-strip-inner .eyebrow {
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-align: left;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  section {
    padding: 18px 0;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.88rem;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  .grid-3,
  .grid-4,
  .form-grid,
  .find-me {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .gallery-scroll {
    grid-auto-columns: 84%;
  }

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

  .gallery-modal-image {
    min-height: 220px;
  }

  .gallery-modal-image img {
    min-height: 220px;
    max-height: 52vh;
  }

  .gallery-modal-content {
    padding: 24px 20px;
  }

  .embedded-logo-grid {
    grid-template-columns: 1fr;
  }

  .embedded-logo-grid iframe {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .review-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .gallery-scroll {
    grid-auto-columns: 84%;
  }
  .review-strip .review-strip-inner .eyebrow {
    text-align: center;
  }
}

@media (max-width: 620px) {
  h1 {
    letter-spacing: -1px;
  }

  .eyebrow {
    font-size: 1.45rem;
  }

  .profile-card {
    padding: 22px 18px;
  }

  .profile-logo {
    width: min(280px, 90%);
    height: auto;
  }

  .link-button {
    grid-template-columns: auto 1fr;
  }

  .link-arrow {
    display: none;
  }

  .footer-links {
    gap: 10px 16px;
  }
}

@media (max-width: 430px) {
  .gallery-tools {
    padding: 16px;
  }

  .gallery-filter {
    flex: 1 1 auto;
  }

  .gallery-scroll {
    grid-auto-columns: 92%;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-modal-card {
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }
}

