/* Millbrook Lights & Lawn: dressed as the crew's own printed things (yard sign, rate sheet, job ticket).
   One face (Cabinet Grotesk), one red field, mustard as the second band, paper for sheets and tickets. */
:root {
  --paper: #e9e3d4;
  --sheet: #f3f3f1;
  --ink: #241210;
  --soft: #5b4a46;
  --red: #d81e2a;
  --red-deep: #b5121d;
  --mustard: #e3b23c;
  --night: #16110f;
  --m: clamp(16px, 2.2vw, 32px);
  --s-small: 15px;
  --s-body: 18px;
  --s-lead: clamp(21px, 1.1rem + .6vw, 25px);
  --s-head: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem);
  --s-shout: clamp(3.6rem, 11.2vw, 11.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cabinet Grotesk', system-ui, sans-serif; font-size: var(--s-body); line-height: 1.5; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
h1, h2, h3 { font-weight: 900; line-height: .9; letter-spacing: -0.025em; text-transform: uppercase; }
h2 { font-size: var(--s-head); }
h3 { font-size: var(--s-lead); letter-spacing: -0.01em; line-height: 1.1; }

/* Demo strip and top bar */
.demo { background: var(--night); color: #e7e6e3; font-size: var(--s-small); text-align: center; padding: 8px var(--m); }
.demo a { font-weight: 700; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px var(--m); background: var(--ink); color: var(--paper); position: sticky; top: 0; z-index: 10; }
.mark { font-weight: 900; font-size: var(--s-body); text-transform: uppercase; text-decoration: none; letter-spacing: -0.01em; }
.bar nav { display: flex; gap: 24px; align-items: center; }
.bar nav a { text-decoration: none; font-weight: 700; font-size: var(--s-body); }
.bar nav a:hover { color: var(--mustard); }
.bar-call { background: var(--red); color: #fff; padding: 9px 14px; }
.bar nav a.bar-call:hover { color: #fff; background: var(--red-deep); }

/* Buttons: square, chunky, one shape */
.btn { display: inline-block; padding: 16px 24px; font: 800 var(--s-body) 'Cabinet Grotesk', sans-serif; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; border: 0; cursor: pointer; transition: transform .16s var(--ease), background-color .16s var(--ease); }
.btn:active { transform: translateY(2px); }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--paper); } .btn-ink:hover { background: #000; }
.btn-mustard { background: var(--mustard); color: var(--ink); } .btn-mustard:hover { background: #f0c25a; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.shout { background: var(--red); color: #fff; padding: clamp(36px, 6vw, 80px) var(--m) 0; }
.shout h1 { font-size: var(--s-shout); line-height: .84; letter-spacing: -0.035em; }
.seam { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(28px, 4vw, 52px); margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); }
.seam figure { position: relative; overflow: hidden; }
.seam img { width: 100%; height: clamp(300px, 52vh, 560px); object-fit: cover; }
.seam figcaption { position: absolute; left: var(--m); bottom: 16px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: var(--s-small); padding: 7px 12px; text-transform: uppercase; }
.band { background: var(--mustard); padding: 26px var(--m); display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.band p { font-size: var(--s-lead); font-weight: 800; max-width: 40ch; line-height: 1.2; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Rate sheet */
.sheet-wrap { position: relative; padding: clamp(80px, 12vw, 180px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); }
.sheet-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet { position: relative; grid-column: 6 / 13; background: var(--sheet); padding: clamp(36px, 5vw, 64px); max-width: 680px; justify-self: end; width: 100%;
  clip-path: polygon(0.000% 0px, 4.167% 12px, 8.333% 0px, 12.500% 12px, 16.667% 0px, 20.833% 12px, 25.000% 0px, 29.167% 12px, 33.333% 0px, 37.500% 12px, 41.667% 0px, 45.833% 12px, 50.000% 0px, 54.167% 12px, 58.333% 0px, 62.500% 12px, 66.667% 0px, 70.833% 12px, 75.000% 0px, 79.167% 12px, 83.333% 0px, 87.500% 12px, 91.667% 0px, 95.833% 12px, 100.000% 0px, 100.000% calc(100% - 0px), 95.833% calc(100% - 12px), 91.667% calc(100% - 0px), 87.500% calc(100% - 12px), 83.333% calc(100% - 0px), 79.167% calc(100% - 12px), 75.000% calc(100% - 0px), 70.833% calc(100% - 12px), 66.667% calc(100% - 0px), 62.500% calc(100% - 12px), 58.333% calc(100% - 0px), 54.167% calc(100% - 12px), 50.000% calc(100% - 0px), 45.833% calc(100% - 12px), 41.667% calc(100% - 0px), 37.500% calc(100% - 12px), 33.333% calc(100% - 0px), 29.167% calc(100% - 12px), 25.000% calc(100% - 0px), 20.833% calc(100% - 12px), 16.667% calc(100% - 0px), 12.500% calc(100% - 12px), 8.333% calc(100% - 0px), 4.167% calc(100% - 12px), 0.000% calc(100% - 0px));
  padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }
.sheet h2 { text-align: center; }
.sheet-note { text-align: center; color: var(--soft); margin-top: 10px; }
.sheet-group { margin-top: 44px; }
.sheet-group h3 { text-align: center; margin-bottom: 14px; color: var(--red); }
.sheet dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: var(--s-lead); }
.sheet dt { font-weight: 700; }
.sheet dd { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-small { color: var(--soft); font-size: var(--s-small); margin-top: 10px; }
.sheet-hours { text-align: center; font-weight: 800; margin-top: 44px; line-height: 1.4; }

/* Job ticket */
.ticket-wrap { padding: clamp(90px, 12vw, 190px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ticket-intro p { margin-top: 22px; font-size: var(--s-lead); max-width: 34ch; line-height: 1.35; }
.ticket { display: grid; grid-template-columns: 6fr 3.4fr; background: var(--sheet); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: calc(6 / 9.4 * 100%); width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--paper); }
.ticket::before { top: -15px; } .ticket::after { bottom: -15px; }
.ticket-main { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 900; text-transform: uppercase; font-size: var(--s-lead); padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.ticket-head span:last-child { font-size: var(--s-small); font-weight: 800; align-self: end; }
.ticket fieldset { border: 0; padding: 0; display: grid; gap: 4px; }
.ticket legend { font-weight: 800; margin-bottom: 6px; }
.ticket .ticket-jobs label { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 2px dashed #d6ccb6; cursor: pointer; font-size: var(--s-body); }
.ticket input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.ticket label { display: grid; gap: 6px; font-weight: 700; font-size: var(--s-small); }
.ticket-lot { grid-template-columns: auto 1fr; align-items: center; }
.ticket input:not([type=checkbox]), .ticket select, .ticket textarea { font: 500 var(--s-body) 'Cabinet Grotesk', sans-serif; padding: 12px 14px; border: 2px solid #d6ccb6; background: #fff; color: var(--ink); width: 100%; }
.ticket input:focus, .ticket select:focus, .ticket textarea:focus { outline: none; border-color: var(--ink); }
.ticket-who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticket-stub { background: var(--mustard); padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 28px); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='16'%3E%3Ccircle cx='4' cy='8' r='3' fill='%23e9e3d4'/%3E%3C/svg%3E"); background-size: 8px 16px; background-repeat: repeat-y; background-position: -4px 0; }
.stub-price { white-space: nowrap; font-weight: 900; font-size: clamp(2.4rem, 1.2rem + 2.8vw, 4rem); line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stub-sub { font-weight: 700; margin-bottom: 18px; }
.form-note { font-weight: 700; font-size: var(--s-small); margin-top: 10px; }
.form-note a { font-weight: 900; }
.hp-field { position: absolute; left: -9999px; }

/* Crew panel */
.crew { padding: 0 var(--m); }
.crew-panel { background: var(--night); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(36px, 5vw, 72px); overflow: hidden; }
.crew-panel h2 { grid-column: 1; }
.crew-photo { grid-column: 1; grid-row: 2; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; margin-bottom: calc(-1 * clamp(36px, 5vw, 72px)); }
.crew-text { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 44px; align-content: start; padding-top: 8px; max-width: 420px; }
.crew-text h3 { color: var(--mustard); margin-bottom: 10px; }
.crew-text p { font-size: var(--s-body); }
.crew-text .btn { justify-self: start; }

/* Recent work */
.work { padding: clamp(90px, 12vw, 190px) var(--m) 0; }
.work h2 { margin-bottom: 40px; }
.tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 14px; }
.tag img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.tag figcaption { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 14px; font-weight: 800; font-size: var(--s-small); text-transform: uppercase; min-height: 72px; align-content: center; }
.t1 figcaption { background: var(--red); color: #fff; }
.t2 figcaption { background: var(--ink); color: var(--paper); }
.t3 figcaption { background: var(--mustard); color: var(--ink); }
.t4 figcaption { background: var(--sheet); color: var(--ink); }

/* Reviews */
.voices { margin-top: clamp(90px, 12vw, 190px); background: var(--red); color: #fff; min-height: 78svh; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto auto; padding: clamp(70px, 9vw, 130px) var(--m) 32px; gap: 0 14px; }
.voice-lead { grid-column: 2 / 12; grid-row: 1; text-align: center; }
.voice-lead p { font-weight: 900; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; text-transform: uppercase; max-width: 32ch; margin: 0 auto; }
.voice-lead footer { margin-top: 20px; font-weight: 700; }
.voice-l { grid-column: 1 / 5; grid-row: 3; } .voice-r { grid-column: 9 / 13; grid-row: 3; }
.voice-l p, .voice-r p { font-size: var(--s-body); font-weight: 700; }
.voice-l footer, .voice-r footer { margin-top: 12px; font-size: var(--s-small); opacity: .9; }
.voices-note { grid-column: 1 / 13; grid-row: 4; margin-top: 30px; font-size: var(--s-small); opacity: .85; }

/* Contact rows */
.rows { display: grid; }
.row { font-size: var(--s-head); font-weight: 500; line-height: 1; letter-spacing: -0.03em; padding: clamp(40px, 5vw, 70px) var(--m) clamp(16px, 2vw, 26px); }
.row:nth-child(odd) { background: var(--paper); } .row:nth-child(even) { background: #ded6c3; }
.row a { text-decoration: none; }
.row a:hover { color: var(--red); }
.row-hello { background: var(--mustard) !important; font-weight: 900; text-transform: uppercase; }
.row-hello a { display: inline-flex; align-items: center; gap: .3em; }
.round { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--ink); color: var(--mustard); font-size: .9em; transition: transform .2s var(--ease); }
.row-hello a:hover .round { transform: translateX(6px); }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 40px var(--m) 28px; }
.foot-name { font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 8.4vw, 9.4rem); line-height: .85; letter-spacing: -0.035em; }
.foot-small { margin-top: 18px; font-size: var(--s-small); }

/* Motion: content is visible without JS; .js adds the entrances */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js .shutter img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.js .shutter.in { clip-path: inset(0 0 0 0); }
.js .shutter.in img { transform: scale(1); }
.seam-b.shutter { transition-delay: .12s; }
.tag img { transition: transform .5s var(--ease); }
.tag { overflow: hidden; }
.tag:hover img { transform: scale(1.04); }
.sheet-bg { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .shutter, .js .shutter img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .sheet-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* Phone and tablet */
@media (max-width: 900px) {
  .bar nav a:not(.bar-call) { display: none; }
  .sheet { grid-column: 1 / 13; }
  .ticket-wrap { grid-template-columns: 1fr; }
  .crew-panel { grid-template-columns: 1fr; }
  .crew-text { grid-column: 1; grid-row: auto; max-width: none; }
  .crew-photo { grid-row: auto; width: 86%; justify-self: center; }
  .tags { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .voice-lead, .voice-l, .voice-r, .voices-note { grid-column: 1 / 13; grid-row: auto; text-align: left; }
  .voice-lead p { margin: 0; }
  .voice-l { margin-top: 70px; } .voice-r { margin: 30px 0 0 25%; }
}
@media (max-width: 600px) {
  .bar { gap: 12px; padding-block: 12px; }
  .mark { font-size: 15px; line-height: 1.15; max-width: 12ch; }
  .bar-call { white-space: nowrap; font-size: 15px !important; padding: 8px 12px; }
  .seam img { height: 190px; }
  .seam figcaption { display: none; }
  .band { padding-top: 20px; padding-bottom: 20px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { top: auto; bottom: auto; left: auto; }
  .ticket::before { display: none; } .ticket::after { display: none; }
  .ticket-stub { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8'%3E%3Ccircle cx='8' cy='4' r='3' fill='%23e9e3d4'/%3E%3C/svg%3E"); background-size: 16px 8px; background-repeat: repeat-x; background-position: 0 -4px; }
  .ticket-who { grid-template-columns: 1fr; }
  .ticket-stub { padding-top: 72px; }
  .tag figcaption { padding: 10px; min-height: 64px; }
  .tag figcaption span:nth-child(3) { display: none; }
}
