/* The shared visual language for the studio home and selected work. */
.saywell-studio-v2 {
  --display: 'Space Grotesk', 'Manrope', Arial, sans-serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --sw-gutter: clamp(22px, 4vw, 72px);
  --sw-max: 1560px;
  --sw-ink: #173f3d;
  --sw-soft: #f0eee7;
  --sw-line: #d9ddd3;
  --sw-radius: 14px;
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.saywell-studio-v2 [hidden] { display: none !important; }
.saywell-studio-v2 :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--terracotta-text);
  outline-offset: 5px;
}
.saywell-studio-v2 :where(a, button) { touch-action: manipulation; }
.saywell-studio-v2 :where(h1, h2, h3, h4) {
  color: inherit;
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.saywell-studio-v2 h1 { white-space: normal; }
.saywell-studio-v2 h2 { font-size: clamp(36px, 4.6vw, 68px); }
.saywell-studio-v2 h3 { font-size: clamp(23px, 2.2vw, 32px); letter-spacing: -.045em; }
.saywell-studio-v2 .serif {
  font-family: var(--display);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}
.saywell-studio-v2 .section-wrap { padding-inline: var(--sw-gutter); }
.saywell-studio-v2 .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 11px/1.5 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 25px;
}
.saywell-studio-v2 .status-dot { width: 7px; height: 7px; flex: 0 0 7px; }
.saywell-studio-v2 .site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: var(--sw-max);
  min-height: 106px;
  margin: 0 auto;
  padding: 19px var(--sw-gutter);
  background: var(--ivory);
  border-bottom: 1px solid var(--sw-line);
}
.saywell-studio-v2 .site-header .wordmark { display: block; flex: 0 0 auto; }
.saywell-studio-v2 .site-header .wordmark img {
  width: 204px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}
.saywell-studio-v2 .site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  font-size: 13px;
  font-weight: 500;
}
.saywell-studio-v2 .site-header nav > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: var(--charcoal);
  text-decoration: none;
}
.saywell-studio-v2 .site-header nav > a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.saywell-studio-v2 .site-header nav > a:hover::after,
.saywell-studio-v2 .site-header nav > a[aria-current='page']::after { transform: scaleX(1); }
.saywell-studio-v2 .site-header nav > a[aria-current='page'] { color: var(--teal); }
.saywell-studio-v2 .menu-toggle { display: none; }
.saywell-studio-v2 .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid var(--teal);
  border-radius: 100px;
  background: var(--teal);
  color: var(--ivory);
  font: 500 14px/1.3 var(--sans);
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.saywell-studio-v2 .button:hover {
  background: var(--teal-pressed);
  border-color: var(--teal-pressed);
  color: var(--ivory);
  transform: translateY(-2px);
}
.saywell-studio-v2 .button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.saywell-studio-v2 .button span { font-size: 20px; line-height: 1; }
.saywell-studio-v2 .button-small {
  min-height: 47px;
  padding: 12px 20px;
  font-size: 13px;
}
.saywell-studio-v2 .button-outline {
  color: var(--teal);
  background: transparent;
  border-color: var(--teal);
}
.saywell-studio-v2 .button-white {
  color: var(--teal);
  background: var(--ivory);
  border-color: var(--ivory);
}
.saywell-studio-v2 .button-white:hover {
  color: var(--teal);
  background: var(--sage);
  border-color: var(--sage);
}
.saywell-studio-v2 .text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 500 14px/1.6 var(--sans);
  text-decoration: none;
  transition: color .2s ease;
}
.saywell-studio-v2 .text-link:hover { color: var(--terracotta-text); }
.saywell-studio-v2 .inline-link { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.saywell-studio-v2 .site-footer {
  display: grid;
  grid-template-columns: 1fr 1.6fr auto;
  align-items: start;
  gap: 36px;
  width: 100%;
  max-width: none;
  padding: 58px var(--sw-gutter) 30px;
  background: var(--teal);
  color: var(--ivory);
  border: 0;
}
.saywell-studio-v2 .site-footer > .wordmark { display: block; }
.saywell-studio-v2 .site-footer .wordmark img { width: 215px; height: auto; }
.saywell-studio-v2 .site-footer p {
  max-width: 610px;
  margin: 0;
  color: #e3ede5;
  font-size: 12px;
  line-height: 1.95;
}
.saywell-studio-v2 .site-footer p a { text-decoration: none; }
.saywell-studio-v2 .site-footer p a:hover { text-decoration: underline; text-underline-offset: 4px; }
.saywell-studio-v2 .site-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 8px 20px;
  max-width: 235px;
  color: #e3ede5;
  font-size: 11px;
}
.saywell-studio-v2 .site-footer > div > span { flex-basis: 100%; text-align: right; }
.saywell-studio-v2 .site-footer button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #e3ede5;
  font: 500 11px var(--sans);
}
.saywell-studio-v2 .site-footer::after {
  grid-column: 1 / -1;
  display: block;
  padding-top: 35px;
  margin-top: 10px;
  border-top: 1px solid #ffffff26;
  color: var(--ivory);
  font: 500 clamp(62px, 12.6vw, 190px)/.95 var(--display);
  letter-spacing: -.075em;
  content: 'Say it well.';
}
.saywell-studio-v2 .site-footer :focus-visible,
.saywell-studio-v2 .contact-section :focus-visible { outline-color: var(--ivory); }

/* Saved originals remain available when the old domain is retired. */
.saywell-studio-v2 .sw-compare {
  --reveal: 50%;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.55;
  overflow: hidden;
  border-radius: 12px;
  background: #e4e5dd;
}
.saywell-studio-v2 .sw-compare > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.saywell-studio-v2 .sw-compare-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0);
}
.saywell-studio-v2 .sw-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal, 50%);
  z-index: 4;
  width: 2px;
  background: var(--ivory);
  pointer-events: none;
}
.saywell-studio-v2 .sw-compare-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #ffffffd9;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 3px 20px #0b242b33;
  color: var(--teal);
  font: 500 25px/1 var(--sans);
  transform: translate(-50%, -50%);
}
.saywell-studio-v2 .sw-compare-label {
  position: absolute;
  top: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid #ffffff66;
  border-radius: 30px;
  background: var(--teal);
  color: var(--ivory);
  font: 500 10px/1.4 var(--sans);
  letter-spacing: .04em;
  pointer-events: none;
}
.saywell-studio-v2 .sw-compare-label.before { left: 18px; }
.saywell-studio-v2 .sw-compare-label.after { right: 18px; }
.saywell-studio-v2 input[data-compare-range] {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.saywell-studio-v2 .sw-compare:focus-within {
  outline: 3px solid var(--terracotta-text);
  outline-offset: 5px;
}
.saywell-studio-v2 .sw-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.saywell-studio-v2 .sw-project-tags :is(span, li) {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 30px;
  font: 500 9px/1.4 var(--sans);
  letter-spacing: .025em;
}
.saywell-studio-v2 .sw-project-index { font: 500 11px/1.4 var(--sans); letter-spacing: .06em; }

/* A lightbox shows private concept previews without advertising a public link. */
.saywell-studio-v2 .sw-preview-dialog {
  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;
  max-height: 90svh;
  padding: 36px;
  overflow: auto;
  border: 1px solid var(--sw-line);
  border-radius: 16px;
  background: var(--ivory);
  color: var(--charcoal);
  box-shadow: 0 24px 100px #071f2455;
}
.saywell-studio-v2 .sw-preview-dialog::backdrop { background: #082d2bd9; backdrop-filter: blur(4px); }
.saywell-studio-v2 .sw-preview-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.saywell-studio-v2 .sw-preview-dialog .eyebrow { margin-bottom: 9px; color: var(--teal); }
.saywell-studio-v2 .sw-preview-dialog h2 { margin: 0; font-size: 32px; letter-spacing: -.045em; }
.saywell-studio-v2 .sw-preview-close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--sw-line);
  border-radius: 50%;
  background: transparent;
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}
.saywell-studio-v2 .sw-preview-close:hover { background: var(--sage); }
.saywell-studio-v2 #sw-preview-description { max-width: 760px; margin-bottom: 24px; font-size: 14px; color: var(--slate); }
.saywell-studio-v2 .sw-preview-image { display: block; width: 100%; height: auto; border-radius: 8px; background: var(--sw-soft); }
.saywell-studio-v2 .sw-preview-dialog small { display: block; margin: 18px 0 0; font-size: 12px; color: var(--slate); }

@media (max-width: 1100px) {
  .saywell-studio-v2 .site-header { min-height: 94px; gap: 24px; }
  .saywell-studio-v2 .site-header .wordmark img { width: 182px; }
  .saywell-studio-v2 .site-header nav { gap: 18px; font-size: 12px; }
  .saywell-studio-v2 .site-header .button-small { padding: 12px 17px; font-size: 12px; }
  .saywell-studio-v2 .site-footer { grid-template-columns: .9fr 1.4fr; gap: 30px; }
  .saywell-studio-v2 .site-footer > div { grid-column: 2; justify-content: start; max-width: none; }
  .saywell-studio-v2 .site-footer > div > span { flex-basis: auto; text-align: left; margin: 0; }
}
@media (max-width: 800px) {
  .saywell-studio-v2 .site-header { min-height: 84px; padding-block: 14px; }
  .saywell-studio-v2 .site-header .wordmark img { width: 175px; }
  .saywell-studio-v2 .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0 8px 14px;
    border: 0;
    background: none;
    font-size: 13px;
  }
  .saywell-studio-v2 .menu-toggle span { color: var(--teal); font-size: 20px; }
  .saywell-studio-v2 .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 18px var(--sw-gutter) 24px;
    border-bottom: 1px solid var(--sw-line);
    background: var(--ivory);
    box-shadow: 0 16px 28px #2433310d;
    font-size: 16px;
  }
  .saywell-studio-v2 .site-header nav.is-open { display: flex; }
  .saywell-studio-v2 .site-header nav > a { min-height: 48px; padding: 2px 0; }
  .saywell-studio-v2 .site-header nav > a::after { display: none; }
  .saywell-studio-v2 .site-header nav .button { margin-top: 13px; justify-content: space-between; font-size: 14px; min-height: 50px; }
  .saywell-studio-v2 .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .saywell-studio-v2 .site-footer { grid-template-columns: 1fr 1.6fr; padding-top: 42px; gap: 28px; }
  .saywell-studio-v2 .site-footer .wordmark img { width: 175px; }
  .saywell-studio-v2 .site-footer p { font-size: 11px; }
  .saywell-studio-v2 .site-footer::after { padding-top: 28px; margin-top: 0; font-size: clamp(62px, 13vw, 110px); }
}
@media (max-width: 560px) {
  .saywell-studio-v2 { font-size: 16px; }
  .saywell-studio-v2 .site-footer { grid-template-columns: 1fr; gap: 25px; padding-bottom: 24px; }
  .saywell-studio-v2 .site-footer .wordmark img { width: 190px; }
  .saywell-studio-v2 .site-footer p { max-width: 380px; font-size: 11px; line-height: 2; }
  .saywell-studio-v2 .site-footer > div { grid-column: 1; gap: 5px 20px; }
  .saywell-studio-v2 .site-footer > div > span { flex-basis: 100%; }
  .saywell-studio-v2 .site-footer::after { padding-top: 26px; margin-top: 2px; }
  .saywell-studio-v2 .sw-compare-label { top: 10px; padding: 5px 8px; min-height: 25px; font-size: 8px; }
  .saywell-studio-v2 .sw-compare-label.before { left: 10px; }
  .saywell-studio-v2 .sw-compare-label.after { right: 10px; }
  .saywell-studio-v2 .sw-compare-line span { width: 40px; height: 40px; font-size: 22px; }
  .saywell-studio-v2 .sw-preview-dialog { width: calc(100% - 24px); max-height: 92svh; padding: 22px 18px; }
  .saywell-studio-v2 .sw-preview-dialog h2 { font-size: 28px; }
  .saywell-studio-v2 .sw-preview-dialog header { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .saywell-studio-v2 *, .saywell-studio-v2 *::before, .saywell-studio-v2 *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .saywell-studio-v2 .button:hover { transform: none; }
}

.saywell-studio-v2 .sw-compare-label { gap: 7px; }
.saywell-studio-v2 .sw-compare-label small { font: inherit; font-size: 8px; opacity: .85; }

.saywell-studio-v2 .site-header nav > a.button { color: var(--ivory, #FAF7F2); }

