/* Good Company — site styles */
:root {
  --ivory: #FAF7F2;
  --white: #FFFFFF;
  --ink: #111111;
  --rose: #EFA3B8;
  --cobalt: #2447B8;
  --saffron: #E8A93A;
  --mint: #8CCBB0;
  --text-2: #3D3A35;
  --muted: #5E5A52;
  --muted-dark: #CFC8BB;
  --rule: #E8E2D8;
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cobalt); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.dark { background: var(--ink); color: var(--ivory); }
.ivory { background: var(--ivory); }
.white { background: var(--white); }
.ruled { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Type */
.display { font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 1.02; letter-spacing: -1px; max-width: 1100px; }
.display em, .h-xl em, .band__list em { font-style: italic; }
.h-xl { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.5px; }
.h-lg { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.h-md { font-family: var(--serif); font-size: 32px; }
.lead { font-size: 19px; line-height: 1.65; max-width: 540px; }
.eyebrow, .mono { font-family: var(--mono); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow { color: var(--muted-dark); letter-spacing: 4px; }
.muted { color: var(--muted); }
.muted-dark { color: var(--muted-dark); }

/* Dots */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--rose { background: var(--rose); }
.dot--cobalt { background: var(--cobalt); }
.dot--cobalt-light { background: #6F8BE0; }
.dot--saffron { background: var(--saffron); }
.dot--mint { background: var(--mint); }
.confetti { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); pointer-events: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; font-family: var(--sans); border: 1px solid transparent; cursor: pointer; transition: opacity .15s ease; }
.btn:hover { opacity: .85; }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--ghost { color: var(--ivory); border-color: #5A5650; }
.btn--ghost:hover { color: var(--ivory); }
.btn--dark { background: var(--cobalt); color: var(--ivory); border: none; }

/* Header */
.site-header { background: var(--ink); color: var(--ivory); border-bottom: 1px solid #2A2A2A; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.3px; color: var(--ivory); }
.logo:hover { color: var(--ivory); }
.logo .dot { width: 8px; height: 8px; }
.logo--lg { font-size: 40px; }
.logo--lg .dot { width: 10px; height: 10px; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 14px; letter-spacing: 1px; flex-wrap: wrap; }
.nav__links a:not(.btn):hover { color: var(--rose); }
@media (max-width: 700px) { .nav__links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__inner { padding-top: 140px; padding-bottom: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; position: relative; }
.hero__sub { font-size: 19px; line-height: 1.6; color: #E4DED3; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 600px) { .hero__inner { padding-top: 96px; padding-bottom: 104px; } }

/* Intro */
.intro { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }

/* Sections */
.section { padding-top: 110px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 48px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--ink); }
.service { padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--rule); }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: none; padding-right: 0; }
.service > p:not(.num) { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.service ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.num { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; }
@media (max-width: 900px) {
  .service, .service:first-child, .service:last-child { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--rule); }
}

/* Band */
.band-wrap { padding-top: 80px; padding-bottom: 80px; }
.band { background: var(--cobalt); color: var(--ivory); padding: 96px 56px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.eyebrow--band { color: #D9E0F5; }
.band__list { font-family: var(--serif); font-size: clamp(28px, 4vw, 58px); line-height: 1.25; max-width: 1040px; }
.sep { font-style: normal; }
.sep--rose { color: var(--rose); }
.sep--saffron { color: var(--saffron); }
.sep--mint { color: var(--mint); }
@media (max-width: 600px) { .band { padding: 64px 24px; } }

/* Who we work with */
.formats { padding-top: 24px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.formats__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; }
.formats__head p { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 460px; }
.formats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.formats__list li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 24px 0; border-top: 1px solid var(--ink); }
.formats__list li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.formats__name { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 28px; line-height: 1.1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid #3A3835; }
.steps li { padding: 32px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps .num { color: var(--muted-dark); }
.steps h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--ivory); }
.steps li > p:last-child { font-size: 15px; line-height: 1.55; color: var(--muted-dark); }

/* About */
.about { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; }
.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__copy p { font-size: 17px; line-height: 1.7; }
.about__clients { display: flex; flex-direction: column; gap: 22px; }
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 24px; }
.clients li { padding: 16px 0; border-bottom: 1px solid var(--rule); }

/* Contact */
.contact-section { position: relative; overflow: hidden; }
.contact { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; position: relative; }
.contact__intro { display: flex; flex-direction: column; gap: 22px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; }
.form input, .form select, .form textarea { font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 0; padding: 0 14px; height: 48px; width: 100%; }
.form textarea { height: auto; padding: 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.form .full { grid-column: 1 / -1; }
.form .full-start { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.footer__links a:hover { color: var(--rose); }

/* Thank-you page */
.thanks { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; padding: 40px 20px; position: relative; overflow: hidden; }
.thanks p { font-size: 18px; line-height: 1.6; color: #E4DED3; max-width: 460px; }

/* Phone refinements */
@media (max-width: 600px) {
  .nav { flex-wrap: nowrap; }
  .logo { font-size: 24px; }
  .nav__links .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .eyebrow, .mono { letter-spacing: 2px; font-size: 12px; }
  .hero .confetti:first-of-type { top: 8% !important; }
  .intro, .about, .contact { padding-top: 88px; padding-bottom: 88px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
}

/* Selected work */
.work { border-top: 1px solid var(--ink); }
.work li { display: grid; grid-template-columns: 150px 1fr; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.work__area { font-family: var(--serif); font-size: 24px; }
.work li > span:last-child { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.work__clients { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 600px) { .work li { grid-template-columns: 1fr; } }
