:root {
  color-scheme: light;
  --paper: #f6f4ec;
  --ink: #214b3c;
  --muted: #667168;
  --line: #d8dcd0;
  --accent: #a2ad77;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #7e894f; outline-offset: 6px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px 18px; background: var(--ink); color: white; z-index: 2; }
.skip-link:focus { top: 14px; }
.page { width: min(1180px, calc(100% - 112px)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.brand img { display: block; }
.header-note { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.intro { flex: 1; display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: clamp(40px, 6vw, 86px); padding: 64px 0 72px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(56px, 6.4vw, 86px); line-height: 1.06; letter-spacing: -.045em; }
.name-dot { color: #899762; }
.profession { margin: 25px 0 0; font-size: 18px; line-height: 1.5; }
.rule { width: 56px; height: 1px; margin: 28px 0; background: var(--accent); }
.invitation { max-width: 340px; margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.contacts { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; font-style: normal; }
.phone-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 23px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; font-size: 17px; letter-spacing: .03em; text-decoration: none; transition: background .15s; }
.phone-link:hover { background: #15382c; }
.email-link { display: inline-flex; gap: 20px; padding: 6px 0; font-size: 15px; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.email-link:hover { color: #637338; }
.appointment { display: flex; align-items: center; gap: 8px; margin: 21px 0 0; font-size: 12px; color: var(--muted); }
.appointment > span { width: 5px; height: 5px; border-radius: 50%; background: #849366; flex: none; }
.landscape { position: relative; margin: 0; padding-top: 20px; }
.photo-frame { aspect-ratio: .86; overflow: hidden; border-radius: 240px 240px 6px 6px; background: #d0d6bc; }
.photo-frame > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 30% center; }
.leaf-seal { position: absolute; right: -22px; bottom: 40px; width: 94px; height: 94px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.site-footer p { margin: 0; }
.photo-credit { font-size: 10px; }
.photo-credit a { text-decoration-color: #b7beb1; text-underline-offset: 3px; }
@media (min-width: 1500px) { .intro { padding-top: 72px; padding-bottom: 80px; } }
@media (max-width: 900px) {
  .page { width: calc(100% - 64px); }
  .intro { gap: 34px; padding: 52px 0 60px; }
  h1 { font-size: 58px; }
  .profession { font-size: 16px; }
  .photo-frame { aspect-ratio: .75; }
  .leaf-seal { right: -12px; width: 75px; height: 75px; }
}
@media (max-width: 640px) {
  .page { width: calc(100% - 40px); }
  .site-header { padding: 22px 0; }
  .brand { font-size: 19px; gap: 10px; }
  .brand img { width: 30px; height: 30px; }
  .header-note { display: none; }
  .intro { grid-template-columns: 1fr; gap: 40px; padding: 42px 0 38px; }
  h1 { font-size: clamp(53px, 15vw, 76px); }
  .profession { margin-top: 20px; font-size: 17px; }
  .rule { margin: 24px 0; }
  .invitation { max-width: 340px; }
  .landscape { width: min(100%, 380px); margin: 0 auto; padding-top: 0; }
  .photo-frame { aspect-ratio: 1.1; border-radius: 190px 190px 6px 6px; }
  .leaf-seal { right: 12px; bottom: 22px; width: 72px; height: 72px; }
  .leaf-seal img { width: 34px; height: 34px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 6px; padding: 19px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
