/*
 * Reference-informed You / Profile layer.
 * The page stays deliberately restrained: one identity, one Arc, a few facts,
 * and the existing account/settings destinations. No new profile data model.
 */

body[data-view="you"] main {
  width: min(1180px, calc(100% - 56px));
}

.you-story {
  --you-rule: #2d363b;
  padding: 46px 0 18px;
}

.you-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: 72px;
  align-items: end;
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--you-rule);
}

.you-hero-copy {
  max-width: 720px;
}

.you-hero h1 {
  max-width: 12ch;
  margin: 8px 0 10px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: .94;
  letter-spacing: -.078em;
}

.you-hero h1 span {
  display: block;
  color: var(--accent);
}

.you-hero-copy > p {
  max-width: 55ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.you-story .you-account {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 0 0 2px 24px;
  border: 0;
  border-left: 1px solid var(--you-rule);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.you-story .profile-mark {
  width: 44px;
  margin: 0;
  grid-template-columns: repeat(2, 19px);
  gap: 5px;
}

.you-story .account-profile-mark {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  height: 44px;
  color: var(--accent);
}

.you-story .account-profile-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.you-story .profile-mark i {
  width: 19px;
  height: 19px;
  border-radius: 6px;
}

.you-account-copy {
  min-width: 0;
}

.you-account-copy .eyebrow {
  margin-bottom: 5px;
  font-size: .68rem;
}

.you-story .you-account h2 {
  margin: 0 0 5px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.you-story .you-account p {
  margin: 0;
  color: #87948f;
  font-size: .78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.you-story .you-account > .quiet {
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}

.you-arc-section {
  display: grid;
  grid-template-columns: minmax(190px, .45fr) minmax(0, 1.55fr);
  gap: 48px;
  align-items: center;
  min-height: 300px;
  padding: 24px 8px 30px;
  border-bottom: 1px solid var(--you-rule);
}

.you-arc-visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.you-arc-visual .mindarc-object {
  width: 100%;
  max-width: 220px;
}

.you-arc-visual .mindarc-object svg {
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.22));
}

.you-arc-visual .arc-caption {
  display: none;
}

.you-arc-copy {
  max-width: 590px;
}

.you-arc-copy h2 {
  max-width: 13ch;
  margin: 8px 0 16px;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.you-arc-copy > p {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.65;
}

.you-story .you-record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 24px;
  padding: 18px 0;
  border-block: 1px solid var(--you-rule);
}

.you-story .you-record > strong {
  display: grid;
  min-width: 0;
  padding-right: 18px;
  color: var(--text);
  font: 500 2rem var(--heading);
  line-height: 1;
}

.you-story .you-record > strong + strong {
  padding-left: 18px;
  border-left: 1px solid var(--you-rule);
}

.you-story .you-record span {
  margin-top: 7px;
  color: #7f8d88;
  font: 400 .72rem var(--body);
  line-height: 1.35;
}

.you-arc-copy .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 6px;
}

.you-controls-section {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: 64px;
  padding: 40px 0 20px;
}

.you-controls-heading h2 {
  max-width: 11ch;
  margin-top: 7px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.you-story .you-options {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--you-rule);
}

.you-story .you-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--you-rule);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.you-story .you-option:hover {
  border-color: var(--you-rule);
  background: rgba(255,255,255,.018);
}

.you-story .you-option > span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
  width: auto;
  color: inherit;
  font-size: inherit;
  text-align: left;
  flex: initial;
}

.you-story .you-option strong {
  font-size: 1rem;
}

.you-story .you-option small {
  color: #899691;
  font-size: .8rem;
  line-height: 1.45;
}

.you-story .you-option-arrow {
  width: auto;
  color: #718079;
  font-size: 1rem;
  text-align: right;
}

@media (max-width: 900px) {
  .you-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .you-story .you-account {
    max-width: 680px;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--you-rule);
  }
  .you-arc-section {
    grid-template-columns: minmax(190px, .5fr) minmax(0, 1.5fr);
    gap: 28px;
  }
  .you-controls-section {
    gap: 36px;
  }
}

@media (max-width: 700px) {
  body[data-view="you"] main {
    width: min(100% - 28px, 560px);
  }
  .you-story {
    padding-top: 22px;
  }
  .you-hero {
    padding-bottom: 28px;
  }
  .you-hero h1 {
    font-size: clamp(2.55rem, 13.5vw, 4rem);
  }
  .you-hero-copy > p {
    font-size: .92rem;
  }
  .you-story .you-account {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
  }
  .you-story .profile-mark {
    width: 38px;
    grid-template-columns: repeat(2, 16px);
  }
  .you-story .account-profile-mark {
    grid-template-columns: 1fr;
    height: 38px;
  }
  .you-story .account-profile-mark svg {
    width: 30px;
    height: 30px;
  }
  .you-story .profile-mark i {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }
  .you-story .you-account > .quiet {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }
  .you-arc-section {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 34px 0 38px;
  }
  .you-arc-visual .mindarc-object {
    max-width: 220px;
  }
  .you-arc-copy {
    text-align: left;
  }
  .you-arc-copy h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 9vw, 2.7rem);
  }
  .you-story .you-record {
    margin: 24px 0 18px;
  }
  .you-story .you-record > strong {
    padding-right: 10px;
    font-size: 1.55rem;
  }
  .you-story .you-record > strong + strong {
    padding-left: 10px;
  }
  .you-story .you-record span {
    font-size: .66rem;
  }
  .you-controls-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 32px;
  }
  .you-controls-heading h2 {
    max-width: none;
    font-size: 1.9rem;
  }
  .you-story .you-option {
    min-height: 78px;
    padding-block: 14px;
  }
}

@media (max-width: 360px) {
  .you-story .you-account {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .you-story .profile-mark {
    width: 32px;
    grid-template-columns: repeat(2, 14px);
    gap: 4px;
  }
  .you-story .account-profile-mark {
    grid-template-columns: 1fr;
  }
  .you-story .profile-mark i {
    width: 14px;
    height: 14px;
  }
  .you-story .you-record {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }
  .you-story .you-record > strong,
  .you-story .you-record > strong + strong {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-left: 0;
  }
  .you-story .you-record > strong + strong {
    border-top: 1px solid var(--you-rule);
  }
  .you-story .you-record span {
    margin-top: 0;
  }
  .you-story .you-option {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px;
  }
}

/* -------------------------------------------------------------------------
   DE-BOXING PASS: profile facts and navigation should breathe. Actions remain
   obvious through type, spacing and hover state instead of stacked rules.
   ------------------------------------------------------------------------- */

.you-hero,
.you-arc-section {
  border: 0;
}

.you-story .you-account {
  padding-left: 0;
  border: 0;
}

.you-story .you-record {
  gap: clamp(20px, 4vw, 46px);
  padding: 10px 0;
  border: 0;
}

.you-story .you-record > strong,
.you-story .you-record > strong + strong {
  padding-inline: 0;
  border: 0;
}

.you-story .you-options {
  gap: 6px;
  border: 0;
}

.you-story .you-option {
  padding-inline: 8px;
  border: 0;
  border-radius: 10px;
}

.you-story .you-option:hover {
  border-color: transparent;
  background: rgba(255,255,255,.022);
}

@media (max-width: 900px) {
  .you-story .you-account {
    padding-top: 12px;
    border: 0;
  }
}

@media (max-width: 360px) {
  .you-story .you-record > strong,
  .you-story .you-record > strong + strong {
    border: 0;
  }
}

/* -------------------------------------------------------------------------
   CALM PASS: one identity row, then one two-column workspace. The Arc and the
   shortcuts now read as two parts of the same page instead of separate bands.
   ------------------------------------------------------------------------- */

.you-story {
  padding-top: 0;
}

.you-hero {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--you-rule);
}

.you-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: clamp(46px, 6vw, 82px);
  align-items: start;
  padding: 28px 0 24px;
}

.you-body .you-arc-section {
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 34px;
  min-height: 0;
  padding: 0;
}

.you-body .you-arc-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.you-body .you-controls-section {
  display: block;
  padding: 0;
}

.you-body .you-controls-heading {
  margin-bottom: 16px;
}

.you-body .you-controls-heading h2 {
  max-width: none;
  margin: 7px 0 0;
  font-size: 1.55rem;
}

.you-body .you-options {
  gap: 4px;
}

.you-body .you-option {
  min-height: 76px;
  padding-block: 14px;
}

@media (max-width: 900px) {
  .you-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .you-body .you-controls-section {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  .you-hero {
    padding: 24px 0 22px;
  }

  .you-body {
    gap: 30px;
    padding: 30px 0 18px;
  }

  .you-body .you-arc-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .you-body .you-arc-visual {
    justify-items: center;
  }

  .you-body .you-arc-visual .mindarc-object {
    max-width: 150px;
  }
}
