:root {
  --paper: #f3f1ea;
  --ink: #1b1d22;
  --muted: #777873;
  --blue: #2459e8;
  --orange: #f2783c;
  --line: rgba(27, 29, 34, .18);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-shell { overflow: hidden; }
.masthead {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-mark {
  width: 15px;
  height: 15px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  position: relative;
}
.brand-mark::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  position: absolute;
  right: -5px;
  bottom: -3px;
}
.main-nav { display: flex; align-items: center; gap: 32px; font-size: .82rem; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.nav-contact { font-weight: 700; }
.nav-contact span { color: var(--orange); font-size: 1.1rem; }

.hero {
  width: min(calc(100% - 64px), var(--max));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  gap: 50px;
  align-items: center;
  position: relative;
  padding: 54px 0 84px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 8vw, 7.75rem);
  line-height: .9;
  font-weight: 600;
}
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-lede {
  max-width: 395px;
  margin-bottom: 34px;
  color: #565852;
  font-size: 1.02rem;
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: .88rem;
  font-weight: 700;
}
.text-link span { color: var(--orange); font-size: 1.2rem; }

.collage { min-height: 525px; position: relative; }
.polaroid {
  background: #fff;
  padding: 14px 14px 48px;
  box-shadow: 13px 16px 0 rgba(27, 29, 34, .1);
}
.polaroid-main {
  width: min(100%, 480px);
  position: absolute;
  top: 25px;
  right: 28px;
  transform: rotate(5deg);
}
.polaroid-main img {
  width: 100%;
  height: 365px;
  object-fit: cover;
}
.polaroid-main figcaption {
  margin-top: 15px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
}
.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: .9;
}
.sticker-blue {
  width: 138px;
  height: 138px;
  left: 8px;
  top: 45px;
  background: var(--blue);
  border-radius: 50%;
  transform: rotate(-11deg);
  font-size: 1.1rem;
}
.sticker-orange {
  width: 118px;
  height: 118px;
  right: 4px;
  bottom: 38px;
  background: var(--orange);
  transform: rotate(12deg);
  font-size: 1.6rem;
}
.sticker-orange span { font-size: .66rem; letter-spacing: .04em; }
.scribble {
  position: absolute;
  left: 70px;
  bottom: 86px;
  color: var(--orange);
  font-size: 4.2rem;
  transform: rotate(20deg);
}
.mini-note {
  position: absolute;
  right: 35px;
  bottom: -10px;
  width: 155px;
  padding: 16px 15px;
  background: #dbe5ff;
  transform: rotate(-6deg);
}
.mini-note span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: .58rem;
  font-weight: 700;
}
.mini-note strong { font-family: "Space Grotesk", sans-serif; font-size: .92rem; line-height: 1.05; }
.hero-foot {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-foot .line { width: 75px; height: 1px; background: var(--line); }
.hero-foot span:last-child { margin-left: auto; }

.studio-section, .craft-section, .contact-section {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}
.studio-section {
  padding: 135px 0 150px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 100px;
  border-top: 1px solid var(--line);
}
h2 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .92; font-weight: 600; }
h2 span { color: var(--blue); }
.studio-statement { align-self: end; max-width: 415px; padding-bottom: 5px; }
.studio-statement p:first-child { font-size: 1.45rem; line-height: 1.18; }
.studio-statement .muted { color: var(--muted); font-size: .92rem; }

.craft-section {
  padding: 110px 0 145px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}
.craft-heading h2 { font-size: clamp(3.3rem, 6vw, 6rem); }
.craft-list { border-top: 1px solid var(--ink); }
.craft-row {
  display: grid;
  grid-template-columns: 45px 1fr 25px;
  gap: 18px;
  align-items: start;
  padding: 28px 0 31px;
  border-bottom: 1px solid var(--line);
}
.row-number { color: var(--orange); font-family: "Space Grotesk", sans-serif; font-size: .72rem; font-weight: 700; }
.craft-row h3 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 500; }
.craft-row p { max-width: 520px; margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.row-arrow { color: var(--blue); font-size: 1.5rem; transition: transform .2s ease; }
.craft-row:hover .row-arrow { transform: translate(4px, -4px); }

.contact-section {
  padding: 130px 0 150px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 120px;
  border-top: 1px solid var(--line);
}
.contact-heading h2 { font-size: clamp(3rem, 5.5vw, 6rem); }
.contact-form { padding-top: 10px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: block; margin-bottom: 24px; }
.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #a1a29d; }
.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.submit-button:hover { background: var(--orange); transform: translateY(-2px); }
.submit-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.form-status { min-height: 22px; margin: 18px 0 0; color: var(--blue); font-size: .82rem; }
.site-footer {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.polaroid-main.is-visible { transform: rotate(5deg) translateY(0); }
.sticker-blue.is-visible { transform: rotate(-11deg) translateY(0); }
.sticker-orange.is-visible { transform: rotate(12deg) translateY(0); }
.mini-note.is-visible { transform: rotate(-6deg) translateY(0); }

@media (max-width: 860px) {
  .masthead, .hero, .studio-section, .craft-section, .contact-section, .site-footer { width: min(calc(100% - 40px), var(--max)); }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .collage { min-height: 470px; margin-top: 5px; }
  .polaroid-main { right: 9%; }
  .studio-section, .craft-section, .contact-section { grid-template-columns: 1fr; gap: 45px; }
  .studio-section { padding: 95px 0; }
  .craft-section, .contact-section { padding: 90px 0 105px; }
}
@media (max-width: 560px) {
  .masthead { padding: 20px 0; }
  .main-nav { gap: 13px; font-size: .7rem; }
  .main-nav a:nth-child(2) { display: none; }
  .nav-contact { text-align: right; max-width: 90px; }
  .hero { min-height: auto; padding-bottom: 78px; }
  h1 { font-size: clamp(3.45rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-lede { font-size: .94rem; }
  .collage { min-height: 365px; margin-top: 24px; }
  .polaroid-main { width: 88%; top: 30px; right: 0; padding: 9px 9px 32px; }
  .polaroid-main img { height: 245px; }
  .sticker-blue { width: 92px; height: 92px; left: -5px; top: 20px; font-size: .76rem; }
  .sticker-orange { width: 86px; height: 86px; right: -2px; bottom: 22px; font-size: 1.2rem; }
  .sticker-orange span { font-size: .5rem; }
  .scribble { left: 13px; bottom: 62px; font-size: 2.6rem; }
  .mini-note { width: 125px; right: 20px; bottom: -4px; padding: 11px; }
  .mini-note span { margin-bottom: 9px; font-size: .48rem; }
  .mini-note strong { font-size: .73rem; }
  .hero-foot { font-size: .55rem; }
  .hero-foot .line { width: 35px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .craft-row { grid-template-columns: 28px 1fr 18px; gap: 10px; }
  .craft-row h3 { font-size: 1.2rem; }
  .craft-row p { font-size: .82rem; }
  .site-footer { flex-direction: column; gap: 8px; }
}
