:root {
  --paper: #EFECE3;
  --ink: #181716;
  --magenta: #EC38A2;
  --rule: #5746C8;
  --sans: "Inter", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --section-heading-size: 32.5px;
  --section-heading-leading: 1.09;
  --lower-body-size: 15px;
  --lower-body-leading: 1.48;
  --heading-body-gap: 20px;
  --content-block-gap: 18px;
}

* { box-sizing: border-box; }
html, body { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
h1, h2, p { margin: 0; }

.sheet {
  width: min(100vw, 1024px);
  height: 1536px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

/* One continuous warm uncoated-paper tooth across the full viewport. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .23;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' seed='31' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23a)' opacity='.20'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='360' height='360' filter='url(%23b)' opacity='.10'/%3E%3C/svg%3E");
}

/* ---------- production geometry ---------- */
.crop {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 6;
  pointer-events: none;
}
.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: #292929;
}
.crop::before { width: 30px; height: 1px; }
.crop::after { width: 1px; height: 30px; }

.crop--tl { left: 25px; top: 20px; }
.crop--tl::before { left: 0; bottom: 0; }
.crop--tl::after { right: 0; top: 0; }

.crop--tr { right: 25px; top: 20px; }
.crop--tr::before { right: 0; bottom: 0; }
.crop--tr::after { left: 0; top: 0; }

.crop--bl { left: 25px; bottom: 20px; }
.crop--bl::before { left: 0; top: 0; }
.crop--bl::after { right: 0; bottom: 0; }

.crop--br { right: 25px; bottom: 20px; }
.crop--br::before { right: 0; top: 0; }
.crop--br::after { left: 0; bottom: 0; }

.production-left {
  position: absolute;
  left: 31px;
  top: 82px;
  width: 52px;
  height: 420px;
  z-index: 6;
  pointer-events: none;
}

.production-guide {
  position: absolute;
  width: 1px;
  background: #2B2B2B;
}

.production-guide--left {
  left: 30px;
  top: 0;
  height: 231px;
}

.color-strip {
  position: absolute;
  left: 0;
  top: 42px;
  width: 18px;
  height: 137px;
  object-fit: fill;
  display: block;
}

.registration {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1.2px solid #2B2B2B;
  border-radius: 50%;
  z-index: 6;
  pointer-events: none;
}

.registration::before,
.registration::after {
  content: "";
  position: absolute;
  background: #2B2B2B;
}

.registration::before {
  width: 1px;
  height: 47px;
  left: 14px;
  top: -8px;
}

.registration::after {
  height: 1px;
  width: 47px;
  left: -8px;
  top: 14px;
}

.registration span {
  position: absolute;
  width: 9px;
  height: 9px;
  left: 10px;
  top: 10px;
  border: 1px solid #2B2B2B;
  border-radius: 50%;
}

.registration--left {
  left: 15px;
  top: 215px;
}

.production-label {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.production-label--left {
  left: 21px;
  top: 298px;
  color: #2B2B2B;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.production-label--hello {
  right: 83px;
  top: 84px;
  color: #2B2B2B;
}

.registration--right-top {
  right: 30px;
  top: 148px;
}

.dashed-guide--right {
  position: absolute;
  right: 45px;
  top: 194px;
  width: 1px;
  height: 76px;
  z-index: 6;
  opacity: .74;
  background: repeating-linear-gradient(
    to bottom,
    #2B2B2B 0 3px,
    transparent 3px 7px
  );
}

.production-label--right-low {
  right: -65px;
  top: 33px;
  color: var(--magenta);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.registration--right-low {
  right: -64px;
  top: 210px;
  opacity: .86;
}

/* ---------- hero ---------- */
.hero { height: 668px; position: relative; z-index: 2; }
.brand { position: absolute; top: 84px; left: 168px; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.hero-composition { position: absolute; inset: 0; }
.hero-copy { position: absolute; left: 137px; top: 179px; width: 272px; z-index: 3; }
.hero h1 { font-family: var(--serif); font-size: 79px; line-height: .99; font-weight: 500; letter-spacing: -.035em; }
.pink-dot { color: var(--magenta); }
.hero-copy p { width: 250px; margin-top: 35px; font-size: 16px; line-height: 1.62; letter-spacing: -.015em; }
.hero-f { position: absolute; width: 510px; height: auto; top: 12px; right: 154px; z-index: 1; }

/* ---------- ruled sections ---------- */
.ruled-section { margin-left: 95px; margin-right: 94px; position: relative; z-index: 2; border-top: 1.5px solid var(--rule); }

/* ---------- philosophy ---------- */
.philosophy { height: 290px; display: grid; grid-template-columns: 280px 1fr; align-items: start; padding: 72px 25px 24px; }
.section-heading h2 {
  font-family: var(--serif);
  font-size: var(--section-heading-size);
  font-weight: 400;
  line-height: var(--section-heading-leading);
}
.orientation-mark { display: block; width: 58px; height: auto; margin-top: 13px; }
.philosophy-copy { max-width: 500px; padding-left: 3px; }
.body-copy p { margin: 0; font-size: 16px; line-height: 1.52; }
.philosophy-copy p + p { margin-top: 17px; }
.right-rule { position: absolute; right: 14px; top: 31px; width: 1px; height: 234px; background: var(--rule); opacity: .74; }

/* ---------- tools / studio ---------- */
.lower-grid { height: 325px; display: grid; grid-template-columns: 1fr 1fr; }
.lower-grid::after { content: ""; position: absolute; top: -1.5px; bottom: 0; left: 50%; width: 1px; background: var(--rule); }
.tools, .studio-note { position: relative; padding-top: 40px; }
.tools { padding-left: 39px; padding-right: 49px; }
.tools-heading-row { display: flex; align-items: flex-start; gap: 11px; margin-left: -31px; }
.tools-asterisk { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--rule); opacity: .96; }
.tools h2,
.studio-note h2 {
  font-family: var(--serif);
  font-size: var(--section-heading-size);
  font-weight: 400;
  line-height: var(--section-heading-leading);
}
.tools > p { width: 300px; font-size: var(--lower-body-size); line-height: var(--lower-body-leading); }
.tools-heading-row + p { margin-top: var(--heading-body-gap); }
.tools > p + p { margin-top: var(--content-block-gap); }
.step-lines { margin-top: var(--content-block-gap); display: grid; gap: 3px; font-size: var(--lower-body-size); line-height: 1.32; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 17px; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: color 140ms ease; }
.tools-shapes { position: absolute; width: 72px; height: auto; right: 45px; bottom: 82px; opacity: .92; }
.studio-note { padding-left: 36px; padding-right: 88px; }
.note-title { display: flex; align-items: flex-start; gap: 18px; }
.outline-square { width: 22px; height: 22px; margin: 3px 1.5px 0; flex: none; border: 1.5px solid var(--magenta); opacity: .86; }
.studio-note > p { width: 272px; margin-top: var(--heading-body-gap); font-size: var(--lower-body-size); line-height: var(--lower-body-leading); }
.studio-note > p + p { margin-top: var(--content-block-gap); }
.violet-scale { position: absolute; right: 19px; top: 58px; width: 38px; height: 225px; display: block; object-fit: fill; }

/* ---------- contact ---------- */
.contact-box {
  position: absolute;
  left: 79px;
  right: 79px;
  bottom: 76px;
  height: 130px;
  z-index: 2;
  display: grid;
  grid-template-columns: 470px 1fr;
  overflow: visible;
  padding: 1.6px;
  border-radius: 0;
}
.contact-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border: 1.6px solid var(--rule);
}
.contact-art {
  position: relative;
  height: 100%;
  overflow: visible;
  background: var(--paper);
}
.contact-art-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.contact-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  z-index: 5;
  pointer-events: none;
  background: var(--rule);
}
.contact-artwork,
.contact-wand-overlap {
  position: absolute;
  left: -4px;
  bottom: -2px;
  width: calc(100% + 8px);
  height: auto;
  display: block;
  pointer-events: none;
}
.contact-artwork { z-index: 2; }
.contact-wand-overlap {
  z-index: 6;
  clip-path: polygon(10.4% 0, 13.2% 0, 11.1% 16.5%, 8.4% 16.5%);
}
.contact-copy { padding: 14px 22px; }
.contact-copy h2 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}
.contact-copy p { margin-top: 7px; font-size: 13px; line-height: 1.42; }
.contact-copy a {
  display: inline-flex;
  gap: 12px;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 140ms ease;
}
.cta:hover,
.cta:focus-visible,
.contact-copy a:hover,
.contact-copy a:focus-visible {
  color: var(--magenta);
}

/* ---------- footer ---------- */
footer {
  position: absolute;
  left: 93px;
  right: 93px;
  bottom: 15px;
  height: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  color: #5144B8;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .055em;
}
footer > span:last-child { text-align: right; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.footer-center { display: grid; gap: 8px; text-align: center; }
.footer-dots { display: flex; gap: 8px; justify-content: center; margin: 0 auto; }
.footer-dot {
  width: 18px;
  height: 18px;
  display: block;
  background-image: url("assets/footer-dots.png?v=6");
  background-repeat: no-repeat;
  background-size: 64px 18px;
}
.footer-dot--blue { background-position: left top; }
.footer-dot--magenta { background-position: center top; }
.footer-dot--yellow { background-position: right top; }

/* ---------- responsive sheet + production rails ---------- */
@media (max-width: 900px) {
  .sheet {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    padding: 0 clamp(52px, 8vw, 72px) 40px;
    overflow: hidden;
  }
  .ruled-section { margin-left: 0; margin-right: 0; }

  .crop { transform: scale(.82); }
  .crop--tl { left: 14px; top: 14px; transform-origin: top left; }
  .crop--tr { right: 14px; top: 14px; transform-origin: top right; }
  .crop--bl { left: 14px; bottom: 14px; transform-origin: bottom left; }
  .crop--br { right: 14px; bottom: 14px; transform-origin: bottom right; }

  .production-left { left: -44px; top: 68px; transform: scale(.74); transform-origin: top left; }
  .production-label--hello { right: -38px; top: 70px; }
  .registration--right-top { right: -53px; top: 148px; transform: scale(.74); }
  .dashed-guide--right { right: -38px; top: 188px; height: 72px; }
  .production-label--right-low { right: -42px; top: 34px; }
  .registration--right-low { right: -45px; top: 215px; transform: scale(.74); }
}

/* ---------- responsive hero composition ---------- */
@media (max-width: 900px) {
  .hero { height: 630px; }
  .brand { left: 12px; top: 34px; }
  .hero-composition {
    position: relative;
    inset: auto;
    height: 630px;
    display: grid;
    grid-template-columns: minmax(220px, 38%) minmax(0, 62%);
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding-top: 126px;
    grid-column: 1;
  }
  .hero h1 { font-size: clamp(68px, 9.5vw, 79px); }
  .hero-copy p { width: min(250px, 100%); margin-top: 32px; }
  .hero-f {
    position: relative;
    top: 26px;
    right: auto;
    width: min(100%, 510px);
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .sheet { padding-right: 42px; padding-left: 42px; }
  .hero { height: auto; }
  .brand { top: 30px; }
  .hero-composition {
    height: auto;
    padding-top: 100px;
    grid-template-columns: minmax(116px, 42%) minmax(0, 58%);
    grid-template-rows: auto auto;
  }
  .hero-copy { display: contents; }
  .hero h1 {
    grid-column: 1;
    grid-row: 1;
    z-index: 3;
    font-size: clamp(58px, 16vw, 68px);
    align-self: start;
  }
  .hero-copy p {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(300px, 100%);
    margin-top: -8px;
    padding-bottom: 36px;
    font-size: 15px;
    line-height: 1.58;
  }
  .hero-f {
    top: -20px;
    width: calc(100% + 60px);
    max-width: none;
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }
  .production-left { left: -34px; top: 64px; transform: scale(.62); }
  .production-label--hello { right: -30px; top: 65px; transform: scale(.88); transform-origin: top right; }
  .registration--right-top { right: -43px; top: 140px; transform: scale(.62); }
  .dashed-guide--right { right: -28px; top: 177px; height: 64px; }
}

/* ---------- responsive orientation ---------- */
@media (max-width: 900px) {
  .philosophy {
    height: auto;
    min-height: 300px;
    grid-template-columns: minmax(220px, .9fr) 1.35fr;
    padding: 32px 22px 28px;
  }
  .philosophy-copy { width: 100%; max-width: none; padding-left: 0; }
  .body-copy p { font-size: 15px; }
  .right-rule { right: 0; height: calc(100% - 62px); }
}

@media (max-width: 680px) {
  .philosophy { min-height: 0; display: block; padding: 30px 0 30px; }
  .philosophy-copy { padding-top: 30px; }
  .right-rule { display: none; }
}

/* ---------- responsive tools + studio ---------- */
@media (max-width: 900px) {
  .lower-grid { height: auto; min-height: 365px; }
  .tools, .studio-note { min-width: 0; padding-top: 30px; }
  .tools { padding-left: 26px; padding-right: 26px; }
  .tools-heading-row { margin-left: 0; }
  .tools h2, .studio-note h2 { font-size: 30px; }
  .tools > p, .studio-note > p { width: auto; max-width: 290px; font-size: 15px; }
  .step-lines { font-size: 15px; }
  .tools-shapes { right: 23px; bottom: 76px; }
  .studio-note { padding-left: 28px; padding-right: 68px; }
  .note-title { gap: 14px; }
  .violet-scale { right: 14px; }
}

@media (max-width: 760px) {
  .lower-grid { min-height: 0; display: block; }
  .lower-grid::after { display: none; }
  .tools, .studio-note { min-height: 0; }
  .tools { padding: 32px 0 46px; border-bottom: 1px solid var(--rule); }
  .tools > p { width: min(300px, 84%); }
  .step-lines { margin-top: 20px; }
  .tools-shapes { right: 5px; bottom: 72px; }
  .studio-note { padding: 32px 58px 46px 0; }
  .violet-scale { right: 0; top: 62px; }
  .production-label--right-low { right: -33px; top: 350px; }
  .registration--right-low { right: -36px; top: 535px; transform: scale(.62); }
}

/* ---------- responsive contact ---------- */
@media (max-width: 900px) {
  .contact-box {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin-top: 48px;
    grid-template-columns: 66% 34%;
  }
  .contact-art { height: auto; aspect-ratio: 1588 / 439; }
  .contact-copy { padding: 8px 16px; }
}

@media (max-width: 760px) {
  .contact-box { margin-top: 46px; grid-template-columns: 1fr; }
  .contact-art { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-copy { padding: 25px 23px 27px; }
}

/* ---------- responsive footer ---------- */
@media (max-width: 900px) {
  footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  footer { grid-template-columns: 1fr; gap: 13px; text-align: center; }
  footer > span:last-child { text-align: center; }
}

@media (max-width: 420px) {
  .sheet { padding-right: 36px; padding-left: 36px; }
  .crop { transform: scale(.68); }
  .production-left { left: -29px; transform: scale(.54); }
  .production-label--hello { right: -24px; transform: scale(.76); }
  .registration--right-top { right: -38px; transform: scale(.54); }
  .dashed-guide--right { right: -25px; }
  .section-heading h2, .tools h2, .studio-note h2 { font-size: 29px; }
  .tools > p { width: 88%; }
  .tools-shapes { width: 66px; right: 0; }
  .studio-note { padding-right: 48px; }
  .violet-scale { width: 32px; }
  .production-label--right-low { right: -28px; }
  .registration--right-low { right: -31px; transform: scale(.54); }
  .contact-copy { padding-left: 20px; padding-right: 20px; }
}
