:root {
  --bg: #f5f4f8;
  --surface: #fdfcff;
  --surface-lilac: #eae6f1;
  --paper: #f4eee5;
  --paper-deep: #e8ded1;
  --ink: #24212a;
  --muted: #6f6975;
  --accent: #765a9d;
  --accent-strong: #5d427f;
  --line: #d9d4df;
  --paper-line: rgba(82, 66, 52, 0.15);
  --footer-bg: #24212a;
  --footer-text: #f5f4f8;
  --soft-shadow: 0 24px 70px rgba(48, 39, 58, 0.11);
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17151b;
    --surface: #201d25;
    --surface-lilac: #2d2835;
    --paper: #29241f;
    --paper-deep: #342e28;
    --ink: #f5f1f7;
    --muted: #b6aebc;
    --accent: #b49bd3;
    --accent-strong: #cfb7eb;
    --line: #403947;
    --paper-line: rgba(238, 223, 207, 0.13);
    --footer-bg: #100e13;
    --footer-text: #f5f1f7;
    --soft-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
.entry-list-title {
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.hero-copy,
.hero-visual,
.about-photo,
.about-copy,
.career-copy,
.career-photo,
.brands-heading,
.selo-mark-wrap,
.selo-copy,
.diary-photo,
.diary-preview-copy,
.featured-entry-photo,
.featured-entry-copy {
  min-width: 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.site-shell,
.diary-page {
  min-height: 100dvh;
  background: var(--bg);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1540px);
  height: 76px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.brand-link {
  display: flex;
  align-items: center;
  width: 154px;
  height: 58px;
  overflow: hidden;
}

.brand-mark {
  width: 154px;
  height: auto;
  filter: invert(1);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.3vw, 2.7rem);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
  padding: 0.35rem 0;
}

.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.instagram-icon {
  width: 1.05rem;
  height: 1.05rem;
  background: currentColor;
  mask: url("../icons/instagram.svg") center / contain no-repeat;
  -webkit-mask: url("../icons/instagram.svg") center / contain no-repeat;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-home {
  display: none;
}

.nav-diary {
  color: var(--accent-strong);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  width: min(100%, 1540px);
  min-height: calc(100dvh - 76px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4.25rem) clamp(1.25rem, 3.5vw, 4rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 2rem clamp(1rem, 2vw, 2rem);
  text-align: center;
}

.eyebrow,
.section-number,
.entry-meta {
  margin: 0 0 1.6rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(4.3rem, 8.7vw, 9.2rem);
  font-weight: 420;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.hero-intro {
  max-width: 31rem;
  margin: clamp(2rem, 4vw, 3.8rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.2rem;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.text-link,
.diary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.text-link:hover,
.text-link:focus-visible,
.diary-button:hover,
.diary-button:focus-visible {
  padding-right: 0.45rem;
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.text-link-primary {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  width: min(100%, 700px);
  min-height: min(76dvh, 820px);
  margin-inline: auto;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dfdad7;
  box-shadow: var(--soft-shadow);
}

.hero-photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-photo-frame:hover img {
  transform: scale(1.018);
}

.hero-caption {
  position: absolute;
  right: -3rem;
  bottom: 7rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg);
}

.hero-index {
  position: absolute;
  right: 0.7rem;
  bottom: -1.8rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 4.6rem;
  font-style: italic;
  line-height: 1;
}

.about-section {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 11rem) clamp(1.25rem, 6vw, 7rem);
}

.section-heading {
  display: block;
  margin-bottom: clamp(4rem, 7vw, 7rem);
  text-align: center;
}

.section-heading h2,
.career-copy h2,
.brands-heading h2,
.selo-copy h2 {
  margin: 0 auto;
  font-size: clamp(2.7rem, 5.4vw, 6rem);
  font-weight: 420;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.about-photo {
  width: 88%;
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: var(--soft-shadow);
}

.about-photo figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
}

.about-copy,
.selo-copy {
  max-width: 36rem;
  margin-inline: auto;
}

.about-copy p,
.career-copy > p:not(.section-number),
.selo-copy > p:not(.section-number) {
  margin: 0 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
}

.about-copy .lead-copy,
.selo-copy .lead-copy {
  margin-bottom: 2.3rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.35;
}

.career-section {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  padding: clamp(12rem, 17vw, 18rem) clamp(1.25rem, 6vw, 7rem) clamp(6rem, 9vw, 9rem);
  background: var(--surface-lilac);
}

.career-display {
  position: absolute;
  top: 2.8rem;
  left: 50%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  color: color-mix(in srgb, var(--accent) 26%, transparent);
  font-size: clamp(4.2rem, 10.5vw, 11.2rem);
  font-weight: 540;
  letter-spacing: -0.075em;
  line-height: 0.76;
  text-transform: uppercase;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.career-display span:last-child {
  padding-left: 0;
}

.career-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: end;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.career-copy {
  align-self: center;
  max-width: 42rem;
  margin-inline: auto;
  padding-top: 2rem;
}

.career-copy .section-number,
.selo-copy .section-number {
  text-align: center;
}

.career-copy h2 {
  max-width: 670px;
  margin: 0 auto 2.6rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  text-align: center;
}

.career-photo {
  align-self: end;
  justify-self: center;
  margin: 0;
}

.career-photo img {
  width: 100%;
  max-height: 740px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(20px 28px 36px rgba(40, 31, 45, 0.13));
}

.brands-section {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(7rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem);
}

.brands-heading {
  display: block;
  margin-bottom: clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.brands-heading h2 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(2.5rem, 4.7vw, 5.2rem);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.brand-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.brand-list li:last-child {
  border-right: 0;
}

.brand-list img {
  max-width: 135px;
  max-height: 68px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 220ms ease;
}

.brand-list li:hover img {
  transform: translateY(-3px);
}

.selo-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(390px, 1.2fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: center;
  min-height: 840px;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem);
  background: var(--surface);
}

.selo-mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.selo-orbit {
  position: absolute;
  width: min(39vw, 520px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 50%;
}

.selo-orbit::after {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.selo-mark {
  position: relative;
  z-index: 1;
  width: min(33vw, 430px);
  filter: drop-shadow(0 20px 40px rgba(70, 74, 113, 0.14));
}

.selo-copy h2 {
  margin-bottom: 2.7rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
  text-align: center;
}

.diary-preview {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(400px, 1.08fr);
  min-height: 780px;
  border-top: 1px solid var(--paper-line);
  background: var(--paper);
}

.diary-photo {
  min-height: 780px;
  margin-inline: auto;
  overflow: hidden;
}

.diary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(0.94);
}

.diary-preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  padding: clamp(4rem, 8vw, 9rem);
  font-family: var(--serif);
  text-align: center;
}

.diary-kicker {
  margin: 0 0 1.5rem;
  color: var(--accent-strong);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.diary-preview-copy h2,
.diary-masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 7.3vw, 8.1rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.78;
}

.diary-preview-copy h2 em,
.diary-masthead h1 em {
  display: inline-block;
  padding-left: 0;
  color: var(--accent-strong);
  font-weight: 400;
}

.diary-preview-copy > p:not(.diary-kicker) {
  max-width: 32rem;
  margin: 3rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.55;
  text-align: left;
}

.diary-button {
  min-width: 245px;
  margin-top: 3rem;
  font-family: var(--sans);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5.5rem);
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.footer-name {
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  text-transform: none;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-note {
  justify-self: end;
  color: color-mix(in srgb, var(--footer-text) 62%, transparent);
}

/* Diário */
.diary-page {
  background: var(--paper);
}

.site-header-diary {
  background: var(--paper);
  border-color: var(--paper-line);
}

.diary-masthead {
  display: block;
  width: min(100%, 920px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}

.diary-masthead .diary-kicker {
  align-self: start;
  padding-top: 1rem;
}

.diary-masthead h1 {
  margin-inline: auto;
  font-size: clamp(4.4rem, 8.2vw, 7.5rem);
  line-height: 0.9;
}

.diary-deck {
  max-width: 36rem;
  margin: 3rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
  text-align: left;
}

.featured-entry {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  width: min(100% - 2.5rem, 1360px);
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.featured-entry-photo {
  height: min(78vw, 790px);
  max-height: 790px;
  overflow: hidden;
}

.featured-entry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.featured-entry-copy {
  padding: clamp(3rem, 7vw, 7rem);
  font-family: var(--serif);
  text-align: center;
}

.featured-entry-copy h2 {
  margin: 0;
  font-size: clamp(3.6rem, 5.8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.featured-entry-copy h2 a:hover,
.featured-entry-copy h2 a:focus-visible {
  color: var(--accent-strong);
}

.entry-subtitle {
  margin: 2.1rem 0 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
}

.featured-entry-copy > p:not(.entry-meta):not(.entry-subtitle) {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  text-align: left;
}

.entry-index {
  width: min(100% - 2.5rem, 980px);
  margin: 0 auto;
  padding: 0 0 clamp(7rem, 11vw, 10rem);
}

.entry-index ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--paper-line);
  list-style: none;
}

.diary-empty {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
}

.navigation.pagination {
  margin-top: 3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links .current {
  color: var(--accent-strong);
}

.entry-index li {
  border-bottom: 1px solid var(--paper-line);
}

.entry-index li a {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 170px;
  padding: 2rem 1.4rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.entry-index li a:hover,
.entry-index li a:focus-visible {
  background: var(--surface);
  color: var(--accent-strong);
}

.entry-date {
  color: var(--accent-strong);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.entry-list-copy {
  display: block;
  min-width: 0;
}

.entry-list-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  text-align: center;
}

.entry-list-excerpt {
  display: block;
  max-width: 34rem;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.6;
  text-align: left;
}

.site-footer-diary {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.diary-article {
  width: min(100% - 2.5rem, 1050px);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.article-header {
  max-width: 830px;
  margin: 0 auto clamp(4rem, 7vw, 7rem);
  text-align: center;
}

.article-header .entry-meta {
  display: block;
}

.back-link {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--accent-strong);
}

.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.1rem, 8vw, 8.7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.article-subtitle {
  max-width: 650px;
  margin: 2.5rem auto 0;
  color: var(--accent-strong);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.45;
}

.article-image {
  width: min(100%, 850px);
  margin: 0 auto clamp(5rem, 8vw, 8rem);
}

.article-image img {
  width: 100%;
  max-height: 1040px;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: var(--soft-shadow);
}

.article-body {
  width: min(100%, 660px);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.86;
}

.article-body > p {
  margin: 0 0 2rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 3rem 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
}

.article-body h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.article-body ul,
.article-body ol {
  margin: 0 0 2rem;
  padding-left: 1.35em;
}

.article-body blockquote {
  margin: 3rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--accent);
  color: var(--accent-strong);
  font-size: 1.18em;
  font-style: italic;
}

.article-body figure,
.article-body .wp-block-image,
.article-body .wp-block-gallery {
  margin: 3rem auto;
  text-align: center;
}

.article-body figure img,
.article-body .wp-block-image img {
  width: auto;
  max-height: 900px;
  margin-inline: auto;
}

.article-body figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.article-body hr {
  width: min(100%, 180px);
  margin: 4rem auto;
  border: 0;
  border-top: 1px solid var(--paper-line);
}

.demo-disclaimer {
  padding: 1rem 1.3rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
}

.article-signoff {
  margin-top: 4rem !important;
  color: var(--accent-strong);
  font-size: 2.3rem;
  font-style: italic;
}

.next-entry {
  width: min(100% - 2.5rem, 1050px);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(6rem, 10vw, 10rem);
  border-top: 1px solid var(--paper-line);
}

.next-entry > a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  text-align: center;
}

.next-entry > a:hover,
.next-entry > a:focus-visible {
  color: var(--accent-strong);
}

.fallback-page,
.not-found-page {
  width: min(100% - 2.5rem, 820px);
  min-height: calc(100dvh - 76px);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.fallback-page > article > h1,
.not-found-page h1 {
  margin: 0 0 3rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-align: center;
}

.not-found-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .brand-mark {
    filter: none;
  }

  .brand-list .brand-monochrome img {
    filter: invert(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-one {
    animation: rise-in 700ms 80ms both cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .reveal-two {
    animation: rise-in 820ms 170ms both cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 76px;
  }

  .site-header nav {
    gap: 1.3rem;
  }

  .nav-section:nth-of-type(2),
  .nav-section:nth-of-type(3) {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(350px, 1.15fr);
    min-height: calc(100dvh - 76px);
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 9vw, 6.2rem);
  }

  .hero-visual {
    min-height: 66dvh;
  }

  .career-section {
    min-height: auto;
  }

  .career-layout,
  .selo-section {
    gap: 2.5rem;
  }

  .selo-mark-wrap {
    min-height: 420px;
  }

  .diary-preview-copy {
    padding: 4rem;
  }

  .diary-masthead {
    display: block;
  }

  .entry-index li a {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-note {
    display: none;
  }
}

@media (max-width: 840px) {
  .site-header {
    height: 72px;
    padding: 0 1.25rem;
  }

  .brand-link,
  .brand-mark {
    width: 130px;
  }

  .site-header nav {
    font-size: 0.66rem;
  }

  .nav-section,
  .nav-home {
    display: none !important;
  }

  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 3.5rem 1.5rem 6rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    padding: 0 0 3.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(4.2rem, 12vw, 6rem);
    line-height: 0.86;
  }

  .hero-intro {
    max-width: 31rem;
    margin-top: 2.2rem;
    font-size: 1.05rem;
  }

  .hero-visual {
    position: relative;
    align-self: center;
    width: min(78%, 500px);
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-photo-frame {
    inset: 0;
  }

  .about-section,
  .brands-section {
    padding: 6.5rem 1.5rem;
  }

  .section-heading,
  .brands-heading {
    display: block;
    margin-bottom: 3.6rem;
  }

  .section-heading h2,
  .brands-heading h2 {
    font-size: clamp(2.8rem, 8.5vw, 4.6rem);
  }

  .about-layout,
  .career-layout,
  .selo-section,
  .diary-preview,
  .featured-entry {
    display: flex;
    flex-direction: column;
  }

  .about-layout,
  .career-layout {
    gap: 3.4rem;
  }

  .about-copy {
    order: 1;
    max-width: 600px;
  }

  .about-photo {
    order: 2;
    align-self: center;
    width: min(76%, 430px);
  }

  .about-copy .lead-copy,
  .selo-copy .lead-copy {
    font-size: 1.45rem;
  }

  .career-section {
    padding: 10rem 1.5rem 0;
  }

  .career-display {
    top: 3.6rem;
    left: 50%;
    width: calc(100% - 3rem);
    font-size: min(10vw, 5rem);
    line-height: 0.84;
    white-space: normal;
  }

  .career-display span:last-child {
    padding-left: 0;
  }

  .career-copy {
    max-width: 620px;
  }

  .career-copy h2,
  .selo-copy h2 {
    font-size: clamp(2.8rem, 8.8vw, 4.8rem);
  }

  .career-photo {
    align-self: stretch;
    margin: 0;
  }

  .career-photo img {
    width: min(76%, 430px);
    margin: 0 auto;
  }

  .brand-list {
    grid-template-columns: 1fr 1fr;
  }

  .brand-list li {
    min-height: 116px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .brand-list li:nth-child(2n) {
    border-right: 0;
  }

  .brand-list li:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .selo-section {
    min-height: 0;
    padding: 6.5rem 1.5rem;
  }

  .selo-copy {
    order: 1;
    max-width: 620px;
  }

  .selo-mark-wrap {
    order: 2;
    width: 100%;
    min-height: 380px;
  }

  .selo-orbit {
    width: min(64vw, 390px);
  }

  .selo-mark {
    width: min(54vw, 320px);
  }

  .diary-preview-copy {
    order: 1;
    width: 100%;
    max-width: 640px;
    padding: 5.5rem 1.5rem 4.5rem;
  }

  .diary-photo {
    order: 2;
    width: min(calc(100% - 3rem), 520px);
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin: 0 auto 5.5rem;
  }

  .diary-preview-copy h2,
  .diary-masthead h1 {
    font-size: clamp(4.2rem, 14vw, 7.2rem);
    line-height: 0.9;
  }

  .diary-preview-copy h2 em,
  .diary-masthead h1 em {
    padding-bottom: 0.08em;
    padding-left: 0;
    line-height: 1.08;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.7rem;
  }

  .diary-masthead {
    display: block;
    min-height: 0;
    padding: 5.5rem 1.5rem 6.5rem;
  }

  .diary-masthead h1 {
    margin-top: 2.8rem;
  }

  .diary-deck {
    max-width: 560px;
    margin-inline: auto;
  }

  .diary-deck {
    margin-top: 3rem;
  }

  .featured-entry {
    width: calc(100% - 3rem);
  }

  .featured-entry-photo {
    width: min(76%, 500px);
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 1.5rem auto 0;
  }

  .featured-entry-copy {
    width: 100%;
    max-width: 600px;
    padding: 3.8rem 2rem 4.5rem;
  }

  .featured-entry-copy h2 {
    font-size: clamp(3.2rem, 9.5vw, 4.5rem);
  }

  .entry-index {
    width: calc(100% - 3rem);
  }

  .entry-index li a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    min-height: 0;
    padding: 2rem 1.25rem;
  }

  .entry-list-excerpt {
    display: block;
  }

  .entry-list-title {
    font-size: 2rem;
  }

  .diary-article {
    width: calc(100% - 3rem);
    padding-top: 4.5rem;
  }

  .back-link {
    margin-bottom: 3rem;
  }

  .article-header h1 {
    font-size: clamp(3.8rem, 13vw, 6.5rem);
  }

  .article-image {
    width: min(82%, 620px);
    margin-bottom: 4.5rem;
  }

  .article-body {
    font-size: 1.18rem;
    line-height: 1.78;
  }

  .next-entry {
    width: calc(100% - 3rem);
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 68px;
    padding: 0 0.8rem;
  }

  .brand-link,
  .brand-mark {
    width: 106px;
  }

  .site-header nav {
    gap: 0.85rem;
    font-size: 0.59rem;
    letter-spacing: 0.08em;
  }

  .nav-instagram {
    gap: 0.35rem;
  }

  .instagram-icon {
    width: 0.92rem;
    height: 0.92rem;
  }

  .home-hero {
    padding: 2.4rem 1rem 4.75rem;
  }

  .hero-copy {
    padding-bottom: 2.8rem;
  }

  .eyebrow,
  .section-number,
  .entry-meta,
  .diary-kicker {
    margin-bottom: 1.2rem;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .hero-copy h1 {
    font-size: clamp(3.7rem, 18vw, 4.65rem);
    letter-spacing: -0.065em;
    line-height: 0.86;
  }

  .hero-intro {
    margin-top: 1.8rem;
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .text-link {
    width: min(100%, 275px);
    min-width: 0;
    font-size: 0.74rem;
  }

  .hero-visual {
    width: min(82%, 340px);
  }

  .about-section,
  .brands-section {
    padding: 5.5rem 1.1rem;
  }

  .section-heading,
  .brands-heading {
    margin-bottom: 2.8rem;
  }

  .section-heading h2,
  .brands-heading h2,
  .career-copy h2,
  .selo-copy h2 {
    font-size: clamp(2.35rem, 10.8vw, 3.2rem);
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .about-layout,
  .career-layout {
    gap: 2.6rem;
  }

  .about-photo {
    width: min(78%, 330px);
  }

  .about-copy .lead-copy,
  .selo-copy .lead-copy {
    margin-bottom: 1.8rem;
    font-size: 1.26rem;
  }

  .about-copy p,
  .career-copy > p:not(.section-number),
  .selo-copy > p:not(.section-number) {
    font-size: 1rem;
    line-height: 1.7;
  }

  .career-section {
    padding: 8.5rem 1.1rem 0;
  }

  .career-display {
    top: 3.4rem;
    left: 50%;
    width: calc(100% - 2.2rem);
    font-size: 10.5vw;
  }

  .career-copy h2,
  .selo-copy h2 {
    margin-bottom: 2rem;
  }

  .career-photo img {
    width: min(78%, 330px);
  }

  .brand-list li {
    min-height: 100px;
    padding: 1.4rem;
  }

  .brand-list img {
    max-width: 112px;
    max-height: 54px;
  }

  .selo-section {
    padding: 5.5rem 1.1rem;
  }

  .selo-mark-wrap {
    min-height: 310px;
  }

  .selo-orbit {
    width: min(72vw, 300px);
  }

  .selo-mark {
    width: min(60vw, 250px);
  }

  .diary-preview-copy {
    padding: 4.8rem 1.1rem 3.8rem;
  }

  .diary-preview-copy h2,
  .diary-masthead h1 {
    font-size: clamp(3.55rem, 18vw, 4.8rem);
    letter-spacing: -0.055em;
    line-height: 0.92;
  }

  .diary-preview-copy > p:not(.diary-kicker) {
    margin-top: 2.2rem;
    font-size: 1.15rem;
  }

  .diary-photo {
    width: calc(100% - 2.2rem);
    margin-bottom: 4rem;
  }

  .site-footer {
    padding: 3.5rem 1.1rem;
  }

  .diary-masthead {
    padding: 4.8rem 1.1rem 5.5rem;
  }

  .diary-masthead h1 {
    margin-top: 2.3rem;
  }

  .diary-deck {
    margin-top: 2.5rem;
    font-size: 1.18rem;
  }

  .featured-entry {
    width: calc(100% - 2.2rem);
  }

  .featured-entry-photo {
    width: calc(100% - 2rem);
    margin-top: 1rem;
  }

  .featured-entry-copy {
    padding: 3rem 1.1rem 3.8rem;
  }

  .featured-entry-copy h2 {
    font-size: 3.1rem;
  }

  .entry-index {
    width: calc(100% - 2.2rem);
    padding: 5.5rem 0;
  }

  .entry-index li a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    min-height: 0;
    padding: 1.8rem 0.7rem;
  }

  .entry-list-title {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .diary-article {
    width: calc(100% - 2.2rem);
    padding-top: 3.8rem;
  }

  .article-header {
    margin-bottom: 3.5rem;
  }

  .article-header h1 {
    font-size: clamp(3.35rem, 17vw, 4.4rem);
    line-height: 0.98;
  }

  .article-subtitle {
    margin-top: 1.8rem;
    font-size: 1.3rem;
  }

  .article-image {
    width: calc(100% - 1.4rem);
    margin-bottom: 3.8rem;
  }

  .article-body {
    font-size: 1.08rem;
    line-height: 1.74;
  }

  .next-entry {
    width: calc(100% - 2.2rem);
  }

  .next-entry > a {
    gap: 1.5rem;
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
