:root {
  --cream: #F8F1E7;
  --cream-soft: #F3EADF;
  --ink: #2f3a2f;
  --muted: #667163;
  --sage: #718064;
  --sage-dark: #5f7154;
  --gold: #C7A65D;
  --footer: #3A4236;
  --footer-text: #c5cabf;
  --shadow: 0 22px 44px rgba(64, 79, 55, .16);
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-width: 1280px;
  --section-padding: 80px 0;
  --reference-width: 1280px;
  --gallery-width: 1280px;
  --animation-speed: 850ms;
  --animation-distance: 55px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
main, section, footer { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: var(--sans); }
[data-edit-id] { --edit-scale: 1; }
[data-edit-id]:not(.scroll-animate) {
  transform: scale(var(--edit-scale));
  transform-origin: center center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(248, 241, 231, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(33, 43, 31, .045);
  transition: background .4s ease, box-shadow .4s ease;
}
.nav-shell {
  width: min(var(--reference-width), calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #4f564f;
  font-weight: 500;
}
.nav-links a,
.site-footer a { transition: color .2s ease, opacity .2s ease; }
.nav-links a:hover,
.site-footer a:hover { color: var(--gold); }

.shell {
  width: min(var(--site-width), calc(100% - 48px));
  margin: 0 auto;
}
.section-pad { padding: var(--section-padding); }

.hero {
  min-height: 100vh;
  padding: 96px 64px 80px;
  display: flex;
  align-items: center;
}
.hero-grid,
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-grid {
  width: min(var(--reference-width), 100%);
}
.hero-copy {
  max-width: 560px;
  padding-left: 0;
  margin-top: 0;
}
.eyebrow {
  margin: 0 0 22px;
  color: #7b8475;
  letter-spacing: .36em;
  font-size: 13px;
  font-weight: 500;
}
h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
}
h1 {
  font-size: clamp(72px, 8vw, 128px);
  color: #2f3a2f;
}
.lead {
  max-width: 520px;
  margin: 28px 0 48px;
  color: #5d6a5d;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.56;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--sage);
  color: white;
  text-transform: uppercase;
  letter-spacing: .055em;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 12px 26px rgba(94, 118, 86, .18);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--sage-dark); }

.photo-frame {
  border: 8px solid var(--sage);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage);
  position: relative;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  border-radius: inherit;
}
.editable-image {
  border-radius: inherit;
}
.hero-photo {
  width: 100%;
  height: clamp(560px, 70vh, 760px);
  justify-self: end;
}

.feature {
  padding: 96px 64px;
  background: var(--cream);
}
.feature-grid {
  width: min(var(--reference-width), 100%);
  gap: 64px;
}
.wide-photo {
  width: 100%;
  height: 420px;
  justify-self: center;
}
.feature-copy {
  max-width: 610px;
  padding-right: 0;
}
.feature-copy h2 {
  color: var(--gold);
  font-size: clamp(48px, 4.5vw, 72px);
}
.feature-copy p {
  margin: 28px 0 0;
  color: #6c7074;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.58;
}

.story {
  background: var(--cream-soft);
  padding: 96px 64px;
  overflow: hidden;
}
.story .shell {
  width: min(var(--gallery-width), 100%);
}
.story-title {
  text-align: center;
  color: var(--gold);
  font-size: clamp(48px, 5vw, 76px);
  margin-bottom: 64px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.gallery-caption {
  margin: 0;
  text-align: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.tall-card {
  height: 560px;
  border-width: 8px;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 96px 64px 52px;
}
.footer-grid {
  width: min(var(--reference-width), 100%);
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: clamp(52px, 8vw, 140px);
  align-items: start;
}
.footer-blurb {
  max-width: 380px;
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
}
.site-footer h3 {
  margin: 0 0 30px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .46em;
  font-weight: 800;
}
.site-footer a {
  display: block;
  color: var(--footer-text);
  font-size: 17px;
  margin: 16px 0;
}
.socials {
  display: flex;
  gap: 18px;
}
.socials a {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(200, 170, 98, .26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--gold);
  font-size: 24px;
}
.socials a img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.footer-bottom {
  width: min(var(--reference-width), 100%);
  border-top: 1px solid rgba(248, 244, 237, .08);
  margin-top: 72px;
  padding-top: 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(191, 198, 184, .72);
}
.footer-bottom p { margin: 0; }
.footer-bottom div {
  display: flex;
  gap: 44px;
}
.footer-bottom a {
  margin: 0;
  font-size: 15px;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(var(--animation-distance)) scale(var(--edit-scale, 1));
  transition:
    opacity var(--animation-speed) ease,
    transform var(--animation-speed) cubic-bezier(.21,.72,.24,1);
  will-change: opacity, transform;
}
.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0) scale(var(--edit-scale, 1));
}
body.animation-fade-zoom .scroll-animate { transform: scale(.94); }
body.animation-fade-zoom .scroll-animate.in-view { transform: scale(var(--edit-scale, 1)); }
body.animation-slide-left .scroll-animate { transform: translateX(calc(var(--animation-distance) * -1)) scale(var(--edit-scale, 1)); }
body.animation-slide-left .scroll-animate.in-view { transform: translateX(0) scale(var(--edit-scale, 1)); }
body.animation-slide-right .scroll-animate { transform: translateX(var(--animation-distance)) scale(var(--edit-scale, 1)); }
body.animation-slide-right .scroll-animate.in-view { transform: translateX(0) scale(var(--edit-scale, 1)); }
body.animation-none .scroll-animate,
body.animation-none .scroll-animate.in-view {
  opacity: 1;
  transform: none;
  transition: none;
}
.scroll-animate:nth-child(2),
.gallery .scroll-animate:nth-child(2) { transition-delay: 90ms; }
.scroll-animate:nth-child(3),
.gallery .scroll-animate:nth-child(3) { transition-delay: 170ms; }
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate.in-view { opacity: 1; transform: none; transition: none; }
}

/* Visual editor */
.editor-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
}
.editor-toggle button,
.editor-actions button {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: white;
  padding: 13px 18px;
  font: 700 14px var(--sans);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.editor-panel {
  position: fixed;
  right: 18px;
  top: 18px;
  bottom: 18px;
  width: min(430px, calc(100% - 36px));
  z-index: 70;
  background: white;
  color: #263226;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  padding: 18px;
  overflow-y: auto;
}
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
  position: sticky;
  top: -18px;
  background: white;
  padding-top: 4px;
  padding-bottom: 10px;
  z-index: 2;
}
.editor-header strong { display: block; font-size: 17px; }
.editor-header small { display: block; color: #657061; font-size: 12px; margin-top: 2px; }
.editor-header button {
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.editor-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.editor-tabs button {
  border: 1px solid #d7ddd0;
  background: #f7f5f0;
  border-radius: 999px;
  padding: 9px 8px;
  cursor: pointer;
  font-weight: 800;
  color: #445044;
}
.editor-tabs button.active {
  background: #263226;
  color: white;
  border-color: #263226;
}
.editor-section { display: none; }
.editor-section.active { display: block; }
.editor-panel label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #485248;
  margin: 12px 0;
  font-weight: 800;
}
.editor-panel input,
.editor-panel textarea,
.editor-panel select {
  width: 100%;
  border: 1px solid #d7ddd0;
  border-radius: 12px;
  padding: 11px 12px;
  font: 15px var(--sans);
  background: #fff;
  color: #1f2a1f;
}
.editor-panel textarea { resize: vertical; }
.editor-panel select { cursor: pointer; }
.mini-action {
  width: 100%;
  border: 1px solid #cfd8c6;
  background: #eef2e9;
  color: #2f3a2c;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}
.mini-action:hover { background: #e3eadc; }
.editor-panel input[type="range"] { padding: 0; accent-color: #263226; }
.editor-panel input[type="color"] { height: 42px; padding: 4px; }
.editor-panel input[type="checkbox"] { width: auto; display: inline-block; margin-right: 6px; }
.editor-hint {
  color: #657061;
  font-size: 13px;
  margin: 12px 0 16px;
}
.selected-name {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f1efe8;
  color: #1f2a1f;
  font-weight: 900;
}
.control-group {
  border-top: 1px solid #e8e5dc;
  padding-top: 10px;
  margin-top: 12px;
}
.control-group h4 {
  margin: 4px 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #7a806f;
}
.file-row input { padding: 9px; }
.editor-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.wrap-actions { flex-wrap: wrap; }
.editor-actions button:nth-child(2),
#resetContent { background: #7b2f2f; }
#bringForward { background: #4c5d46; }
#exportBox { margin-top: 14px; font-size: 12px; }

body.edit-mode { padding-right: 0; }
body.edit-mode [data-edit-id] { cursor: pointer; }
body.edit-mode [data-text-key] { cursor: text; }
body.edit-mode [data-edit-id]:hover {
  outline: 2px dashed rgba(120, 141, 105, .75);
  outline-offset: 5px;
}
body.edit-mode [data-edit-id].is-selected {
  outline: 3px solid #1d7afc !important;
  outline-offset: 6px;
  position: relative;
  z-index: 4;
}
body.edit-mode [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
body.edit-mode [contenteditable="true"]:focus {
  outline: 3px solid #1d7afc !important;
  outline-offset: 6px;
}
body.edit-mode .editor-panel,
body.edit-mode .editor-panel * { cursor: auto; }

@media (max-width: 1050px) {
  .nav-shell,
  .shell { width: min(100% - 36px, 900px); }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-grid { width: min(100% - 36px, 900px); }
  .hero-copy { margin-top: 0; }
  .hero-grid,
  .feature-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-left: 0; }
  .hero-photo,
  .wide-photo,
  .tall-card { width: 100%; height: auto; aspect-ratio: 4 / 3; justify-self: stretch; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item { gap: 14px; }
  .tall-card { aspect-ratio: 3 / 4; }
  .footer-grid { gap: 50px; }
  .footer-bottom { flex-direction: column; }
  body.edit-mode { padding-right: 0; }
  .editor-panel { left: 12px; right: 12px; width: auto; top: auto; max-height: 74vh; }
}

@media (max-width: 620px) {
  .nav-shell { min-height: 60px; }
  .nav-links { gap: 22px; font-size: 12px; }
  .hero { padding-top: 104px; }
  .section-pad { padding: 80px 0; }
  .button { padding: 18px 28px; font-size: 14px; }
  .feature { padding-top: 90px; padding-bottom: 100px; }
  .story { padding-top: 90px; padding-bottom: 110px; }
  .footer-bottom div { flex-direction: column; gap: 10px; }
}

/* Direct drag + corner resize controls */
.edit-object-overlay {
  position: fixed;
  z-index: 65;
  border: 2px solid #1d7afc;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 0 0 9999px rgba(29, 122, 252, .025);
}
.edit-object-overlay[hidden] { display: none; }
.edit-move-grip {
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  min-width: 72px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1d7afc;
  color: white;
  font: 900 12px var(--sans);
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  box-shadow: 0 8px 20px rgba(29, 122, 252, .28);
}
.edit-move-grip:active { cursor: grabbing; }
.edit-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  background: #1d7afc;
  padding: 0;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.edit-corner-nw { left: -10px; top: -10px; cursor: nwse-resize; }
.edit-corner-ne { right: -10px; top: -10px; cursor: nesw-resize; }
.edit-corner-sw { left: -10px; bottom: -10px; cursor: nesw-resize; }
.edit-corner-se { right: -10px; bottom: -10px; cursor: nwse-resize; }
body.object-dragging,
body.object-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}
body.edit-mode .photo-frame,
body.edit-mode .button,
body.edit-mode .brand,
body.edit-mode .socials a,
body.edit-mode .editable-box,
body.edit-mode .editable-image {
  touch-action: none;
}


/* Extra editor usability controls */
.editor-window-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.editor-window-actions button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1efe8;
  color: #243024;
  border: 1px solid #d7ddd0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}
.editor-window-actions button:hover { background: #e5eadf; }
.editor-window-actions #closeEditor { font-size: 24px; color: #7b2f2f; }
.editor-panel.is-compact {
  width: min(310px, calc(100% - 36px));
  padding: 14px;
}
.editor-panel.is-compact .editor-tabs {
  grid-template-columns: 1fr;
  gap: 6px;
}
.editor-panel.is-compact .editor-header small { display: none; }
.editor-panel.is-minimized {
  bottom: auto;
  width: min(245px, calc(100% - 36px));
  max-height: 74px;
  overflow: hidden;
  padding: 12px;
}
.editor-panel.is-minimized .editor-tabs,
.editor-panel.is-minimized .editor-section {
  display: none !important;
}
.editor-panel.is-minimized .editor-header {
  margin-bottom: 0;
  padding-bottom: 0;
}
.editor-panel.is-minimized .editor-header small { display: none; }
body.edit-panel-compact { padding-right: 0; }
body.edit-panel-minimized { padding-right: 0; }
.selection-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.selection-switcher[hidden] { display: none; }
.quick-select-toolbar {
  position: fixed;
  z-index: 66;
  display: flex;
  gap: 6px;
  pointer-events: none;
}
.quick-select-toolbar[hidden] { display: none; }
.quick-select-toolbar button {
  border: 0;
  border-radius: 999px;
  background: #263226;
  color: white;
  padding: 7px 10px;
  font: 900 11px var(--sans);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.quick-select-toolbar button:first-child { background: #1d7afc; }
body.edit-mode .image-shell::after {
  content: "BOX";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  background: rgba(38, 50, 38, .88);
  color: white;
  border-radius: 999px;
  padding: 3px 8px;
  font: 900 10px var(--sans);
  letter-spacing: .08em;
  pointer-events: none;
}
body.edit-mode .editable-image::after { content: none; }
body.edit-mode img.editable-image {
  outline-offset: -5px;
}
body.edit-mode img.editable-image:hover {
  outline: 2px dashed rgba(29, 122, 252, .9);
}
@media (max-width: 1050px) {
  body.edit-panel-compact,
  body.edit-panel-minimized { padding-right: 0; }
  .editor-panel.is-minimized { left: auto; right: 12px; top: 12px; bottom: auto; width: min(245px, calc(100% - 24px)); }
}

/* Image crop/proportion controls support */
.tiny-note {
  margin: 4px 0 10px;
  color: #657061;
  font-size: 12px;
  line-height: 1.45;
}
.photo-frame img {
  max-width: none;
  transform-origin: center center;
  will-change: transform, object-position, width, height;
}

.editor-notice {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999999;
  max-width: min(420px, calc(100vw - 48px));
  padding: 12px 14px;
  border-radius: 12px;
  background: #263124;
  color: #fff;
  font: 700 13px/1.35 system-ui, -apple-system, Segoe UI, sans-serif;
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.editor-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.editor-notice.is-error {
  background: #7a2626;
}


.social-icon-image {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 0;
}

.socials .instagram-only {
  overflow: hidden;
}

.socials .instagram-only img {
  pointer-events: auto;
}


/* FINAL MANUAL IMAGE FIXES */
.hero-photo {
  width: 600px;
  height: 700px;
  max-width: 100%;
}

.hero-photo img,
.wide-photo img,
.tall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery {
  align-items: start;
}

.gallery .tall-card {
  width: 410px;
  height: 570px;
  max-width: 100%;
  justify-self: center;
}

.wide-photo {
  width: 100%;
  height: 420px;
}

.photo-frame,
.photo-frame img,
.editable-image {
  border-radius: 24px;
}

@media (max-width: 1050px) {
  .hero-photo,
  .gallery .tall-card,
  .wide-photo {
    width: 100%;
    height: auto;
  }

  .hero-photo {
    aspect-ratio: 6 / 7;
  }

  .gallery .tall-card {
    aspect-ratio: 410 / 570;
  }

  .wide-photo {
    aspect-ratio: 4 / 3;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
}




/* FINAL LINK TITLE CREAM LOGO TUNING */
:root {
  --cream-soft: #F8F0E4;
}

.story {
  background: #F8F0E4 !important;
}

h1 {
  font-size: clamp(54px, 6.4vw, 92px) !important;
  line-height: .92 !important;
  white-space: nowrap;
  letter-spacing: -.055em;
}

.site-header .brand,
.nav-shell .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 120px !important;
  height: 46px !important;
  flex: 0 0 120px !important;
  overflow: visible !important;
}

.site-header .brand img,
.nav-shell .brand img,
img.header-logo,
img[data-image-key="logo"] {
  display: block !important;
  width: 120px !important;
  height: 40px !important;
  max-width: 120px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center !important;
  border-radius: 0 !important;
  transform: none !important;
  position: static !important;
}

.nav-shell {
  min-height: 64px !important;
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(44px, 14vw, 62px) !important;
    white-space: normal;
  }

  .site-header .brand,
  .nav-shell .brand {
    width: 92px !important;
    flex-basis: 92px !important;
  }

  .site-header .brand img,
  .nav-shell .brand img,
  img.header-logo,
  img[data-image-key="logo"] {
    width: 92px !important;
    max-width: 92px !important;
    height: 34px !important;
    max-height: 34px !important;
  }
}


/* IMPORTANT: site stays visible even if JavaScript fails */
.hero,
.feature,
.story,
.site-footer {
  opacity: 1;
  transform: none;
}

/* Animations only activate after JS adds body.sections-ready */
body.sections-ready .section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(.21,.72,.24,1);
  will-change: opacity, transform;
}

body.sections-ready .section-animate.section-visible {
  opacity: 1;
  transform: translateY(0);
}

body.sections-ready .section-animate .hero-copy,
body.sections-ready .section-animate .hero-photo,
body.sections-ready .section-animate .feature-copy,
body.sections-ready .section-animate .photo-frame,
body.sections-ready .section-animate .story-title {
  transition:
    opacity 850ms ease,
    transform 850ms cubic-bezier(.21,.72,.24,1);
}

.gallery .photo-frame {
  transition:
    transform 420ms ease,
    box-shadow 420ms ease;
}

.gallery .photo-frame:hover {
  transform: translateY(-7px) scale(1.012);
  box-shadow: 0 26px 54px rgba(64, 79, 55, .22);
}

@media (prefers-reduced-motion: reduce) {
  body.sections-ready .section-animate,
  body.sections-ready .section-animate.section-visible,
  .gallery .photo-frame,
  .gallery .photo-frame:hover {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* REAL VISIBLE SECTION ANIMATIONS */
.story {
  background: #F4E2CD !important;
}

.story-title {
  color: #B9934C !important;
}

/* Do not hide anything unless animation JS is actually running */
body.animations-on .section-fx {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity 950ms ease var(--section-delay, 0ms),
    transform 950ms cubic-bezier(.18,.72,.22,1) var(--section-delay, 0ms);
  will-change: opacity, transform;
}

body.animations-on .section-fx.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.animations-on .item-fx {
  opacity: 0;
  transform: translateY(42px) scale(.985);
  transition:
    opacity 900ms ease var(--item-delay, 0ms),
    transform 900ms cubic-bezier(.18,.72,.22,1) var(--item-delay, 0ms);
  will-change: opacity, transform;
}

body.animations-on .item-fx.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.animations-on .hero-copy.item-fx {
  transform: translateX(-48px);
}

body.animations-on .hero-photo.item-fx {
  transform: translateX(48px) scale(.985);
}

body.animations-on .hero-copy.item-fx.is-visible,
body.animations-on .hero-photo.item-fx.is-visible {
  transform: translateX(0) scale(1);
}

.gallery .photo-frame {
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    opacity 900ms ease;
}

.gallery .photo-frame:hover {
  transform: translateY(-9px) scale(1.015) !important;
  box-shadow: 0 28px 58px rgba(64, 79, 55, .24);
}

/* Soft moving divider feel between sections */
.feature,
.story,
.site-footer {
  position: relative;
}

.feature::before,
.story::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 80px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(183, 147, 76, .32), transparent);
  opacity: .8;
}

@media (prefers-reduced-motion: reduce) {
  body.animations-on .section-fx,
  body.animations-on .section-fx.is-visible,
  body.animations-on .item-fx,
  body.animations-on .item-fx.is-visible,
  body.animations-on .hero-copy.item-fx,
  body.animations-on .hero-photo.item-fx,
  body.animations-on .hero-copy.item-fx.is-visible,
  body.animations-on .hero-photo.item-fx.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* LAST FOOTER COPYRIGHT + LOGO FIXES */
.site-header .brand,
.nav-shell .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 120px !important;
  height: 46px !important;
  flex: 0 0 120px !important;
  overflow: visible !important;
}

.site-header .brand img,
.nav-shell .brand img,
img.header-logo,
img[data-image-key="logo"] {
  display: block !important;
  width: 120px !important;
  height: 40px !important;
  max-width: 120px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center !important;
  border-radius: 0 !important;
  transform: none !important;
  position: static !important;
}

/* Move copyright higher inside the green footer and keep it visible */
.site-footer {
  padding-bottom: 82px !important;
}

.footer-bottom {
  margin-top: 42px !important;
  padding-top: 28px !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

body.animations-on .footer-bottom,
body.animations-on .footer-bottom.item-fx,
body.animations-on .footer-bottom.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom div {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 620px) {
  .site-header .brand,
  .nav-shell .brand {
    width: 92px !important;
    flex-basis: 92px !important;
  }

  .site-header .brand img,
  .nav-shell .brand img,
  img.header-logo,
  img[data-image-key="logo"] {
    width: 92px !important;
    max-width: 92px !important;
    height: 34px !important;
    max-height: 34px !important;
  }

  .footer-bottom {
    margin-top: 34px !important;
    padding-top: 24px !important;
  }
}


/* LOGO LETTERING FIX */
.site-header .brand,
.nav-shell .brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 120px !important;
  height: 46px !important;
  flex: 0 0 120px !important;
  overflow: visible !important;
}

.site-header .brand img,
.nav-shell .brand img,
img.header-logo,
img[data-image-key="logo"] {
  display: block !important;
  width: 120px !important;
  height: 40px !important;
  max-width: 120px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: left center !important;
  border-radius: 0 !important;
  transform: none !important;
  position: static !important;
}

@media (max-width: 620px) {
  .site-header .brand,
  .nav-shell .brand {
    width: 96px !important;
    flex-basis: 96px !important;
  }

  .site-header .brand img,
  .nav-shell .brand img,
  img.header-logo,
  img[data-image-key="logo"] {
    width: 96px !important;
    max-width: 96px !important;
    height: 32px !important;
    max-height: 32px !important;
  }
}
