@font-face {
  font-family:MemorialSerif;
  src:local('Georgia');
  font-display:swap;
}
:root {
  --paper:#f6f4ee;
  --white:#fffefa;
  --ink:#293d34;
  --muted:#73776e;
  --line:#dedfd5;
  --green:#3c5145;
  --pale:#e9ede4;
  --accent:#ad684c;
  --serif:MemorialSerif,Georgia,'Times New Roman',serif;
  --sans:Arial,Helvetica,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}
body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:15px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased;
}
body.modal-open {
  overflow:hidden;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,textarea,select {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.5;
  cursor:wait;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #b67755;
  outline-offset:4px;
}
img {
  max-width:100%;
  display:block;
}
svg.icon {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  vertical-align:middle;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  font-weight:400;
  overflow-wrap:anywhere;
}
h1,h2 {
  font-family:var(--serif);
  line-height:1.13;
  letter-spacing:-.045em;
}
h1 {
  font-size:clamp(42px,5.5vw,74px);
}
h2 {
  font-size:clamp(32px,4vw,49px);
}
h3 {
  font-size:20px;
  line-height:1.3;
}
p+p {
  margin-top:16px;
}
.container {
  max-width:1232px;
  margin:auto;
  padding:0 40px;
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:10px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
}
.eyebrow::before {
  content:'';
  height:1px;
  width:24px;
  background:currentColor;
}
.serif {
  font-family:var(--serif);
}
.muted {
  color:var(--muted);
}
.small {
  font-size:12px;
}
.accent {
  color:var(--accent);
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:47px;
  border-radius:6px;
  border:1px solid transparent;
  padding:12px 22px;
  background:var(--green);
  color:white;
  font-size:12px;
  font-weight:600;
  line-height:1.4;
  transition:background .2s,transform .2s;
}
.btn:hover {
  background:#253d30;
  transform:translateY(-1px);
}
.btn.light {
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}
.btn.light:hover {
  background:var(--pale);
}
.btn.white {
  background:var(--white);
  color:var(--green);
}
.btn.soft {
  background:var(--pale);
  color:var(--green);
}
.btn.small {
  min-height:35px;
  padding:8px 12px;
  font-size:11px;
}
.btn.danger {
  background:#8c4337;
  color:white;
}
.text-link {
  background:transparent;
  border:0;
  color:inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  border-bottom:1px solid #a5afa3;
  padding-bottom:4px;
}
.text-link:hover {
  color:var(--accent);
}
.icon-button {
  border:1px solid var(--line);
  background:var(--white);
  border-radius:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  color:var(--ink);
}
.icon-button:hover {
  background:var(--pale);
}
.actions {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.spacer {
  flex:1;
}
.badge {
  display:inline-flex;
  gap:6px;
  align-items:center;
  border-radius:30px;
  padding:5px 10px;
  background:var(--pale);
  color:var(--green);
  font-size:10px;
  letter-spacing:.02em;
  white-space:nowrap;
}
.badge::before {
  content:'';
  width:5px;
  height:5px;
  background:currentColor;
  border-radius:50%;
}
.badge.draft {
  background:#ede9df;
  color:#867350;
}
.badge.hidden {
  background:#f4e5de;
  color:#9a513c;
}
.section-title {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:35px;
}
.section-title h2 {
  margin-top:13px;
}
.divider {
  height:1px;
  background:var(--line);
  margin:32px 0;
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  z-index:100;
  background:var(--green);
  color:white;
  padding:12px;
}
.skip-link:focus {
  top:10px;
}
.site-header {
  border-bottom:1px solid var(--line);
  height:88px;
  background:var(--paper);
}
.header-inner {
  height:100%;
  display:flex;
  align-items:center;
  gap:35px;
}
.brand {
  font-family:var(--serif);
  font-size:30px;
  letter-spacing:-1.5px;
  display:inline-flex;
  align-items:center;
  line-height:1;
}
.brand-dot {
  color:var(--accent);
  font-size:42px;
  margin-top:-5px;
}
.brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  margin-right:10px;
  color:var(--accent);
  font-size:33px;
  transform:rotate(-20deg);
}
.brand-mark .icon {
  width:30px;
  height:30px;
  stroke-width:1.3;
}
.art-star .icon {
  width:38px;
  height:38px;
  stroke-width:1.2;
}
.header-nav {
  display:flex;
  align-items:center;
  gap:27px;
  margin:auto;
  font-size:11px;
}
.header-nav a {
  position:relative;
}
.header-nav a:hover {
  color:var(--accent);
}
.header-actions {
  display:flex;
  gap:20px;
  align-items:center;
  font-size:11px;
}
.header-actions .btn {
  min-height:38px;
  padding:10px 17px;
  font-size:11px;
}
.account-chip {
  display:flex;
  gap:8px;
  align-items:center;
  max-width:140px;
  white-space:nowrap;
  overflow:hidden;
}
.avatar {
  width:29px;
  height:29px;
  background:var(--pale);
  border:1px solid var(--line);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:var(--serif);
  font-size:14px;
}
.mobile-menu {
  display:none;
}
.site-footer {
  border-top:1px solid var(--line);
  padding:36px 0;
}
.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.footer-links {
  display:flex;
  gap:24px;
  font-size:11px;
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  margin-top:23px;
  color:var(--muted);
  font-size:10px;
}
.site-footer .brand {
  font-size:25px;
}
.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
  min-height:620px;
  padding-top:48px;
  padding-bottom:50px;
}
.hero-copy {
  padding-bottom:15px;
}
.hero .eyebrow {
  margin-bottom:27px;
}
.hero h1 {
  max-width:560px;
}
.hero h1 em {
  font-weight:400;
  color:var(--accent);
}
.hero-description {
  max-width:390px;
  font-size:14px;
  color:var(--muted);
  margin:25px 0 30px;
  line-height:1.85;
}
.hero-note {
  font-size:10px;
  color:var(--muted);
  margin-top:19px;
  display:flex;
  align-items:center;
  gap:8px;
}
.hero-note .icon {
  width:13px;
  height:13px;
}
.hero-art {
  position:relative;
  height:490px;
  isolation:isolate;
}
.art-circle {
  position:absolute;
  width:395px;
  height:395px;
  background:#e8e9df;
  border-radius:50%;
  left:70px;
  top:40px;
  z-index:-2;
}
.art-orbit {
  position:absolute;
  inset:13px 0 12px 15px;
  border:1px solid #c9cdbd;
  border-radius:50%;
  transform:rotate(-30deg);
  z-index:-1;
}
.photo-main {
  margin:0;
  width:260px;
  position:absolute;
  left:100px;
  top:30px;
  padding:10px 10px 36px;
  background:#fffefa;
  box-shadow:0 13px 35px #283a321c;
  transform:rotate(7deg);
}
.photo-main img {
  height:310px;
  width:100%;
  object-fit:cover;
  filter:sepia(.22);
}
.photo-main figcaption {
  font-family:var(--serif);
  font-size:11px;
  margin-top:9px;
  color:#7d776c;
}
.photo-small {
  margin:0;
  position:absolute;
  width:172px;
  left:-15px;
  bottom:43px;
  padding:8px 8px 28px;
  background:#fffefa;
  transform:rotate(-12deg);
  box-shadow:0 10px 30px #283a321c;
}
.photo-small img {
  height:137px;
  width:100%;
  object-fit:cover;
  filter:sepia(.3);
}
.memory-tag {
  position:absolute;
  bottom:36px;
  left:204px;
  background:var(--white);
  border:1px solid #e7e5dc;
  border-radius:7px;
  padding:16px 21px;
  box-shadow:0 8px 30px #33483f0d;
  display:flex;
  align-items:center;
  gap:15px;
  width:248px;
}
.memory-tag .icon {
  color:var(--accent);
  width:27px;
  height:27px;
}
.memory-tag b {
  display:block;
  font-size:11px;
  font-weight:500;
}
.memory-tag span {
  font-size:9px;
  color:var(--muted);
}
.art-word {
  position:absolute;
  font:italic 26px var(--serif);
  right:-6px;
  top:20px;
  color:#8b957f;
  transform:rotate(11deg);
}
.art-star {
  position:absolute;
  bottom:10px;
  left:110px;
  font-size:40px;
  color:var(--accent);
}
.intro-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:23px 0;
  font-size:10px;
  color:var(--muted);
}
.intro-strip span {
  display:flex;
  align-items:center;
  gap:9px;
}
.intro-strip .icon {
  color:#7c8b70;
  width:16px;
  height:16px;
}
.section {
  padding-top:83px;
  padding-bottom:83px;
}
.section-intro {
  max-width:425px;
  font-size:13px;
  color:var(--muted);
}
.how-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:45px;
}
.step-number {
  font-family:var(--serif);
  font-size:12px;
  color:var(--accent);
  border-bottom:1px solid var(--line);
  padding-bottom:14px;
  margin-bottom:24px;
  display:flex;
  justify-content:space-between;
}
.step-number .icon {
  width:20px;
  height:20px;
  color:var(--green);
}
.how-grid h3 {
  font-family:var(--serif);
  font-size:24px;
  margin-bottom:12px;
}
.how-grid p {
  color:var(--muted);
  font-size:12px;
  line-height:1.85;
  max-width:300px;
}
.example-section {
  background:#e9ede5;
}
.example-grid {
  display:grid;
  grid-template-columns:1fr 1.02fr;
  gap:95px;
  align-items:center;
}
.example-preview {
  background:var(--white);
  border-radius:9px;
  overflow:hidden;
  box-shadow:0 20px 50px #33483f12;
  position:relative;
  transform:rotate(-2deg);
  border:1px solid #d9ded3;
}
.example-cover {
  height:225px;
  width:100%;
  object-fit:cover;
  object-position:50% 28%;
  filter:sepia(.13);
}
.example-preview-body {
  padding:28px;
}
.example-preview h3 {
  font-family:var(--serif);
  font-size:30px;
  letter-spacing:-1px;
}
.example-preview p {
  font-size:11px;
  color:var(--muted);
  margin-top:8px;
}
.example-date {
  position:absolute;
  top:16px;
  left:16px;
  background:#fffefae6;
  padding:6px 11px;
  border-radius:4px;
  font-size:9px;
}
.example-copy h2 {
  margin:19px 0 24px;
}
.example-copy p {
  font-size:13px;
  color:var(--muted);
  line-height:1.9;
}
.example-copy .text-link {
  margin-top:26px;
}
.family-note {
  font-family:var(--serif);
  font-style:italic;
  color:var(--accent);
  font-size:18px;
  margin-top:20px;
}
.feature-points {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 44px;
  margin-top:42px;
}
.feature-points article {
  display:flex;
  gap:15px;
}
.feature-points .icon {
  color:var(--accent);
  margin-top:4px;
}
.feature-points h3 {
  font-size:13px;
  font-weight:600;
  margin-bottom:7px;
}
.feature-points p {
  font-size:11px;
  color:var(--muted);
  max-width:370px;
}
.genealogy-banner {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:26px;
  align-items:center;
  padding:30px 35px;
  border:1px solid var(--line);
  border-radius:8px;
  margin-top:50px;
}
.genealogy-banner>.icon {
  width:38px;
  height:38px;
  color:#89977d;
}
.genealogy-banner h3 {
  font-family:var(--serif);
  font-size:23px;
  margin-bottom:6px;
}
.genealogy-banner p {
  font-size:11px;
  color:var(--muted);
  max-width:620px;
}
.faq-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:90px;
}
.faq-layout h2 {
  margin-top:16px;
}
.faq-list details {
  border-bottom:1px solid var(--line);
  padding:18px 0;
}
.faq-list summary {
  font-size:13px;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:20px;
}
.faq-list summary::after {
  content:'+';
  color:var(--accent);
  font-size:20px;
  line-height:1;
}
.faq-list details[open] summary::after {
  content:'−';
}
.faq-list details p {
  font-size:12px;
  color:var(--muted);
  margin:13px 0 2px;
}
.cta-section {
  padding:55px;
  text-align:center;
  background:var(--green);
  border-radius:9px;
  color:var(--paper);
  margin-bottom:75px;
  position:relative;
  overflow:hidden;
}
.cta-section h2 {
  font-size:42px;
  letter-spacing:-1.2px;
  max-width:620px;
  margin:auto;
}
.cta-section p {
  font-size:12px;
  color:#c7d1c3;
  margin:20px 0 25px;
}
.cta-section .eyebrow {
  justify-content:center;
  color:#c7d1c3;
  margin-bottom:18px;
}
.cta-section::after {
  content:'';
  width:190px;
  height:190px;
  border:1px solid #ffffff12;
  border-radius:50%;
  position:absolute;
  right:40px;
  bottom:-60px;
  font-size:210px;
  color:#ffffff08;
  pointer-events:none;
}
.page-head {
  padding-top:54px;
  padding-bottom:32px;
}
.page-head h1 {
  font-size:48px;
  margin:15px 0;
}
.page-head p {
  color:var(--muted);
  max-width:580px;
  font-size:13px;
}
.workspace {
  display:grid;
  grid-template-columns:200px 1fr;
  gap:42px;
  padding-top:35px;
  padding-bottom:70px;
  min-height:70vh;
}
.sidebar {
  min-width:0;
  border-right:1px solid var(--line);
  padding-right:24px;
}
.sidebar-title {
  font-size:9px;
  letter-spacing:.14em;
  color:var(--muted);
  margin:12px 0 18px;
}
.sidebar nav {
  display:grid;
  gap:7px;
}
.sidebar nav a {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px;
  border-radius:5px;
  padding:11px 12px;
  color:var(--muted);
}
.sidebar nav a.active {
  color:var(--ink);
  background:var(--pale);
}
.sidebar nav a:hover {
  color:var(--ink);
  background:#eceee6;
}
.sidebar-foot {
  font-size:10px;
  color:var(--muted);
  border-top:1px solid var(--line);
  margin-top:35px;
  padding-top:20px;
  line-height:1.8;
}
.workspace-main {
  min-width:0;
}
.workspace-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:9px 0 30px;
}
.workspace-title h1 {
  font-size:38px;
}
.workspace-title p {
  color:var(--muted);
  font-size:11px;
  margin-top:7px;
}
.stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:35px;
}
.stat {
  min-width:0;
  padding:21px 24px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:7px;
}
.stat b {
  font-family:var(--serif);
  font-size:32px;
  display:block;
  font-weight:400;
  line-height:1.2;
}
.stat span {
  color:var(--muted);
  font-size:10px;
}
.memorial-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}
.memorial-card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
}
.memorial-card:hover {
  transform:translateY(-3px);
  box-shadow:0 12px 25px #33483f09;
}
.card-image {
  height:195px;
  background:var(--pale);
  position:relative;
  display:block;
  overflow:hidden;
}
.card-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  filter:sepia(.1);
}
.card-image .badge {
  position:absolute;
  top:14px;
  left:14px;
  background:#fffefae8;
}
.card-monogram {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font:60px var(--serif);
  color:#85937d;
  background:linear-gradient(135deg,#e8ecdf,#dce3d4);
}
.card-body {
  padding:22px;
}
.card-body h3 {
  font:25px var(--serif);
  letter-spacing:-.6px;
}
.card-body p {
  font-size:10px;
  color:var(--muted);
  margin-top:8px;
}
.card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:18px;
  margin-top:18px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted);
}
.create-card {
  border:1px dashed #bac3b1;
  border-radius:8px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  min-height:340px;
  padding:30px;
  color:var(--muted);
  background:#eef0e81f;
}
.create-card>.icon {
  height:36px;
  width:36px;
  color:#8a9a7e;
  margin-bottom:20px;
}
.create-card h3 {
  font:25px var(--serif);
  color:var(--ink);
}
.create-card p {
  font-size:11px;
  max-width:230px;
  margin:13px 0 22px;
}
.notice {
  background:#edf0e6;
  border:1px solid #dbe1d1;
  padding:17px 20px;
  border-radius:6px;
  font-size:11px;
  color:#606f58;
  margin:22px 0;
  line-height:1.8;
}
.notice.warn {
  background:#f4eae0;
  border-color:#e7d5c1;
  color:#835d3d;
}
.notice .text-link {
  font-size:11px;
}
.empty-state {
  text-align:center;
  padding:70px 25px;
  border:1px dashed var(--line);
  border-radius:8px;
}
.empty-state h2 {
  font-size:32px;
  margin-bottom:15px;
}
.empty-state p {
  color:var(--muted);
  font-size:13px;
  margin-bottom:24px;
}
.search-bar {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  background:var(--white);
  border-radius:5px;
  padding:0 15px;
  gap:10px;
  margin-bottom:25px;
}
.search-bar input {
  border:0;
  background:none;
  padding:13px 0;
  flex:1;
  min-width:0;
  outline-offset:0;
  font-size:12px;
}
.directory-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  padding-bottom:70px;
}
.directory-empty {
  grid-column:1/-1;
}
.editor-top {
  border-bottom:1px solid var(--line);
  background:var(--white);
}
.editor-top-inner {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:77px;
}
.editor-top h1 {
  font:19px var(--serif);
  letter-spacing:-.4px;
}
.save-status {
  font-size:10px;
  color:var(--muted);
  margin-top:3px;
}
.editor-layout {
  display:grid;
  grid-template-columns:205px minmax(0,1fr);
  gap:45px;
  padding:35px 0 70px;
}
.editor-steps {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.step-button {
  border:0;
  background:none;
  color:var(--muted);
  padding:13px 12px;
  text-align:left;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:11px;
  border-radius:5px;
}
.step-button .num {
  width:25px;
  height:25px;
  border:1px solid var(--line);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
}
.step-button.active {
  background:var(--pale);
  color:var(--ink);
}
.step-button.active .num {
  background:var(--green);
  color:white;
  border-color:var(--green);
}
.editor-panel {
  min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  padding:36px 40px;
  min-height:450px;
}
.editor-panel h2 {
  font-size:32px;
  margin-bottom:11px;
}
.editor-intro {
  font-size:12px;
  color:var(--muted);
  max-width:500px;
  margin-bottom:28px;
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.field {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:20px;
}
.form-grid .field {
  margin-bottom:0;
}
.field.full {
  grid-column:1/-1;
}
.field label {
  font-size:11px;
  font-weight:600;
}
.field input,.field textarea,.field select {
  width:100%;
  border:1px solid #d9ddd1;
  border-radius:5px;
  padding:12px 14px;
  background:#fffefa;
  color:var(--ink);
  font-size:12px;
  line-height:1.6;
}
.field input:focus,.field textarea:focus {
  border-color:#829574;
}
.field textarea {
  resize:vertical;
  min-height:110px;
}
.field .hint {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
}
.field input::placeholder,.field textarea::placeholder {
  color:#a0a396;
}
.editor-bottom {
  flex-wrap:wrap;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:32px;
  padding-top:24px;
}
.editor-bottom .btn {
  font-size:11px;
}
.event-card {
  padding:24px;
  border:1px solid var(--line);
  border-radius:6px;
  margin-bottom:20px;
  background:#fafaf5;
}
.event-top {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
  align-items:center;
  font:18px var(--serif);
}
.event-card .field {
  margin-top:16px;
  margin-bottom:0;
}
.upload-zone {
  position:relative;
  border:1px dashed #b5c2a8;
  border-radius:7px;
  background:#f0f3ea;
  text-align:center;
  padding:35px 20px;
  margin-bottom:25px;
}
.upload-zone>.icon {
  width:32px;
  height:32px;
  color:#8a9c7c;
  margin:0 auto 13px;
}
.upload-zone p {
  font-size:11px;
  color:var(--muted);
  margin-top:12px;
}
.upload-zone .btn {
  position:relative;
}
.upload-zone input[type=file] {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.photo-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}
.photo-tile {
  border:1px solid var(--line);
  border-radius:5px;
  overflow:hidden;
  position:relative;
  background:#f4f4ed;
}
.photo-tile img {
  height:155px;
  width:100%;
  object-fit:cover;
}
.photo-tile input {
  font-size:10px;
  padding:10px;
  border:0;
  border-top:1px solid var(--line);
  width:100%;
  background:var(--white);
}
.photo-tile .photo-tools {
  position:absolute;
  top:8px;
  right:8px;
  display:flex;
  gap:5px;
}
.photo-tools button {
  width:28px;
  height:28px;
  border:0;
  background:#fffefae8;
  border-radius:3px;
  display:grid;
  place-items:center;
}
.photo-tools .icon {
  width:14px;
  height:14px;
}
.photo-tile .cover-tag {
  position:absolute;
  left:8px;
  top:8px;
  background:#fffefa;
  padding:4px 6px;
  border-radius:3px;
  font-size:9px;
}
.check-field {
  display:flex;
  gap:11px;
  align-items:flex-start;
  font-size:12px;
  margin:20px 0;
}
.check-field input {
  margin-top:5px;
  accent-color:var(--green);
  width:16px;
  height:16px;
  flex-shrink:0;
}
.check-field span small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px;
}
.profile-panel {
  background:var(--pale);
  padding:26px;
  border-radius:6px;
  margin-top:25px;
}
.profile-panel h3 {
  font:23px var(--serif);
  margin-bottom:10px;
}
.profile-panel p {
  font-size:11px;
  color:var(--muted);
}
.import-option {
  display:flex;
  gap:16px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:7px;
  margin-top:16px;
  text-align:left;
  width:100%;
  background:var(--white);
  color:var(--ink);
}
.import-option:hover {
  background:#eff2e8;
}
.import-option>.icon {
  color:#839576;
  width:25px;
  height:25px;
  margin-top:3px;
}
.import-option h3 {
  font:21px var(--serif);
  margin-bottom:8px;
}
.import-option p {
  font-size:11px;
  color:var(--muted);
}
.import-choice {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  padding:14px 16px;
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink);
  border-radius:5px;
  margin-top:10px;
  gap:15px;
}
.import-choice:hover {
  background:var(--pale);
}
.import-choice b {
  font-size:12px;
}
.import-choice small {
  font-size:10px;
  color:var(--muted);
  display:block;
}
.import-list {
  max-height:350px;
  overflow:auto;
}
.memorial-hero {
  padding:56px 0 0;
}
.memorial-back {
  margin-bottom:27px;
  display:flex;
  gap:10px;
  color:var(--muted);
  font-size:11px;
}
.memorial-heading {
  display:grid;
  grid-template-columns:1fr 260px;
  gap:60px;
  align-items:center;
  padding:25px 50px 50px;
}
.memorial-heading h1 {
  font-size:58px;
  margin:15px 0 17px;
}
.memorial-heading .dedication {
  font-family:var(--serif);
  font-size:20px;
  color:var(--accent);
  font-style:italic;
}
.life-dates {
  font-size:11px;
  letter-spacing:.06em;
  color:var(--muted);
  margin-top:20px;
}
.memorial-portrait {
  width:220px;
  height:285px;
  object-fit:cover;
  object-position:center 30%;
  border:9px solid var(--white);
  box-shadow:0 10px 25px #293d3410;
  transform:rotate(3deg);
  margin-left:auto;
  filter:sepia(.1);
}
.memorial-tabs {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:35px;
  padding:16px 0;
  font-size:11px;
}
.memorial-tabs a {
  display:flex;
  align-items:center;
  gap:8px;
}
.memorial-tabs .actions {
  margin-left:auto;
}
.memorial-content {
  max-width:830px;
  margin:auto;
  padding:60px 0 80px;
}
.memorial-content>section {
  margin-bottom:60px;
}
.memorial-content h2 {
  font-size:35px;
  margin-bottom:25px;
}
.prose {
  white-space:pre-wrap;
  font-size:14px;
  line-height:2;
  color:#606b5e;
  overflow-wrap:anywhere;
}
.memorial-quote {
  font:italic 28px/1.5 var(--serif);
  color:var(--accent);
  text-align:center;
  padding:35px 50px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:60px;
  white-space:pre-wrap;
}
.timeline-item {
  display:grid;
  grid-template-columns:130px 1fr;
  gap:35px;
  position:relative;
  padding-bottom:35px;
}
.timeline-item::before {
  content:'';
  position:absolute;
  left:145px;
  top:7px;
  bottom:-7px;
  width:1px;
  background:var(--line);
}
.timeline-item:last-child::before {
  display:none;
}
.timeline-item::after {
  content:'';
  position:absolute;
  left:141px;
  top:7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#9ca98e;
  border:1px solid var(--paper);
}
.timeline-date {
  font-size:11px;
  color:var(--accent);
  padding-top:2px;
}
.timeline-body h3 {
  font-family:var(--serif);
  font-size:24px;
  margin-bottom:9px;
}
.timeline-body p {
  font-size:12px;
  color:var(--muted);
  white-space:pre-wrap;
  line-height:1.85;
  overflow-wrap:anywhere;
}
.timeline-place {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  color:var(--muted);
  margin-top:12px;
}
.timeline-place .icon {
  width:12px;
  height:12px;
}
.timeline-images {
  display:flex;
  gap:10px;
  margin-top:15px;
  flex-wrap:wrap;
}
.timeline-images img {
  height:120px;
  width:140px;
  object-fit:cover;
  border:5px solid var(--white);
  cursor:zoom-in;
}
.timeline-images button {
  width:auto;
  height:auto;
  border:0;
  background:transparent;
  padding:0;
}
.gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.gallery figure {
  margin:0;
}
.gallery button {
  border:0;
  background:none;
  padding:0;
  width:100%;
  cursor:zoom-in;
}
.gallery img {
  width:100%;
  height:215px;
  object-fit:cover;
  border:7px solid var(--white);
  box-shadow:0 4px 12px #293d3409;
}
.gallery figcaption {
  font-size:10px;
  color:var(--muted);
  padding:9px 7px;
}
.memorial-end {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  color:#a5ad9a;
  font:italic 19px var(--serif);
  margin-top:60px;
}
.memorial-end .icon {
  width:16px;
}
.preview-banner {
  padding:13px 25px;
  background:var(--green);
  color:#eef2e8;
  text-align:center;
  font-size:11px;
}
.preview-banner button {
  border:0;
  background:none;
  color:white;
  text-decoration:underline;
  margin-left:15px;
  font-size:11px;
}
.photo-dialog {
  padding:0;
  max-width:900px;
  background:#faf9f3;
}
.photo-dialog img {
  max-height:75vh;
  max-width:100%;
  object-fit:contain;
  margin:auto;
}
.photo-dialog .dialog-header {
  padding:15px 20px;
}
.photo-dialog figcaption {
  padding:15px;
  text-align:center;
  font-size:12px;
}
dialog {
  border:1px solid var(--line);
  border-radius:9px;
  width:480px;
  max-width:calc(100vw - 30px);
  max-height:90vh;
  background:var(--white);
  color:var(--ink);
  padding:30px;
  box-shadow:0 25px 90px #1c2c2833;
}
dialog::backdrop {
  background:#1e302d75;
  backdrop-filter:blur(4px);
}
.dialog-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:15px;
}
.dialog-header h2 {
  font:30px var(--serif);
  letter-spacing:-1px;
}
.dialog-intro {
  font-size:12px;
  color:var(--muted);
  margin-bottom:25px;
}
.auth-form .field {
  margin-bottom:17px;
}
.auth-form>.btn {
  width:100%;
  margin-top:8px;
}
.auth-switch {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin-top:23px;
}
.auth-switch button {
  background:none;
  border:0;
  color:var(--accent);
  text-decoration:underline;
  font-size:11px;
}
.form-error {
  background:#f9e9e3;
  color:#8f4438;
  border-radius:4px;
  padding:11px 14px;
  font-size:11px;
  display:none;
  margin:15px 0;
}
.form-error:not(:empty) {
  display:block;
}
.form-error:focus {
  outline:0;
}
.privacy-note {
  font-size:9px;
  color:var(--muted);
  line-height:1.8;
  margin-top:15px;
}
#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,20px);
  padding:13px 24px;
  border-radius:7px;
  background:var(--green);
  color:#fffefa;
  z-index:50;
  font-size:12px;
  box-shadow:0 8px 30px #1d33282e;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
  max-width:calc(100vw - 30px);
}
#toast.show {
  opacity:1;
  transform:translate(-50%,0);
}
#toast.error {
  background:#984e3e;
}
.loading-page {
  min-height:60vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:20px;
  color:var(--muted);
}
.loading-page p {
  font-size:12px;
}
.error-page {
  text-align:center;
  max-width:620px;
  padding:100px 25px;
  margin:auto;
}
.error-page h1 {
  font-size:48px;
  margin:20px 0;
}
.error-page p {
  color:var(--muted);
  font-size:13px;
  margin-bottom:25px;
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--white);
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:11px;
}
th {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  font-weight:500;
  background:#f0f1e9;
}
th,td {
  padding:15px 17px;
  border-bottom:1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom:0;
}
td b {
  display:block;
  font-weight:500;
  font-size:12px;
}
td small {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:4px;
}
.admin-tabs {
  display:flex;
  gap:8px;
  margin-bottom:25px;
}
.admin-tabs button {
  border:1px solid var(--line);
  border-radius:5px;
  background:transparent;
  padding:9px 16px;
  font-size:11px;
  color:var(--muted);
}
.admin-tabs button.active {
  background:var(--green);
  color:white;
  border-color:var(--green);
}
.settings-panel {
  max-width:600px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  padding:30px;
}
.settings-panel h2 {
  font-size:29px;
  margin-bottom:25px;
}
.settings-panel .notice {
  margin-top:25px;
}
@media(min-width:1450px) {
  .container {
    max-width:1310px;
  }
  .hero {
    gap:80px;
    min-height:670px;
  }
  .hero-art {
    transform:scale(1.06);
  }
}
@media(max-width:1050px) {
  .art-orbit {
    transform:none;
  }
  .container {
    padding-left:28px;
    padding-right:28px;
  }
  .hero {
    gap:20px;
    min-height:570px;
  }
  .hero-art {
    transform:scale(.88);
    transform-origin:center right;
  }
  .hero h1 {
    font-size:56px;
  }
  .header-nav {
    gap:18px;
  }
  .header-inner {
    gap:18px;
  }
  .header-actions {
    gap:12px;
  }
  .example-grid {
    gap:50px;
  }
  .workspace {
    gap:25px;
    grid-template-columns:165px 1fr;
  }
  .editor-layout {
    grid-template-columns:170px 1fr;
    gap:25px;
  }
  .editor-panel {
    padding:28px;
  }
  .memorial-heading {
    padding-left:20px;
    padding-right:20px;
  }
  .memorial-content {
    padding-left:25px;
    padding-right:25px;
  }
  .directory-grid {
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:760px) {
  .container {
    padding-left:22px;
    padding-right:22px;
  }
  .site-header {
    height:72px;
  }
  .header-nav {
    display:none;
  }
  .header-inner {
    gap:12px;
  }
  .header-actions {
    margin-left:auto;
    gap:12px;
  }
  .header-actions .btn {
    padding:9px 12px;
    font-size:10px;
  }
  .brand {
    font-size:25px;
  }
  .brand-mark {
    font-size:27px;
    width:23px;
    margin-right:6px;
  }
  .brand-dot {
    font-size:35px;
  }
  .header-actions .login-link {
    font-size:10px;
  }
  .account-chip {
    max-width:105px;
    font-size:10px;
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:45px;
    padding-bottom:25px;
    gap:5px;
    min-height:0;
  }
  .hero-copy {
    padding:0;
  }
  .hero .eyebrow {
    font-size:9px;
    margin-bottom:23px;
  }
  .hero h1 {
    font-size:clamp(36px,11.5vw,46px);
    max-width:420px;
  }
  .hero-description {
    font-size:13px;
    max-width:330px;
    margin:23px 0;
  }
  .hero .actions .btn {
    font-size:11px;
    padding:12px 17px;
  }
  .hero-note {
    font-size:9px;
  }
  .hero-art {
    height:405px;
    transform:none;
    max-width:390px;
    width:100%;
    margin:30px auto 0;
  }
  .art-circle {
    width:295px;
    height:295px;
    left:25px;
    top:40px;
  }
  .art-orbit {
    inset:25px 10px 15px 8px;
    transform:none;
  }
  .photo-main {
    left:95px;
    width:210px;
    top:35px;
  }
  .photo-main img {
    height:250px;
  }
  .photo-small {
    left:0;
    width:140px;
    bottom:35px;
  }
  .photo-small img {
    height:115px;
  }
  .memory-tag {
    left:112px;
    width:220px;
    bottom:5px;
    padding:13px 15px;
  }
  .art-word {
    right:5px;
    font-size:21px;
    top:0;
  }
  .art-star {
    left:62px;
    bottom:0;
  }
  .intro-strip {
    flex-wrap:wrap;
    justify-content:center;
    gap:14px 25px;
    padding:20px 5px;
    font-size:9px;
  }
  .intro-strip span:first-child {
    display:none;
  }
  .section {
    padding-top:55px;
    padding-bottom:55px;
  }
  .section-title {
    display:block;
  }
  .section-title .section-intro {
    margin-top:20px;
    font-size:12px;
  }
  .how-grid {
    grid-template-columns:1fr;
    gap:28px;
    margin-top:30px;
  }
  .how-grid p {
    max-width:none;
  }
  .step-number {
    margin-bottom:17px;
  }
  .example-grid {
    grid-template-columns:1fr;
    gap:40px;
  }
  .example-preview {
    transform:none;
    max-width:420px;
    width:100%;
    margin:auto;
    order:2;
  }
  .example-copy {
    order:1;
  }
  .example-copy h2 {
    font-size:37px;
  }
  .example-cover {
    height:230px;
  }
  .feature-points {
    grid-template-columns:1fr;
    gap:27px;
    margin-top:30px;
  }
  .genealogy-banner {
    grid-template-columns:auto 1fr;
    gap:16px;
    padding:24px;
    margin-top:35px;
  }
  .genealogy-banner .btn {
    grid-column:1/-1;
    justify-self:start;
  }
  .genealogy-banner h3 {
    font-size:21px;
  }
  .faq-layout {
    grid-template-columns:1fr;
    gap:25px;
  }
  .faq-layout h2 {
    max-width:300px;
  }
  .cta-section {
    padding:35px 22px;
    margin-bottom:45px;
  }
  .cta-section h2 {
    font-size:34px;
  }
  .cta-section p {
    max-width:270px;
    margin:20px auto 25px;
  }
  .footer-inner {
    align-items:start;
  }
  .footer-links {
    flex-direction:column;
    gap:10px;
    font-size:10px;
  }
  .footer-bottom {
    display:block;
    line-height:1.9;
  }
  .footer-bottom span {
    display:block;
  }
  .workspace {
    grid-template-columns:minmax(0,1fr);
    padding-top:20px;
    gap:15px;
  }
  .sidebar {
    border-right:0;
    padding:0;
    border-bottom:1px solid var(--line);
    padding-bottom:15px;
  }
  .sidebar-title,.sidebar-foot {
    display:none;
  }
  .sidebar nav {
    display:flex;
    gap:3px;
    overflow:auto;
  }
  .sidebar nav a {
    font-size:10px;
    padding:9px 10px;
    white-space:nowrap;
    gap:6px;
  }
  .sidebar nav a .icon {
    width:15px;
  }
  .workspace-title h1 {
    font-size:31px;
  }
  .workspace-title {
    flex-direction:column;
    align-items:start;
    gap:12px;
    margin-top:10px;
  }
  .workspace-title .btn {
    font-size:10px;
    min-height:38px;
    padding:10px 11px;
  }
  .stats {
    gap:9px;
  }
  .stat {
    padding:15px 13px;
  }
  .stat b {
    font-size:27px;
  }
  .stat span {
    font-size:9px;
  }
  .memorial-grid {
    grid-template-columns:1fr;
  }
  .create-card {
    min-height:240px;
  }
  .page-head {
    padding-top:35px;
  }
  .page-head h1 {
    font-size:38px;
  }
  .directory-grid {
    grid-template-columns:1fr;
  }
  .editor-top-inner {
    gap:10px;
    flex-wrap:wrap;
    padding-top:13px;
    padding-bottom:13px;
  }
  .editor-top h1 {
    font-size:16px;
  }
  .editor-top .btn {
    min-height:34px;
    padding:8px 10px;
    font-size:10px;
  }
  .editor-top .spacer {
    display:none;
  }
  .editor-top .editor-save-actions {
    margin-left:auto;
  }
  .editor-layout {
    grid-template-columns:minmax(0,1fr);
    gap:20px;
    padding-top:20px;
  }
  .editor-steps {
    flex-direction:row;
    overflow:auto;
    gap:2px;
  }
  .editor-layout>aside {
    min-width:0;
  }
  .step-button {
    font-size:10px;
    padding:9px 8px;
    gap:6px;
    white-space:nowrap;
  }
  .step-button .num {
    width:21px;
    height:21px;
  }
  .editor-panel {
    padding:25px 20px;
  }
  .editor-panel h2 {
    font-size:28px;
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:18px;
  }
  .field.full {
    grid-column:auto;
  }
  .event-card {
    padding:18px 15px;
  }
  .photo-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .photo-tile img {
    height:150px;
  }
  .memorial-heading {
    grid-template-columns:1fr 130px;
    gap:15px;
    padding:10px 0 35px;
    align-items:start;
  }
  .memorial-heading h1 {
    font-size:37px;
    overflow-wrap:anywhere;
  }
  .memorial-portrait {
    width:125px;
    height:180px;
    border:6px solid var(--white);
    margin-top:15px;
  }
  .memorial-heading .dedication {
    font-size:16px;
  }
  .life-dates {
    font-size:9px;
    line-height:1.8;
  }
  .memorial-hero {
    padding-top:30px;
  }
  .memorial-tabs {
    gap:19px;
    flex-wrap:wrap;
    font-size:10px;
  }
  .memorial-tabs .actions {
    margin-left:0;
  }
  .memorial-content {
    padding:40px 0 45px;
  }
  .memorial-content h2 {
    font-size:31px;
  }
  .timeline-item {
    grid-template-columns:82px 1fr;
    gap:25px;
  }
  .timeline-item::before {
    left:93px;
  }
  .timeline-item::after {
    left:90px;
  }
  .timeline-date {
    font-size:10px;
  }
  .timeline-body h3 {
    font-size:21px;
  }
  .gallery {
    grid-template-columns:1fr 1fr;
    gap:15px;
  }
  .gallery img {
    height:180px;
  }
  .memorial-quote {
    font-size:23px;
    padding:25px 15px;
  }
  .memorial-content>section {
    margin-bottom:40px;
  }
  .prose {
    font-size:13px;
  }
  .admin-tabs {
    gap:5px;
  }
  .admin-tabs button {
    font-size:10px;
    padding:9px 11px;
  }
  .settings-panel {
    padding:24px 20px;
  }
  .section-title .eyebrow {
    font-size:9px;
  }
  dialog {
    padding:25px 20px;
  }
  .editor-bottom .btn {
    padding:10px 14px;
  }
  .notice {
    padding:15px;
    font-size:10px;
  }
  .notice .text-link {
    font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}
@media(max-width:380px) {
  .brand-mark {
    display:none;
  }
  .header-actions .btn .icon {
    display:none;
  }
  .header-actions .btn {
    padding:9px 10px;
  }
  .hero-art {
    height:380px;
  }
  .photo-main {
    left:70px;
    width:190px;
  }
  .photo-main img {
    height:230px;
  }
  .art-circle {
    width:250px;
    height:250px;
    left:10px;
  }
  .memory-tag {
    left:70px;
    width:205px;
  }
  .art-word {
    font-size:18px;
  }
}
