@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
:root {
  --ink: #14102E;
  --cobalt: #2340FF;
  --sun: #FFD60A;
  --pink: #FF3D81;
  --mint: #00D68F;
  --orange: #FF7A1A;
  --violet: #C13BFF;
  --cream: #F8F4EA;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.on-dark :focus-visible { outline-color: var(--sun); }
.wrap { padding-inline: var(--gutter); max-width: 1400px; margin-inline: auto; }

/* header */
.top { background: var(--cream); border-bottom: 3px solid var(--ink); }
.top .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 20px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1; }
.brand img { height: 52px; width: auto; display: block; }
.top nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; }
.top nav a {
  --c: var(--sun);
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.2;
  background: var(--c); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .15s ease;
}
.top nav a:nth-child(1) { --c: var(--sun); }
.top nav a:nth-child(2) { --c: var(--mint); }
.top nav a:nth-child(3) { --c: var(--violet); color: #fff; }
.top nav a:nth-child(4) { --c: var(--orange); }
.top nav a:nth-child(5) { --c: var(--pink); }
.top nav a:hover { transform: translateY(-4px) rotate(-3deg); box-shadow: 0 8px 0 var(--ink); }
.top nav a:nth-child(even):hover { transform: translateY(-4px) rotate(3deg); }
.top nav a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.top nav a[aria-current="page"] { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
/* buttons */
.pill, .btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  background: var(--pink); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pill:hover, .btn:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.pill:active, .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn { padding: 16px 32px; font-size: 1.05rem; }
.btn.white { background: #fff; }
.btn.yellow { background: var(--sun); }

/* hero (home) */
.hero { background: var(--cobalt); color: #fff; overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-block: clamp(32px, 5vw, 72px) clamp(40px, 7vw, 96px); }
.hero h1 {
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: 0.92; font-weight: 800; letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}
.hero h1 span { display: block; color: var(--sun); }
.hero p { max-width: 32ch; margin-top: 28px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.4; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.elephant { width: 100%; height: auto; display: block; filter: hue-rotate(var(--hue, 0deg)); transition: filter .25s linear; cursor: crosshair; }
.elephant-box { position: relative; }
.elephant-box::before {
  content: ""; position: absolute; inset: 8% 4% 0 8%; background: var(--sun);
  border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%; z-index: 0; transform: rotate(-6deg);
}
.elephant-box img { position: relative; z-index: 1; }

/* page hero (inner pages) */
.page-hero { border-bottom: 3px solid var(--ink); padding-block: clamp(48px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.04em; font-weight: 800; max-width: 14ch; }
.page-hero p { margin-top: 24px; max-width: 36ch; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.4; }
.bg-sun { background: var(--sun); }
.bg-pink { background: var(--pink); }
.bg-mint { background: var(--mint); }
.bg-cobalt { background: var(--cobalt); color: #fff; }

/* sections */
section { padding-block: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-weight: 800; max-width: 16ch; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.intro p { max-width: 34ch; font-size: 1.05rem; }

/* tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 24px; min-height: 260px; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }
.tile h3 { font-size: 1.7rem; line-height: 1; letter-spacing: -0.02em; font-weight: 800; }
.tile p { font-size: 1rem; line-height: 1.35; margin-top: 12px; max-width: 24ch; }
.go { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
.t1 { background: var(--sun); }
.t2 { background: var(--pink); }
.t3 { background: var(--mint); }
.t4 { background: var(--cobalt); color: #fff; }
.t4 .go { background: #fff; color: var(--ink); }

/* services page rows */
.rows { display: grid; gap: 16px; }
.row {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink);
}
.row h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.row p { font-size: 1.15rem; max-width: 38ch; }
.row small { display: block; font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.row.sun { background: var(--sun); }
.row.pink { background: var(--pink); }
.row.mint { background: var(--mint); }
.row.cobalt { background: var(--cobalt); color: #fff; }
.row.white { background: #fff; }
.row.violet { background: var(--violet); color: #fff; }

/* work page */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.piece { display: block; text-decoration: none; }
.piece figure { aspect-ratio: 4 / 3; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.piece:hover figure { transform: translateY(-5px); box-shadow: 0 11px 0 var(--ink); }
.piece figcaption { font-weight: 800; font-size: 1.5rem; margin-top: 22px; letter-spacing: -0.02em; }
.piece span { display: block; font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.piece figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.a1 { background: var(--sun); }
.a1::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); left: -10%; top: 12%; border: 3px solid var(--ink); }
.a1::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; background: var(--pink); right: 6%; bottom: -8%; transform: rotate(18deg); border: 3px solid var(--ink); }
.a2 { background: var(--cobalt); }
.a2::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--sun) 0 26px, transparent 26px 52px); clip-path: polygon(0 0, 100% 0, 100% 50%, 0 80%); }
.a2::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); right: 12%; bottom: 10%; border: 3px solid var(--ink); }

/* sticky note stack (work page) */
.stack-area { max-width: 620px; margin-inline: auto; padding-bottom: 8px; }
.stack { position: relative; width: calc(100% - 56px); aspect-ratio: 1 / 1.02; margin-bottom: 36px; outline-offset: 10px; }
.sticky {
  --c: var(--sun);
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px;
  padding: 34px 20px 20px; background: var(--c);
  border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink);
  transition: transform .34s cubic-bezier(.2, 1.2, .4, 1), opacity .34s ease;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.sticky:active { cursor: grabbing; }
.sticky::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: rgba(255, 255, 255, .38); border-bottom: 2px dashed rgba(20, 16, 46, .25);
}
.sticky.c1 { --c: var(--sun); }
.sticky.c2 { --c: var(--pink); }
.sticky.c3 { --c: var(--mint); }
.sticky .shot { display: block; flex: 1; min-height: 0; border: 3px solid var(--ink); background: #fff; overflow: hidden; }
.sticky .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; -webkit-user-drag: none; }
.sticky h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); max-width: none; }
.sticky .visit { font-weight: 600; font-size: 1rem; width: fit-content; text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--ink); }
.stack-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; font-weight: 800; }
.stack-ctrl .btn { padding: 12px 28px; cursor: pointer; font-family: inherit; }
.hint { text-align: center; margin-top: 18px; font-size: 1rem; font-weight: 600; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.about-grid p { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; max-width: 34ch; }
.about-grid p + p { margin-top: 20px; font-size: 1.125rem; }

/* contact */
.mail {
  display: inline-block; font-weight: 800; font-size: clamp(1.5rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1;
  text-decoration: none; word-break: break-word; padding-bottom: 8px;
  background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 6px no-repeat; transition: background-size .2s ease;
}
.mail:hover { background-size: 100% 100%; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.alt { margin-top: 24px; font-size: 1.25rem; max-width: 30ch; }
.alt .mail { display: inline; font-size: inherit; letter-spacing: 0; padding-bottom: 2px; background-size: 100% 4px; }
form { display: grid; gap: 18px; }
label { font-weight: 800; font-size: 1rem; display: grid; gap: 8px; }
input, textarea {
  font: inherit; font-weight: 400; padding: 14px 16px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
button.btn { cursor: pointer; justify-self: start; font-family: inherit; }
button.btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 16px 18px; border: 3px solid var(--ink); border-radius: 14px; font-weight: 800; box-shadow: 0 4px 0 var(--ink); }
.status.ok { background: var(--mint); }
.status.bad { background: var(--pink); }

/* call to action band */
.cta { background: var(--pink); border-top: 3px solid var(--ink); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { max-width: 14ch; }

/* soft colour tints used on every page (remove this block to go back to cream and white) */
body { background: #EBDDFF; }
.top { background: #DCE6FF; }
.btn.white { background: var(--sun); }
.row.white { background: #DCE6FF; }

/* guarantee */
.guarantee { background: var(--mint); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.guarantee .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.seal {
  width: clamp(150px, 20vw, 230px); aspect-ratio: 1; border-radius: 50%; background: var(--sun);
  border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); display: grid; place-content: center; text-align: center;
  transform: rotate(-8deg); font-weight: 800; line-height: .95; letter-spacing: -0.03em;
}
.seal b { font-size: clamp(2.6rem, 6vw, 4.4rem); display: block; }
.seal span { font-size: clamp(.95rem, 1.6vw, 1.2rem); }
.guarantee h2 { max-width: 18ch; }
.guarantee p { margin-top: 18px; max-width: 46ch; font-size: 1.15rem; }
.guarantee p a { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
.note { margin-top: 18px; font-size: 1rem; font-weight: 600; }

/* legal pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 44px; max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 14px; font-size: 1.05rem; line-height: 1.6; }
.prose ul { padding-left: 1.3em; }
.prose a { font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
.updated { margin-top: 12px; font-size: 1rem; font-weight: 600; }

/* footer */
footer { background: var(--ink); color: #fff; padding-block: clamp(40px, 6vw, 72px) 28px; font-size: 1rem; line-height: 1.6; }
footer .foot { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 32px; }
footer h3 { font-size: 1rem; font-weight: 800; color: var(--sun); margin-bottom: 10px; }
footer .name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
footer .tag { margin-top: 12px; max-width: 24ch; }
footer address { font-style: normal; }
footer ul { list-style: none; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
footer .legal { margin-top: 40px; padding-top: 22px; border-top: 3px solid var(--cobalt); font-size: .9rem; opacity: .9; }
footer .legal p + p { margin-top: 8px; }

/* page load: the elephant drops in once */
@media (prefers-reduced-motion: no-preference) {
  .elephant-box img { animation: drop .9s cubic-bezier(.2, 1.4, .4, 1) both; }
  @keyframes drop { from { transform: translateY(-40px) rotate(-3deg); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 900px) {
  .hero .wrap, .about-grid, .contact-grid, .row, .guarantee .wrap { grid-template-columns: 1fr; }
  footer .foot { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  footer .foot { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .top nav { gap: 10px 8px; }
  .top nav a { font-size: .9rem; padding: 9px 16px; }
  .brand { font-size: 1.4rem; }
  .brand { font-size: 1.3rem; }
}
