:root{--paper:#faf7f2;--ink:#423d36;--muted:#746c61;--accent:#80543e;--line:#dcd3c6;--serif:var(--sans);--sans:'Montserrat',Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 var(--sans)}a{color:inherit;text-underline-offset:5px}a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:6px}a:hover{color:var(--accent)}.wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}.header{display:flex;align-items:center;justify-content:space-between;padding-block:28px;border-bottom:1px solid var(--line);gap:24px}.brand{font:42px/1 var(--serif);text-decoration:none;letter-spacing:-2px}.brand span{display:block;font:12px/1.6 var(--sans);letter-spacing:.06em;margin-top:9px}nav{display:flex;gap:30px;flex-wrap:wrap}nav a{font-size:14px;text-decoration:none}.hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding-block:64px 84px}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.17em;margin:0 0 22px;color:var(--muted)}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0;letter-spacing:-.035em}h1{font-size:clamp(40px,4.6vw,66px)}h2{font-size:clamp(36px,4vw,52px)}h3{font-size:32px}p{margin:22px 0}.intro{max-width:390px;margin-block:28px 32px}.button{display:inline-flex;align-items:center;justify-content:center;padding:16px 25px;background:var(--accent);color:#fffaf5;text-decoration:none;font-size:15px;border-radius:999px;min-height:52px;transition:background .2s}.button:hover{background:#65402e;color:white}.placeholder{position:relative;background:#e6dfd3;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;overflow:hidden;isolation:isolate;padding:24px}.placeholder:before{content:'';position:absolute;inset:18px;border:1px solid #ffffff75;z-index:-1}.hero-photo{min-height:540px;border-radius:180px 180px 5px 5px;background:linear-gradient(145deg,#e3daca,#d6c5b2)}.photo-mark{width:48px;height:38px;border:1px solid #8b7b68;border-radius:3px;position:relative;margin-bottom:25px;opacity:.8}.photo-mark:before{content:'';position:absolute;width:9px;height:9px;border:1px solid #8b7b68;border-radius:50%;top:6px;right:7px}.photo-mark:after{content:'';position:absolute;width:23px;height:17px;border-top:1px solid #8b7b68;border-left:1px solid #8b7b68;transform:rotate(45deg);left:7px;bottom:0}.placeholder-label{font:22px/1.4 var(--serif);max-width:300px}.placeholder-label span{display:block;font:13px/1.6 var(--sans);margin-top:10px;color:#655b50}.section{padding-block:82px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:38px}.section-heading p:last-child{color:var(--muted);margin-bottom:0;font-size:15px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}figure{margin:0}.gallery-photo{aspect-ratio:3/4}.tone-rose{background:#e7d8ce}.tone-sage{background:#dce0d4}.tone-sand{background:#e6ddca}.gallery figure:nth-child(2){padding-top:44px}figcaption{font-size:14px;color:var(--muted);margin-top:12px}.services-band{background:#eee8dd;margin-top:18px}.services{display:grid;grid-template-columns:1fr 1fr;gap:80px}.service-copy>p{max-width:480px}.tags{display:flex;gap:12px;margin-block:26px}.tags span{border:1px solid #c9bba8;border-radius:30px;padding:6px 18px;font-size:14px}.detail{font-size:14px;color:var(--muted)}.text-link{font-size:15px}.about{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.portrait{min-height:420px;background:#e6dfd4}.about-copy{max-width:460px}.contacts{background:#e8dfd2;text-align:center;padding-block:70px}.contact-inner>p{margin-inline:auto;max-width:530px}.contact-inner .eyebrow{margin-top:0}.contact-inner .button{margin-top:9px}.telegram-note{font-size:14px;color:#655a4c;padding:12px;border:1px solid transparent;border-radius:4px}.telegram-note.is-highlighted{border-color:var(--accent);background:#faf7f2}.footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-block:35px}.footer>p,.footer>a:last-child{font-size:13px;color:var(--muted)}.skip-link{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:10}.skip-link:focus{top:12px}
@media(min-width:1400px){.hero{gap:80px}}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.header{align-items:flex-start}nav{gap:12px 20px;max-width:250px;justify-content:flex-end}.hero{gap:30px;padding-block:45px 55px}.hero-photo{min-height:440px}.section{padding-block:56px}.services,.about{gap:40px}.gallery{gap:15px}.placeholder{padding:20px}.placeholder-label{font-size:20px}.portrait{min-height:370px}}
@media(max-width:600px){body{font-size:16px}.header{display:block;padding-block:22px}.brand{font-size:36px}nav{justify-content:flex-start;max-width:none;gap:12px 22px;margin-top:22px}.hero{grid-template-columns:1fr;gap:34px;padding-top:38px}.hero-copy{max-width:430px}h1{font-size:43px}.intro{margin-block:22px 25px}.hero-photo{min-height:400px;border-radius:150px 150px 4px 4px}.section-heading{display:block;margin-bottom:28px}.section-heading p:last-child{margin-top:20px}.gallery{grid-template-columns:1fr;gap:28px}.gallery figure:nth-child(2){padding-top:0}.gallery-photo{aspect-ratio:4/3}.services,.about{grid-template-columns:1fr;gap:32px}.portrait{min-height:360px}.about-copy{padding-top:4px}.contacts{padding-block:52px}.contacts br{display:none}.footer{flex-wrap:wrap;gap:15px}.footer .brand{flex-basis:100%}.footer>p{margin:12px 0}.footer>a:last-child{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Отступ перед основной кнопкой первого экрана. */
.hero-copy .intro{margin-bottom:48px}

/* Тёмное оформление только первого экрана. */
.hero.wrap {
  width: 100%;
  padding-inline: max(40px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(ellipse at 88% 18%, rgba(145, 96, 51, .16) 0%, transparent 58%),
    linear-gradient(115deg, #080706 0%, #100c09 32%, #241810 68%, #3a261b 100%);
  color: #faf5ec;
  font-family: var(--sans);
  border-bottom: 1px solid #a8884e;
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.hero-copy::before {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin-bottom: 28px;
  background: #d9b66c;
}
.hero .intro { color: #e6dcd0; font-size: 18px; }
.hero .hero-photo {
  background: linear-gradient(145deg, #1e1913, #483423);
  border: 1px solid #967748;
}
.hero .hero-photo::before { border-color: #a5854d; }
.hero .photo-mark,
.hero .photo-mark::before,
.hero .photo-mark::after { border-color: #d9b66c; }
.hero .placeholder-label {
  font-family: var(--sans);
  color: #edcf8d;
}
.hero .placeholder-label span { color: #e6dcd0; }
@media (max-width: 850px) {
  .hero.wrap { padding-inline: 20px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero .intro { font-size: 17px; }
}

/* Общая тёмная палитра и золотые акценты. */
:root {
  --paper: #100c09;
  --ink: #faf5ec;
  --muted: #c8b9a6;
  --accent: #e2bf75;
  --line: #59422a;
  --serif: var(--sans);
}
body {
  background: linear-gradient(115deg, #080706 0%, #100c09 32%, #241810 68%, #3a261b 100%);
}
h2, h3 { font-weight: 600; }
.brand { color: #edcf8d; font-weight: 600; }
.brand span { color: #c8b9a6; }
.eyebrow { color: #d9b66c; }
.services-band {
  background: linear-gradient(115deg, #15100c, #302117);
  border-block: 1px solid var(--line);
}
.contacts {
  background:
    radial-gradient(ellipse at 70% 10%, #8d603124, transparent 65%),
    linear-gradient(115deg, #080706, #21160f 60%, #3a261b);
  border-block: 1px solid var(--line);
}
.placeholder {
  background: linear-gradient(145deg, #1e1913, #483423);
  border: 1px solid #967748;
}
.placeholder::before { border-color: #a5854d; }
.tone-rose { background: linear-gradient(145deg, #211710, #473024); }
.tone-sage { background: linear-gradient(145deg, #171610, #393325); }
.tone-sand { background: linear-gradient(145deg, #211b12, #493822); }
.placeholder-label { color: #edcf8d; }
.placeholder-label span { color: #e6dcd0; }
.photo-mark, .photo-mark::before, .photo-mark::after { border-color: #d9b66c; }
.tags span { border-color: #927344; color: #edcf8d; background: #ffffff05; }
.text-link { color: #edcf8d; }
.telegram-note { color: #d5c6b3; }
.telegram-note.is-highlighted { background: #261b12; color: #faf5ec; }
.skip-link { background: #21170e; color: #faf5ec; }

/* Объёмные золотые кнопки: блик, металлический переход и нижняя грань. */
.button {
  background: linear-gradient(180deg, #fff0bd 0%, #edcb77 18%, #d5a64b 48%, #ecc878 54%, #c49335 100%);
  color: #281b09;
  border: 1px solid #efd28c;
  border-bottom-color: #9b6b24;
  font-weight: 600;
  text-shadow: 0 1px 0 #fff1c680;
  box-shadow: inset 0 2px 1px #fff9dfb3, inset 0 -2px 2px #97641e55, 0 4px 0 #795220, 0 10px 22px #00000055;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button:hover {
  background: linear-gradient(180deg, #fff5d0 0%, #f4d88e 18%, #e2b65b 48%, #f5d68d 54%, #d4a345 100%);
  color: #211507;
  transform: translateY(-1px);
  box-shadow: inset 0 2px 1px #fff9dfb3, inset 0 -2px 2px #97641e55, 0 5px 0 #795220, 0 12px 25px #00000066;
}
.button:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 3px #79522055, 0 1px 0 #795220, 0 4px 10px #00000044;
}
.button:focus-visible { outline-color: #f4d68f; }

/* Больше воздуха между разделами; золото только в небольших акцентах. */
main > section + section { margin-top: 48px; }
.section { padding-block: 100px; }
.contacts { padding-block: 100px; }
.brand, .placeholder-label, .hero .placeholder-label { color: var(--ink); }
.placeholder, .hero .hero-photo { border-color: #665547; }
.placeholder::before, .hero .hero-photo::before { border-color: #ffffff20; }
.hero.wrap { border-bottom-color: var(--line); }
.tags span { color: #e6dcd0; border-color: #74604a; }
.text-link { color: #e6dcd0; text-decoration-color: #d9b66c; }
.button { font-family: var(--sans); font-size: 15px; padding: 16px 25px; border-radius: 999px; }
@media (max-width: 850px) {
  main > section + section { margin-top: 32px; }
  .section, .contacts { padding-block: 72px; }
}
@media (max-width: 600px) {
  main > section + section { margin-top: 24px; }
  .section, .contacts { padding-block: 64px; }
}

/* Настоящий портрет Анны: пропорции фотографии сохраняются. */
.anna-photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: cover;
  border: 1px solid #665547;
}
.hero .anna-photo { min-height: 0; }

/* Плавное растворение краёв портрета в фоне первого экрана. */
.hero .anna-photo {
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Галерея без обрезки кадров, с мягким растворением по краям. */
.gallery { display: block; columns: 3; column-gap: 24px; }
.gallery figure, .gallery figure:nth-child(2) {
  padding: 0;
  margin: 0 0 24px;
  break-inside: avoid;
}
.portfolio-photo {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 850px) { .gallery { columns: 2; column-gap: 20px; } }
@media (max-width: 600px) { .gallery { columns: 1; } }

/* Портрет в разделе о фотографе: мягкие края без видимой рамки. */
.about .portrait.anna-photo {
  border: 0;
  background: transparent;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Верхнее меню в одну строку, в том числе в узком предпросмотре. */
.header nav {
  flex-wrap: nowrap;
  max-width: none;
  justify-content: flex-end;
  margin-left: auto;
}
.header nav a { white-space: nowrap; }
@media (max-width: 600px) {
  .header nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-block: 4px 8px;
  }
}

/* Меню по вертикальному центру блока логотипа. */
.header { align-items: center; }
