@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f2eee5;
  --paper-2: #e8e2d4;
  --ink: #14201a;
  --ink-2: #41504a;
  --clay: #a43d14;
  --line: #cfc8b8;
  --on-ink: #f2eee5;
  --on-ink-2: #c9d1c4;
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 20; }
.skip:focus { top: 1rem; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.6rem; }
p { margin: 0 0 1em; max-width: 66ch; }

section, .foot { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); }
.mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.mark-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.mark-role { font-size: .8rem; color: var(--ink-2); }
.top nav { display: flex; align-items: center; gap: 1.5rem; }
.top nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem 0; }
.top nav a:hover { text-decoration: underline; }
.top nav .nav-cta { background: var(--ink); color: var(--paper); padding: .55rem 1rem; border-radius: 999px; }
.top nav .nav-cta:hover { background: var(--clay); text-decoration: none; }

/* buttons */
.btn { display: inline-block; font: 600 1rem var(--body); text-decoration: none; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--paper); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: 0; overflow: hidden; }
.hero h1 { font-size: clamp(2.75rem, 7.2vw, 5.4rem); }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink-2); margin-top: 1.5rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.phones { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; align-items: flex-end; justify-content: flex-end; align-self: end; }
.phones li { flex: 0 0 auto; width: clamp(8rem, 15vw, 13rem); border-radius: 1.4rem 1.4rem 0 0; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(20,32,26,.45); }
.phones li:nth-child(1) { margin-bottom: -1rem; }
.phones li:nth-child(2) { margin-bottom: 1.5rem; }
.phones li:nth-child(3) { margin-bottom: -2.5rem; }
.phones img { width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }

/* what */
.band { background: var(--ink); color: var(--on-ink); }
.band h2 { margin-bottom: 2.5rem; }
.what { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
.what h3 { margin-bottom: .6rem; color: var(--on-ink); }
.what p { color: var(--on-ink-2); font-size: 1rem; }
.what strong { color: var(--on-ink); }

/* section heads */
.section-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: 3rem; }
.section-head p { margin: 0; color: var(--ink-2); }

/* work + templates */
.work-list, .tpl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); }
.work-item a, .tpl a { display: block; text-decoration: none; }
.shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .75rem; background: var(--paper-2); box-shadow: 0 16px 36px -18px rgba(20,32,26,.5); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
a:hover .shot img { transform: scale(1.025); }
.cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-top: 1rem; }
.name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.go { font-weight: 600; font-size: .95rem; color: var(--clay); text-decoration: underline; text-underline-offset: .25em; }
.templates { background: var(--paper-2); }
.tpl-list { grid-template-columns: repeat(3, 1fr); }
.tpl .cap { flex-direction: column; align-items: flex-start; }

/* plans */
.group { margin: 3rem 0 1.25rem; font-size: 1.1rem; font-family: var(--body); font-weight: 600; color: var(--ink-2); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 1rem; padding: 2rem 1.75rem; background: #f8f5ee; position: relative; }
.plan ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.plan li { padding: .6rem 0 .6rem 1.4rem; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .6rem; height: .35rem; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(-45deg); }
.price { margin: .5rem 0 .25rem; }
.amt { font-family: var(--display); font-weight: 600; font-size: 3rem; line-height: 1; }
.per { color: var(--ink-2); }
.plan-line { font-weight: 500; margin: .5rem 0 0; }
.plus { font-weight: 600; font-size: .95rem; margin: 1.25rem 0 -.5rem; }
.plan-pop { background: var(--ink); color: var(--on-ink); border-color: var(--ink); padding-top: 3rem; }
.plan-pop .per { color: var(--on-ink-2); }
.plan-pop li { border-color: #3a4a42; }
.plan-pop li::before { border-color: #e9a07c; }
.badge { position: absolute; top: 1rem; left: 1.75rem; margin: 0; background: #e9a07c; color: var(--ink); font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.plan-wide { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 3rem; align-items: start; }
.plan-wide ul { margin-top: 0; }
.plan-wide li:first-child { border-top: 0; }
.plan-notes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; margin-top: 3.5rem; }
.plan-notes h3 { margin-bottom: .75rem; }
.terms { margin: 0; padding-left: 1.2rem; }
.terms li { margin-bottom: .35rem; }

/* how */
.how { background: var(--paper-2); }
.how h2 { margin-bottom: 2.5rem; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.5rem; color: var(--clay); line-height: 1; display: block; margin-bottom: .5rem; }
.steps h3 { margin-bottom: .5rem; }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem 5rem; }
.about h2 { margin-bottom: 1.5rem; }
.partner { border: 1px solid var(--line); border-radius: 1rem; padding: 2rem; align-self: start; }
.partner h3 { margin-bottom: .75rem; }
.partner a { color: var(--clay); font-weight: 600; overflow-wrap: anywhere; }

/* contact */
.contact { background: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; }
.contact h2 { margin-bottom: 1.25rem; }
.contact p { color: var(--on-ink-2); }
.mail { font-family: var(--display); font-size: clamp(1.25rem, 3.4vw, 1.9rem); margin: 1.5rem 0 .5rem; overflow-wrap: anywhere; }
.mail a { color: var(--on-ink); }
.contact .small { font-size: .95rem; }
.form { display: grid; gap: .4rem; align-content: start; }
.form-note { font-size: .9rem; margin-bottom: .75rem; }
label { font-weight: 600; font-size: .95rem; margin-top: .6rem; }
input, textarea { font: inherit; width: 100%; padding: .75rem .9rem; border: 1px solid #5b6a62; border-radius: .5rem; background: #1d2c24; color: var(--on-ink); }
input:focus-visible, textarea:focus-visible { outline: 3px solid #e9a07c; outline-offset: 2px; }
.form .btn { margin-top: 1.25rem; justify-self: start; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form .btn:hover { background: #e9a07c; border-color: #e9a07c; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; padding-top: 2rem; padding-bottom: 2rem; font-size: .95rem; border-top: 1px solid var(--line); }
.foot p { margin: 0; }
.foot { background: var(--paper); }

/* entrance: one moment, the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .phones li { animation: rise 1s var(--ease) both; }
  .phones li:nth-child(2) { animation-delay: .1s; }
  .phones li:nth-child(3) { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

@media (max-width: 960px) {
  .hero, .section-head, .about, .contact, .plan-notes, .plan-wide { grid-template-columns: 1fr; }
  .what { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .steps { grid-template-columns: 1fr; }
  .phones { justify-content: flex-start; }
  .phones li { width: calc((100% - 2rem) / 3); }
  .top nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .work-list, .tpl-list, .what { grid-template-columns: 1fr; }
  .mark-role { font-size: .72rem; }
  .mark-name { font-size: 1.05rem; }
  .hero { gap: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .plan { padding: 1.5rem 1.25rem; }
  .plan-pop { padding-top: 3rem; }
  .badge { left: 1.25rem; }
}
