/* Original public design from c2ec447, with current interaction safeguards below. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&family=Merriweather:wght@400;700&family=Playfair+Display:wght@400;600;700&display=swap");

.brand-font {
  font-family: var(--logo-font-family), var(--site-font-family), serif;
}

.site-header-mark {
  transition:
    filter 300ms ease,
    transform 300ms ease;
}

.site-header-mark:hover {
  transform: translateY(-1px);
}

.hero-image {
  animation: heroSettle 1400ms cubic-bezier(0.19, 1, 0.22, 1) both;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-slide {
  opacity: 0;
  transition: opacity 1000ms ease;
}

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

.hero-dot {
  background: rgba(255, 255, 255, 0.22);
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.25);
}

.premium-card {
  backface-visibility: hidden;
  contain: layout paint;
  position: relative;
}

.content-section {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.portfolio-entry {
  contain: layout paint;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

.premium-card::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 138, 68, 0.34),
    transparent
  );
  bottom: 0;
  content: "";
  height: 1px;
  left: 16px;
  opacity: 0;
  position: absolute;
  right: 16px;
  transform: scaleX(0.4);
  transform-origin: center;
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.premium-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

#mobilePanel nav a {
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  position: relative;
  transform: translateX(0);
  transition:
    color 260ms ease,
    transform 260ms cubic-bezier(0.19, 1, 0.22, 1);
}

#mobilePanel nav a::before {
  background: #d7b46a;
  content: "";
  height: 1px;
  left: -28px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  transition:
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 18px;
}

#mobilePanel nav a:hover,
#mobilePanel nav a:focus-visible {
  color: #ffffff;
  transform: translateX(12px);
}

#mobilePanel nav a:hover::before,
#mobilePanel nav a:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.page-loader {
  align-items: center;
  background: #f6f3ea;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 1;
  position: fixed;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
  visibility: visible;
  z-index: 100;
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.page-loader__mark {
  animation: logoPulse 1200ms ease-in-out infinite;
  filter: drop-shadow(0 18px 32px rgba(23, 33, 43, 0.16));
  height: 92px;
  width: 92px;
}

@keyframes logoPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes heroSettle {
  from {
    opacity: 0.94;
    transform: scale(1.035);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 860ms ease,
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cookie-consent {
  bottom: 24px;
  left: 24px;
  max-width: min(512px, calc(100vw - 32px));
  position: fixed;
  z-index: 120;
}

.cookie-consent__panel,
.cookie-modal__panel {
  background: #ffffff;
  border: 1px solid rgba(23, 32, 51, 0.13);
  box-shadow: 0 22px 54px rgba(23, 32, 51, 0.22);
  color: #172033;
}

.cookie-consent__panel {
  padding: 26px;
}

.cookie-consent__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.cookie-consent__text {
  color: #303949;
  font-size: 16px;
  line-height: 1.55;
  margin-top: 10px;
}

.cookie-consent__text a {
  color: #172033;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(167, 122, 45, 0.45);
  text-underline-offset: 3px;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.cookie-consent__button {
  align-items: center;
  border: 1px solid #aeb5c1;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible,
.cookie-settings:hover,
.cookie-settings:focus-visible {
  transform: translateY(-1px);
}

.cookie-consent__button--ghost {
  background: #ffffff;
  color: #172033;
}

.cookie-consent__button--ghost:hover,
.cookie-consent__button--ghost:focus-visible {
  border-color: #172033;
}

.cookie-consent__button--primary {
  background: #172033;
  border-color: #172033;
  color: #ffffff;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: #a77a2d;
  border-color: #a77a2d;
}

.cookie-consent__actions .cookie-consent__button--primary {
  grid-column: 1 / -1;
}

.cookie-modal {
  inset: 0;
  position: fixed;
  z-index: 130;
}

.cookie-modal__backdrop {
  background: rgba(12, 18, 30, 0.5);
  inset: 0;
  position: absolute;
}

.cookie-modal__panel {
  left: 50%;
  max-height: calc(100vh - 40px);
  max-width: min(620px, calc(100vw - 32px));
  overflow: auto;
  padding: 28px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.cookie-modal__header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.cookie-consent__eyebrow {
  color: #a77a2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cookie-modal__title {
  font-family: var(--site-font-family), Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin-top: 6px;
}

.cookie-modal__close {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d5d9e0;
  color: #172033;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.cookie-modal__body {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cookie-option {
  align-items: center;
  border: 1px solid #d8dde5;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 16px;
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  color: #5d6778;
  line-height: 1.5;
  margin-top: 4px;
}

.cookie-option input {
  accent-color: #172033;
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}

.cookie-settings {
  align-items: center;
  background: #102d3a;
  border: 1px solid rgba(215, 180, 106, 0.55);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 14px 30px rgba(16, 45, 58, 0.32);
  color: #d7b46a;
  cursor: pointer;
  display: inline-flex;
  height: 64px;
  justify-content: center;
  left: 18px;
  padding: 0;
  position: fixed;
  width: 64px;
  z-index: 110;
}

.cookie-settings:hover,
.cookie-settings:focus-visible {
  background: #17212b;
  border-color: rgba(215, 180, 106, 0.8);
  color: #ffffff;
}

.cookie-settings:focus-visible {
  outline: 2px solid #d7b46a;
  outline-offset: 4px;
}

.cookie-settings__icon {
  display: block;
  flex: 0 0 32px;
  height: 32px;
  width: 32px;
}

.cookie-settings__label {
  display: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .cookie-consent {
    bottom: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }

  .cookie-consent__panel,
  .cookie-modal__panel {
    padding: 20px;
  }

  .cookie-consent__text {
    font-size: 14px;
  }

  .cookie-consent__actions,
  .cookie-modal__actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions .cookie-consent__button--primary {
    grid-column: auto;
  }

  .cookie-modal__title {
    font-size: 22px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    animation: none;
  }

  .page-loader__mark {
    animation: none;
  }
}

/* Shared accessible menu and slideshow behavior, while retaining the original layout. */
[hidden] { display: none !important; }
.reveal { opacity: 1; transform: none; }
#mobilePanel { overflow-y: auto; overscroll-behavior: contain; }
#mobilePanel[aria-hidden="true"] { visibility: hidden; box-shadow: none; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(10,24,32,.55); z-index: 60; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 150; padding: 12px 20px; background: #fffdf7; color: #17212b; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #947440; outline-offset: 4px; }
.hero-controls { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.hero-controls .hero-dot { display: grid; place-items: center; width: 36px; height: 44px; background: none; transform: none; border: 0; }
.hero-controls .hero-dot::before { content: ''; width: 10px; height: 10px; border: 1px solid white; border-radius: 50%; }
.hero-controls .hero-dot.is-active::before { background: white; }
.hero-pause { display: grid; place-items: center; min-width: 44px; min-height: 44px; margin-left: 12px; border-left: 1px solid rgba(255,255,255,.4); padding: 0 12px; color: white; }
@media (max-width: 639px) { #siteHeader .brand-font { font-size: 11px; letter-spacing: .12em; } }
