:root {
  --sand: #f2efe9;
  --cream: #fffefb;
  --taupe: #c4c0b7;
  --warm-gray: #7f807b;
  --cocoa: #39434a;
  --ink: #20252a;
  --stone: #f4f2ee;
  --site-font-body: Georgia, 'Times New Roman', serif;
  --site-font-display: Georgia, 'Times New Roman', serif;
  --site-font-nav: Georgia, 'Times New Roman', serif;
  --site-font-ui: 'Segoe UI', Arial, sans-serif;
  --site-font-script: 'Times New Roman', serif;
  --site-page-background: var(--stone);
  --site-text-color: var(--ink);
  --site-shell-gradient: linear-gradient(#d7d5cf, var(--stone));
  --site-nav-bg: rgba(29, 37, 44, 0.68);
  --site-nav-home-bg: rgba(29, 37, 44, 0.92);
  --site-nav-inner-bg: rgba(29, 37, 44, 0.92);
  --site-nav-border: rgba(255, 255, 255, 0.12);
  --site-nav-inner-border: rgba(230, 232, 235, 0.24);
  --site-nav-text: rgba(255, 255, 255, 0.96);
  --site-panel-bg: linear-gradient(180deg, rgba(33, 42, 48, 0.96), rgba(20, 28, 34, 0.94));
  --site-panel-bg-home: linear-gradient(180deg, rgba(33, 42, 48, 0.94), rgba(20, 28, 34, 0.9)), url('../img/header.jpg') center/cover no-repeat;
  --site-panel-title: #e9edf0;
  --site-panel-subtitle: rgba(255, 255, 255, 0.74);
  --site-panel-subtitle-inner: rgba(230, 232, 235, 0.82);
  --site-panel-backdrop: rgba(8, 12, 16, 0.54);
  --site-primary-button-bg: var(--cocoa);
  --site-primary-button-text: #fff;
  --site-primary-button-radius: 999px;
  --site-primary-button-shadow: none;
  --site-primary-button-hover-shadow: 0 18px 30px rgba(28, 18, 11, 0.18);
  --site-secondary-button-bg: #fff;
  --site-secondary-button-text: var(--cocoa);
  --site-secondary-button-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  --site-ghost-button-border: rgba(255, 255, 255, 0.8);
  --site-ghost-button-text: rgba(255, 255, 255, 0.95);
  --site-section-label-color: var(--warm-gray);
  --site-section-label-services: rgba(57, 67, 74, 0.66);
  --site-section-label-home-categories: rgba(57, 67, 74, 0.62);
  --site-highlight-bg: var(--sand);
  --site-highlight-radius: 50px;
  --site-highlight-image-radius: 32px;
  --site-highlight-fallback-bg: #dde3e5;
  --site-highlight-fallback-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(222, 230, 232, 0.94));
  --site-highlight-print-border: #fff;
  --site-creative-bg: var(--cream);
  --site-creative-shadow: 0 18px 36px rgba(10, 16, 22, 0.1);
  --site-creative-image-radius: 16px;
  --site-creative-image-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  --site-creative-print-border: #fff;
  --site-creative-print-shadow: 0 22px 34px rgba(20, 18, 16, 0.16);
  --site-home-categories-bg: #edf0f1;
  --site-home-category-surface: rgba(255, 255, 255, 0.88);
  --site-home-category-shadow: 0 14px 24px rgba(20, 26, 32, 0.08);
  --site-home-category-hover-shadow: 0 22px 36px rgba(20, 26, 32, 0.14);
  --site-home-category-overlay: linear-gradient(180deg, rgba(20, 26, 32, 0.04), rgba(20, 26, 32, 0.12));
  --site-home-category-portrait-radius: 12px;
  --site-home-category-arch-radius: 28px 28px 0 0;
  --site-home-category-chip-bg: #dfe5e7;
  --site-services-bg: #eef0f2;
  --site-services-card-gap: clamp(24px, 3vw, 40px);
  --site-services-card-bg: #ffffff;
  --site-services-card-border: rgba(38, 46, 52, 0.08);
  --site-services-card-radius: 18px;
  --site-services-card-shadow: 0 12px 24px rgba(20, 26, 32, 0.08);
  --site-services-card-shadow-hover: 0 20px 32px rgba(20, 26, 32, 0.12);
  --site-services-card-image-overlay: linear-gradient(180deg, rgba(30, 38, 44, 0.04), rgba(30, 38, 44, 0.14));
  --site-services-title-color: #263038;
  --site-services-copy-color: rgba(38, 48, 56, 0.74);
  --site-home-category-gap: clamp(24px, 3.1vw, 42px);
  --site-final-cta-bg: linear-gradient(180deg, rgba(36, 44, 50, 0.9), rgba(24, 31, 36, 0.92)), url('../img/work2.png') center/cover;
  --site-final-cta-radius: 28px;
  --site-final-cta-button-bg: var(--cream);
  --site-final-cta-button-text: var(--cocoa);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--site-font-body);
  background: var(--site-page-background);
  color: var(--site-text-color);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.main-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 80;
  text-transform: uppercase;
  background: var(--site-nav-bg);
  backdrop-filter: blur(6px) saturate(120%);
  border-bottom: 1px solid var(--site-nav-border);
}

.site-nav--home {
  background: var(--site-nav-home-bg);
}

.site-nav--inner {
  background: var(--site-nav-inner-bg);
  border-bottom-color: var(--site-nav-inner-border);
}

.site-nav__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--site-nav-text);
  justify-content: space-between;
}

.site-nav__inner--mobile {
  display: none;
}

.site-nav__links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-family: var(--site-font-nav);
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.32em;
  min-width: 0;
}

.nav-brand__name {
  display: block;
  white-space: nowrap;
  letter-spacing: 0.32em;
  line-height: 1.1;
  font-size: clamp(0.68rem, 1.35vw, 0.98rem);
  font-family: var(--site-font-nav);
  font-weight: 500;
}

.nav-brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-brand__logo--panel {
  width: 34px;
  height: 34px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navInqireButton{
  border: 2px var(--cream) solid;
  border-radius: 5px;
  padding: 6px 18px;
  font-family: 'Old Standard TT', serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  font-weight: 500;
  cursor: pointer;
  background: #00000000;
  color: var(--cream);
  text-transform: uppercase;
}
.navInqireButton:hover{
  background: var(--cream);
  color: var(--cocoa);
  transition: all 0.3s ease;
}

.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav__toggle-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.site-nav__toggle-icon::before {
  top: -6px;
}

.site-nav__toggle-icon::after {
  top: 6px;
}

.site-nav--open .site-nav__toggle-icon {
  transform: rotate(45deg);
}

.site-nav--open .site-nav__toggle-icon::before,
.site-nav--open .site-nav__toggle-icon::after {
  top: 0;
  transform: rotate(90deg);
}

.site-nav__mobile-panel {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 92px 28px 36px;
  background: var(--site-panel-bg-home);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 90;
  overflow-y: auto;
}

.site-nav--inner .site-nav__mobile-panel {
  background: var(--site-panel-bg);
}

.site-nav__panel-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-nav__panel-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.48em;
  color: var(--site-panel-title);
}

.site-nav__panel-title .nav-brand__name {
  letter-spacing: 0.32em;
}

.site-nav__panel-subtitle {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  color: var(--site-panel-subtitle);
}

.site-nav--inner .site-nav__panel-subtitle {
  color: var(--site-panel-subtitle-inner);
}

.site-nav__mobile-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-nav__mobile-panel li a {
  display: block;
  padding: 12px 4px;
  text-align: center;
  font-size: 1.45rem;
  letter-spacing: 0.28em;
  color: #fff;
  font-family: var(--site-font-nav);
  font-weight: 500;
}

.site-nav__mobile-panel .nav-cta {
  justify-content: center;
  margin-top: 12px;
}

.site-nav__backdrop {
  position: fixed;
  inset: 0;
  background: var(--site-panel-backdrop);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 85;
}

.site-nav--open .site-nav__mobile-panel {
  position: relative;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav--open .site-nav__backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.page-intro {
  padding: clamp(34px, 5vw, 56px) 0 clamp(20px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(36, 22, 14, 0.08), rgba(255, 253, 247, 0));
}

.page-intro__inner {
  text-align: center;
  max-width: 760px;
}

.page-intro__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(74, 54, 45, 0.75);
}

.page-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--cocoa);
}

.page-intro p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(39, 34, 28, 0.82);
}

.hero {
  height: auto;
  min-height: clamp(620px, 88svh, 900px);
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(30, 17, 10, 0.65), rgba(21, 10, 4, 0.8)),
    url('../img/header.jpg') center/cover fixed;
  color: #fff;
  overflow: hidden;
  background-attachment: fixed !important;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
}

.hero--home::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.38));
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.9;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(70px, 10vw, 110px) clamp(18px, 3vw, 48px) clamp(36px, 6vw, 60px);
  align-items: center;
  justify-items: center;
}

.hero__text {
  text-align: center;
  max-width: 520px;
}

.hero__text--home {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__text--home h1 {
  display: inline-block;
  width: min(100%, 16ch);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  transition: opacity 0.6s ease;
}

@media (max-width: 900px) {
.hero__content {
  flex-direction: column;
  text-align: center;
}
}

.section {
  position: relative;
  overflow: hidden;
}

.animate-on-load {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 0.9s ease forwards;
}

.animate-on-load:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-delay-300 {
  animation-delay: 0.3s;
}

.section-label,
.hero__intro {
  letter-spacing: 0.45em;
}

.main-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.hero__content {
  padding: clamp(50px, 5vw, 90px);
}

.hero__text h1 {
  font-size: clamp(3rem, 4vw, 4.5rem);
}

.hero__text p {
  font-size: 1.05rem;
}

.highlight__grid {
  align-items: start;
}

.highlight__image,
.highlight__text {
  animation: fadeInUp 0.8s ease forwards;
}

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

.hero__intro {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__text h1 {
  font-family: 'Old Standard TT', serif;
  font-size: clamp(1.7rem, 6vw, 4.6rem);
  margin: 0 0 16px;
  line-height: 1.1;
  white-space: normal;
  letter-spacing: clamp(0.08em, 0.55vw, 0.18em);
  font-weight: 500;
}

.hero__text p {
  max-width: 470px;
}

.hero__brandmark {
  width: min(360px, 82vw);
  margin: 0 auto 18px;
}

.hero__brandmark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35));
}

.script-accent {
  font-family: var(--site-font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 26px 0 0;
  letter-spacing: 0.15em;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  gap: 18px;
}

.hero__actions button {
  border: none;
  border-radius: var(--site-primary-button-radius);
  padding: 12px 36px;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--site-secondary-button-bg);
  color: var(--site-secondary-button-text);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__actions .ghost {
  background: transparent;
  border: 1px solid var(--site-ghost-button-border);
  color: var(--site-ghost-button-text);
}

.hero__actions button:hover {
  transform: translateY(-3px);
  box-shadow: var(--site-secondary-button-shadow);
}

.hero__frames {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.polaroid {
  width: clamp(150px, 18vw, 240px);
  max-width: 190px;
  border-radius: var(--site-highlight-image-radius);
  border: 10px solid var(--cream);
  background: #fff;
  box-shadow: var(--site-secondary-button-shadow);
  overflow: hidden;
}

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

.polaroid--one {
  transform: rotate(-5deg);
}

.polaroid--two {
  transform: rotate(4deg);
}

.section {
  padding: clamp(50px, 6vw, 90px) 0;
  background-image: var(--site-shell-gradient);
}

.highlight {
  background: var(--site-highlight-bg);
  border-top-left-radius: var(--site-highlight-radius);
  border-top-right-radius: var(--site-highlight-radius);
  margin-top: 0;
}

.home-collage {
  background: var(--site-page-background);
  padding-top: 40px;
  padding-bottom: 28px;
}

.home-collage .main-layout {
  width: min(1180px, 100%);
}

.home-collage__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.74fr 0.92fr;
  grid-template-areas:
    "wide tall arch"
    "portrait tall arch"
    "portrait landscape square";
  gap: 34px 30px;
  align-items: start;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto;
  overflow: visible;
}

.home-collage__item {
  margin: 0;
  overflow: hidden;
  background: rgba(35, 29, 26, 0.04);
  box-shadow: 0 18px 34px rgba(18, 14, 12, 0.08);
  position: relative;
}

.home-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-collage__placeholder {
  display: grid;
  align-content: center;
  justify-items: start;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 233, 223, 0.92)),
    repeating-linear-gradient(-45deg, rgba(179, 141, 97, 0.08) 0, rgba(179, 141, 97, 0.08) 12px, rgba(255, 255, 255, 0) 12px, rgba(255, 255, 255, 0) 24px);
  color: rgba(35, 29, 26, 0.82);
  border: 1px solid rgba(179, 141, 97, 0.22);
}

.home-collage__placeholder-label {
  font-family: var(--site-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.56rem;
}

.home-collage__placeholder strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.home-collage__item--wide {
  grid-area: wide;
  width: min(100%, 530px);
  aspect-ratio: 1.52 / 1;
  justify-self: start;
  transform: translate(0, 0) rotate(0deg);
  z-index: 1;
}

.home-collage__item--tall {
  grid-area: tall;
  width: min(100%, 238px);
  aspect-ratio: 0.78 / 1.35;
  align-self: center;
  margin-top: 74px;
  margin-left: -124px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 3;
}

.home-collage__item--arch {
  grid-area: arch;
  width: min(100%, 238px);
  aspect-ratio: 0.78 / 1.28;
  justify-self: end;
  margin-top: 14px;
  margin-left: -54px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 2;
}

.home-collage__item--portrait {
  grid-area: portrait;
  width: min(100%, 246px);
  aspect-ratio: 0.82 / 1.2;
  margin-top: -96px;
  margin-left: 156px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 4;
}

.home-collage__item--landscape {
  grid-area: landscape;
  width: min(100%, 244px);
  aspect-ratio: 0.9 / 1.16;
  margin-top: -74px;
  margin-left: -86px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 3;
}

.home-collage__item--square {
  grid-area: square;
  width: min(100%, 214px);
  aspect-ratio: 0.92 / 1.1;
  align-self: start;
  margin-top: -168px;
  margin-left: -82px;
  justify-self: start;
  transform: translate(0, 0) rotate(0deg);
  z-index: 4;
}

.home-collage--editorial-5 .home-collage__grid,
.home-collage--scattered-5 .home-collage__grid {
  grid-template-columns: 1.55fr 0.78fr 0.92fr;
  grid-template-areas:
    "wide tall_center tall_right"
    "portrait_left tall_center tall_right"
    "portrait_left . square_right";
}

.home-collage__item--tall_center {
  grid-area: tall_center;
  width: min(100%, 238px);
  aspect-ratio: 0.78 / 1.35;
  align-self: center;
  margin-top: 74px;
  margin-left: -124px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 3;
}

.home-collage__item--tall_right {
  grid-area: tall_right;
  width: min(100%, 238px);
  aspect-ratio: 0.78 / 1.28;
  justify-self: end;
  margin-top: 14px;
  margin-left: -54px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 2;
}

.home-collage__item--portrait_left {
  grid-area: portrait_left;
  width: min(100%, 246px);
  aspect-ratio: 0.82 / 1.2;
  margin-top: -96px;
  margin-left: 156px;
  transform: translate(0, 0) rotate(0deg);
  z-index: 4;
}

.home-collage__item--square_right {
  grid-area: square_right;
  width: min(100%, 214px);
  aspect-ratio: 0.92 / 1.1;
  align-self: start;
  margin-top: -168px;
  margin-left: -82px;
  justify-self: start;
  transform: translate(0, 0) rotate(0deg);
  z-index: 4;
}

.home-collage--mosaic-10 .home-collage__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "mosaic_a mosaic_a mosaic_b mosaic_c"
    "mosaic_d mosaic_e mosaic_b mosaic_f"
    "mosaic_d mosaic_g mosaic_h mosaic_f"
    "mosaic_i mosaic_g mosaic_j mosaic_j";
  gap: 18px;
  max-width: 1080px;
}

.home-collage--mosaic-10 .home-collage__item {
  width: 100%;
  margin: 0;
  justify-self: stretch;
}

.home-collage__item--mosaic_a { grid-area: mosaic_a; aspect-ratio: 1.6 / 1; }
.home-collage__item--mosaic_b { grid-area: mosaic_b; aspect-ratio: 0.78 / 1.5; }
.home-collage__item--mosaic_c { grid-area: mosaic_c; aspect-ratio: 1 / 1; }
.home-collage__item--mosaic_d { grid-area: mosaic_d; aspect-ratio: 0.88 / 1.32; }
.home-collage__item--mosaic_e { grid-area: mosaic_e; aspect-ratio: 1 / 1; }
.home-collage__item--mosaic_f { grid-area: mosaic_f; aspect-ratio: 0.9 / 1.18; }
.home-collage__item--mosaic_g { grid-area: mosaic_g; aspect-ratio: 1 / 1.12; }
.home-collage__item--mosaic_h { grid-area: mosaic_h; aspect-ratio: 1 / 1; }
.home-collage__item--mosaic_i { grid-area: mosaic_i; aspect-ratio: 1 / 1; }
.home-collage__item--mosaic_j { grid-area: mosaic_j; aspect-ratio: 1.55 / 1; }

.highlight__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.highlight__text h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.highlight__text button {
  border: none;
  border-radius: var(--site-primary-button-radius);
  padding: 12px 34px;
  background: var(--site-primary-button-bg);
  color: var(--site-primary-button-text);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
}

.highlight__image img {
  border-radius: var(--site-highlight-image-radius);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.about-page .highlight__image--print {
  border-radius: 3px;
}

.about-page .highlight__image--print img {
  border-radius: 3px;
  border: 12px solid var(--site-highlight-print-border);
  border-bottom-width: 30px;
  background: var(--site-highlight-print-border);
  box-shadow: var(--site-creative-print-shadow);
}

.highlight__image--fallback {
  position: relative;
  border-radius: var(--site-highlight-image-radius);
  overflow: hidden;
  background: var(--site-highlight-fallback-bg);
  isolation: isolate;
  width: 100%;
  aspect-ratio: 631 / 702;
  min-height: clamp(320px, 48vw, 620px);
}

.highlight__image--fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.highlight__image--fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--site-highlight-fallback-overlay);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: inherit;
}

.highlight__fallback-logo {
  position: absolute;
  inset: -12%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(92%, 560px);
  filter: grayscale(100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.highlight__missing-note {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--cocoa);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.highlight__image--fallback.is-missing::before,
.highlight__image--fallback.is-missing .highlight__fallback-logo,
.highlight__image--fallback.is-missing .highlight__missing-note {
  opacity: 1;
}

.highlight__image--fallback.is-missing .highlight__fallback-logo {
  opacity: 0.24;
}

.image-fallback-container {
  position: relative;
  isolation: isolate;
}

.image-fallback-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(228, 220, 208, 0.92));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.image-fallback-logo {
  position: absolute;
  inset: -12%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(92%, 560px);
  filter: grayscale(100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.image-fallback-note {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--cocoa);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.image-fallback-container.is-missing::before,
.image-fallback-container.is-missing .image-fallback-logo,
.image-fallback-container.is-missing .image-fallback-note {
  opacity: 1;
}

.image-fallback-container.is-missing .image-fallback-logo {
  opacity: 0.24;
}

.inquiry-section {
  background: #f7f1e9;
}

.inquiry-form-card {
  background: #fff;
  border-radius: 36px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(15, 7, 3, 0.08);
}

.inquiry-form-card h2 {
  margin-top: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.inquiry-form-card p {
  color: rgba(15, 7, 3, 0.55);
  margin-bottom: 24px;
}

.thanks-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, #f5eee4 0%, #efe5d8 100%);
  padding: clamp(54px, 9vw, 110px) 0;
}

.thanks-page::before,
.thanks-page::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.5;
}

.thanks-page::before {
  width: clamp(220px, 30vw, 360px);
  height: clamp(220px, 30vw, 360px);
  top: clamp(-80px, -6vw, -24px);
  right: clamp(-90px, -5vw, -30px);
  background: radial-gradient(circle, rgba(126, 83, 53, 0.14), transparent 68%);
}

.thanks-page::after {
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  bottom: clamp(-90px, -7vw, -26px);
  left: clamp(-60px, -3vw, -16px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 72%);
}

.thanks-page__shell {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.thanks-page__card {
  position: relative;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(73, 44, 24, 0.12);
  border-radius: 38px;
  padding: clamp(32px, 5vw, 60px);
  box-shadow: 0 28px 70px rgba(44, 25, 14, 0.1);
  backdrop-filter: blur(6px);
}

.thanks-page__brand {
  margin-bottom: 22px;
}

.thanks-page__brand img {
  display: block;
  width: auto;
  max-width: min(240px, 42vw);
  max-height: 64px;
  object-fit: contain;
}

.thanks-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(60, 95, 71, 0.08);
  border: 1px solid rgba(60, 95, 71, 0.18);
  color: #37523f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thanks-page__badge::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #5a7a63;
  box-shadow: 0 0 0 5px rgba(90, 122, 99, 0.14);
}

.thanks-page .section-label {
  margin-bottom: 14px;
}

.thanks-page h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #2b1d15;
}

.thanks-page__lead {
  max-width: 56ch;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.9;
  color: rgba(43, 29, 21, 0.72);
}

.thanks-page__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.thanks-page__detail {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(73, 44, 24, 0.08);
}

.thanks-page__detail strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d6d58;
}

.thanks-page__detail p {
  margin: 0;
  color: rgba(43, 29, 21, 0.72);
  line-height: 1.75;
}

.thanks-page__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.thanks-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: #2f2118;
  border: 1px solid #2f2118;
  color: #fff8f1;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  box-shadow: 0 16px 30px rgba(47, 33, 24, 0.18);
}

.thanks-page__button:hover {
  transform: translateY(-2px);
  background: #422d20;
  box-shadow: 0 18px 34px rgba(47, 33, 24, 0.22);
}

.thanks-page__link {
  color: #6e523f;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.thanks-page__link:hover {
  color: #2f2118;
}

.services-list {
  padding-bottom: clamp(50px, 7vw, 86px);
  background: var(--site-services-bg);
  padding-top: clamp(54px, 8vw, 94px);
}

.services-list .section-label {
  letter-spacing: 0.52em;
  font-size: 0.68rem;
  color: var(--site-section-label-services);
}

.services-list h2 {
  margin: 0;
  font-size: clamp(2.15rem, 3.5vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--site-services-title-color);
}

.services-list .section-subtitle {
  margin: 14px 0 0;
  max-width: 64ch;
  color: var(--site-services-copy-color);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--site-services-card-gap);
  margin-top: clamp(34px, 5vw, 52px);
  margin-left: auto;
  margin-right: auto;
  max-width: min(1240px, 100%);
}

.service-card {
  background: var(--site-services-card-bg);
  border-radius: var(--site-services-card-radius);
  overflow: hidden;
  border: 1px solid var(--site-services-card-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--site-services-card-shadow);
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.service-card--reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 360ms ease, transform 360ms ease, border-color 320ms ease, box-shadow 320ms ease;
  transition-delay: calc(var(--service-stagger, 0) * 90ms);
}

.service-card--reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.service-card__image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--site-services-card-image-overlay);
  opacity: 0.1;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 320ms ease;
}

.service-card__body {
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.service-card__body h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-services-title-color);
  font-weight: 500;
}

.service-card__body p {
  margin: 0;
  color: var(--site-services-copy-color);
  line-height: 1.75;
  flex-grow: 1;
}

.service-card__positioning {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(47, 36, 28, 0.78);
}

.service-card__trust {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(47, 36, 28, 0.52);
}

.service-card__actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
}

.service-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-card__price-label {
  letter-spacing: 0.42em;
  font-size: 0.56rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(47, 36, 28, 0.46);
}

.service-card__price strong {
  font-size: clamp(1.2rem, 1.9vw, 1.48rem);
  letter-spacing: 0.06em;
  font-weight: 500;
  color: rgba(39, 30, 23, 0.94);
}

.service-card__cta {
  padding: 11px 16px;
  border-radius: 0;
  border: 1px solid rgba(63, 48, 38, 0.28);
  background: rgba(249, 242, 233, 0.9);
  color: #2f241c;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 280ms ease, color 280ms ease, border-color 280ms ease, background-color 280ms ease, box-shadow 280ms ease;
}

.service-card__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 36, 28, 0.55);
  color: #1f1711;
  background: #fdf7f0;
  box-shadow: 0 10px 20px rgba(39, 27, 20, 0.08);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--site-services-card-border);
  box-shadow: var(--site-services-card-shadow-hover);
}

.service-card:hover .service-card__image img {
  transform: scale(1.03);
}

.service-card:hover .service-card__image::after {
  opacity: 0.36;
}

.services-list__reassurance {
  margin-top: clamp(24px, 3vw, 34px);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(47, 36, 28, 0.58);
}

.inquiry-section {
  padding-top: clamp(32px, 5vw, 60px);
  background: transparent;
}

.inquiry-card {
  background: #fff;
  border-radius: 38px;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.inquiry-card::before {
  content: '';
  position: absolute;
  inset: -12%;
  background-image: var(--inquiry-logo);
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(110%, 680px);
  filter: grayscale(100%);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.inquiry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78));
  pointer-events: none;
  z-index: 0;
}

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

.inquiry-card--pop {
  animation: inquiryCardPop 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes inquiryCardPop {
  0% {
    transform: scale(0.975);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
  }
  55% {
    transform: scale(1.015);
    box-shadow: 0 30px 52px rgba(0, 0, 0, 0.13);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.08);
  }
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(15, 7, 3, 0.7);
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  border-radius: 999px;
  border: 1px solid rgba(15, 7, 3, 0.2);
  background: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.inquiry-form input.field-selected-pulse,
.inquiry-form select.field-selected-pulse {
  border-color: rgba(74, 54, 45, 0.65);
  background-color: rgba(244, 237, 227, 0.7);
  box-shadow: 0 0 0 3px rgba(74, 54, 45, 0.2);
}

.form-full textarea {
  min-height: 120px;
  border-radius: 14px;
}

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

.inquiry-form .button.primary {
  border-radius: 999px;
  padding: 12px 32px;
  letter-spacing: 0.4em;
}

.inquiry-form .button.ghost {
  border-radius: 999px;
}

@media (max-width: 720px) {
  .service-card__image {
    height: 210px;
  }

  .service-card__body {
    padding: 22px 18px 20px;
    gap: 10px;
  }

  .service-card__body h3 {
    font-size: 1.45rem;
  }

  .service-card__body p {
    flex-grow: 0;
  }

  .service-card__body > p:first-of-type {
    flex-grow: 1;
  }

  .service-card__actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .service-card__price {
    width: 100%;
  }

  .service-card__cta {
    width: 100%;
    text-align: center;
    letter-spacing: 0.14em;
  }

  .inquiry-card {
    border-radius: 24px;
    padding: 16px;
  }

  .inquiry-form {
    gap: 10px;
  }

  .inquiry-form label {
    gap: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
  }

  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    padding: 8px 12px;
    font-size: 0.92rem;
  }

  .form-full textarea {
    min-height: 92px;
  }

  .form-actions {
    gap: 8px;
  }

  .inquiry-form .button.primary {
    padding: 10px 18px;
    letter-spacing: 0.24em;
  }

  .inquiry-form .button.ghost {
    letter-spacing: 0.16em;
  }

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

.gallery__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.gallery-carousel {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  position: relative;
}

.section.gallery {
  position: relative;
  z-index: 0;
}

.gallery-carousel--fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.gallery-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 6px 0 16px;
  width: 100%;
}

.gallery-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.gallery-carousel__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.gallery-carousel__track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.gallery-carousel .gallery-card {
  flex: 0 0 min(260px, 70vw);
  max-width: none;
  margin: 0;
}

.gallery-carousel .gallery-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-carousel__control {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(74, 54, 45, 0.28);
  background: rgba(255, 253, 247, 0.92);
  color: rgba(52, 39, 31, 0.92);
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  position: absolute;
  top: 50%;
  z-index: 8;
}

.gallery-carousel__control--prev {
  left: clamp(6px, 1.2vw, 16px);
  transform: translateY(-50%);
}

.gallery-carousel__control--next {
  right: clamp(6px, 1.2vw, 16px);
  transform: translateY(-50%);
}

.gallery-carousel__control:hover {
  transform: translateY(calc(-50% - 1px));
  border-color: rgba(74, 54, 45, 0.52);
  background: #fff;
}

.gallery-carousel.is-paused .gallery-carousel__control {
  border-color: rgba(74, 54, 45, 0.52);
}

/* Gallery page helpers */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-grid .gallery-card {
  max-width: none;
}

.gallery-page-title {
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}

.gallery-page-subtitle {
  margin: 0;
  max-width: 70ch;
  color: rgba(39, 34, 28, 0.75);
}

.gallery-page-cta {
  margin-top: 28px;
  text-align: center;
}

.gallery-page-cta button {
  border: 1px solid rgba(39, 34, 28, 0.45);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.85);
  color: var(--cocoa);
  padding: 12px 32px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gallery-page-cta button:hover {
  transform: translateY(-2px);
  background: var(--cocoa);
  color: var(--cream);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-page-cta button:focus-visible {
  outline: 2px solid rgba(74, 54, 45, 0.55);
  outline-offset: 3px;
}

.portfolio-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.portfolio-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #f7f2ec;
}

.portfolio-grid__item img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-grid__item .portfolio-grid__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #fff;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.portfolio-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.18) 62%,
    rgba(0, 0, 0, 0.58) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.deferred-img {
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.55s ease, transform 0.55s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(20, 20, 20, 0.05));
  position: relative;
  z-index: 3;
  will-change: opacity, transform;
}

.deferred-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.deferred-img.is-preview {
  opacity: 0.68;
}

.lazy-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.lazy-image__placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.08);
  opacity: 1;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.lazy-image__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: lazySpin 0.8s linear infinite;
  z-index: 2;
}

.lazy-image.is-loaded .lazy-image__placeholder,
.lazy-image.is-loaded .lazy-image__loader {
  opacity: 0;
  pointer-events: none;
}

@keyframes lazySpin {
  to {
    transform: rotate(360deg);
  }
}

.portfolio-grid__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.content-progress {
  position: fixed;
  inset: 0;
  background: rgba(15, 7, 3, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.content-progress.active {
  display: flex;
}

.content-progress__box {
  background: #fff;
  padding: 24px 32px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  width: 90%;
}

.content-progress__bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  margin: 16px 0;
  overflow: hidden;
}

.content-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #5c3a26 0%, #d2b89f 100%);
  transition: width 0.3s ease;
}
.portfolio-grid__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 820px) {
  .portfolio-tiles {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background: #fff;
  border-radius: 32px;
  border-top-left-radius: 190px;
  border-top-right-radius: 190px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  max-width: 260px;
  margin: 0 auto;
  position: relative;
  z-index: 6;
}

.gallery-card__image {
  position: relative;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  overflow: hidden;
  height: 330px;
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card__footer {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 6;
  background: #fff;
}

.gallery-card__footer h4 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.gallery-card__footer p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 0.95rem;
}

.creative-card {
  background: var(--site-creative-bg);
  box-shadow: var(--site-creative-shadow);
  display: flex;
  max-height: 440px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 50px);
  position: relative;
  z-index: 0;
  overflow: visible;
  gap: clamp(40px, 5vw, 60px);
}

.creative-card h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.creative-card p {
  max-width: 720px;
  margin: 0;
  color: var(--cocoa);
}
.creativeImage{
  height: 400px;
  width: auto;
  margin-right: 160px;
  position: relative;
  top: -100px;
  left: 80px;
  border-radius: var(--site-creative-image-radius);
  transform: rotate(-9deg);
  box-shadow: var(--site-creative-image-shadow);
  z-index: 21;
}
#creativeImage2{
  height: 360px;
  width: auto;
  position: relative;
  top: -140px;
  right: 80px;
  border-radius: var(--site-creative-image-radius);
  transform: rotate(9deg);
  box-shadow: var(--site-creative-image-shadow);
  z-index: 0;
}

.creative-card--prints .creativeImage,
.creative-card--prints #creativeImage2 {
  border: 12px solid var(--site-creative-print-border);
  border-bottom-width: 34px;
  border-radius: 3px;
  background: var(--site-creative-print-border);
  box-shadow: var(--site-creative-print-shadow);
}

.highlight--flat {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid rgba(74, 54, 45, 0.14);
}

.home-categories {
  background: var(--site-home-categories-bg);
  padding-top: clamp(68px, 10vw, 108px);
  padding-bottom: clamp(70px, 10vw, 120px);
}

.home-categories__header {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.home-categories .section-label {
  margin-bottom: 14px;
  letter-spacing: 0.46em;
  color: var(--site-section-label-home-categories);
}

.home-categories h3 {
  margin: 0;
  font-size: clamp(2.15rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #2d241d;
}

.home-categories__lead {
  margin: 16px 0 0;
  max-width: 62ch;
  color: rgba(45, 36, 29, 0.74);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.home-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--site-home-category-gap);
  align-items: start;
}

.home-category-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 320ms ease, transform 320ms ease;
  transition-delay: calc(var(--card-stagger, 0) * 90ms);
}

.home-category-card.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.home-category-card__media {
  display: block;
  overflow: hidden;
  background: var(--site-home-category-surface);
  box-shadow: var(--site-home-category-shadow);
  position: relative;
  cursor: pointer;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.home-category-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--site-home-category-overlay);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.home-category-card__media:hover {
  transform: translateY(-4px);
  box-shadow: var(--site-home-category-hover-shadow);
}

.home-category-card__media:hover::after {
  opacity: 1;
}

.home-category-card--portrait .home-category-card__media {
  border-radius: var(--site-home-category-portrait-radius);
}

.home-category-card--arch .home-category-card__media {
  border-radius: var(--site-home-category-arch-radius);
}

.home-category-card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.03) brightness(0.99);
  transform: scale(1);
  transition: transform 320ms ease, filter 320ms ease;
}

.home-category-card__media:hover img {
  transform: scale(1.03);
  filter: contrast(1.1) saturate(1.05) brightness(1);
}

.home-category-tag {
  position: absolute;
  color: rgba(36, 27, 21, 0.92);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.5rem;
  line-height: 1;
  padding: 6px 2px;
  z-index: 2;
  font-weight: 500;
  background: rgba(247, 240, 232, 0.78);
  backdrop-filter: blur(1px);
}

.home-category-tag--side {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-left: 1px solid rgba(74, 54, 45, 0.28);
  border-right: 1px solid rgba(74, 54, 45, 0.1);
  top: 10px;
  right: 10px;
}

.home-category-tag--chip {
  writing-mode: horizontal-tb;
  border-bottom: 1px solid rgba(74, 54, 45, 0.3);
  padding: 7px 8px 5px;
}

.home-category-card:nth-child(1) .home-category-tag--chip {
  bottom: 12px;
  left: 14px;
}

.home-category-card:nth-child(2) .home-category-tag--chip {
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.home-category-card:nth-child(3) .home-category-tag--chip {
  bottom: 16px;
  right: 14px;
}

.home-category-card:nth-child(1) {
  margin-top: 14px;
}

.home-category-card:nth-child(2) {
  margin-top: 0;
}

.home-category-card:nth-child(3) {
  margin-top: 22px;
}

.home-categories__footer {
  margin-top: clamp(30px, 4vw, 44px);
}

.home-categories__portfolio-link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: rgba(45, 36, 29, 0.86);
  border-bottom: 1px solid rgba(45, 36, 29, 0.3);
  padding-bottom: 4px;
  transition: color 280ms ease, border-color 280ms ease;
}

.home-categories__portfolio-link:hover {
  color: #1f1711;
  border-color: rgba(31, 23, 17, 0.65);
}

/* Home gallery section visual refresh (editorial cards) */
.home-categories--editorial {
  background: #efeadf;
}

.home-categories--editorial .home-categories__header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-categories--editorial .home-categories__lead {
  margin-left: auto;
  margin-right: auto;
}

.home-categories--editorial .home-categories__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(24px, 2.8vw, 42px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.home-categories--editorial .home-category-card,
.home-categories--editorial .home-category-card:nth-child(1),
.home-categories--editorial .home-category-card:nth-child(2),
.home-categories--editorial .home-category-card:nth-child(3) {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.home-categories--editorial .home-category-card__media,
.home-categories--editorial .home-category-card--portrait .home-category-card__media,
.home-categories--editorial .home-category-card--arch .home-category-card__media {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(80, 64, 51, 0.12);
  background: #f7f1e6;
  overflow: visible;
}

.home-categories--editorial .home-category-card__media::after {
  background: linear-gradient(180deg, rgba(33, 24, 18, 0.04), rgba(33, 24, 18, 0.1));
  opacity: 1;
}

.home-categories--editorial .home-category-card__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 420px;
}

.home-categories--editorial .home-category-tag--side {
  top: -18px;
  right: 10px;
  border: 0;
  background: #dbcfba;
  color: #2c241e;
  padding: 10px 7px;
  letter-spacing: 0.3em;
  font-size: 0.62rem;
  font-weight: 600;
  z-index: 5;
}

@media (max-width: 900px) {
  .creative-card {
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 5vw, 36px);
    gap: 24px;
  }
  .creativeImage,
  #creativeImage2 {
    height: 220px;
    width: 90%;
    margin: 20px 0;
    margin-left: 0;
    border-radius: 18px;
  }
  .creativeImage {
    transform: rotate(-6deg);
    margin-left: -10px;
  }
  #creativeImage2 {
    transform: rotate(4deg);
    margin-left: 40px;
  }
  .creativeImage:nth-child(1) {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }
  #creativeImage2 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }

  .creative-card--prints .creativeImage,
  .creative-card--prints #creativeImage2 {
    width: min(88%, 360px);
    margin-left: auto;
    margin-right: auto;
    border-width: 10px;
    border-bottom-width: 24px;
  }

  .highlight--flat {
    border-top-width: 1px;
  }

  .home-categories__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-category-card__media {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .home-category-card:nth-child(1),
  .home-category-card:nth-child(2),
  .home-category-card:nth-child(3) {
    margin-top: 0;
  }

  .home-category-tag {
    font-size: 0.48rem;
    padding: 6px 7px;
  }
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.6em;
  font-size: 0.75rem;
  color: var(--site-section-label-color);
  margin-bottom: 16px;
}

.section h3,
.section h2 {
  margin: 0 0 16px;
  font-family: var(--site-font-display);
  letter-spacing: clamp(0.06em, 0.4vw, 0.12em);
  font-weight: 500;
}

.page-intro h1,
.inquiry-form-card h2,
.services-list h2,
.service-card__body h3,
.creative-card h3,
.home-categories h3 {
  font-family: var(--site-font-display);
  letter-spacing: clamp(0.05em, 0.35vw, 0.12em);
  font-weight: 500;
}

.final-cta {
  margin: clamp(60px, 8vw, 100px) auto;
  max-width: 820px;
  background: var(--site-final-cta-bg);
  border-radius: var(--site-final-cta-radius);
  padding: clamp(50px, 7vw, 70px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, 0.3);
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta button {
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  background: var(--site-final-cta-button-bg);
  color: var(--site-final-cta-button-text);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  cursor: pointer;
}

.button,
.hero__actions button,
.highlight__text button,
.final-cta button {
  font-family: var(--site-font-ui);
  letter-spacing: 0.14em;
  font-weight: 500;
}

.admin-shell {
  background: linear-gradient(180deg, #f2ede6 0%, #ede3d7 40%, #f7f1e9 100%);
  min-height: 100vh;
  padding: clamp(24px, 4vw, 40px) 0 60px;
}

.admin-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.admin-panel .section {
  margin-bottom: clamp(30px, 4vw, 50px);
  background: none;
  padding: 0;
}
footer {
  padding: 30px 0 60px;
  text-align: center;
  color: rgba(39, 34, 28, 0.7);
  font-size: 0.9rem;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(39, 34, 28, 0.12);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.46);
}

.admin-editor {
  background: #fff;
  border-radius: 32px;
  padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(20, 12, 7, 0.15);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.admin-editor h1 {
  margin-top: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.2;
}

.admin-editor form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-editor fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.admin-editor label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #6a5c4c;
}

.admin-editor input[type='text'],
.admin-editor input[type='url'],
.admin-editor input[type='email'],
.admin-editor input[type='tel'],
.admin-editor textarea,
.admin-editor select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(77, 58, 51, 0.2);
  font-size: 1rem;
  font-family: inherit;
  background: #fdfaf7;
}

.admin-banner {
  margin: 10px 0 4px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.admin-banner--success {
  background: #eef8ef;
  border-color: #a8d0ab;
  color: #24462a;
}

.admin-banner--error {
  background: #fbeeed;
  border-color: #e5b1ac;
  color: #6a2621;
}

.admin-banner--info {
  background: #f4f0ea;
  border-color: #d5c7b7;
  color: #4f3f32;
}

.admin-save-indicator {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(39, 34, 28, 0.6);
}

.admin-field-error {
  border-color: #be4a3f !important;
  box-shadow: 0 0 0 3px rgba(190, 74, 63, 0.16);
}

.admin-editor button[type='submit'] {
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  background: #2b2622;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-editor button[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.admin-editor .ghost {
  border-width: 1px;
  border-color: rgba(43, 38, 34, 0.4);
  background: transparent;
  color: #2b2622;
}

.admin-shell button,
.admin-shell .button {
  appearance: none;
  border: 1px solid rgba(43, 38, 34, 0.32);
  border-radius: 999px;
  background: #2b2622;
  color: #fff;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-shell button:hover,
.admin-shell .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.admin-shell button:focus-visible,
.admin-shell .button:focus-visible {
  outline: 2px solid rgba(59, 45, 36, 0.5);
  outline-offset: 2px;
}

.admin-shell .ghost,
.admin-shell button.ghost {
  background: transparent;
  color: #2b2622;
}

.admin-shell .ghost:hover,
.admin-shell button.ghost:hover {
  background: rgba(43, 38, 34, 0.08);
  box-shadow: none;
}

.admin-shell input[type='file'] {
  width: 100%;
  font-size: 0.86rem;
  color: rgba(39, 34, 28, 0.8);
}

.admin-shell input[type='file']::file-selector-button {
  border: 1px solid rgba(43, 38, 34, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #2b2622;
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 14px;
  margin-right: 10px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .admin-editor {
    padding: 24px;
  }
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.section-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}

.section-tab {
  border: 1px solid rgba(77, 58, 51, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #2b2622;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.section-tab.is-active {
  background: #2b2622;
  color: #fff;
  border-color: #2b2622;
}

.section-tab--add {
  background: #2b2622;
  color: #fff;
  border-color: #2b2622;
  white-space: nowrap;
}

.sections-grid--tabs {
  display: block;
}

.sections-grid--tabs .section-card {
  max-width: 960px;
  margin: 0 auto;
}

.section-card {
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f9f5ef);
  box-shadow: 0 28px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(69, 53, 43, 0.12);
}

.section-card__header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: flex-end;
}

.section-card__images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 130px));
  gap: 12px;
  margin-top: 18px;
  justify-content: start;
}

.section-card__images figure {
  margin: 0;
  width: 130px;
  height: 130px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-card__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-image-card figcaption {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cover-pill {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(38, 32, 28, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: #2b2622;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-menu-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 999px;
  border: 1px solid rgba(38, 32, 28, 0.28);
  background: rgba(255, 255, 255, 0.94);
  color: #2b2622;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  box-shadow: none;
  pointer-events: auto;
}

.image-menu {
  position: absolute;
  right: 8px;
  top: 40px;
  display: none;
  flex-direction: column;
  min-width: 128px;
  border-radius: 12px;
  border: 1px solid rgba(38, 32, 28, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  pointer-events: auto;
  z-index: 10;
}

.image-menu.is-open {
  display: flex;
}

.image-menu button {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2b2622;
  text-align: left;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.76rem;
  padding: 10px 12px;
}

.image-menu button:hover {
  transform: none;
  box-shadow: none;
  background: rgba(43, 38, 34, 0.08);
}

.image-bulk-checkbox {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(38, 32, 28, 0.24);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2b2622;
  pointer-events: auto;
}

.image-bulk-checkbox.is-visible {
  display: inline-flex;
}

.image-bulk-checkbox input {
  margin: 0;
}

.section-card__toolbar {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-card__bulk {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(110, 38, 38, 0.2);
  background: rgba(255, 236, 236, 0.56);
}

.section-card__bulk.is-active {
  display: flex;
}

.section-card__bulk p {
  margin: 0;
  font-size: 0.82rem;
}

.section-danger,
.admin-shell button.section-danger {
  border-color: rgba(120, 36, 36, 0.42);
  color: #6f2323;
}

.admin-is-busy .section-card {
  pointer-events: none;
  opacity: 0.75;
}


.section-card__upload input[type='file'] {
  width: 100%;
}

.section-card__upload {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(77, 58, 51, 0.4);
  background: rgba(244, 237, 227, 0.65);
}
.section-card__upload label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  margin-bottom: 4px;
  color: var(--warm-gray);
}
.section-card__upload .helper-text,
.new-section-fields .helper-text {
  margin: 4px 0 12px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(39, 34, 28, 0.7);
}
.upload-progress {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(4, 3, 2, 0.7);
  color: #fff;
  gap: 16px;
  z-index: 400;
}
.upload-progress.hidden {
  display: none;
}
.upload-progress__bar {
  width: min(320px, 90%);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.upload-progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), #fff 62%, rgba(255, 255, 255, 0.8));
  transition: width 0.2s ease;
}
.upload-progress__bar span.is-indeterminate {
  width: 35%;
  animation: upload-progress 1.3s linear infinite;
}
.upload-progress__message {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
}

@keyframes upload-progress {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.new-section-card {
  border: 1px dashed rgba(77, 58, 51, 0.4);
  border-radius: 26px;
  padding: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  margin-top: 24px;
}

.new-section-card h3 {
  margin: 0 0 12px;
  letter-spacing: 0.35em;
}

.new-section-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  background: var(--site-primary-button-bg);
  color: var(--site-primary-button-text);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.button.ghost {
  background: transparent;
  color: var(--cocoa);
  border: 1px solid rgba(15, 7, 3, 0.4);
}

.admin-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.service-edit-card,
.new-service-card {
  border-radius: 32px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(77, 58, 51, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-label {
  letter-spacing: 0.35em;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(15, 7, 3, 0.5);
}

.preview-box {
  width: 100%;
  height: 140px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(15, 7, 3, 0.2);
}

.service-edit-card h3,
.new-service-card h3 {
  margin: 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 1rem;
}

.service-edit-card label,
.new-service-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

.upload-control {
  gap: 4px;
}

.upload-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.service-edit-card input,
.service-edit-card textarea,
.new-service-card input,
.new-service-card textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(77, 58, 51, 0.3);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdf9f5;
}
.upload-control .upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upload-control input[type="file"] {
  display: none;
}

@media (max-width: 900px) {
  .site-nav__inner--desktop {
    display: none;
  }

  .site-nav__inner--mobile {
    display: flex;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__mobile-panel {
    padding-top: 96px;
  }

  .nav-brand__logo {
    width: 34px;
    height: 34px;
  }

  .nav-brand__name {
    letter-spacing: 0.22em;
    font-size: clamp(0.62rem, 2.2vw, 0.86rem);
  }

  .hero__frames {
    justify-content: center;
  }

}

@media (max-width: 640px) {
  .hero {
    min-height: 82svh;
  }

  .hero__text h1 {
    font-size: 2.5rem;
  }

  .gallery-card__footer h4 {
    letter-spacing: 0.1em;
  }
}
/* Portfolio section layout */
.portfolio-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.portfolio-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
  padding-bottom: 20px;
  border: 1px solid rgba(43, 38, 34, 0.1);
}

.portfolio-card__link {
  display: block;
  border-radius: 26px;
  overflow: hidden;
}

.portfolio-card__image {
  position: relative;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
}

.portfolio-card__title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.portfolio-section-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 36px 0 10px;
  align-items: stretch;
  justify-content: center;
}

.portfolio-section-images figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.portfolio-section-images figure .lazy-image {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-section-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.portfolio-section-images figure:hover img {
  transform: scale(1.03);
  filter: brightness(0.97);
}

/* Mobile quality pass */
@media (max-width: 900px) {
  .main-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    background: rgba(17, 10, 6, 0.9);
    backdrop-filter: blur(8px) saturate(120%);
  }

  .site-nav__inner {
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-bottom: 12px;
  }

  .site-nav__mobile-panel {
    padding: calc(84px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));
    gap: 16px;
  }

  .site-nav__panel-title {
    letter-spacing: 0.34em;
  }

  .site-nav__mobile-panel li a {
    font-size: clamp(1.05rem, 5.4vw, 1.35rem);
    letter-spacing: 0.18em;
    padding: 14px 6px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: clamp(84px, 16vw, 120px) 18px 34px;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__text p {
    max-width: 100%;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero__actions button,
  .hero__actions .ghost {
    width: 100%;
    max-width: 100%;
  }

  .home-categories h3 {
    font-size: clamp(1.7rem, 6.2vw, 2.25rem);
    letter-spacing: 0.03em;
  }

  .home-categories__lead {
    max-width: 46ch;
    font-size: 0.98rem;
  }

  .home-category-card {
    width: min(100%, 360px);
    max-width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .home-category-card__media img {
    aspect-ratio: 4 / 5;
  }

  .section {
    padding: clamp(40px, 9vw, 64px) 0;
  }

  .highlight {
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    margin-top: 0;
  }

  .highlight--flat {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .highlight__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .services-grid,
  .gallery__grid,
  .portfolio-grid,
  .portfolio-section-images {
    grid-template-columns: 1fr;
  }

  .services-grid {
    justify-items: center;
  }

  .service-card {
    width: min(100%, 380px);
  }

  .home-categories__grid {
    justify-items: center;
  }

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

  .gallery-carousel__control {
    display: none;
  }

  .gallery-carousel .gallery-card {
    flex-basis: min(250px, 76vw);
  }

  .creative-card {
    max-height: none;
    overflow: hidden;
  }

  .creative-card > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .creativeImage,
  #creativeImage2 {
    width: 100%;
    max-width: min(100%, 420px);
    height: auto;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
  }

  #creativeImage2 {
    display: none;
  }

  .portfolio-grid__item img {
    height: clamp(320px, 72vw, 520px);
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
    text-align: center;
  }
}

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

@media (max-width: 640px) {
  .main-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-intro {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .page-intro__eyebrow {
    letter-spacing: 0.32em;
    font-size: 0.66rem;
  }

  .page-intro h1 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
    letter-spacing: 0.06em;
  }

  .page-intro p {
    font-size: 1rem;
  }

  .hero {
    min-height: 72svh;
  }

  .hero__text h1 {
    font-size: clamp(1.7rem, 8.4vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: 0.04em;
  }

  .hero__text p {
    font-size: 1rem;
  }

  .hero__brandmark {
    width: min(220px, 62vw);
    margin-bottom: 14px;
  }

  .section-label,
  .hero__intro {
    letter-spacing: 0.32em;
  }

  .service-card__body h3,
  .gallery-card__footer h4 {
    letter-spacing: 0.12em;
  }

  .service-card {
    width: min(100%, 340px);
  }

  .creative-card {
    padding: 22px 16px;
    max-height: none;
  }

  .creativeImage,
  #creativeImage2 {
    width: min(100%, 340px);
    height: auto;
    margin: 12px auto 0;
    transform: none;
    top: 0;
    right: 0;
    left: 0;
  }

  #creativeImage2 {
    display: none;
  }

  .home-categories {
    padding-top: clamp(44px, 9vw, 64px);
    padding-bottom: clamp(50px, 10vw, 72px);
  }

  .home-categories h3 {
    font-size: clamp(1.45rem, 7.3vw, 1.95rem);
    line-height: 1.22;
  }

  .home-category-card {
    width: min(100%, 360px);
    max-width: min(100%, 360px);
  }

  .highlight__image img {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Stabilize floating image layout on tablet/smaller desktop so it does not overlap nearby sections */
@media (min-width: 901px) and (max-width: 1360px) {
  .creative-card {
    max-height: none;
    overflow: visible;
    gap: 26px;
    align-items: center;
  }

  .creative-card > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(42vw, 420px);
    margin-left: auto;
    align-items: flex-end;
  }

  .creativeImage,
  #creativeImage2 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    width: min(320px, 100%);
    height: auto;
  }

  .creativeImage {
    align-self: flex-start;
    transform: rotate(-4deg);
  }

  #creativeImage2 {
    align-self: flex-end;
    margin-top: -34px;
    transform: rotate(4deg);
  }

}

.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(3, 1, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 16px;
  z-index: 999;
}
.image-viewer.hidden {
  display: none;
}
.image-viewer__inner {
  max-width: min(960px, 90vw);
  max-height: min(90vh, 80vh);
  width: 100%;
  position: relative;
}
.image-viewer__inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.image-viewer__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.image-viewer__hint {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.admin-dashboard {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.dashboard-card {
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-card h3 {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.25;
}

.dashboard-card p {
  margin: 0;
  color: rgba(39, 34, 28, 0.86);
}

.dashboard-card .dashboard-actions button {
  margin-top: 12px;
}

@media (max-width: 720px) {
  .admin-shell button,
  .admin-shell .button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-card .dashboard-actions button {
    margin-top: 0;
  }
}

.dashboard-actions {
  margin-top: auto;
}

.save-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(23, 56, 33, 0.96);
  color: #fff;
  border: 1px solid rgba(202, 229, 206, 0.42);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 500;
}

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

.save-toast__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(221, 243, 225, 0.24);
  border: 1px solid rgba(221, 243, 225, 0.55);
  font-size: 0.9rem;
  line-height: 1;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(7, 5, 4, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.admin-modal__panel {
  width: min(760px, 100%);
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(43, 38, 34, 0.16);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.25);
  padding: 20px;
}

.admin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-modal__header h3 {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
}

.admin-shell .admin-modal__close {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(43, 38, 34, 0.3);
  background: transparent;
  color: #2b2622;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  box-shadow: none;
}

.admin-portfolio-editor {
  background: radial-gradient(circle at 15% 10%, #f8f7f5 0%, #efebe4 46%, #e6e0d7 100%);
  color: #1e1f24;
}

.admin-portfolio-editor .admin-editor {
  max-width: 1100px;
  margin: 28px auto;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(20, 24, 34, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f7 100%);
  box-shadow: 0 30px 55px rgba(12, 17, 26, 0.14);
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.admin-portfolio-editor .section-label {
  color: #6d5c4d;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
}

.admin-portfolio-editor h1 {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.admin-portfolio-editor .admin-portfolio-subtitle {
  margin: 10px 0 0;
  color: rgba(31, 34, 41, 0.7);
  font-size: 0.92rem;
}

.admin-portfolio-editor .admin-portfolio-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-portfolio-editor .admin-save-indicator {
  margin: 6px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 98, 66, 0.26);
  background: rgba(232, 250, 238, 0.9);
  color: #1e6b46;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-portfolio-editor .admin-banner {
  border-radius: 14px;
  margin-bottom: 10px;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.01em;
}

.admin-portfolio-editor .section-tabs-wrap--portfolio {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 40, 0.09);
}

.admin-portfolio-editor .section-tabs {
  gap: 8px;
}

.admin-portfolio-editor .section-tab {
  border: 1px solid rgba(36, 39, 47, 0.12);
  background: rgba(247, 248, 251, 0.96);
  color: #30343d;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 9px 14px;
  box-shadow: 0 6px 14px rgba(15, 23, 40, 0.06);
}

.admin-portfolio-editor .section-tab.is-active,
.admin-portfolio-editor .section-tab--add {
  border-color: rgba(20, 49, 83, 0.34);
  background: linear-gradient(135deg, #1f334e, #2c4363);
  color: #f5f9ff;
}

.admin-portfolio-editor .portfolio-section-card {
  margin-top: 2px;
  border-radius: 22px;
  border: 1px solid rgba(20, 24, 34, 0.11);
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(15, 23, 40, 0.09);
}

.admin-portfolio-editor .section-card__title label,
.admin-portfolio-editor .section-card__upload label {
  color: rgba(28, 34, 44, 0.62);
  letter-spacing: 0.24em;
  font-size: 0.66rem;
}

.admin-portfolio-editor .section-card__title input[type='text'] {
  border: 1px solid rgba(29, 35, 45, 0.16);
  border-radius: 12px;
  height: 44px;
  font-size: 1rem;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
}

.admin-portfolio-editor .section-card__toolbar {
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.admin-portfolio-editor .section-card__toolbar button {
  border-radius: 12px;
  border: 1px solid rgba(20, 37, 61, 0.16);
  background: #f7f9fc;
  color: #233247;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  box-shadow: none;
}

.admin-portfolio-editor .section-card__toolbar button:hover {
  background: #eef3fa;
  border-color: rgba(20, 60, 110, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(20, 35, 58, 0.12);
}

.admin-portfolio-editor .section-image-count {
  margin-left: auto;
  color: rgba(31, 36, 48, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.admin-portfolio-editor .section-card__bulk {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(143, 45, 45, 0.22);
  background: linear-gradient(180deg, rgba(255, 244, 244, 0.96), rgba(255, 238, 238, 0.92));
}

.admin-portfolio-editor .section-card__bulk p {
  color: #5e2e2e;
  font-size: 0.84rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.admin-portfolio-editor .section-danger,
.admin-portfolio-editor .admin-shell button.section-danger {
  border-radius: 12px;
  border: 1px solid rgba(142, 42, 42, 0.28);
  background: #fff;
  color: #7c2525;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.admin-portfolio-editor .section-card__bulk .section-danger {
  background: linear-gradient(135deg, #2c2f3b, #1e2130);
  border-color: rgba(14, 16, 24, 0.62);
  color: #f8e4e4;
}

.admin-portfolio-editor .section-card__bulk .section-danger:hover {
  background: linear-gradient(135deg, #343849, #25293a);
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(13, 16, 25, 0.24);
}

.admin-portfolio-editor .section-card__images {
  margin-top: 16px;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(132px, 132px));
}

.admin-portfolio-editor .section-card__images .section-image-card {
  width: 132px;
  height: 132px;
  border-radius: 14px;
  border: 1px solid rgba(17, 29, 48, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 40, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-portfolio-editor .section-card__images .section-image-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 72, 128, 0.4);
  box-shadow: 0 16px 28px rgba(14, 26, 46, 0.2);
}

.admin-portfolio-editor .cover-pill {
  border: 1px solid rgba(25, 68, 123, 0.4);
  background: rgba(224, 240, 255, 0.96);
  color: #144275;
  font-size: 0.56rem;
}

.admin-portfolio-editor .image-menu-toggle {
  border: 1px solid rgba(14, 25, 42, 0.26);
  background: rgba(15, 24, 40, 0.88);
  color: #f4f7fd;
  font-size: 0.82rem;
  font-weight: 700;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  padding: 0;
  border-radius: 999px;
  aspect-ratio: 1 / 1;
  line-height: 1;
}

.admin-portfolio-editor .section-image-card .image-bulk-checkbox {
  display: none;
  border: 1px solid rgba(18, 31, 49, 0.2);
  background: rgba(249, 252, 255, 0.96);
  color: #243245;
  font-size: 0.58rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.08em;
}

.admin-portfolio-editor .section-image-card .image-bulk-checkbox.is-visible {
  display: inline-flex;
}

.admin-portfolio-editor .image-menu {
  border: 1px solid rgba(16, 30, 51, 0.13);
  background: rgba(250, 252, 255, 0.98);
  border-radius: 10px;
}

.admin-portfolio-editor .image-menu button {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.74rem;
  padding: 9px 11px;
}

.admin-portfolio-editor .section-card__upload {
  border: 1px dashed rgba(23, 51, 87, 0.3);
  background: linear-gradient(180deg, rgba(244, 248, 253, 0.8), rgba(238, 244, 250, 0.75));
}

.admin-portfolio-editor .section-card__upload .helper-text {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
}

.admin-portfolio-editor .form-actions--portfolio {
  margin-top: 18px;
}

.admin-portfolio-editor .form-actions--portfolio button {
  min-width: 110px;
}

.admin-portfolio-editor .admin-modal__panel {
  background: #fbfcff;
  border: 1px solid rgba(16, 31, 52, 0.16);
  box-shadow: 0 26px 56px rgba(10, 18, 32, 0.3);
}

@media (max-width: 900px) {
  .admin-portfolio-editor .admin-editor {
    padding: 20px;
  }

  .admin-portfolio-editor .admin-portfolio-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-portfolio-editor .section-image-count {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }
}

.admin-modern {
  background: radial-gradient(circle at 8% 0%, #f8f8f8 0%, #f1ede6 48%, #e8e1d6 100%);
  color: #1f2430;
}

.admin-modern .main-layout {
  max-width: 1120px;
  margin: 28px auto;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(18, 27, 41, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  box-shadow: 0 28px 56px rgba(8, 17, 30, 0.14);
}

.admin-modern .section-label {
  color: #78624d;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
}

.admin-modern h1 {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.admin-modern .admin-modern-subtitle {
  margin-top: 10px;
  color: rgba(31, 36, 48, 0.7);
  font-size: 0.93rem;
  line-height: 1.5;
}

.admin-modern .admin-modern-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-modern .admin-save-indicator {
  margin: 4px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(30, 105, 66, 0.25);
  background: rgba(232, 250, 239, 0.95);
  color: #1c6a44;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-modern .admin-banner {
  margin-bottom: 12px;
  border-radius: 14px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.admin-modern .admin-dashboard {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-modern .dashboard-card {
  border: 1px solid rgba(14, 26, 42, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(12, 22, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-modern .dashboard-card h3 {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.admin-modern .dashboard-card p {
  margin: 0;
  color: rgba(30, 35, 44, 0.75);
  font-size: 0.86rem;
}

.admin-modern .dashboard-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-modern .status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.admin-modern .status-pill.is-live {
  border: 1px solid rgba(30, 119, 72, 0.28);
  background: rgba(228, 248, 235, 0.95);
  color: #1d7a4d;
}

.admin-modern .status-pill.is-missing {
  border: 1px solid rgba(128, 39, 39, 0.28);
  background: rgba(255, 234, 234, 0.95);
  color: #8a3030;
}

.admin-modern .admin-services-grid {
  gap: 18px;
}

.admin-modern .service-edit-card,
.admin-modern .new-service-card {
  border-radius: 18px;
  border: 1px solid rgba(14, 27, 44, 0.1);
  background: #fff;
  box-shadow: 0 14px 28px rgba(11, 20, 33, 0.08);
  padding: 20px;
}

.admin-modern .service-edit-card h3,
.admin-modern .new-service-card h3 {
  margin: 0 0 8px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}

.admin-modern .service-edit-card label span,
.admin-modern .new-service-card label span {
  color: rgba(29, 36, 48, 0.68);
  letter-spacing: 0.18em;
  font-size: 0.64rem;
}

.admin-modern .service-edit-card input,
.admin-modern .service-edit-card textarea,
.admin-modern .new-service-card input,
.admin-modern .new-service-card textarea,
.admin-modern .admin-editor input[type='text'],
.admin-modern .admin-editor textarea {
  border: 1px solid rgba(17, 30, 48, 0.16);
  border-radius: 12px;
  background: #fcfdff;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.admin-modern .preview-box {
  border-radius: 14px;
  border: 1px solid rgba(17, 30, 48, 0.12);
}

.admin-modern .form-actions {
  margin-top: 18px;
}

.admin-modern .form-actions button {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.admin-modern .admin-editor button[type='submit'],
.admin-modern .dashboard-actions button {
  background: linear-gradient(135deg, #1f334e, #2f4664);
  border-color: rgba(22, 45, 73, 0.7);
  color: #f3f7ff;
}

.admin-modern .admin-editor button[type='submit']:hover,
.admin-modern .dashboard-actions button:hover {
  background: linear-gradient(135deg, #243d5f, #385376);
}

.admin-modern .admin-editor .ghost,
.admin-modern button.ghost {
  border: 1px solid rgba(25, 37, 57, 0.2);
  color: #29374d;
}

.admin-modern .upload-actions {
  gap: 8px;
}

@media (max-width: 900px) {
  .admin-modern .main-layout {
    margin: 16px auto;
    padding: 20px;
    border-radius: 16px;
  }

  .admin-modern .admin-modern-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-modern .admin-save-indicator {
    white-space: normal;
  }
}

/* Home gallery editor */
.home-gallery-grid {
  gap: 1.2rem;
}

.home-gallery-row {
  position: relative;
}

.home-gallery-row.is-dragging {
  opacity: 0.6;
}

.home-gallery-row__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-gallery-row__top h3 {
  margin: 0;
  flex: 1;
}

.home-gallery-row__actions {
  display: flex;
  gap: 0.5rem;
}

.home-gallery-drag {
  cursor: grab;
}

.home-gallery-link-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #224;
  background: rgba(40, 76, 122, 0.08);
  border: 1px solid rgba(40, 76, 122, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin: 0.35rem 0 0.6rem;
}

.home-gallery-link-badge.is-muted {
  color: #666;
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
}

.home-gallery-thumb {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  overflow: hidden;
  min-height: 92px;
  background: #f5f3ef;
  display: grid;
  place-items: center;
  margin-top: 0.35rem;
}

.home-gallery-thumb__img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.home-gallery-thumb__empty {
  color: #7a7a7a;
  font-size: 0.9rem;
}

.home-gallery-filename {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #2f2f2f;
}

.home-gallery-row-errors {
  margin: 0.35rem 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(146, 32, 32, 0.3);
  background: rgba(146, 32, 32, 0.08);
  color: #6b1313;
}

/* Home Gallery Editor redesign */
.admin-home-gallery-editor {
  --hg-bg-1: #f8f9fb;
  --hg-bg-2: #eef2f8;
  --hg-card: #ffffff;
  --hg-border: #d7deea;
  --hg-text: #0f2340;
  --hg-subtle: #5b6b84;
  --hg-accent: #1f4f8f;
  --hg-accent-soft: #e7f0ff;
  --hg-warn: #8b1f1f;
}

.admin-home-gallery-editor .main-layout {
  background: linear-gradient(160deg, var(--hg-bg-1), var(--hg-bg-2));
  border: 1px solid rgba(15, 35, 64, 0.08);
  box-shadow: 0 20px 48px rgba(15, 35, 64, 0.08);
}

.admin-home-gallery-editor .admin-modern-hero {
  align-items: flex-start;
  gap: 1rem;
}

.admin-home-gallery-editor .admin-modern-hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--hg-text);
}

.admin-home-gallery-editor .admin-modern-subtitle {
  color: var(--hg-subtle);
  max-width: 70ch;
  line-height: 1.6;
}

.admin-home-gallery-editor .admin-save-indicator {
  border: 1px solid #8ec8b1;
  background: #d9f0e5;
  color: #10593c;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-gallery-guide {
  border: 1px solid var(--hg-border);
  background: var(--hg-card);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}

.home-gallery-guide h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hg-text);
}

.home-gallery-guide__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-gallery-guide__steps p {
  margin: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--hg-border);
  border-radius: 10px;
  background: #f7fbff;
  color: #254263;
  font-size: 0.88rem;
}

.admin-home-gallery-editor .form-actions {
  position: sticky;
  bottom: 10px;
  z-index: 20;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--hg-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
}

.admin-home-gallery-editor .form-actions button {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-home-gallery-editor #home-gallery-save {
  background: linear-gradient(135deg, #24518f, #1b3f71);
  box-shadow: 0 12px 24px rgba(31, 79, 143, 0.32);
}

.admin-home-gallery-editor #home-gallery-save:hover {
  transform: translateY(-1px);
}

.home-gallery-row {
  border: 1px solid var(--hg-border);
  border-radius: 16px;
  background: var(--hg-card);
  box-shadow: 0 8px 24px rgba(15, 35, 64, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-gallery-row:hover {
  box-shadow: 0 14px 30px rgba(15, 35, 64, 0.1);
}

.home-gallery-row__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.home-gallery-row__id {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--hg-text);
  background: var(--hg-accent-soft);
  border: 1px solid #bfd2f4;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.home-gallery-drag {
  border-style: dashed;
  color: var(--hg-accent);
}

.home-gallery-row__actions {
  margin-left: auto;
  display: flex;
  gap: 0.45rem;
}

.home-gallery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-gallery-step {
  border: 1px solid var(--hg-border);
  border-radius: 12px;
  padding: 0.75rem;
  background: #fbfdff;
}

.home-gallery-step h4 {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #244766;
}

.home-gallery-link-badge {
  margin-top: 0;
}

.home-gallery-row select,
.home-gallery-row input[type='text'],
.home-gallery-row textarea {
  background: #fff;
  border-color: #c8d5e8;
}

.home-gallery-row select:focus,
.home-gallery-row input[type='text']:focus,
.home-gallery-row textarea:focus {
  border-color: #7ea6dd;
  box-shadow: 0 0 0 4px rgba(126, 166, 221, 0.18);
}

.home-gallery-row input[type='file'] {
  border: 1px dashed #9cb4d8;
  border-radius: 10px;
  padding: 0.35rem;
  background: #f4f8ff;
}

.home-gallery-thumb {
  min-height: 120px;
}

.home-gallery-filename {
  margin-top: 0.45rem;
  color: #2d4e78;
}

.home-gallery-row__errors {
  margin-top: 0.6rem;
}

.home-gallery-row-errors {
  margin: 0;
  border-color: #d99a9a;
  background: #fff1f1;
  color: var(--hg-warn);
}

.home-gallery-row-errors li {
  margin-left: 1rem;
}

@media (max-width: 1100px) {
  .home-gallery-guide__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .admin-home-gallery-editor .form-actions {
    position: static;
  }

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

  .home-gallery-row__top {
    flex-wrap: wrap;
  }

  .home-gallery-row__actions {
    width: 100%;
  }
}

/* CMS Admin shell */
.admin-cms {
  margin: 0;
  background: #e7e9ee;
  color: #12243f;
}

.admin-cms__layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.admin-cms__sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #0f1b2f;
  color: #dbe6f5;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

.admin-cms__brand {
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 0.2rem;
}

.admin-cms__brand strong {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.admin-cms__brand span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.admin-cms__nav {
  padding: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.admin-cms__nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #dbe6f5;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  transition: all 0.18s ease;
}

.admin-cms__nav-link:hover {
  background: rgba(255,255,255,0.08);
}

.admin-cms__nav-link.is-active {
  background: #1a2f52;
  border-color: rgba(150, 187, 244, 0.35);
  color: #fff;
}

.admin-cms__nav-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.admin-cms__nav-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-cms__sidebar-footer {
  margin-top: auto;
  padding: 0.9rem;
}

.admin-cms__logout {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
}

.admin-cms__main {
  min-width: 0;
  padding: 1rem;
}

.admin-cms__topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d2d9e4;
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 0.95rem;
}

.admin-cms__topbar-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.admin-cms__menu-toggle {
  display: none;
  border: 1px solid #cad5e6;
  border-radius: 8px;
  background: #fff;
  color: #123055;
  padding: 0.35rem 0.6rem;
}

.admin-cms__topbar h1 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.admin-cms__topbar p {
  margin: 0.18rem 0 0;
  font-size: 0.88rem;
  color: #5a6f8d;
}

.admin-cms__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-cms__view-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #c9d6e8;
  background: #fff;
  color: #23456f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-cms__view-site:hover {
  border-color: #9bb6d8;
  background: #f3f8ff;
  color: #173355;
  transform: translateY(-1px);
}

.admin-cms__view-site:focus-visible {
  outline: 2px solid rgba(42, 92, 157, 0.35);
  outline-offset: 2px;
}

.admin-cms__status {
  border: 1px solid #a8d7bf;
  border-radius: 999px;
  background: #def4e8;
  color: #1d6e4a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
}

.admin-cms__save-btn {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a5c9d, #1b3f71);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.95rem;
}

.admin-cms__content {
  margin-top: 0.9rem;
  border: 1px solid #d2d9e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(18, 36, 63, 0.08);
  padding: 1rem;
}

.admin-cms__toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #173d70;
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all .2s ease;
}

.admin-cms__toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-cms__toast.is-error { background: #892626; }
.admin-cms__toast.is-success { background: #1d6e4a; }

.admin-cms .admin-banner {
  margin-bottom: 0.8rem;
}

.admin-cms .form-actions {
  margin-top: 1rem;
}

.admin-list {
  display: grid;
  gap: 0.65rem;
}

.admin-list__row {
  display: grid;
  grid-template-columns: 1.4fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid #d6deeb;
  border-radius: 12px;
  padding: 0.68rem 0.82rem;
  background: #fff;
}

.admin-list__meta {
  color: #61738d;
  font-size: 0.85rem;
}

.admin-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-pill.is-live { background: #def4e8; color: #1d6e4a; }
.admin-pill.is-missing { background: #fce7e7; color: #8b1f1f; }

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

  .admin-cms__sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    transform: translateX(-102%);
    transition: transform .2s ease;
    z-index: 60;
  }

  .admin-cms--menu-open .admin-cms__sidebar {
    transform: translateX(0);
  }

  .admin-cms__menu-toggle {
    display: inline-block;
  }

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

/* Visual carousel builder */
.admin-home-gallery-editor .home-gallery-builder {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1rem;
}

.home-gallery-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  align-content: start;
}

.home-gallery-tile {
  position: relative;
  border: 1px solid #d2dceb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(12, 28, 49, 0.08);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-gallery-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(12, 28, 49, 0.14);
}

.home-gallery-tile.is-active {
  border-color: #7da8e4;
  box-shadow: 0 0 0 4px rgba(125, 168, 228, 0.18);
}

.home-gallery-tile__media {
  height: 150px;
  background: #eef2f8;
  display: grid;
  place-items: center;
}

.home-gallery-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery-tile__media-empty {
  color: #6a7790;
}

.home-gallery-tile__body {
  padding: 0.68rem 0.78rem 0.4rem;
}

.home-gallery-tile__title {
  margin: 0;
  font-weight: 700;
  color: #132b4b;
}

.home-gallery-tile__badge {
  margin: 0.34rem 0 0;
  display: inline-block;
  border: 1px solid #bfd3ee;
  background: #eff5ff;
  color: #1f4677;
  border-radius: 999px;
  padding: 0.12rem 0.48rem;
  font-size: 0.74rem;
}

.home-gallery-tile__badge.is-muted {
  background: #f2f4f7;
  border-color: #d6dce6;
  color: #5f6e84;
}

.home-gallery-tile__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem 0.6rem 0.3rem;
}

.home-gallery-tile__actions .ghost {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.home-gallery-tile__meta {
  padding: 0 0.7rem 0.7rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #62768f;
}

.home-gallery-tile__error {
  margin: 0 0.7rem 0.7rem;
  border: 1px solid #e2aaaa;
  background: #fff0f0;
  color: #8a1f1f;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.76rem;
}

.home-gallery-tile.is-dragging {
  opacity: 0.6;
}

.home-gallery-drawer {
  border: 1px solid #d2dceb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 30, 50, 0.1);
  position: sticky;
  top: 84px;
  align-self: start;
}

.home-gallery-drawer__head {
  border-bottom: 1px solid #e0e7f2;
  padding: 0.85rem;
}

.home-gallery-drawer__head h3 {
  margin: 0;
}

.home-gallery-drawer__head p {
  margin: 0.25rem 0 0;
  color: #60738c;
  font-size: 0.88rem;
}

.home-gallery-drawer__body {
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.home-gallery-drawer__body label {
  display: grid;
  gap: 0.24rem;
}

.home-gallery-drawer__body label span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #355272;
}

.home-gallery-drawer__preview {
  min-height: 130px;
  border: 1px solid #cfdaec;
  border-radius: 10px;
  background: #f1f5fa;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-gallery-drawer__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery-drawer__file {
  margin: 0;
  color: #39587a;
  font-size: 0.8rem;
}

.home-gallery-drawer__foot {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 1150px) {
  .admin-home-gallery-editor .home-gallery-builder {
    grid-template-columns: 1fr;
  }

  .home-gallery-drawer {
    position: static;
  }
}

@media (min-width: 901px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .portfolio-grid > .portfolio-grid__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Keep home hero headline on one line */
.hero__text--home {
  align-items: center;
  text-align: center;
}

.hero__text--home h1 {
  white-space: nowrap !important;
  display: block;
  width: max-content !important;
  max-width: 100%;
  margin: 0 auto 16px !important;
  text-align: center;
  font-family: 'Old Standard TT', serif;
  font-size: clamp(1.2rem, 6vw, 4.4rem);
  letter-spacing: clamp(0.1em, 0.7vw, 0.24em);
  font-weight: 500;
}

/* Home gallery responsive layout: desktop 3, tablet 2, mobile 1 */
@media (max-width: 1000px) {
  .home-collage {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .home-collage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "wide arch"
      "portrait tall"
      "landscape square";
    gap: 20px;
    max-width: 620px;
  }

  .home-collage__item {
    width: 100%;
    margin: 0;
    justify-self: stretch;
  }

  .home-collage--editorial-5 .home-collage__grid,
  .home-collage--mosaic-10 .home-collage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 620px;
  }

  .home-collage--editorial-5 .home-collage__grid {
    grid-template-areas:
      "wide tall_right"
      "portrait_left tall_center"
      "square_right tall_center";
  }

  .home-collage--mosaic-10 .home-collage__grid {
    grid-template-areas:
      "mosaic_a mosaic_b"
      "mosaic_c mosaic_d"
      "mosaic_e mosaic_f"
      "mosaic_g mosaic_h"
      "mosaic_i mosaic_j";
  }

  .home-categories .main-layout {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-categories--editorial .home-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    justify-items: center;
  }

  .home-categories--editorial .home-category-card {
    max-width: 380px;
  }

  .home-categories--editorial .home-category-card__media,
  .home-categories--editorial .home-category-card--portrait .home-category-card__media,
  .home-categories--editorial .home-category-card--arch .home-category-card__media {
    border-radius: 0;
    overflow: visible;
  }

  .home-categories--editorial .home-category-card__media img {
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .home-collage {
    padding-top: 30px;
    padding-bottom: 26px;
  }

  .home-collage__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "wide"
      "arch"
      "tall"
      "portrait"
      "square"
      "landscape";
  }

  .home-collage__item--wide {
    aspect-ratio: 1.2 / 1;
  }

  .home-collage__item--tall {
    aspect-ratio: 0.88 / 1.1;
  }

  .home-collage__item--arch,
  .home-collage__item--portrait,
  .home-collage__item--landscape,
  .home-collage__item--square,
  .home-collage__item--tall_center,
  .home-collage__item--tall_right,
  .home-collage__item--portrait_left,
  .home-collage__item--square_right,
  .home-collage__item--mosaic_a,
  .home-collage__item--mosaic_b,
  .home-collage__item--mosaic_c,
  .home-collage__item--mosaic_d,
  .home-collage__item--mosaic_e,
  .home-collage__item--mosaic_f,
  .home-collage__item--mosaic_g,
  .home-collage__item--mosaic_h,
  .home-collage__item--mosaic_i,
  .home-collage__item--mosaic_j {
    aspect-ratio: 0.9 / 1;
  }

  .home-collage--editorial-5 .home-collage__grid,
  .home-collage--mosaic-10 .home-collage__grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .home-collage--editorial-5 .home-collage__item,
  .home-collage--mosaic-10 .home-collage__item {
    grid-area: auto;
  }

  .home-categories .main-layout {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-categories--editorial .home-categories__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }

  .home-categories--editorial .home-category-card {
    max-width: 360px;
  }

  .home-categories--editorial .home-category-card__media img {
    min-height: 0;
  }

  .final-cta {
    border-radius: 0;
  }

  .thanks-page__card {
    border-radius: 28px;
    padding: 28px 22px;
  }

  .thanks-page__details {
    grid-template-columns: 1fr;
  }

  .thanks-page__actions {
    align-items: stretch;
  }

  .thanks-page__button {
    width: 100%;
  }
}

/* Home Trust Section */
.home-trust-section__inner.has-message {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.home-trust-section__message-card {
  background: #f3eee6;
  border: 1px solid rgba(58, 43, 31, 0.1);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 24px 50px rgba(25, 18, 12, 0.08);
}

.home-trust-section__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a715c;
}

.home-trust-section__message-card h3 {
  margin: 0 0 1rem;
}

.home-trust-section__copy {
  margin: 0;
}

.home-trust-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(58, 43, 31, 0.2);
  text-decoration: none;
  color: #2f241d;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.home-collage--grid-6 .home-collage__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
  grid-auto-flow: row;
  max-width: 1080px;
  gap: 1rem;
}

.home-collage--grid-6 .home-collage__item,
.home-collage--grid-9 .home-collage__item {
  width: 100%;
  margin: 0;
  justify-self: stretch;
  align-self: stretch;
  aspect-ratio: 1 / 1;
}

.home-collage__item--grid_1,
.home-collage__item--grid_2,
.home-collage__item--grid_3,
.home-collage__item--grid_4,
.home-collage__item--grid_5,
.home-collage__item--grid_6,
.home-collage__item--grid_7,
.home-collage__item--grid_8,
.home-collage__item--grid_9 {
  grid-area: auto;
}

.home-collage--grid-9 .home-collage__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
  grid-auto-flow: row;
  max-width: 1080px;
  gap: 0.85rem;
}

.home-collage--collage-message .home-collage__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 0.8fr;
  grid-template-areas:
    "card_a card_b card_d"
    "card_a card_c card_d";
  gap: 1rem;
  align-items: stretch;
}

.home-collage__item--card_a { grid-area: card_a; aspect-ratio: 0.78 / 1.25; }
.home-collage__item--card_b { grid-area: card_b; aspect-ratio: 1.2 / 0.95; }
.home-collage__item--card_c { grid-area: card_c; aspect-ratio: 1.2 / 0.95; }
.home-collage__item--card_d { grid-area: card_d; aspect-ratio: 0.8 / 1.28; }

@media (max-width: 960px) {
  .home-trust-section__inner.has-message {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-collage--grid-6 .home-collage__grid,
  .home-collage--grid-9 .home-collage__grid,
  .home-collage--collage-message .home-collage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }

  .home-collage--grid-9 .home-collage__grid {
    gap: 0.7rem;
  }

  .home-collage--grid-6 .home-collage__item,
  .home-collage--grid-9 .home-collage__item,
  .home-collage--collage-message .home-collage__item {
    grid-area: auto;
    aspect-ratio: 0.9 / 1;
  }
}

.reviews-section {
  padding: 96px 0;
  background: #f7f0ea;
}

.reviews-section__head {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

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

.review-card {
  padding: 1.6rem;
  border: 1px solid rgba(49, 32, 21, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(27, 17, 10, 0.06);
  text-align: center;
}

.review-card__stars {
  color: #b78559;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.review-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(27, 17, 10, 0.1);
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-card__title {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 400;
  text-transform: uppercase;
}

.review-card__name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.review-card__meta {
  color: rgba(49, 32, 21, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .reviews-section__grid {
    grid-template-columns: 1fr;
  }
}

.review-request-page {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.88), rgba(247, 240, 234, 0.98)),
    linear-gradient(180deg, #f8f2ec 0%, #f3ebe2 100%);
}

.review-request-page__shell {
  display: grid;
  place-items: center;
}

.review-request-page__card {
  width: min(760px, 100%);
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 1px solid rgba(52, 35, 23, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 60px rgba(25, 16, 10, 0.08);
  text-align: center;
}

.review-request-page__brand {
  display: grid;
  justify-items: center;
  margin-bottom: 1rem;
}

.review-request-page__brand img {
  width: auto;
  max-width: min(260px, 48vw);
  max-height: 82px;
  object-fit: contain;
}

.review-request-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 133, 89, 0.28);
  background: rgba(183, 133, 89, 0.1);
  color: #7d5735;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.review-request-page__lead {
  max-width: 42rem;
  margin: 0.8rem auto 0;
}

.review-request-page__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.4rem 0 1.8rem;
}

.review-request-page__detail {
  min-width: 160px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(52, 35, 23, 0.08);
  background: rgba(248, 242, 236, 0.72);
}

.review-request-page__detail span {
  display: block;
  margin-bottom: 0.35rem;
  color: #8a715c;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.review-request-page__detail strong {
  font-size: 0.96rem;
  font-weight: 600;
}

.review-request-page__form {
  margin-top: 1rem;
  text-align: left;
}

.review-request-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.review-request-page__button,
.review-request-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  text-decoration: none;
}

.review-request-page__button {
  border: 1px solid rgba(52, 35, 23, 0.12);
  background: #2f241d;
  color: #fbfaf7;
}

.review-request-page__link {
  border: 1px solid rgba(52, 35, 23, 0.12);
  color: #2f241d;
}

@media (max-width: 760px) {
  .review-request-page__card {
    padding: 1.5rem;
  }

  .review-request-page__details,
  .review-request-page__actions {
    display: grid;
  }
}
