:root {
  --ink: #20312e;
  --muted: #5f6f69;
  --soft: #f5f2ea;
  --paper: #fffdf8;
  --sage: #6d8f7d;
  --deep: #244b43;
  --clay: #bc7054;
  --line: rgba(32, 49, 46, 0.16);
  --shadow: 0 22px 60px rgba(32, 49, 46, 0.14);
  --shadow-soft: 0 12px 30px rgba(32, 49, 46, 0.08);
  --shadow-lift: 0 18px 42px rgba(32, 49, 46, 0.15);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

main {
  flex: 1 0 auto;
}

.skip-link {
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 30;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 12px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(32, 49, 46, 0.08);
  object-fit: cover;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.1;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  position: relative;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a::after {
  background: var(--clay);
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.header-action,
.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  transition:
    background-color 160ms var(--ease-standard),
    border-color 160ms var(--ease-standard),
    box-shadow 180ms var(--ease-standard),
    color 160ms var(--ease-standard),
    transform 180ms var(--ease-standard);
}

.header-action {
  background: var(--ink);
  color: var(--paper);
}

.button.primary {
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: 0 10px 22px rgba(36, 75, 67, 0.18);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 24px rgba(32, 49, 46, 0.08);
  color: var(--ink);
}

.button:hover,
.header-action:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.hero {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.home-hero {
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.86) 42%, rgba(255, 253, 248, 0.16) 72%);
}

.hero-content {
  max-width: 720px;
  padding: clamp(120px, 16vh, 160px) clamp(22px, 6vw, 84px) clamp(48px, 7vh, 68px);
  position: relative;
  z-index: 1;
}

.home-hero-content {
  max-width: 700px;
  padding: clamp(112px, 14vh, 145px) clamp(22px, 6vw, 84px) 44px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-copy {
  color: #40504c;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  max-width: 640px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 22px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.intro-band {
  background: var(--deep);
  color: var(--paper);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.home-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(32, 49, 46, 0.03);
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  transition:
    background-color 180ms var(--ease-standard),
    box-shadow 200ms var(--ease-standard),
    transform 200ms var(--ease-standard);
}

.home-tile:hover {
  background: var(--soft);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.home-tile span,
.content-grid span {
  color: var(--clay);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.home-tile strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 1.75vw, 1.75rem);
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 14px;
}

.home-tile p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-tile {
  background: var(--deep);
  color: var(--paper);
}

.contact-tile span {
  color: #f0c8b6;
}

.contact-tile:hover,
.contact-tile:focus-visible {
  background: #193a34;
  color: var(--paper);
}

.contact-tile p {
  color: rgba(255, 253, 248, 0.82);
}

.page-main {
  padding-top: 72px;
}

.page-hero,
.article-hero {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  padding: clamp(44px, 6vw, 78px) clamp(22px, 6vw, 84px);
}

.page-hero p,
.article-hero p,
.content-panel p {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
}

.compact-hero img,
.about-hero img {
  justify-self: end;
}

.about-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
}

.compact-hero img {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  width: min(260px, 100%);
}

.about-hero img {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(32, 49, 46, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow-lift);
  object-fit: cover;
  object-position: 52% 36%;
  width: min(360px, 100%);
}

.article-hero {
  background: #223732;
  color: var(--paper);
}

.article-hero img {
  border: 1px solid rgba(255, 253, 248, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  justify-self: start;
  width: 100%;
}

.article-hero p {
  color: rgba(255, 253, 248, 0.76);
}

.content-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(22px, 6vw, 84px) clamp(44px, 6vw, 78px);
}

.content-grid article,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(32, 49, 46, 0.03);
  padding: clamp(24px, 3vw, 34px);
  transition:
    box-shadow 200ms var(--ease-standard),
    transform 200ms var(--ease-standard);
}

.content-grid article:hover,
.content-panel:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.content-grid article p,
.content-panel p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.article-list article {
  display: flex;
  flex-direction: column;
}

.article-list article .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--deep);
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
  text-decoration: underline;
  text-decoration-color: rgba(188, 112, 84, 0.5);
  text-underline-offset: 4px;
}

.article-page {
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

.article-body {
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(42px, 7vw, 82px) clamp(22px, 6vw, 34px);
}

.article-body h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
}

.article-body p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
}

.testimonial-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  padding: clamp(36px, 6vw, 68px) clamp(22px, 6vw, 84px);
}

.testimonial-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid figure {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(32, 49, 46, 0.03);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(22px, 3vw, 30px);
}

.testimonial-grid blockquote {
  color: var(--deep);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.28;
  margin-bottom: 18px;
}

.testimonial-grid figcaption {
  color: var(--muted);
  font-weight: 800;
  margin-top: auto;
}

.content-panel {
  margin: 0 clamp(22px, 6vw, 84px) clamp(44px, 6vw, 78px);
  max-width: 920px;
}

.intro-item {
  background: rgba(255, 255, 255, 0.045);
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
}

.intro-item span {
  color: rgba(255, 253, 248, 0.52);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.intro-item strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.intro-item p {
  color: rgba(255, 253, 248, 0.74);
  margin-bottom: 0;
  max-width: 320px;
}

.section,
.contact-section {
  padding: clamp(46px, 6vw, 82px) clamp(22px, 6vw, 84px);
}

.contact-page {
  min-height: calc(100vh - 150px);
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 62px);
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
}

.section-copy {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
}

.section-copy p {
  margin-bottom: 20px;
}

.section-heading {
  max-width: 760px;
}

.image-band {
  align-items: stretch;
  background: #223732;
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  min-height: 320px;
}

.image-band img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-band div {
  align-self: center;
  padding: clamp(32px, 5vw, 56px);
}

.image-band p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.74);
  font-size: 1.05rem;
  margin-bottom: 0;
  max-width: 560px;
}

.archive-section {
  background: var(--paper);
}

.archive-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.archive-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
}

.archive-card span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.archive-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-card {
  display: grid;
  gap: 20px;
  grid-column: span 2;
  grid-template-columns: 180px minmax(0, 1fr);
}

.feature-card img {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  width: 180px;
}

.restored-notes {
  align-items: stretch;
  background: #e9f0ec;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
}

.note-panel,
.quote-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 42px);
}

.note-panel p:not(.eyebrow),
.quote-panel p {
  color: var(--muted);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

blockquote {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 24px;
}

.experience {
  align-items: stretch;
  background: #e9f0ec;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.experience-panel {
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4.5vw, 48px);
}

.experience-panel p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 1px;
}

.steps div {
  background: rgba(255, 253, 248, 0.72);
  padding: clamp(20px, 3vw, 30px);
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  color: var(--muted);
  margin-top: 8px;
}

.about {
  background: var(--paper);
}

.about-profile {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 112px minmax(0, 1fr);
}

.about-profile img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  object-fit: cover;
  width: 112px;
}

.contact-section {
  align-items: start;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: clamp(30px, 5vw, 62px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.8fr);
}

.contact-content p {
  color: rgba(255, 253, 248, 0.74);
  max-width: 620px;
}

address {
  color: rgba(255, 253, 248, 0.72);
  font-style: normal;
  margin-top: 28px;
}

.contact-form {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3.5vw, 32px);
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: rgba(255, 253, 248, 0.82);
  display: grid;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
}

.check-row {
  align-items: center;
  display: flex;
  font-weight: 650;
  gap: 10px;
}

.check-row input {
  accent-color: var(--clay);
  min-height: auto;
  width: auto;
}

.form-note {
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.88rem;
  margin: 2px 0 0;
}

.visually-hidden {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

input,
textarea {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid transparent;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  transition:
    background-color 160ms var(--ease-standard),
    border-color 160ms var(--ease-standard),
    box-shadow 160ms var(--ease-standard);
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.header-action:focus-visible {
  outline: 3px solid rgba(188, 112, 84, 0.45);
  outline-offset: 3px;
}

input:focus,
textarea:focus {
  background: var(--paper);
  border-color: rgba(188, 112, 84, 0.52);
  box-shadow: 0 0 0 4px rgba(188, 112, 84, 0.14);
}

.site-footer {
  align-items: center;
  background: #162522;
  color: rgba(255, 253, 248, 0.68);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px clamp(22px, 6vw, 84px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  font-weight: 800;
  margin-left: 8px;
}

.simple-page {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.74)),
    url("assets/flowers.jpg") center / cover;
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.simple-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 640px;
  padding: clamp(34px, 6vw, 62px);
}

@media (prefers-reduced-motion: no-preference) {
  .site-nav a,
  .site-nav a::after,
  .brand,
  .brand-mark {
    transition:
      color 160ms var(--ease-standard),
      box-shadow 180ms var(--ease-standard),
      transform 180ms var(--ease-standard);
  }

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

  .brand:hover .brand-mark {
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
  }

  @keyframes page-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .home-hero-content,
  .page-hero > *,
  .article-hero > *,
  .content-panel,
  .contact-content,
  .contact-form,
  .home-tile,
  .content-grid article {
    animation: page-rise 420ms var(--ease-out) both;
  }

  .home-tile:nth-child(2),
  .content-grid article:nth-child(2) {
    animation-delay: 60ms;
  }

  .home-tile:nth-child(3),
  .content-grid article:nth-child(3) {
    animation-delay: 120ms;
  }

  .home-tile:nth-child(4) {
    animation-delay: 180ms;
  }
}

@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;
  }
}

.simple-logo {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 28px;
  object-fit: cover;
  width: 78px;
}

.simple-panel h1 {
  font-size: clamp(3rem, 7vw, 5rem);
}

.simple-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .site-nav {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 22px;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 9px;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
    padding-inline: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .home-hero {
    min-height: 500px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 56%, rgba(255, 253, 248, 0.2) 100%);
  }

  .intro-band,
  .home-grid,
  .page-hero,
  .article-hero,
  .content-grid,
  .testimonial-section,
  .testimonial-grid,
  .image-band,
  .archive-grid,
  .split,
  .experience,
  .restored-notes,
  .contact-section,
  .form-row {
    grid-template-columns: 1fr;
  }

  .intro-item {
    min-height: auto;
  }

  .home-tile {
    min-height: auto;
  }

  .image-band img {
    max-height: 280px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-action {
    font-size: 0.88rem;
    min-height: 40px;
  }

  .hero-content {
    padding: 104px 18px 44px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.1;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .contact-section {
    padding-inline: 18px;
  }

  .about-profile {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .page-main {
    padding-top: 112px;
  }

  .home-hero-content {
    padding-top: 132px;
  }

  .compact-hero img,
  .about-hero img {
    justify-self: start;
  }
}
