:root {
  --bg: #ffffff;
  --bg-accent: #f7f5f1;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-strong: #ffffff;
  --text: #171411;
  --muted: #6a625a;
  --line: rgba(23, 20, 17, 0.08);
  --accent: #b78a57;
  --accent-deep: #8d673d;
  --brand-gold: #f1cb3c;
  --brand-gold-soft: #fbf3c9;
  --brand-gold-wash: #fff9e4;
  --brand-gold-line: rgba(168, 128, 18, 0.22);
  --shadow: 0 18px 54px rgba(22, 18, 14, 0.08);
  --shadow-soft: 0 10px 32px rgba(22, 18, 14, 0.06);
  --radius: 26px;
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #fefcf9;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 252, 249, 0.88);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid rgba(168, 128, 18, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 20px rgba(22, 18, 14, 0.05);
}

.header-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 1.2rem 0 1.35rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.brand-logo {
  width: clamp(3.8rem, 7vw, 5.25rem);
  height: auto;
  object-fit: contain;
}

.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-divider {
  width: 10rem;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--brand-gold), var(--accent), transparent);
  opacity: 0.65;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav > a {
  position: relative;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 2rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--text);
}

.section,
.page-hero {
  padding: 4.5rem 0;
}

.page-hero {
  padding-bottom: 2rem;
}

.portfolio-hero-section {
  padding-bottom: 1.5rem;
}

.portfolio-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #d9e2eb;
}

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

.portfolio-hero-image {
  object-fit: cover;
}

.portfolio-hero-overlay {
  background: linear-gradient(90deg, rgba(11, 18, 26, 0.72) 0%, rgba(11, 18, 26, 0.3) 45%, rgba(11, 18, 26, 0.1) 100%);
}

.portfolio-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: 3.5rem;
  color: #ffffff;
}

.portfolio-hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.portfolio-hero-title {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.portfolio-hero-text {
  margin: 1.2rem 0 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.86);
}

.portfolio-grid-section {
  padding-top: 1.25rem;
}

.portfolio-gallery-block + .portfolio-gallery-block {
  margin-top: 3.25rem;
}

.portfolio-section-heading {
  margin-bottom: 1.4rem;
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.portfolio-load-more {
  min-width: 11rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-grid-item {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  position: relative;
  padding: 0.85rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(23, 20, 17, 0.06);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 241, 0.96));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.portfolio-grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--portfolio-card-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.14);
  filter: blur(28px) saturate(1.05);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.portfolio-grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.26), transparent 52%);
  opacity: 0;
  transition: opacity 260ms ease, transform 420ms ease;
  pointer-events: none;
  transform: scale(0.96);
}

.portfolio-grid-item > span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portfolio-grid-item > span::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.08) 58%, transparent 82%);
  transform: translateX(-82%) skewX(-14deg);
  opacity: 0;
  transition: transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 260ms ease;
}

.portfolio-grid-item.is-landscape {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.34);
}

.portfolio-grid-item.is-landscape::before {
  opacity: 1;
}

.portfolio-grid-item img {
  width: 100%;
  height: min(38rem, 72vh);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  transform-origin: center center;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms ease;
  position: relative;
  z-index: 1;
}

.portfolio-grid-item.is-portrait img {
  object-fit: cover;
  background: transparent;
}

.portfolio-grid-item.is-landscape img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.35);
}

.portfolio-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 52px rgba(22, 18, 14, 0.14);
  border-color: rgba(183, 138, 87, 0.22);
}

.portfolio-grid-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.portfolio-grid-item:hover::before {
  opacity: 1;
}

.portfolio-grid-item:hover img {
  transform: scale(1.1);
  filter: saturate(1.1) contrast(1.03);
}

.portfolio-grid-item:hover > span::before {
  transform: translateX(82%) skewX(-14deg);
  opacity: 1;
}

.page-hero-content {
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.02;
}

.page-title {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.section-copy,
.copy-card p,
.detail-card p,
.contact-form,
.footer-copy {
  color: var(--muted);
  font-size: 1rem;
}

.narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-heading,
.hero-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.slider-heading {
  margin-bottom: 1.5rem;
}

.slider-section {
  padding-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(22, 18, 14, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.button-soft {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button:hover,
.gallery-item:hover {
  transform: translateY(-2px);
}

.image-slider {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.12),
    0 8px 24px rgba(22, 18, 14, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 20, 17, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 245, 241, 0.98));
}

.slider-track {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  transition: transform 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.slide-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slide-card img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 18px;
  box-shadow:
    0 12px 32px rgba(22, 18, 14, 0.16),
    0 2px 8px rgba(22, 18, 14, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms ease, box-shadow 320ms ease;
}

.slide-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.1) contrast(1.03);
  box-shadow:
    0 20px 48px rgba(22, 18, 14, 0.2),
    0 4px 12px rgba(22, 18, 14, 0.1);
}

.profile-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.copy-card,
.detail-card,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(23, 20, 17, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.copy-card,
.detail-card,
.contact-form {
  padding: 2rem;
}

.portrait-card img,
.gallery-item img {
  width: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  box-shadow: var(--shadow);
}

.portrait-card img {
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.18),
    0 8px 24px rgba(22, 18, 14, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.portrait-card img {
  aspect-ratio: 4 / 5;
}

.profile-card {
  background: linear-gradient(
    150deg,
    #ffe259 0%,
    #ffd831 14%,
    #ffe566 32%,
    #fff4b8 60%,
    #fffae8 82%,
    #ffffff 100%
  );
  border-color: rgba(168, 128, 18, 0.32);
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.14),
    0 6px 18px rgba(22, 18, 14, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(168, 128, 18, 0.18);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
  z-index: 0;
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.inquiry-copy {
  background: linear-gradient(
    150deg,
    #ffe259 0%,
    #ffd831 14%,
    #ffe566 32%,
    #fff4b8 60%,
    #fffae8 82%,
    #ffffff 100%
  );
  border-color: rgba(168, 128, 18, 0.32);
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.14),
    0 6px 18px rgba(22, 18, 14, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(168, 128, 18, 0.18);
  position: relative;
  overflow: hidden;
}

.inquiry-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
  z-index: 0;
}

.inquiry-copy > * {
  position: relative;
  z-index: 1;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.alt-surface {
  background: rgba(255, 252, 247, 0.72);
}

.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  break-inside: avoid;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2.2rem;
  background: linear-gradient(
    150deg,
    #ffffff 0%,
    #fefefe 30%,
    #faf8f5 65%,
    #f5f3ef 100%
  );
  border-color: rgba(183, 138, 87, 0.2);
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.12),
    0 6px 18px rgba(22, 18, 14, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(183, 138, 87, 0.08);
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-honeypot {
  display: none;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d5348;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(23, 20, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow:
    inset 0 1px 3px rgba(22, 18, 14, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #988f86;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(183, 138, 87, 0.5);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(183, 138, 87, 0.1),
    inset 0 1px 3px rgba(22, 18, 14, 0.02);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.submit-button {
  width: 100%;
  margin-top: 0.4rem;
  background: linear-gradient(150deg, #ffe259 0%, #ffd831 35%, #f4c800 65%, #e8bc00 100%);
  border-color: rgba(168, 128, 18, 0.3);
  color: #1a1500;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(241, 203, 60, 0.4),
    0 2px 8px rgba(241, 203, 60, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.submit-button:hover {
  background: linear-gradient(150deg, #ffe566 0%, #ffd831 35%, #f7cc00 65%, #ebbb00 100%);
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(241, 203, 60, 0.52),
    0 4px 12px rgba(241, 203, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 8, 5, 0.94);
  backdrop-filter: blur(24px) saturate(0.7);
  -webkit-backdrop-filter: blur(24px) saturate(0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 60;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.lightbox-figure img {
  max-height: 80vh;
  width: auto;
  border-radius: 18px;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.26);
  transform: scale(1.08);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.site-footer {
  padding: 2.4rem 0 1.8rem;
}

.footer-panel {
  padding: 1.35rem 1.35rem 1rem;
  border-radius: 32px;
  background: linear-gradient(
    150deg,
    #ffe259 0%,
    #ffd831 15%,
    #ffe566 30%,
    #fff4b8 58%,
    #fffae8 80%,
    #fffdf5 100%
  );
  border: 1px solid rgba(168, 128, 18, 0.26);
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.12),
    0 8px 24px rgba(22, 18, 14, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(168, 128, 18, 0.14);
  position: relative;
  overflow: hidden;
}

.footer-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 100%);
  border-radius: 32px 32px 0 0;
  pointer-events: none;
}

.footer-top {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  margin-bottom: 1rem;
}

.footer-follow {
  margin: 0;
  color: #404040;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.68rem, 1vw, 0.86rem);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
}

.footer-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 280ms ease;
}

.footer-gallery img:hover {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.04);
  z-index: 1;
  position: relative;
}

@media (min-width: 761px) and (max-width: 1440px) {
  .slide-card img,
  .portrait-card img,
  .gallery-item img {
    height: 700px;
  }

  .slide-card img,
  .portrait-card img,
  .gallery-item img {
    aspect-ratio: auto;
  }

  .portfolio-grid-item img {
    height: min(700px, 72vh);
  }

  .portfolio-grid-item.is-landscape img {
    object-fit: contain;
  }
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-signoff {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  font-style: italic;
  letter-spacing: 0.01em;
  color: #3f4348;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.footer-social,
.footer-backtotop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  color: #2a2a2a;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(168, 128, 18, 0.2);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.footer-social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-backtotop {
  font-size: 1rem;
  border-radius: 50%;
}

.footer-social:hover,
.footer-backtotop:hover {
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(168, 128, 18, 0.4);
  transform: translateY(-2px);
}

.slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 0 0.25rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 18, 14, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 260ms ease, width 260ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 260ms ease;
}

.slider-dot.is-active {
  width: 22px;
  background: var(--accent);
}

.slider-portfolio-cta {
  font-size: 0.82rem;
  min-height: 2.4rem;
  padding: 0.5rem 1.1rem;
  letter-spacing: 0.06em;
  border-color: rgba(22, 18, 14, 0.14);
  color: var(--muted);
  transition: transform 200ms ease, border-color 200ms ease, color 200ms ease;
}

.slider-portfolio-cta:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-2px);
}

.form-success[hidden] {
  display: none;
}

.form-success {
  background: linear-gradient(
    150deg,
    #ffe259 0%,
    #ffd831 14%,
    #ffe566 32%,
    #fff4b8 60%,
    #fffae8 82%,
    #ffffff 100%
  );
  border: 1px solid rgba(168, 128, 18, 0.32);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow:
    0 32px 72px rgba(22, 18, 14, 0.14),
    0 6px 18px rgba(22, 18, 14, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  animation: successFadeIn 500ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.form-success p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tournaments-section {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.tournaments-eyebrow {
  text-align: center;
  margin-bottom: 2rem;
}

.tournament-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.tournament-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 2.4rem;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28) 0%, rgba(250, 248, 245, 0.22) 60%, rgba(243, 241, 237, 0.18) 100%);
  border: 1px solid rgba(183, 138, 87, 0.14);
  backdrop-filter: blur(8px);
  box-shadow:
    0 16px 40px rgba(22, 18, 14, 0.06),
    0 4px 12px rgba(22, 18, 14, 0.04),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(183, 138, 87, 0.05);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.tournament-logo-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 52px rgba(22, 18, 14, 0.12),
    0 6px 16px rgba(22, 18, 14, 0.07),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(183, 138, 87, 0.08);
}

.tournament-logo-card img {
  height: 7rem;
  width: auto;
  max-width: 16rem;
  object-fit: contain;
  filter: grayscale(18%) contrast(1.04);
  opacity: 0.82;
  transition: filter 240ms ease, opacity 240ms ease;
}

.tournament-logo-card:hover img {
  filter: grayscale(0%) contrast(1.06);
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .slide-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .detail-grid,
  .profile-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .header-stack {
    align-items: stretch;
    padding: 1rem 0;
  }

  .brand-lockup {
    align-self: center;
  }

  .brand-logo {
    width: 3.8rem;
  }

  .brand-kicker {
    letter-spacing: 0.22em;
  }

  .brand-name {
    font-size: 2.35rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--mobile-menu-top, 7rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 1.2rem), 24rem);
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .slider-track {
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .slide-card {
    flex-basis: 100%;
  }

  .slide-card img {
    aspect-ratio: 4 / 5;
    height: clamp(26rem, 68vh, 32rem);
    max-height: 32rem;
    object-position: center 24%;
  }

  .profile-layout,
  .contact-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .about-preview .profile-layout {
    position: relative;
    gap: 0;
  }

  .about-preview .portrait-card {
    position: relative;
    min-height: 28rem;
  }

  .about-preview .portrait-card img {
    width: 100%;
    height: 28rem;
    border-radius: 26px;
    object-position: center 16%;
  }

  .about-preview .profile-card {
    position: relative;
    width: calc(100% - 1.4rem);
    margin: -8rem 0 0 auto;
    z-index: 1;
    background: linear-gradient(150deg, #ffe259 0%, #ffd831 14%, #fff4b8 55%, rgba(255, 249, 228, 0.85) 100%);
    backdrop-filter: blur(12px);
    box-shadow:
      0 24px 56px rgba(22, 18, 14, 0.18),
      0 4px 14px rgba(22, 18, 14, 0.1),
      inset 0 2px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(168, 128, 18, 0.16);
  }

  .portfolio-hero-card {
    min-height: 26rem;
  }

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

  .portfolio-hero-copy {
    padding: 2rem 1.4rem;
  }

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

  .portfolio-grid-item img {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    height: min(24rem, 62vh);
    object-fit: cover;
    object-position: center;
  }

  .portfolio-grid-item.is-landscape img {
    object-fit: contain;
  }

  .tournament-logos {
    gap: 1.25rem;
  }

  .tournament-logo-card {
    padding: 1.2rem 1.6rem;
    width: 100%;
    max-width: 20rem;
  }

  .tournament-logo-card img {
    height: 5.5rem;
  }

  .masonry-grid {
    column-count: 1;
  }

  .lightbox {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .lightbox-nav {
    display: none;
  }

  .footer-panel {
    padding: 1.1rem 0.9rem 0.95rem;
  }

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

  .footer-bottom-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}
