/* ============================================================
   undressed.socials — one-page website
   layout on top of the brand foundation (colors_and_type.css)
   flat, colour-on-colour, one pair per section.
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--blood);
  color: var(--sun);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
::selection { background: currentColor; }

/* ---- the inverse of pair 1 — SUN surface / BLOOD text (footer) ---- */
.pair-1r { --surface: var(--sun); --text: var(--blood); }

/* ---- per-page shell: one colour pair carries the whole subpage ---- */
.site {
  min-height: 100svh;
  background: var(--surface);
  color: var(--text);
  position: relative;
}
.site main { flex: 1; }
/* sticky-footer reveal: content sits above the fixed footer and reserves
   --foot-h of scroll space below itself, so the footer is uncovered only
   once you scroll to the very end. */
.site-content {
  position: relative; z-index: 1;
  background: var(--surface);
  min-height: 100svh;
  margin-bottom: var(--foot-h, 60vh);
}

/* ============================================================
   BANDS — full colour-on-colour sections
   ============================================================ */
.band {
  background: var(--surface);
  color: var(--text);
  padding: clamp(96px, 12vw, 176px) var(--mx);
  position: relative;
  overflow: clip;
  --mx: max(28px, 7vw);
}
.band.tall {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band + .band { padding-top: 0; }
.band-tight-top { padding-top: 0; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */
.kicker {
  font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase; letter-spacing: .3em;
  font-size: clamp(11px, 1.1vw, 13px);
  display: inline-flex; gap: .8em; align-items: center;
}
.kicker .arr { letter-spacing: 0; font-weight: 600; }
.kicker .dot { letter-spacing: 0; opacity: .7; }

.hl {
  font-family: var(--font-display); font-weight: 900;
  text-transform: lowercase; letter-spacing: -.025em; line-height: .9;
  font-size: clamp(52px, 11vw, 150px); margin: 0;
}
.hl.sm  { font-size: clamp(38px, 7vw, 84px); }
.hl.xs  { font-size: clamp(30px, 5vw, 56px); }

.serif {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 3.4vw, 44px); line-height: 1.15;
}
.serif.sm { font-size: clamp(19px, 2.4vw, 30px); }
.accent  { font-family: var(--font-accent); font-style: italic; font-weight: 400; }

.lead {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; max-width: 60ch;
}
.lead.tight { max-width: 44ch; }

/* highlight = OUTLINE word: hollow, slightly slanted Gluten (like "bare.") */
.mark {
  display: inline-block;
  background: transparent;
  border-radius: 0;
  padding: 0 .06em 0 0;
  color: transparent;
  -webkit-text-stroke: 0.022em var(--mark-stroke, var(--text));
  text-stroke: 0.022em var(--mark-stroke, var(--text));
  font-variation-settings: "slnt" -12, "wght" 900;
}

/* tagline line — body face; serif italic only INLINE for emphasis */
.tagline {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(19px, 2.4vw, 30px); line-height: 1.22; max-width: 30ch;
}
.tagline .accent { font-size: 1.06em; line-height: 1; }

/* SUBHEAD — smaller headings drop to the body face (Space Grotesk),
   so only the big display moments stay in Gluten. calmer rhythm. */
.subhead {
  font-family: var(--font-body); font-weight: 700;
  text-transform: lowercase; letter-spacing: -.005em; line-height: 1.1;
  font-size: clamp(22px, 2.4vw, 32px); margin: 0;
}
.subhead.sm { font-size: clamp(18px, 1.8vw, 24px); }

/* ============================================================
   BUTTONS — outline default, fill on hover (foundation .btn)
   ============================================================ */
.btn {
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(12px, 1vw, 14px); letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 2px solid var(--text); background: transparent; color: var(--text);
  cursor: pointer; display: inline-flex; align-items: center; gap: .6em;
  transition: background .16s ease, color .16s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover  { background: var(--text); color: var(--surface); }
.btn:active { transform: scale(.97); }
.btn.solid  { background: var(--text); color: var(--surface); }
.btn.solid:hover { opacity: .88; }
.btn.lg { padding: 20px 38px; font-size: clamp(14px, 1.3vw, 18px); }

.cherry-mark { display: inline-block; flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(28px, 7vw);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav .lock { display: flex; align-items: center; cursor: pointer; }
.nav .lock img { height: 32px; display: block; min-width: 120px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em; cursor: pointer;
  opacity: .8; transition: opacity .15s ease; position: relative; padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 700; }
.nav-mid { font-weight: 600; opacity: .5; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: 0; padding: 8px; z-index: 70;
  position: relative;
}
/* invisible touch-target extension — same look, ~44px tap area */
.nav-burger::after { content: ''; position: absolute; inset: -8px; }
.nav-burger span {
  width: 26px; height: 2.5px; background: currentColor; display: block;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 65;
  background: var(--surface); color: var(--text);
  display: flex; flex-direction: column; justify-content: center;
  gap: 28px; padding: 40px max(24px, 8vw);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.5,.05,.2,1);
}
.drawer.open { transform: none; }
.drawer a {
  font-family: var(--font-display); font-weight: 900; text-transform: lowercase;
  font-size: clamp(40px, 11vw, 64px); line-height: 1; letter-spacing: -.02em;
}
.drawer .btn { align-self: flex-start; margin-top: 8px; }
.drawer-foot { position: absolute; bottom: 32px; left: max(24px,8vw); }

/* ============================================================
   HERO
   ============================================================ */
.hero-cherry {
  position: absolute; pointer-events: none; z-index: 1;
  opacity: .92; color: var(--text);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 40px; }
.scroll-prompt {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.scroll-prompt .kicker { animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(6px) } }
@media (prefers-reduced-motion: reduce){ .scroll-prompt .kicker { animation: none; } }

/* ============================================================
   THREE-COLUMN CARDS (manifesto)
   ============================================================ */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.mcard { background: color-mix(in srgb, var(--text) 7%, transparent); padding: 28px 24px 32px; }
.mcard h4 {
  font-family: var(--font-body); font-weight: 700;
  text-transform: lowercase; letter-spacing: -.005em;
  font-size: clamp(20px, 2vw, 26px); margin: 0 0 8px;
}
.mcard p { margin: 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.5; opacity: .92; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-feature {
  background: color-mix(in srgb, var(--text) 7%, transparent); padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: start; margin-top: 48px;
}
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px;
}
.svc-card {
  background: color-mix(in srgb, var(--text) 7%, transparent); color: inherit;
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column;
  min-height: 300px; position: relative; overflow: hidden;
}
.svc-tag {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: 11px; opacity: .85;
}
.svc-name {
  font-family: var(--font-body); font-weight: 700;
  text-transform: lowercase; letter-spacing: -.005em; line-height: 1.05;
  margin: 12px 0 0; font-size: clamp(22px, 2.2vw, 30px);
}
.svc-desc { font-family: var(--font-body); font-weight: 400; font-size: clamp(15px,1.5vw,18px); line-height: 1.4; margin: 8px 0 18px; opacity: .9; }
.svc-deliv { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 7px; }
.svc-deliv li { display: flex; gap: 10px; align-items: baseline; font-size: clamp(14px,1.3vw,16px); line-height: 1.35; }
.svc-deliv li .cherry-mark { width: .7em; height: .7em; transform: translateY(1px); opacity: .9; }
.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.svc-cardcherry { position: absolute; right: -18px; top: -18px; opacity: .14; color: var(--text); pointer-events: none; }

/* ============================================================
   HOW WE WORK — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.step { padding: 24px 24px 0 0; }
.step-num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(48px,7vw,96px);
  line-height: .9; letter-spacing: -.03em;
}
.step h4 {
  font-family: var(--font-body); font-weight: 700;
  text-transform: lowercase; letter-spacing: -.005em;
  font-size: clamp(20px,2vw,26px); margin: 14px 0 8px;
}
.step p { margin: 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.5; opacity: .92; max-width: 32ch; }

/* ============================================================
   ABOUT LINDA
   ============================================================ */
.linda { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 40px; }
.linda-photo {
  aspect-ratio: 4 / 5; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.linda-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; }
.linda-ph-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: .7; text-align: center; padding: 24px; }
.linda-ph-inner .label-caps { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.linda-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.linda-bullets li { display: flex; gap: 14px; align-items: baseline; font-size: clamp(16px,1.5vw,20px); line-height: 1.4; }
.linda-bullets li .cherry-mark { width: .85em; height: .85em; transform: translateY(2px); flex: none; }

/* ============================================================
   SELECTED WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; }
.work-card {
  background: color-mix(in srgb, var(--text) 6%, transparent); position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 380px; cursor: pointer;
  transition: transform .25s ease;
}
.work-card:hover { transform: translateY(-4px); }
.work-thumb {
  aspect-ratio: 4 / 3; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.work-thumb .cherry-mark { opacity: .35; }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-client { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.005em; font-size: clamp(22px,2.2vw,30px); line-height: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.work-tags span { border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.work-result { margin-top: auto; }
.work-result .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px,3vw,46px); line-height: 1; letter-spacing: -.02em; }
.work-result .num .accent { font-size: .55em; }
.work-result .cap { font-size: 13px; opacity: .8; margin-top: 4px; }
.work-detail {
  position: absolute; inset: 0; background: var(--surface); color: var(--text);
  padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.work-card:hover .work-detail, .work-card:focus-within .work-detail { opacity: 1; transform: none; }
.work-detail p { margin: 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.5; }
.work-detail .serif { font-size: clamp(20px,2.2vw,28px); }

/* ============================================================
   CONTACT FOOTER
   ============================================================ */
.foot-word {
  font-family: var(--font-display); font-weight: 900; text-transform: lowercase;
  letter-spacing: -.03em; line-height: .86; font-size: clamp(56px, 14vw, 200px); margin: 0;
}
.foot-contact { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: 48px; }
.foot-contact a { font-weight: 600; font-size: clamp(20px,2.4vw,32px); }
.foot-contact .lbl { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: 8px; }
.foot-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin-top: 64px;
  font-size: 13px; opacity: .85;
}
.foot-meta .sep { opacity: .45; }
.foot-tagline { font-family: var(--font-accent); font-style: italic; }

/* ============================================================
   REVEAL ON SCROLL — the "undressing" gesture
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
.anim-off .reveal { opacity: 1 !important; transform: none !important; transition: none; }

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.scrim {
  position: fixed; inset: 0; background: rgba(20,0,2,.6); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  width: min(540px, 100%); background: var(--blood); color: var(--sun);
  padding: clamp(28px, 4vw, 44px);
  transform: translateY(14px); transition: transform .25s ease; position: relative;
  max-height: 92vh; overflow: auto;
}
.scrim.open .sheet { transform: none; }
.sheet-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: inherit; font-size: 26px; cursor: pointer; line-height: 1; opacity: .7; }
.sheet-close:hover { opacity: 1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.field input, .field textarea {
  background: color-mix(in srgb, var(--text) 8%, transparent); border: none;
  color: inherit; font-family: var(--font-body); font-size: 17px; padding: 14px 16px; outline: none;
  transition: background .2s ease;
}
.field input:focus, .field textarea:focus { background: color-mix(in srgb, var(--text) 15%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: .4; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .cols-3 { grid-template-columns: 1fr; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding-bottom: 8px; }
  .linda { grid-template-columns: 1fr; }
  .linda-photo { max-width: 420px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 340px; }
  .work-detail { position: static; opacity: 1; transform: none; background: transparent; padding: 0 22px 22px; }
  .work-card:hover { transform: none; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SITE FOOTER (revealed, ordered) + CONTACT PAGE
   ============================================================ */
.site-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
  background: var(--text); color: var(--surface);
  padding: clamp(48px,7vw,104px) max(24px,6vw) clamp(26px,3vw,40px);
  display: flex; flex-direction: column; gap: clamp(36px,5vw,72px);
}
.foot-top { display: grid; grid-template-columns: 2.4fr 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; width: 100%; }
.foot-brand { display: flex; flex-direction: column; gap: var(--gap-3); }
.foot-wordmark { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.03em; line-height: .9; font-size: clamp(26px,2.8vw,46px); }
.foot-tagline { font-family: var(--font-accent); font-style: italic; font-size: clamp(16px,1.5vw,20px); opacity: .82; margin: 0; max-width: 24ch; }
.foot-col { display: flex; flex-direction: column; gap: 12px; align-items: start; }
.foot-col .foot-h { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: 11px; opacity: .55; margin-bottom: 4px; }
.foot-col a, .foot-col .foot-loc { font-size: clamp(15px,1.4vw,18px); line-height: 1.3; opacity: .9; }
.foot-col a { transition: opacity .2s ease; }
.foot-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-col .foot-loc { opacity: .6; }
.foot-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  width: 100%; font-size: 12px; opacity: .6;
  padding-top: clamp(20px,2.4vw,32px); border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent);
}
.foot-bar-tag { font-family: var(--font-accent); font-style: italic; opacity: .85; }
@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: var(--gap-4) clamp(20px,4vw,40px); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}

.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px); margin-top: var(--gap-5); align-items: start;
}
.contact-form-wrap form { display: flex; flex-direction: column; gap: 2px; }
.contact-form-wrap .btn { align-self: flex-start; margin-top: 8px; }
.contact .sent { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* let's talk — cleaner layout: details band + constrained form */
.contact-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(24px,4vw,64px);
  background: color-mix(in srgb, var(--text) 7%, transparent);
  padding: clamp(24px,3vw,40px); margin-top: var(--gap-5);
}
.contact-meta .lbl { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: 10px; }
.contact-meta a, .contact-meta .meta-val { font-weight: 600; font-size: clamp(17px,1.7vw,22px); }
.contact-form-wrap { margin-top: var(--gap-5); max-width: 720px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px,4vw,48px); }
@media (max-width: 620px) { .contact-meta { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* impressum — teal · mint */
.imprint-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px,1.5vw,18px); margin-top: var(--gap-5); }
.imprint-block { padding: clamp(22px,3vw,36px); background: color-mix(in srgb, var(--text) 7%, transparent); }
.imprint-block .sd-label { margin-bottom: var(--gap-3); }
.imprint-lines { display: flex; flex-direction: column; gap: 6px; font-size: clamp(15px,1.5vw,18px); line-height: 1.5; }
@media (max-width: 760px) { .imprint-grid { grid-template-columns: 1fr; } }
.privacy-body { margin: 14px 0 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.6; opacity: .92; max-width: 70ch; }
