/* Makely: warm cream, deep green, refined serif headlines over a quiet sans. Photography-led. */
:root {
  --ink: #231d18;
  --ink-2: #3b302a;
  --green: #1f3d2b;
  --green-2: #2f5a40;
  --grey: #2a231e;
  --bg: #f3e9dd;
  --bg-2: #ece0d0;
  --white: #fbf6ee;
  --rule: #ddd0bd;
  --gold: #d9962b;
  --soft: #5c615a;
  --err: #a8422b;
  --ok: #2f6b45;
  --serif: Georgia, "Times New Roman", serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--grey); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
h1, h2, h3 { color: var(--grey); font-family: var(--display); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 .45em; }
h1 { font-size: clamp(46px, 6.6vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(540px, calc(100% - 32px)); margin: 0 auto; }
[hidden] { display: none !important; }
.kicker { font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

/* Header */
.site-header { padding: 26px 0; }
.site-header .wrap { width: min(1560px, calc(100% - 64px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { font-family: var(--display); font-weight: 500; font-size: 44px; letter-spacing: -.04em; text-decoration: none; line-height: 1; color: var(--green); }
.mark .dot { display: inline-block; width: .15em; height: .15em; margin-left: .04em; border-radius: 50%; background: var(--gold); transition: transform .6s cubic-bezier(.25, .8, .25, 1); }
.mark:hover .dot, .mark:focus-visible .dot { transform: translateX(.22em); }
@media (prefers-reduced-motion: reduce) { .mark .dot { transition: none; } }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .nav .btn { white-space: nowrap; }
.nav a:not(.btn) { color: var(--grey); text-decoration: none; font-size: 16px; font-weight: 500; }

/* One hover stroke for every nav, logo and footer link: a gold line that draws in left to right */
.nav a:not(.btn), .site-footer a:not(.mark) { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; padding: 6px 0; transition: background-size .35s cubic-bezier(.22, .61, .36, 1); }
.nav a:not(.btn):hover, .site-footer a:not(.mark):hover, .nav a:not(.btn):focus-visible, .site-footer a:not(.mark):focus-visible { background-size: 100% 2px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .nav a:not(.btn), .site-footer a:not(.mark) { transition: none; } }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 30px; border: 1px solid var(--green); border-radius: var(--r); background: var(--green); color: #fbf3e6; font: 500 17px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .12s; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); }
.btn.gold { background: var(--green); color: #fbf3e6; }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.xs { min-height: 38px; padding: 8px 16px; font-size: 14.5px; margin: 0; white-space: nowrap; cursor: pointer; }
.btn.sm { min-height: 44px; padding: 11px 22px; font-size: 15.5px; }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }
label { display: block; font: 600 15px/1.3 var(--sans); margin: 0 0 8px; color: var(--grey); }
label .opt { font-weight: 400; color: var(--soft); }
input[type=text], input[type=email], input[type=url], input[type=search], textarea, select {
  width: 100%; font: 400 17px/1.35 var(--sans); color: var(--grey); background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #a39f93; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(217, 150, 43, .25); }
input[type=checkbox] { accent-color: var(--green); }
label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; cursor: pointer; }
label.check.top { align-items: flex-start; line-height: 1.45; }
label.check.top input { margin-top: 3px; }
label.check input { width: auto; margin: 0; }
.field { margin-bottom: 20px; }
.hint { min-height: 1.5em; margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.hint:empty { min-height: 0; margin: 0; }
.hint.err { color: var(--err); }
.hint.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.handle { display: flex; align-items: center; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding-left: 16px; transition: border-color .15s, box-shadow .15s; }
.handle span { font: 500 17px/1 var(--sans); color: var(--soft); white-space: nowrap; }
.handle input { border: 0; background: transparent; box-shadow: none !important; padding: 14px 16px 14px 2px; font-weight: 500; }
.handle:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217, 150, 43, .25); }

/* Hero: a full-width photograph with the headline set over it */
.hero-band { position: relative; display: grid; place-items: center; min-height: clamp(540px, 80vh, 800px); padding: 80px 24px; color: var(--ink); text-align: center; background: #efe0cb url(/assets/hero.jpg) center / cover no-repeat; isolation: isolate; }
.hero-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(250, 242, 230, .55), rgba(250, 242, 230, 0) 70%); }
.hero-band .inner { max-width: 880px; }
.hero-band .eyebrow { font: 500 14px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; margin: 0 0 26px; color: var(--ink-2); }
.hero-band h1 { color: var(--ink); font-size: clamp(46px, 6.2vw, 84px); margin: 0 0 .3em; }
.hero-band .lede { color: var(--ink-2); max-width: none; margin: 0 0 34px; font-size: clamp(17px, 1.8vw, 21px); }
.btn.cream { background: var(--green); color: #fbf3e6; border-color: var(--green); }
.btn.cream:hover { background: var(--green-2); }
.btn.cream svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* A single statement under the hero */
.statement { padding: 92px 0 96px; text-align: center; background: var(--bg-2); }
.statement .kicker { display: block; margin-bottom: 26px; }
.statement .big { font: 400 clamp(28px, 3.7vw, 48px)/1.22 var(--display); letter-spacing: -.02em; color: var(--grey); max-width: 22em; margin: 0 auto; }

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head .kicker { display: block; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step, .card { background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 32px 30px; }
.section.alt .step, .section.alt .card { background: var(--bg); }
.step .n { display: block; font-family: var(--display); font-style: italic; font-size: 40px; line-height: 1; color: var(--gold); margin-bottom: 22px; }
.step h3, .card h3 { margin-bottom: 10px; }
.step p, .card p { margin: 0; color: var(--soft); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* How it works: three steps in a row under the heading */
.how .section-head { max-width: 640px; margin-bottom: 48px; }
.how-note { margin: 18px 0 0; color: var(--soft); font-size: 19px; max-width: 24em; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#about { border-top: 0; }
.how-list li { display: block; padding: 28px 26px 30px; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; }
.how-list .n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%; background: var(--green); font: 500 16px/1 var(--sans); color: #fff; }
.how-list h3 { margin-bottom: 8px; }
.how-list p { margin: 0; color: var(--soft); max-width: 24em; }

/* For creators: a photo mosaic with captions on the pictures */
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: clamp(520px, 62vw, 700px); }
.tile { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--bg-2); }
.tile.big { grid-row: 1 / 3; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 20, 14, 0) 45%, rgba(28, 20, 14, .72)); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 30px; color: #fbf3e6; }
.tile h3 { color: #fbf3e6; margin: 0 0 6px; font-size: 28px; }
.tile p { margin: 0; color: #f1e4d2; max-width: 24em; font-size: 16px; }

/* Photo cards */
.card.photo { padding: 14px 14px 30px; overflow: hidden; }
.card.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 22px; }
.card.photo h3, .card.photo p { padding: 0 16px; }
.join-photo { display: block; width: 100%; max-width: 440px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-top: 34px; }

/* Join section */
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.join-grid .copy h2 { margin-bottom: .4em; }
.join-grid .copy p { color: var(--soft); font-size: 19px; max-width: 24em; }
.signup { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 38px 40px 32px; box-shadow: 0 30px 60px -44px rgba(35, 29, 24, .45); }
.signup h2 { font-size: 30px; margin-bottom: 24px; }
.signup .fine { font-size: 13.5px; color: var(--soft); margin: 16px 0 0; }
.signup .have { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 15.5px; }
.signup .have a { font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.banner { background: #e6efdc; border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-weight: 500; font-size: 15.5px; }
.done { text-align: center; padding: 14px 0; }
.done .big { font-family: var(--display); font-size: 36px; margin-bottom: 10px; letter-spacing: -.02em; }

/* Footer: the logo, then the links, then the small print */
.site-footer { padding: 56px 0 52px; font-size: 15px; color: var(--soft); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.site-footer .mark { font-size: 38px; }
.site-footer nav { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; }
.site-footer a { text-decoration: none; }
.site-footer > .wrap > span { font-size: 13.5px; opacity: .8; }

/* Account pages (join, sign in, profile) */
.page { padding: 40px 0 90px; }
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 38px 40px; margin-bottom: 20px; }
.panel h1 { font-size: clamp(36px, 5vw, 50px); }
.panel h2 { font-size: 26px; }
/* Profile media: cover, then photo, each a labeled field */
.cover-prev { width: 100%; aspect-ratio: 10 / 3; border-radius: 14px; background: #e6d3b8 center / cover no-repeat; border: 1px solid var(--rule); }
.acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.acts .hint { margin: 0; min-height: 0; }
.acts .hint:empty { display: none; }
.avatar-row { display: flex; align-items: center; gap: 18px; }
.avatar-row .acts { margin: 0; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--bg-2) center / cover no-repeat; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font: 400 34px/1 var(--display); color: var(--grey); padding-top: .24em; box-sizing: border-box; flex: none; }
.rename { display: flex; align-items: flex-end; gap: 14px; }
.rename .field { flex: 1; margin: 0; }
@media (max-width: 520px) { .rename { flex-direction: column; align-items: stretch; gap: 16px; } .rename .btn { width: 100%; } }
.panel .sub { color: var(--soft); margin-bottom: 26px; font-size: 16px; line-height: 1.55; }
.confirmed { text-align: left; }
.confirmed .check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--green); }
.confirmed .check svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.confirmed .sub { margin-bottom: 30px; }
.confirmed h2 { font-size: 22px; margin: 0 0 16px; padding-top: 28px; border-top: 1px solid var(--rule); }
.next-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.next-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.next-list .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); font: 600 14.5px/1 var(--sans); color: var(--green); }
.next-list h3 { font: 600 16px/1.3 var(--sans); letter-spacing: 0; margin: 6px 0 4px; }
.next-list p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.55; }
.confirmed .fine { font-size: 13.5px; color: var(--soft); margin: 0 0 24px; padding: 14px 16px; background: var(--bg); border-radius: 12px; }
.codebox { letter-spacing: .4em; font-size: 28px; text-align: center; font-weight: 600; font-family: var(--display); }
.invite-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.invite-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; }
.invite-list code { font: 600 16px var(--sans); letter-spacing: .06em; }
.invite-list .used { opacity: .5; text-decoration: line-through; }
.status-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--bg-2); font-size: 12.5px; font-weight: 500; }

/* Cover image editor */

/* Public profile */
.pubcard { max-width: 680px; margin: 0 auto 32px; background: var(--white); border: 1px solid var(--rule); border-radius: 28px; overflow: hidden; }
.pub-top { height: 190px; background: #e6d3b8 center / cover no-repeat; }
.pub-body { padding: 0 36px 36px; }
.pub-avatar { width: 112px; height: 112px; border-radius: 50%; border: 5px solid var(--white); margin-top: -56px; background: var(--bg-2) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font: 400 46px/1 var(--display); padding-top: .24em; box-sizing: border-box; }
.pub-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 14px; }
.pub-body h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 6px; }
.pub-head .btn { margin-top: 4px; flex: none; }
.pub-headline { font: 400 21px/1.35 var(--display); letter-spacing: -.01em; color: var(--grey); margin: 0 0 10px; }
.pub-by { margin: 0 0 18px; color: var(--soft); font-size: 15px; }
.pub-bio { margin: 0 0 22px; max-width: 34em; color: var(--grey); }
.pub-status { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.pub-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pub-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--soft); }
.pub-foot a { color: var(--ink); text-underline-offset: 4px; }

@media (max-width: 900px) {
  .how-list { grid-template-columns: 1fr; gap: 0; }
  .how-list { gap: 14px; }
  .how-list li { padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
  .how-list .n { margin-bottom: 0; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .tile, .tile.big { grid-row: auto; aspect-ratio: 4 / 3; }
  .tile figcaption { padding: 20px; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 56px 0; }
  .two { grid-template-columns: 1fr; }
  .signup, .panel { padding: 28px 22px; }
  .pub-body { padding: 0 22px 28px; }
  .page { padding: 20px 0 64px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .mark { font-size: 28px; }
  .nav { gap: 10px; }
  .nav a:not(.btn) { font-size: 14.5px; }
  .nav a.hide-sm { display: none; }
  .nav .btn.sm { padding: 9px 13px; min-height: 40px; font-size: 14px; }
  .hero-band { min-height: 480px; padding: 64px 20px; }
}
