/* Everwell - everwellcreative.com - v1.0
   Palette (Brand Foundation): ivory #F3EEE5, sand #D7CBB9, sage #A8AA91, olive #777D65, espresso #403D35.
   Type: Cormorant Garamond (headlines, italic tagline), DM Sans (text, labels). Self-hosted, SIL OFL 1.1. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/CormorantGaramond-Medium.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/CormorantGaramond-Italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/CormorantGaramond-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/DMSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/DMSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/DMSans-SemiBold.woff2") format("woff2"); }

:root {
  --ivory: #F3EEE5;
  --sand: #D7CBB9;
  --sage: #A8AA91;
  --olive: #777D65;
  --espresso: #403D35;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ivory); color: var(--espresso); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--espresso); color: var(--ivory); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; }
.brand img { height: 58px; width: auto; }
.site-nav ul { display: flex; gap: 38px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.02em; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--olive); }

/* Shared */
.label { font: 600 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 32px; height: 1px; background: var(--olive); flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h2 { font-size: clamp(36px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.005em; margin-bottom: 26px; }
p { margin: 0 0 18px; }
section { padding: 112px 0; }

/* Hero */
.hero { padding: 104px 0 112px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-style: italic; font-size: clamp(54px, 6.4vw, 92px); line-height: 1.0; letter-spacing: -0.01em; margin-bottom: 30px; }
.lede { font-size: 19px; line-height: 1.6; max-width: 32em; margin-bottom: 40px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.btn { display: inline-block; background: var(--espresso); color: var(--ivory); text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: 0.04em; padding: 17px 28px; box-shadow: inset 0 -3px 0 var(--espresso); transition: box-shadow 0.2s ease; }
.btn:hover { box-shadow: inset 0 -3px 0 var(--sage); }
.text-link { font: 500 15px/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--olive); }
.hero-art { position: relative; aspect-ratio: 6 / 5; display: flex; align-items: center; justify-content: center; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: var(--sand); clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%); }
.hero-art img { position: relative; width: 74%; margin-left: 12%; }

/* Studio */
.studio { border-top: 1px solid var(--sand); }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.studio .copy p { font-size: 18px; }
.studio .copy p:first-child { font-family: var(--serif); font-size: 27px; line-height: 1.38; margin-bottom: 26px; }

/* Services */
.services-section { border-top: 1px solid var(--sand); }
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sand); margin-top: 44px; }
.service { padding: 44px 48px 48px 0; border-bottom: 1px solid var(--sand); }
.service:nth-child(odd) { border-right: 1px solid var(--sand); }
.service:nth-child(even) { padding-left: 48px; padding-right: 0; }
.service img { width: 60px; height: 60px; }
.service h3 { font-size: 31px; line-height: 1.15; margin: 20px 0 16px; }
.service ul { list-style: none; margin: 0; padding: 0; }
.service li { padding: 5px 0 5px 22px; position: relative; font-size: 16.5px; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 11px; height: 1px; background: var(--olive); }
.note { margin: 30px 0 0; font-size: 16px; }

/* Approach */
.approach { background: var(--sand); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; counter-reset: step; }
.steps li { border-top: 1px solid var(--espresso); padding-top: 22px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font: italic 500 40px/1 var(--serif); margin-bottom: 18px; }
.steps h3 { font: 600 15px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.steps p { font-size: 16px; line-height: 1.6; margin: 0; }

/* Who */
.who { border-bottom: 1px solid var(--sand); }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 44px; }
.clients h3 { font-size: 27px; line-height: 1.15; margin-bottom: 12px; }
.clients p { font-size: 16px; margin: 0; }

/* Contact */
.contact { background: var(--espresso); color: var(--ivory); padding: 120px 0; }
.contact .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.contact .label::before { background: var(--sage); }
.contact h2 { font-style: italic; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; }
.contact p { font-size: 18px; max-width: 30em; }
.email { display: inline-block; margin-top: 18px; font: italic 500 clamp(28px, 3vw, 38px)/1.2 var(--serif); color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 6px; }
.email:hover { border-bottom-color: var(--ivory); }
.contact-mark img { width: 100%; max-width: 420px; margin-left: auto; }

/* Footer */
.site-footer { padding: 44px 0 52px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 40px; width: auto; }
.site-footer p { margin: 0; font-size: 14px; }
.site-footer .tagline { font: italic 400 20px/1.3 var(--serif); }

/* Responsive */
@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  section { padding: 84px 0; }
  .hero { padding: 64px 0 84px; }
  .hero .wrap, .two-col, .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 560px; }
  .contact-mark img { margin-left: 0; max-width: 320px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(even) { padding: 40px 0 44px; border-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .site-header .wrap { min-height: 76px; }
  .brand img { height: 44px; }
  .site-nav ul { gap: 18px; }
  .site-nav li.optional { display: none; }
  .steps { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; gap: 32px; }
  .lede { font-size: 17.5px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
