:root {
  color-scheme: light;
  --ink: #11110f;
  --muted: rgba(17, 17, 15, 0.62);
  --line: rgba(17, 17, 15, 0.12);
  --paper: #fbfaf7;
  --cream: #f4ecdf;
  --tan: #8a6a45;
  --blue: #1157a6;
  --button-blue: #1f6fce;
  --green: #009e60;
  --orange: #e66a3b;
  --yellow: #fcd116;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 44%, #fff 100%);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  width: min(1500px, calc(100% - 96px));
  margin-inline: auto;
}

.benefits,
.snapshot,
.workflow,
.styles-section,
.closing {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 680;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.closing img {
  border-radius: 22%;
  box-shadow: 0 14px 32px rgba(17, 17, 15, 0.14);
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-morph,
.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 32px;
  font-weight: 680;
  white-space: nowrap;
}

.brand-morph img,
.hero-brand-lockup img {
  width: 88px;
  height: 88px;
  border-radius: 22%;
}

.brand-morph {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 32;
  opacity: 0;
  pointer-events: auto;
  transform: translate3d(48px, 120px, 0);
  transform-origin: left top;
  will-change: transform;
}

.has-brand-morph .hero-brand-lockup {
  opacity: 0;
}

.site-header nav {
  gap: 34px;
  font-size: 14px;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-header nav span,
.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(12, 79, 161, 0.18);
  border-radius: 8px;
  background: var(--button-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 740;
  box-shadow: 0 12px 28px rgba(31, 111, 206, 0.22);
}

.hero {
  position: relative;
  min-height: clamp(720px, 94svh, 960px);
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-wash,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-wash {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.48) 31%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0) 62%);
}

.hero-fade {
  z-index: 6;
  top: auto;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, var(--paper) 100%);
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(1500px, calc(100% - 96px));
  margin-inline: auto;
  padding-top: clamp(150px, 17svh, 210px);
  pointer-events: none;
}

.hero-brand-lockup {
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(44px, 3.55vw, 64px);
  line-height: 1.04;
  font-weight: 520;
}

.hero-subhead {
  margin: 18px 0 0;
  color: var(--tan);
  font-size: clamp(34px, 3.55vw, 56px);
  line-height: 1.12;
  font-weight: 430;
}

.hero-body {
  max-width: 330px;
  margin: 28px 0 0;
  color: rgba(17, 17, 15, 0.7);
  font-size: 16px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 28px;
}

.hero-note {
  color: rgba(17, 17, 15, 0.72);
  font-size: 11px;
  font-weight: 560;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}

.screen-layer {
  position: absolute;
  z-index: 9;
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.screen-layer.is-ready {
  opacity: 1;
}

.floating-note {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  min-width: 82px;
  max-width: 180px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.2));
  pointer-events: auto;
  touch-action: none;
  will-change: left, top;
}

.floating-note:focus-visible {
  outline: 3px solid rgba(31, 111, 206, 0.75);
  outline-offset: 5px;
}

.floating-note.is-dragging {
  z-index: 3;
  cursor: grabbing;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.24));
}

.note-card-motion {
  display: block;
  transform-origin: center;
  transform: rotate(var(--r));
}

.floating-note:hover .note-card-motion {
  transform: rotate(var(--r));
}

.floating-note.is-dragging .note-card-motion {
  transform: rotate(var(--r)) scale(1.03);
}

.floating-note img {
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 74px;
  padding: 46px 0 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 106, 69, 0.1);
  border-radius: 12px;
  background: #f8f4ec;
  color: var(--tan);
  font-size: 23px;
  font-weight: 520;
}

.benefits h2,
.benefits p {
  margin: 0;
}

.benefits h2 {
  font-size: 16px;
  line-height: 1.3;
}

.benefits p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.snapshot {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(440px, 1fr);
  align-items: center;
  gap: 72px;
  padding: 70px 0 58px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--tan);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-copy h2,
.styles-heading h2,
.closing h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.14;
  font-weight: 470;
}

.section-copy p:not(.eyebrow),
.styles-heading p,
.closing p {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.note-composition {
  min-height: 405px;
  position: relative;
}

.shot {
  position: absolute;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 22px 56px rgba(17, 17, 15, 0.16);
}

.shot-yellow {
  width: 250px;
  left: 0;
  top: 0;
}

.shot-green {
  width: 280px;
  right: 58px;
  top: 0;
}

.shot-cream {
  width: 210px;
  right: 160px;
  bottom: 0;
}

.shot-blue {
  width: 160px;
  right: 0;
  bottom: 32px;
}

.workflow {
  padding: 24px 0 72px;
  text-align: center;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px;
}

.workflow article {
  position: relative;
}

.workflow article + article::before {
  position: absolute;
  left: -28px;
  top: 18px;
  content: ">";
  color: rgba(138, 106, 69, 0.34);
}

.workflow span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(138, 106, 69, 0.38);
  border-radius: 999px;
  color: var(--tan);
  font-size: 20px;
}

.workflow h3 {
  margin: 22px 0 0;
  font-size: 14px;
}

.workflow p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.styles-section {
  padding: 28px 0 78px;
}

.styles-heading {
  max-width: 780px;
  margin: 0 auto 38px;
}

.styles-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.style-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.style-card {
  position: relative;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border: var(--style-border);
  border-radius: var(--style-radius, 4px);
  background: var(--style-bg);
  color: var(--style-ink);
  box-shadow: var(--style-shadow);
  overflow: hidden;
}

.style-card::before,
.style-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.style-card::before {
  background: var(--style-texture, transparent);
  opacity: var(--texture-opacity, 1);
}

.style-card::after {
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--style-edge);
}

.style-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
  font-weight: 760;
}

.style-card p {
  position: relative;
  z-index: 1;
  min-height: 58px;
  margin: 16px 0 0;
  color: var(--style-muted);
  font-size: 13px;
  line-height: 1.42;
}

.style-mask {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 15px;
  margin-top: 14px;
  border: var(--mask-border, 0);
  border-radius: var(--mask-radius, 1px);
  background:
    var(--mask-overlay, linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent)),
    var(--mask-bg, linear-gradient(90deg, var(--style-accent), var(--style-link)));
  box-shadow: var(--mask-shadow, inset 0 -1px 0 rgba(255, 255, 255, 0.22));
}

.dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.dots span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  background: var(--dot);
}

.offcut-core {
  --style-bg: #fff8e8;
  --style-ink: #161613;
  --style-muted: rgba(22, 22, 19, 0.62);
  --style-link: #1157a6;
  --style-accent: #e66a3b;
  --style-edge: linear-gradient(180deg, #e66a3b, #fcd116 45%, #1157a6);
  --style-border: 1px solid rgba(22, 22, 19, 0.14);
  --style-radius: 3px;
  --style-shadow: 0 24px 70px rgba(28, 18, 9, 0.18);
  --style-footer: rgba(22, 22, 19, 0.32);
}
.offcut-core .dots span:nth-child(1) { --dot: #e66a3b; }
.offcut-core .dots span:nth-child(2) { --dot: #009e60; }
.offcut-core .dots span:nth-child(3) { --dot: #0047ab; }
.offcut-core .dots span:nth-child(4) { --dot: #fcd116; }

.ceramic-studio {
  --style-bg: #f6e6d8;
  --style-ink: #2d2925;
  --style-muted: rgba(45, 41, 37, 0.62);
  --style-link: #5f7881;
  --style-accent: #7e9aa6;
  --style-edge: linear-gradient(180deg, #c96f4a, #a9b88f 58%, #7e9aa6);
  --style-border: 1px solid rgba(45, 41, 37, 0.14);
  --style-radius: 7px 4px 8px 5px;
  --style-shadow: 0 24px 70px rgba(45, 41, 37, 0.16);
  --style-footer: rgba(45, 41, 37, 0.33);
  --style-texture:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 66%, rgba(45, 41, 37, 0.16) 0 1px, transparent 1.5px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 46%);
  --mask-bg: linear-gradient(90deg, #8c5640, #c96f4a 58%, #a9b88f);
  --mask-overlay:
    radial-gradient(circle at 18% 42%, rgba(246, 230, 216, 0.34) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 66%, rgba(45, 41, 37, 0.2) 0 1px, transparent 1.5px);
  --mask-radius: 9px 4px 8px 5px;
  --mask-shadow: inset 0 1px 2px rgba(45, 41, 37, 0.18), 0 1px 0 rgba(246, 230, 216, 0.45);
}
.ceramic-studio .dots span:nth-child(1) { --dot: #c96f4a; }
.ceramic-studio .dots span:nth-child(2) { --dot: #e7b28e; }
.ceramic-studio .dots span:nth-child(3) { --dot: #a9b88f; }
.ceramic-studio .dots span:nth-child(4) { --dot: #7e9aa6; }

.riso-paper {
  --style-bg: #fff2cf;
  --style-ink: #2a2430;
  --style-muted: rgba(42, 36, 48, 0.62);
  --style-link: #168ea0;
  --style-accent: #e83e8c;
  --style-edge: linear-gradient(180deg, #e83e8c, #e65a2e 46%, #34b8c4);
  --style-border: 1px solid rgba(37, 32, 42, 0.18);
  --style-radius: 2px;
  --style-shadow: 7px 7px 0 rgba(232, 62, 140, 0.2), 13px 13px 0 rgba(52, 184, 196, 0.16), 0 18px 46px rgba(37, 32, 42, 0.12);
  --style-footer: rgba(42, 36, 48, 0.34);
  --style-texture:
    radial-gradient(rgba(42, 36, 48, 0.12) 0.65px, transparent 0.9px),
    radial-gradient(rgba(232, 62, 140, 0.12) 0.55px, transparent 0.85px);
  --texture-opacity: 0.52;
  background-size: auto, 5px 5px, 7px 7px;
}
.riso-paper .dots span:nth-child(1) { --dot: #e83e8c; }
.riso-paper .dots span:nth-child(2) { --dot: #e65a2e; }
.riso-paper .dots span:nth-child(3) { --dot: #e8ce3a; }
.riso-paper .dots span:nth-child(4) { --dot: #34b8c4; }

.system-pack {
  --style-bg: #f2f2f7;
  --style-ink: #1c1c1e;
  --style-muted: #6c6c70;
  --style-link: #007aff;
  --style-accent: #007aff;
  --style-edge: linear-gradient(180deg, #007aff, #34c759);
  --style-border: 1px solid rgba(255, 255, 255, 0.62);
  --style-radius: 8px;
  --style-shadow: 0 22px 58px rgba(28, 28, 30, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --style-footer: rgba(28, 28, 30, 0.36);
  --style-texture:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22));
  --mask-bg: linear-gradient(180deg, #0a84ff, #007aff);
  --mask-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 48%, rgba(0, 0, 0, 0.12));
  --mask-radius: 4px;
  --mask-shadow: 0 0 0 1px rgba(255, 255, 255, 0.46), 0 2px 7px rgba(0, 122, 255, 0.22);
  backdrop-filter: blur(16px);
}
.system-pack .dots span:nth-child(1) { --dot: #f2f2f7; }
.system-pack .dots span:nth-child(2) { --dot: #c7c7cc; }
.system-pack .dots span:nth-child(3) { --dot: #007aff; }
.system-pack .dots span:nth-child(4) { --dot: #34c759; }

.planned-styles {
  width: min(850px, 100%);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(17, 17, 15, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.planned-styles h3,
.planned-styles p {
  margin: 0;
}

.planned-styles h3 {
  font-size: 14px;
}

.planned-styles p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.planned-styles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planned-styles li {
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 999px;
  color: rgba(17, 17, 15, 0.62);
  font-size: 12px;
}

.closing {
  display: grid;
  grid-template-columns: 90px minmax(260px, 1fr) minmax(220px, 320px);
  gap: 54px;
  align-items: center;
  padding: 56px 0 72px;
  border-top: 1px solid var(--line);
}

.closing h2 {
  max-width: 440px;
  font-size: clamp(28px, 4.4vw, 42px);
}

.closing div {
  justify-self: end;
  text-align: center;
}

.closing p {
  margin-top: 7px;
  color: rgba(17, 17, 15, 0.72);
  font-size: 11px;
  font-weight: 560;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}

.legal-note {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: rgba(17, 17, 15, 0.42);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    min-height: clamp(650px, 92svh, 820px);
  }

  .hero-copy {
    padding-top: 118px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(38px, 7vw, 52px);
  }

  .hero-background {
    object-position: 58% top;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.12) 100%);
  }

  .benefits,
  .snapshot,
  .closing {
    grid-template-columns: 1fr;
  }

  .benefits {
    gap: 24px;
  }

  .snapshot {
    gap: 36px;
  }

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

  .workflow article + article::before {
    display: none;
  }

  .closing {
    gap: 22px;
  }

  .closing div {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header,
  .benefits,
  .snapshot,
  .workflow,
  .styles-section,
  .closing,
  .legal-note {
    width: min(100% - 30px, 1120px);
  }

  .site-header {
    height: 66px;
  }

  .site-header nav a {
    display: none;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav span {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .brand span {
    display: none;
  }

  .brand-morph,
  .hero-brand-lockup {
    gap: 0;
  }

  .brand-morph span,
  .hero-brand-lockup span {
    display: none;
  }

  .brand-morph img,
  .hero-brand-lockup img {
    width: 72px;
    height: 72px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    width: min(100% - 30px, 1120px);
    padding-top: 96px;
  }

  .hero-background {
    object-position: 60% top;
  }

  .screen-layer {
    display: none;
  }

  .hero-subhead {
    font-size: 33px;
  }

  .hero-body {
    margin-top: 28px;
  }

  .benefits article,
  .planned-styles {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .snapshot {
    padding-top: 48px;
  }

  .note-composition {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .shot {
    position: static;
    width: 100%;
  }

  .workflow-grid,
  .style-grid {
    grid-template-columns: 1fr;
  }
}

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