

:root {
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  
  --att-fs-heading: var(--fs-page-title);

  
  --att-leading-heading: 1.2;

  
  --att-choice-pad-x:      1.25rem;
  --att-choice-pad-y:      1.1rem;    
  --att-choice-pad-y-tight: 0.85rem;  

  
  --att-choice-min-h:       62px;
  --att-choice-min-h-tight: 48px;

  
  --att-choice-border:       rgba(90, 100, 87, 0.75);   
  --att-choice-border-hover: rgba(90, 100, 87, 0.90);   
}

body { background: var(--cream); }

.att-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stone);
  z-index: 10;
  
  padding-top: env(safe-area-inset-top, 0px);
}

.att-progress__fill {
  height: 3px;
  width: var(--att-progress, 0%);
  background: var(--sage-deep);          
  
  border-radius: 0 999px 999px 0;
  transition: width 0.8s var(--ease-smooth);
}

@media (prefers-reduced-motion: reduce) {
  .att-progress__fill, .att-card { transition: none; }
}

.att-brand {
  position: absolute;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  left: calc(1rem + env(safe-area-inset-left, 0px));
  z-index: 9;
  display: block;
}
.att-brand__img { width: 96px; height: 96px; border-radius: 50%; }

.att-rail__count { display: none; }

.att {
  padding: var(--flow-section) var(--gutter);
  
  overflow-x: clip;
}

.att-shell {
  min-height: 100dvh;
  padding-top: var(--flow-lg);
}

.att__inner { width: 100%; max-width: 34rem; margin: 0 auto; }

.att-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);             
  font-weight: 600;
  
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);                
  margin-bottom: var(--flow-xs);
}

.att-rail .att-eyebrow {
  margin-bottom: 0;
  font-variant-numeric: tabular-nums;
}

.att-intro { margin-bottom: var(--flow-xl); }

.att-intro__body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
}

.att-q { border: 0; padding: 0; margin: 0; }

.att-q__heading {
  font-family: var(--font-serif);
  font-size: var(--att-fs-heading);
  font-weight: 400;
  line-height: var(--att-leading-heading);
  color: var(--charcoal);
  padding: 0;
  margin-bottom: var(--flow-md);
}

.att-q__heading:focus,
.att-q__heading:focus-visible { outline: none; }

.att-q.is-entering .att-card,
.att-q.is-entering .att-q__heading {
  animation: att-fade 0.8s var(--ease-smooth) both;
}

.att-q.is-entering .att-card:nth-child(1) { animation-delay: 0s; }
.att-q.is-entering .att-card:nth-child(2) { animation-delay: 0.03s; }
.att-q.is-entering .att-card:nth-child(3) { animation-delay: 0.06s; }
.att-q.is-entering .att-card:nth-child(4) { animation-delay: 0.09s; }
.att-q.is-entering .att-card:nth-child(5) { animation-delay: 0.12s; }
.att-q.is-entering .att-card:nth-child(6) { animation-delay: 0.15s; }

@keyframes att-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .att-q.is-entering .att-card,
  .att-q.is-entering .att-q__heading { animation: none; }
}

.att-cards { display: flex; flex-direction: column; gap: var(--flow-2xs); }

.att-card {
  display: flex;
  align-items: center;                    
  text-align: left;
  min-height: var(--att-choice-min-h);
  padding: var(--att-choice-pad-y) var(--att-choice-pad-x);
  background:
    linear-gradient(158deg,
      rgba(255, 255, 255, 0.66)   0%,
      rgba(255, 255, 255, 0.24)  46%,
      rgba(138, 154, 144, 0.16) 100%);
  border: 1px solid var(--att-choice-border);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.80) inset,
    0 10px 26px rgba(44, 44, 44, 0.07);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: var(--leading-body);
  color: var(--charcoal);
  cursor: pointer;
  
  transition: background 0.8s var(--ease-smooth),
              border-color 0.8s var(--ease-smooth),
              box-shadow 0.8s var(--ease-smooth),
              color 0.8s var(--ease-smooth);
}

.att-card { width: 100%; }

.att-card__label { font: inherit; }

.att-card:hover {
  background:
    linear-gradient(158deg,
      rgba(255, 255, 255, 0.72)   0%,
      rgba(138, 154, 144, 0.20)  48%,
      rgba(138, 154, 144, 0.30) 100%);
  border-color: var(--att-choice-border-hover);
}

.att-card:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.att-card.is-selected {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  box-shadow: 0 10px 26px rgba(44, 44, 44, 0.12);
  color: var(--cream);                    
}
.att-card.is-selected .att-card__label { font-weight: 600; }

.att-card--compact {
  min-height: var(--att-choice-min-h-tight);
  padding-block: var(--att-choice-pad-y-tight);
}

.att-cards--age {
  flex-direction: row;
  flex-wrap: wrap;
}
.att-cards--age .att-card {
  flex: 1 1 calc(50% - 0.375rem);
  
  justify-content: center;
  text-align: center;
  
  font-family: var(--font-sans);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .att-card { transition: none; }
}

.att-field { margin-bottom: var(--flow-lg); }

.att-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--field-gap);
}

.att-input {
  display: block;
  width: 100%;
  min-height: var(--field-height);
  padding: 0 var(--field-pad-x);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  font-family: var(--font-sans);
  
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
}

.att-input::placeholder { color: var(--warm-taupe); }
.att-input[aria-invalid="true"] { border-color: var(--field-error); }

.att-error {
  margin-top: var(--field-gap);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--field-error);              
}

.att-error--form { margin-top: 1rem; text-align: center; }

.att-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.att-consent__box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--sage-deep);
  cursor: pointer;
}

.att-consent__text {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
}

.att-noscript {
  margin-bottom: var(--flow-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
}

.att-casl {
  margin-bottom: var(--flow-3xs);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 300;
  line-height: var(--leading-body);
}

.att-privacy {
  margin-bottom: var(--flow-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 300;
  line-height: var(--leading-body);
}
.att-privacy a {
  color: var(--sage-deep);                 
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.att-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--flow-2xs);
  width: 100%;
  
  min-height: var(--att-choice-min-h);
  padding: var(--att-choice-pad-y) var(--att-choice-pad-x);
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  background: var(--sage-deep);
  box-shadow: 0 10px 26px rgba(44, 44, 44, 0.12);
  color: var(--cream);                    
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.8s var(--ease-smooth);
}

.att-submit:disabled { opacity: 0.75; cursor: default; }

.att-submit__spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(249, 248, 242, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: att-spin 0.9s linear infinite;
}

@keyframes att-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .att-submit { transition: none; }
  
  .att-submit__spinner { animation: att-spin 2.4s steps(8) infinite; }
}

.att-back {
  display: inline-block;
  margin-top: var(--flow-lg);
  padding: 0.5rem 0;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--warm-taupe);
  cursor: pointer;
}
.att-back:hover { color: var(--charcoal); }

.att-back[hidden] { display: none; }

.att-done { text-align: left; }

.att-done__line {
  margin-top: var(--flow-xl);
  font-family: var(--font-serif);
  font-size: var(--att-fs-heading);
  font-weight: 400;
  line-height: var(--att-leading-heading);
  color: var(--charcoal);
  max-width: 18ch;
  text-wrap: balance;   
}
.att-done__accent {
  
  display: block;
  font-style: italic;
  color: var(--sage-deep);              
}

.att-done__line:focus,
.att-done__line:focus-visible { outline: none; }

.att-done__line::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-top: var(--flow-lg);
  background: var(--att-choice-border);
}

.att-done__inbox {
  margin-top: var(--flow-lg);
  max-width: 30rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
}
.att-done__inbox strong {
  font-weight: 600;
  color: var(--sage-deep);
}

.att-done:not([hidden]) .att-done__line  { animation: att-fade 0.8s var(--ease-smooth) both; }
.att-done:not([hidden]) .att-done__inbox { animation: att-fade 0.8s var(--ease-smooth) 0.3s both; }

body.att-done-state .paper-light::after {
  opacity: 0.16;
  filter: blur(1px) saturate(0.72) contrast(0.92);
  
  -webkit-mask-image: radial-gradient(115% 115% at 78% 74%, #000 38%, transparent 76%);
  mask-image: radial-gradient(115% 115% at 78% 74%, #000 38%, transparent 76%);
}

@media (prefers-reduced-motion: reduce) {
  .att-done:not([hidden]) .att-done__line,
  .att-done:not([hidden]) .att-done__inbox { animation: none; }
}

.att-live {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 40rem) {
  .att-cards--age .att-card { flex: 1 1 calc(33.333% - 0.5rem); }
}

.consent-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--flow-2xs);
  padding: var(--flow-xs) calc(var(--gutter) + env(safe-area-inset-right, 0px))
           calc(var(--flow-xs) + env(safe-area-inset-bottom, 0px))
           calc(var(--gutter) + env(safe-area-inset-left, 0px));
  background: var(--cream);
  
  border-top: 1px solid var(--att-choice-border);
  box-shadow: 0 -10px 26px rgba(44, 44, 44, 0.05);
}

.consent-bar__text {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
  margin: 0;
}
.consent-bar__text a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 0.25em; }

.consent-bar__actions { display: flex; gap: 0.75rem; }

.consent-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 0;
  min-height: var(--att-choice-min-h-tight);
  padding: var(--att-choice-pad-y-tight) var(--att-choice-pad-x);
  background: var(--cream);
  border: 1px solid var(--att-choice-border);
  border-radius: var(--field-radius);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: var(--leading-body);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.8s var(--ease-smooth);
}

.consent-bar__btn:hover { border-color: var(--att-choice-border-hover); }

.consent-bar__btn:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .consent-bar__btn { transition: none; }
}

body.has-consent-bar .att-submit,
body.has-consent-bar .att-input,
body.has-consent-bar .att-field,
body.has-consent-bar .att-privacy,
body.has-consent-bar .att-card {
  scroll-margin-bottom: 13rem;
}

@media (min-width: 40rem) {
  .consent-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .consent-bar__text { flex: 1 1 auto; }
  .consent-bar__actions { flex: 0 0 auto; }
  .consent-bar__btn { min-width: 8rem; flex: 0 0 auto; }
}

.att-footer {
  padding: 0 var(--gutter) var(--flow-xl);
  text-align: center;
}

.att-footer .footer__disclaimer {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--warm-taupe);
}

.att-footer__legal {
  margin-top: var(--flow-2xs);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 300;
}

.att-footer__legal a {
  color: var(--sage-deep);            
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

body.has-consent-bar .att-footer { padding-bottom: 13rem; }

body.has-consent-bar .att-footer > * { scroll-margin-bottom: 13rem; }

@media (min-width: 40rem) {
  body.has-consent-bar .att-footer { padding-bottom: 9rem; }
}

@media (min-width: 64rem) {

  .att-shell {
    display: grid;
    
    grid-template-columns: minmax(9rem, 14rem) minmax(0, 38rem);
    justify-content: center;
    gap: calc(var(--rhythm-unit) * 0.5);
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
    
    padding-top: 0;
  }

  
  .att-rail {
    position: relative;                  
    align-self: stretch;
  }

  
  .att-rail__inner {
    position: sticky;
    top: var(--flow-section);   
    display: flex;
    flex-direction: column;
    align-items: flex-end;               
    text-align: right;
    padding-right: var(--flow-lg);
  }

  
  .att-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 1px;
    height: auto;
    padding-top: 0;
    background: var(--stone);
  }

  .att-progress__fill {
    width: 1px;
    height: var(--att-progress, 0%);
    border-radius: 0 0 999px 999px;   
    transition: height 0.8s var(--ease-smooth);
  }

  
  .att-brand {
    position: static;
    margin-left: auto;                   
  }

  
  .att-rail .att-eyebrow { margin-top: var(--flow-md); }

  
  .att-rail__count {
    display: block;
    margin-top: var(--flow-lg);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    font-variant-numeric: tabular-nums;  
    color: var(--charcoal);
  }
  .att-rail__count-total { color: var(--warm-taupe); }   

  
  .att {
    display: block;
    min-height: 0;
    padding: var(--flow-section) 0;   
  }

  .att__inner {
    max-width: none;
    margin: 0;
  }

  
  .att-intro__body { max-width: var(--measure); }

  
  .att-footer {
    padding-inline: 0;
    text-align: left;
  }
  .att-footer .footer__disclaimer { margin-left: 0; }
}

.att-step[hidden],
.att-q[hidden] { display: none; }

.att-step { display: flex; flex-direction: column; }

@media (max-width: 63.99rem) {
  
  
  
  .att-rail { flex: 0 0 auto; padding-inline: var(--gutter); }
  .att-rail__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--flow-2xs);
    min-height: 48px;
  }
  .att-brand { position: static; display: block; margin: 0; }
  .att-brand__img { width: 40px; height: 40px; }
  .att-shell { padding-top: calc(var(--flow-md) + env(safe-area-inset-top, 0px)); }
  .att { padding-block: var(--flow-lg); }

  
  .att-shell { min-height: 100dvh; display: flex; flex-direction: column; }
  
  .att-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .att { flex: 1 1 auto; min-height: 0; display: flex; }
  .att__inner { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
  .att-step { flex: 1 1 auto; min-height: 0; }
  
  
  
  .att-step > form { min-height: 0; }
  .att-q { min-height: 0; }
  
  
  .att-cards {
    flex: 0 0 auto; min-height: 0;
    overflow-y: visible;
    
    scrollbar-width: none;
  }
  .att-cards::-webkit-scrollbar { display: none; }
  .att-footer { flex: 0 0 auto; }

  
  body.has-consent-bar .att-shell { padding-bottom: calc(var(--consent-bar-h, 8.5rem) + 8px); }
  body.has-consent-bar .att { padding-bottom: 0; }
  .att-main { position: relative; }
  .att-footer { transition: opacity 0.8s var(--ease-smooth); }
  
  body.has-consent-bar .att-footer { padding-bottom: 0; }

  

  
  

  @media (prefers-reduced-motion: reduce) {
    .att-footer { transition: none; }
  }
}

.att-step > form { flex: 1 1 auto; display: flex; flex-direction: column; }
.att-q { flex: 1 1 auto; display: flex; flex-direction: column; }
.att-cards { flex: 0 1 auto; }

.att-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--flow-md);
  margin-top: var(--flow-lg);
}
.att-nav .att-back { margin-top: 0; }
.att-nav .att-back[hidden] { display: none; }

.att-next[hidden] { display: none; }

.att-q[data-q="q2"] .att-card {
  min-height: 56px;
  padding-block: var(--att-choice-pad-y-tight);
}
.att-q[data-q="q2"] .att-cards { gap: 0.625rem; }

.att-next {
  margin-left: auto;
  min-height: 44px;
  
  padding: 0.5rem 0.75rem;
  margin-right: -0.75rem;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--charcoal);
  cursor: pointer;
  transition: opacity 0.8s var(--ease-smooth), color 0.8s var(--ease-smooth);
}
.att-next::after {
  content: ' \2192';                       
  display: inline-block;                   
}

.att-next:not(:disabled) {
  margin-right: 0;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--cream);
  font-weight: 500;
}
.att-next:not(:disabled)::after {
  animation: att-arrow-open 0.5s var(--ease-breath) 1;
}
@keyframes att-arrow-open {
  0%, 100% { transform: translateX(0); }
  60%      { transform: translateX(4px); }
}

.att-next:not(:disabled):hover { background: var(--charcoal); color: var(--cream); }
.att-next:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 4px; }
.att-next:disabled {
  background: none;
  border: 0;
  color: var(--warm-taupe);                
  opacity: 0.45;
  cursor: default;
}

.att-card {
  background:
    linear-gradient(158deg,
      rgba(255, 255, 255, 0.92)   0%,
      rgba(255, 255, 255, 0.55)  42%,
      rgba(138, 154, 144, 0.10)  78%,
      rgba(138, 154, 144, 0.17) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(90, 100, 87, 0.12) inset,
    0 1px 2px rgba(44, 44, 44, 0.06),
    0 12px 28px -8px rgba(44, 44, 44, 0.13);
  transition: background 0.8s var(--ease-smooth),
              border-color 0.8s var(--ease-smooth),
              box-shadow 0.5s var(--ease-smooth),
              transform 0.5s var(--ease-smooth),
              color 0.8s var(--ease-smooth);
}

.att-cards:not(.att-cards--age) .att-card::before {
  content: '';
  flex: 0 0 auto;
  width: 15px; height: 15px;
  margin-right: 0.95rem;
  border-radius: 50%;
  border: 1px solid rgba(90, 100, 87, 0.55);
  background: radial-gradient(circle at 38% 32%,
              rgba(255, 255, 255, 0.95), rgba(138, 154, 144, 0.14));
  box-shadow: 0 1px 1px rgba(44, 44, 44, 0.07) inset;
  transition: all 0.5s var(--ease-smooth);
}

.att-card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(90, 100, 87, 0.12) inset,
    0 2px 3px rgba(44, 44, 44, 0.07),
    0 18px 38px -10px rgba(44, 44, 44, 0.17);
}
.att-card:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(90, 100, 87, 0.14) inset,
    0 1px 1px rgba(44, 44, 44, 0.08);
}

.att-card.is-selected {
  background:
    linear-gradient(158deg,
      rgba(122, 136, 126, 1) 0%,
      var(--sage-deep) 58%,
      rgba(78, 88, 75, 1) 100%);
  border-color: var(--sage-deep);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 14px 32px -10px rgba(44, 44, 44, 0.30);
}
.att-cards:not(.att-cards--age) .att-card.is-selected::before {
  border-color: rgba(249, 248, 242, 0.85);
  background: rgba(249, 248, 242, 0.95);
  box-shadow: 0 0 0 3px rgba(249, 248, 242, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .att-card,
  .att-cards:not(.att-cards--age) .att-card::before { transition: none; }
  .att-card:hover, .att-card:active { transform: none; }
}

.paper-light::after {
  right: -14vw;
  bottom: -10vh;
  width: min(62vw, 30rem);
  height: min(70vh, 34rem);
  opacity: 0.045;
  filter: blur(3px) saturate(0.6) contrast(0.88);
}
@media (min-width: 64rem) {
  .paper-light::after {
    right: -6vw; bottom: -8vh;
    width: min(38vw, 34rem); height: min(76vh, 40rem);
    opacity: 0.04;
  }
}

.att-step { position: relative; }
.att-numeral {
  position: absolute;
  left: auto;
  right: 0;
  top: -0.1em;
  transform: translateX(38%);
  z-index: 0;
  font-family: var(--font-serif);
  font-size: clamp(13rem, 42vw, 24rem);
  font-weight: 400;
  line-height: 0.8;
  color: rgba(44, 44, 44, 0.06);
  pointer-events: none;
  user-select: none;
}
.att-step > *:not(.att-numeral) { position: relative; z-index: 1; }

.att-numeral--fade { animation: att-fade 0.8s var(--ease-smooth) both; }

@media (min-width: 64rem) {
  
  .att-numeral { transform: none; right: -0.02em; }
}

.att-step { animation: breathe-in var(--breath-in) var(--ease-breath) both; }

body.att-settled .att-step { animation: none; }

.att-progress__fill { transition: width var(--breath-in) var(--ease-breath); }

.att-card {
  
  transition: background var(--breath-out) var(--ease-breath),
              border-color var(--breath-out) var(--ease-breath),
              box-shadow 0.5s var(--ease-breath),
              transform 0.5s var(--ease-breath),
              color 0.3s var(--ease-breath);
}

.att-card.is-selected .att-card__label { font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .att-step { animation: none; }
  .att-numeral--fade { animation: none; }
  .att-next { transition: none; }
  .att-next:not(:disabled)::after { animation: none; }
  .att-progress__fill { transition: none; }
}

@media (max-width: 63.99rem) {
  
  #att-step-2 > form { flex: 0 0 auto; display: flex; flex-direction: column; }

  .att-intro  { margin-bottom: var(--flow-xs); }
  .att-field  { margin-bottom: var(--flow-xs); }
  .att-label  { margin-bottom: var(--flow-3xs); }

  
  .att-cards--age { gap: var(--flow-3xs); }
  .att-cards--age .att-card {
    flex: 1 1 calc(50% - 0.34rem);
    padding-inline: 0.5rem;
    font-size: var(--fs-small);
  }

  .att-field--consent { margin-bottom: var(--flow-2xs); }
  .att-privacy { margin-bottom: var(--flow-xs); }

  
  #att-capture .att-submit { margin-top: var(--flow-2xs); }
  #att-step-2 .att-back { margin-top: var(--flow-2xs); }

  
  #att-step-2 { overflow-y: visible; }
  #att-step-2::-webkit-scrollbar { display: none; }

  
  .att-nav { margin-top: var(--flow-md); }
}

@media (max-width: 63.99rem) {
  .att-numeral { display: none; }
  body:not(.att-done-state) .paper-light::after { display: none; }
  
  .att-step > form { flex: 0 0 auto; }
  .att-q { flex: 0 0 auto; }
}
.att-privacy a,
.att-footer__legal a,
.consent-bar__text a { display: inline-block; padding: 0.4rem 0; }
.att-casl { font-size: var(--fs-small); }

body { --breath-in: 0.7s; }

.att-hello[hidden] { display: none; }
.att-hello {
  display: flex;
  align-items: center;
  gap: var(--flow-2xs);
  margin: 0 0 var(--flow-md);
}
.att-hello__face {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.att-hello__line {
  margin: 0;
  max-width: var(--measure);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--leading-body);
  color: var(--charcoal);
}
.att-hello__sig {
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1em;
  color: var(--charcoal);
}

.consent-bar {
  gap: var(--flow-3xs);
  padding-top: var(--flow-2xs);
  padding-bottom: calc(var(--flow-2xs) + env(safe-area-inset-bottom, 0px));
}
.consent-bar__btn {
  min-height: 44px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

@media (max-width: 63.99rem) {
  .att { min-height: calc(100dvh - 48px - var(--flow-md) - env(safe-area-inset-top, 0px)); }
}

.att-reveal {
  margin: 0 0 var(--flow-2xs);
  font-family: var(--font-serif);
  font-size: calc(var(--att-fs-heading) * 0.85);
  font-weight: 400;
  line-height: 1.25;
  color: var(--charcoal);
}
.att-reveal__name { font-style: italic; color: var(--sage-deep); }
@media (max-width: 63.99rem) {
  #att-capture-intro { font-size: var(--fs-small); }
}
.att-who {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 var(--flow-2xs);    
}

.att-ask {
  margin: var(--flow-3xs) 0 var(--flow-2xs);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: calc(var(--att-fs-heading) * 0.62);
  line-height: 1.3;
  color: var(--sage-deep);
}
.att-who__face {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.att-who__line {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 300;
  line-height: 1.45;
  color: var(--warm-taupe);
}
.att-who__line strong { font-weight: 500; color: var(--charcoal); }
#att-capture .att-casl {
  margin: var(--flow-2xs) 0 0;
  font-size: var(--fs-micro);
  line-height: 1.45;
  color: var(--warm-taupe);
}
#att-capture .att-casl a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 0.2em; display: inline-block; padding: 0.4rem 0; }  
.att-consent__box { width: 28px; height: 28px; }

.att-label__why {
  display: block;
  margin-top: 0.15rem;
  font-weight: 300;
  font-size: var(--fs-micro);
  color: var(--warm-taupe);
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 63.99rem) {
  #att-capture .att-field { margin-bottom: var(--flow-2xs); }
  #att-capture-intro { margin-bottom: 0; }
  
  .att-label__why { display: inline; margin-left: 0.35rem; }
  .att-ask { margin-bottom: var(--flow-3xs); }
}
