@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Outfit:wght@400;500;600;700&display=swap");
:root {
  --olive: #798d36;
  --forest: #2e3615;
  --sage: #868c79;
  --stone: #bdbbb2;
  --paper: #f6f4f0;
  --white: #ffffff;
  --muted: #4e5344;
  --line: rgba(46, 54, 21, 0.16);
  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 50px rgba(46, 54, 21, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 420;
}

body.im-lock {
  overflow: hidden;
}

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

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

::selection {
  background: var(--olive);
  color: var(--paper);
}

.im-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 520;
}

a {
  color: inherit;
}

.im-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  color: var(--paper);
}

.im-nav.is-stuck,
.im-nav.is-open {
  background: rgba(46, 54, 21, 0.94);
  backdrop-filter: blur(12px);
}

.im-logo {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--paper);
}

.im-nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 1.15rem 1.15rem;
  background: rgba(46, 54, 21, 0.96);
}

.im-nav.is-open .im-nav-links {
  display: flex;
}

.im-nav-links a {
  text-decoration: none;
  padding: 0.7rem 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  min-height: 44px;
}

.im-nav-links a:hover {
  color: var(--stone);
}

.im-burger {
  width: 46px;
  height: 44px;
  border: 1px solid rgba(246, 244, 240, 0.4);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--paper);
}

.im-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.im-hero {
  display: flex;
  flex-direction: column;
  background: var(--forest);
  color: var(--paper);
}

.im-hero-media {
  position: relative;
  min-height: 68vh;
}

.im-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4.5rem 1.2rem 5.4rem;
  background: linear-gradient(to top, rgba(46, 54, 21, 0.82) 10%, rgba(46, 54, 21, 0));
}

.im-hero h1,
.im-parallax h2,
.im-cta h2,
.im-about h2,
.im-section-title,
.im-thanks h2,
.im-studio h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 0.92;
  margin: 0;
}

.im-hero h1 {
  font-size: clamp(3.3rem, 12vw, 7.4rem);
  max-width: 11ch;
}

.im-hero h1 em,
.im-parallax h2 em,
.im-cta h2 em {
  font-style: normal;
  font-weight: 600;
  color: var(--stone);
}

.im-deck {
  max-width: 36rem;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--paper);
}

.im-hero-panel {
  background: var(--paper);
  color: var(--forest);
  padding: 1.4rem 1.15rem 1.8rem;
}

.im-hero-panel h2,
.im-foot-form h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.im-lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

.im-form {
  display: grid;
  gap: 0.75rem;
}

.im-row {
  display: grid;
  gap: 0.75rem;
}

.im-field {
  display: grid;
  gap: 0.35rem;
}

.im-field span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.im-field input,
.im-field select,
.im-field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(46, 54, 21, 0.22);
  border-radius: 2px;
  padding: 0.85rem 0.8rem;
  min-height: 48px;
}

.im-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.im-field input:focus,
.im-field select:focus,
.im-field textarea:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
  border-color: var(--forest);
}

.im-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.im-form-error {
  margin: 0;
  background: rgba(121, 141, 54, 0.22);
  padding: 0.6rem 0.75rem;
}

.im-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  background: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 520;
  cursor: pointer;
}

.im-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--forest);
}

.im-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.im-btn-wide {
  width: 100%;
}

.im-btn-ghost {
  background: transparent;
  color: var(--forest);
}

.im-parallax {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest);
}

.im-parallax-bg {
  position: absolute;
  inset: -14% 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.14);
  will-change: transform;
}

.im-parallax-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 54, 21, 0.78), rgba(46, 54, 21, 0.12) 55%);
}

.im-parallax-fg {
  position: relative;
  z-index: 1;
  padding: 18vh 1.2rem 2.2rem;
  max-width: 48rem;
  will-change: transform;
}

.im-parallax h2 {
  font-size: clamp(3.1rem, 10vw, 7rem);
  max-width: 12ch;
}

.im-float {
  display: none;
}

.im-practice {
  background: var(--paper);
}

.im-practice-photo {
  min-height: 52vh;
}

.im-practice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 52vh;
}

.im-practice-copy {
  padding: 2.2rem 1.2rem 2.6rem;
}

.im-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.im-line:last-child {
  border-bottom: 1px solid var(--line);
}

.im-num {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding-top: 0.45rem;
  color: var(--olive);
}

.im-line h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.im-line p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.im-cta {
  background: var(--olive);
  color: var(--forest);
  text-align: center;
  padding: 4.2rem 1.2rem;
}

.im-cta h2 {
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  margin: 0 auto;
  max-width: 14ch;
}

.im-cta p {
  max-width: 32rem;
  margin: 1rem auto 1.4rem;
}

.im-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.im-cta .im-btn-ghost {
  border-color: var(--forest);
  color: var(--forest);
}

.im-cta .im-btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest);
}

.im-gallery-wrap {
  background: var(--stone);
  padding: 5.6rem 1.05rem 3.6rem;
}

.im-gallery-head {
  max-width: 1180px;
  margin: 0 auto 1.4rem;
}

.im-section-title {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  max-width: 12ch;
}

.im-gallery-head p {
  max-width: 36rem;
  color: var(--forest);
}

.im-gallery {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.im-flip {
  height: 460px;
  perspective: 1400px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

.im-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.im-flip.is-flipped .im-flip-inner,
.im-flip:focus-within .im-flip-inner {
  transform: rotateX(var(--tilt-x)) rotateY(calc(180deg + var(--tilt-y)));
}

.im-flip-face {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
}

.im-flip-back {
  transform: rotateY(180deg);
}

.im-flip-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--forest);
  border: 1px solid rgba(246, 244, 240, 0.28);
  transform: translateZ(0);
  box-shadow: 0 24px 48px rgba(20, 24, 8, 0.28);
}

.im-flip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-flip-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 54, 21, 0.16) 0%, rgba(46, 54, 21, 0.08) 42%, rgba(46, 54, 21, 0.88) 100%);
}

.im-flip-back .im-flip-shade {
  background:
    radial-gradient(circle at 18% 16%, rgba(121, 141, 54, 0.38) 0%, transparent 52%),
    linear-gradient(155deg, rgba(46, 54, 21, 0.55) 0%, rgba(46, 54, 21, 0.78) 100%);
}

.im-flip-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.15rem 1.2rem 1.25rem;
  pointer-events: none;
  color: var(--paper);
}

.im-flip-hint {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid rgba(246, 244, 240, 0.7);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  transform: translateZ(42px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.im-flip-tag {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transform: translateZ(52px);
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.75);
}

.im-flip-overlay h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--white);
  transform: translateZ(72px);
  text-shadow: 0 14px 26px rgba(0, 0, 0, 0.85);
}

.im-flip-sub {
  margin: 0;
  font-size: 0.84rem;
  color: var(--paper);
  transform: translateZ(58px);
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

.im-flip-overlay-back {
  justify-content: flex-end;
  gap: 0.45rem;
}

.im-flip-overlay-back .im-flip-tag {
  transform: translateZ(55px);
  color: var(--paper);
  background: var(--olive);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.4);
}

.im-flip-overlay-back h3 {
  font-size: clamp(1.45rem, 1.8vw, 1.9rem);
  transform: translateZ(88px);
  text-shadow: 0 18px 30px rgba(0, 0, 0, 0.9);
}

.im-flip-overlay-back > p:not(.im-flip-tag) {
  margin: 0;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--paper);
  transform: translateZ(68px);
  text-shadow: 0 12px 20px rgba(0, 0, 0, 0.85);
}

.im-flip-btn {
  pointer-events: auto;
  margin-top: 0.35rem;
  min-height: 44px;
  background: var(--olive);
  color: var(--forest);
  border-color: var(--paper);
  transform: translateZ(98px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
}

.im-flip-btn:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest);
}

.im-about {
  display: grid;
  background: var(--forest);
  color: var(--paper);
}

.im-about-photo {
  margin: 0;
  min-height: 46vh;
}

.im-about-photo img {
  width: 100%;
  height: 100%;
  min-height: 46vh;
  object-fit: cover;
}

.im-about-copy,
.im-about-meta {
  padding: 2.4rem 1.2rem;
}

.im-about h2 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 12ch;
}

.im-about p {
  max-width: 38rem;
}

.im-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.im-meta-list li {
  border-top: 1px solid rgba(246, 244, 240, 0.2);
  padding-top: 0.8rem;
}

.im-meta-list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.25rem;
}

.im-meta-list a {
  color: var(--paper);
}

.im-foot-form {
  background: var(--paper);
  padding: 3rem 1.2rem 2rem;
}

.im-foot-form-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.im-foot-photo {
  margin: 1.4rem 0 0;
}

.im-foot-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.im-footer {
  background: var(--forest);
  color: var(--stone);
  padding: 1.3rem 1.2rem 5.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  font-size: 0.92rem;
}

.im-footer a {
  color: var(--paper);
}

.im-packages {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.im-packages a {
  color: var(--forest);
}

.im-leafbar {
  position: fixed;
  z-index: 40;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: min(94vw, 720px);
  padding: 0.3rem 0.4rem 0.3rem 0.7rem;
  background: rgba(246, 244, 240, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.im-leaf-custom {
  position: relative;
  display: inline-flex;
}

.im-leaf-x {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px !important;
  height: 16px !important;
  padding: 0 !important;
  border-radius: 999px;
  border: 1px solid var(--forest) !important;
  background: var(--paper) !important;
  font-size: 0.7rem;
  line-height: 1;
}

.im-leaf-add,
.im-leaf-tune {
  width: auto !important;
  height: 40px;
  padding: 0 0.7rem !important;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.im-leaf-add input {
  display: none;
}

.im-leaf-tune[aria-expanded="true"] {
  border-color: var(--forest);
  background: var(--white);
}

.im-leaf-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.5rem);
  width: min(300px, 86vw);
  padding: 0.85rem 0.9rem 0.75rem;
  background: var(--paper);
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.im-leaf-panel[hidden] {
  display: none;
}

.im-leaf-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.im-leaf-panel h3 + h3 {
  margin-top: 0.75rem;
}

.im-leaf-row {
  display: grid;
  grid-template-columns: 4.6rem 1fr 2rem;
  align-items: center;
  gap: 0.4rem;
  margin: 0.28rem 0;
  font-size: 0.78rem;
}

.im-leaf-row input[type="range"] {
  width: 100%;
  accent-color: var(--olive);
}

.im-leaf-row b {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.im-leaf-note {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.im-leaf-note.is-warn {
  color: var(--forest);
}

.im-leaf-reset {
  margin-top: 0.65rem;
  width: auto !important;
  height: 36px;
  padding: 0 0.75rem !important;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.im-leafbar p {
  margin: 0 0.25rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.im-leafbar button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 5px;
}

.im-leafbar button[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--white);
}

.im-leafbar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.im-leafbar .im-mix {
  width: auto;
  padding: 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 719px) {
  .im-leafbar {
    top: 4.6rem;
    right: 0.55rem;
    bottom: auto;
    left: auto;
    max-width: calc(100vw - 1.1rem);
  }

  .im-leafbar p {
    display: none;
  }

  .im-leaf-panel {
    top: calc(100% + 0.45rem);
    right: 0;
    bottom: auto;
    left: auto;
  }
}

.im-leaf-field {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}

.im-leaf-field img {
  position: absolute;
  left: 0;
  top: 0;
  filter: drop-shadow(0 8px 8px rgba(46, 54, 21, 0.16));
}

body.im-lock .im-leaf-field,
body.im-lock .im-leafbar {
  visibility: hidden;
}

.im-thanks[hidden] {
  display: none;
}

.im-thanks {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(46, 54, 21, 0.62);
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.im-thanks-card {
  width: min(100%, 860px);
  background: var(--paper);
  color: var(--forest);
  display: grid;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.im-thanks-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.im-thanks-copy {
  padding: 1.4rem 1.2rem 1.5rem;
}

.im-thanks h2 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  max-width: 12ch;
}

.im-thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.im-studio {
  min-height: 100vh;
  background: var(--paper);
  color: var(--forest);
}

.im-studio-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--forest);
  color: var(--paper);
}

.im-studio-bar a {
  color: var(--paper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
}

.im-studio-main {
  padding: 1.4rem 1.15rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.im-studio h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
}

.im-lockbox,
.im-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.1rem;
  margin-top: 1rem;
}

.im-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 1rem 0;
}

.im-stat {
  background: var(--forest);
  color: var(--paper);
  padding: 0.9rem 1rem;
}

.im-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.im-stat span {
  color: var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.im-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.6rem 0 1rem;
}

.im-tools input {
  flex: 1 1 200px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 0.8rem;
}

.im-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table.im-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}

.im-table th,
.im-table td {
  text-align: left;
  padding: 0.75rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.im-table th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 520;
}

.im-empty {
  padding: 1.4rem 0.2rem;
  color: var(--muted);
}

.im-note {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .im-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .im-thanks-card {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .im-thanks-card img {
    height: 100%;
    min-height: 280px;
  }

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

@media (min-width: 900px) {
  .im-burger {
    display: none;
  }

  .im-nav {
    padding-inline: 1.6rem;
  }

  .im-nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
  }

  .im-nav.is-open .im-nav-links {
    display: flex;
  }
}

@media (min-width: 980px) {
  .im-hero {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    min-height: 100vh;
  }

  .im-hero-media {
    min-height: 100vh;
  }

  .im-hero-copy {
    padding: 6rem 2.4rem 5.6rem;
  }

  .im-hero-panel {
    padding: 6.4rem 2rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .im-practice {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    min-height: 100vh;
  }

  .im-practice-photo img,
  .im-practice-photo {
    min-height: 100%;
    height: 100%;
  }

  .im-practice-copy {
    padding: 6.5rem 3rem 3rem 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .im-parallax.is-end {
    justify-items: end;
  }

  .im-parallax.is-end .im-parallax-fg {
    text-align: right;
    padding-right: 6vw;
  }

  .im-parallax.is-end .im-parallax-fg h2,
  .im-parallax.is-end .im-parallax-fg p {
    margin-left: auto;
  }

  .im-float {
    display: block;
    position: absolute;
    z-index: 2;
    width: min(280px, 24vw);
    right: 7vw;
    top: 16vh;
    border: 8px solid var(--paper);
    box-shadow: var(--shadow);
    will-change: transform;
  }

  .im-parallax.is-end .im-float {
    right: auto;
    left: 7vw;
  }

  .im-float img {
    width: 100%;
    height: 340px;
    object-fit: cover;
  }

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

  .im-about {
    grid-template-columns: 0.9fr 1.15fr 0.8fr;
  }

  .im-about-photo,
  .im-about-photo img {
    min-height: 100%;
    height: 100%;
  }

  .im-about-copy,
  .im-about-meta {
    padding: 4.5rem 3rem;
  }

  .im-foot-form {
    padding: 4.5rem 3rem 3rem;
  }

  .im-foot-form-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.4rem;
    align-items: stretch;
  }

  .im-foot-photo {
    display: grid;
    margin: 0;
  }

  .im-foot-photo img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .im-footer {
    padding: 1.4rem 3rem 2rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .im-flip:hover .im-flip-inner {
    transform: rotateX(var(--tilt-x)) rotateY(calc(180deg + var(--tilt-y)));
  }
}

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

  .im-flip-inner,
  .im-parallax-bg,
  .im-parallax-fg,
  .im-float {
    transition: none !important;
    transform: none !important;
  }

  .im-flip-back {
    transform: rotateY(180deg);
  }
}
