/* Base */
:root {
  --bg: #F1F4EE;
  --surface: #FBFCF9;
  --ink: #1C2A20;
  --muted: #4E5E52;
  --accent: #2F6B45;
  --accent-ink: #F1F4EE;
  --plate-bg: #1C2A20;
  --plate-ink: #F1F4EE;
  --line: #D9E0D6;
  --r-card: 14px;
  --r-btn: 999px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08);
  --font-head: 'Gill Sans', 'Gill Sans MT', Calibri, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--accent) 2.6px, transparent 2.6px);
  background-size: 44px 44px;
  background-position: -22px -22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; max-width: 520px; text-wrap: balance; hyphens: none; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.2rem, 0.6vw + 1rem, 1.5rem); }

p { margin: 0 0 16px; max-width: 68ch; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* Shell */
.pl-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.pl-band { padding: clamp(64px, 9vw, 128px) 0; }
.pl-band:nth-of-type(even) { background-color: var(--surface); }

.pl-band__intro { color: var(--muted); font-size: 1.05rem; margin-bottom: clamp(32px, 5vw, 48px); }

/* Header */
.pl-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--plate-bg);
  color: var(--plate-ink);
  padding: 12px 20px;
  border-radius: var(--r-btn);
  z-index: 60;
}
.pl-skip:focus { left: 8px; }

.pl-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 249, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 12px;
  transition: padding 0.3s ease;
}
.pl-topbar.is-compact { padding: 4px 0 4px; }

.pl-topbar__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pl-topbar__mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.pl-menu__switch {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 8px 18px;
  font: 600 0.95rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
}
.pl-menu__switchbar { display: block; }

.pl-menu__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-menu__link {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 2px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-width 0.2s ease;
}
.pl-menu__link:hover,
.pl-menu__link:focus-visible { border-bottom: 5px solid var(--accent); }
.pl-menu__link[aria-current="page"] { border-bottom: 5px solid var(--accent); }

.pl-menu__num {
  color: var(--accent);
  font-size: 0.82em;
  margin-right: 5px;
}

/* Hero */
.pl-hero { padding-top: clamp(48px, 6vw, 88px); }
.pl-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.pl-accent {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.2vw + 0.85rem, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 42ch;
  text-align: left;
  margin-bottom: 28px;
}

.pl-hero__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.pl-hero__figure {
  margin: 0;
  position: relative;
  padding: 0 16px 16px 0;
}
.pl-hero__figure--tall img { aspect-ratio: 3/4; width: 100%; max-height: 460px; border-radius: var(--r-card); }
.pl-hero__figure--square img { aspect-ratio: 1/1; width: 100%; max-height: 380px; border-radius: var(--r-card); }

.pl-hero__pad,
.pl-shots__pad {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: var(--r-card);
  z-index: -1;
}

/* Buttons */
.pl-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--ink);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, color 0.25s ease;
}
.pl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: 0;
}
.pl-cta > * { position: relative; z-index: 1; }

.pl-cta:hover { color: var(--bg); }
.pl-cta:hover::before { transform: scale(1.4); }
.pl-cta:focus-visible { outline: 4px solid var(--accent); outline-offset: 3px; color: var(--bg); }
.pl-cta:focus-visible::before { transform: scale(1.4); }
.pl-cta:active { transform: scale(0.96); }

/* Cards & tiles */
.pl-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}
.pl-tile:hover { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(47 107 69 / .22); }

.pl-duo {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

/* Steps */
.pl-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.pl-steps__item {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}
.pl-steps__item:hover { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px rgb(47 107 69 / .22); }
.pl-steps__item h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 6px;
}
.pl-steps__item p { margin: 0; color: var(--muted); }

/* Filter */
.pl-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pl-filter__btn {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.95rem var(--font-body);
  cursor: pointer;
}
.pl-filter__btn.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pl-filter__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Services list */
.pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pl-list__item {
  display: grid;
  gap: 8px 20px;
  padding-block: 28px;
  padding-inline: 4px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: box-shadow 0.3s ease;
}
.pl-list__item:first-child { border-top: 1px solid var(--line); }
.pl-list__item:hover { box-shadow: 0 10px 28px rgb(47 107 69 / .18); }
.pl-list__item.is-hidden { display: none; }
.pl-list__item p { margin: 0; color: var(--muted); max-width: none; }

/* Shots */
.pl-shots { display: grid; gap: clamp(20px, 4vw, 36px); }
.pl-shots__frame { margin: 0; position: relative; padding: 0 16px 16px 0; }
.pl-shots__frame img { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-card); }

/* FAQ */
.pl-qa { display: grid; gap: 14px; }
.pl-qa__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 24px;
}
.pl-qa__item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
}
.pl-qa__item[open] { box-shadow: 0 10px 28px rgb(47 107 69 / .15); }
.pl-qa__item p { margin: 12px 0 0; color: var(--muted); }

/* Plate */
.pl-dark {
  background: var(--plate-bg);
  color: var(--plate-ink);
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 56px);
}
.pl-dark h2, .pl-dark h3 { color: var(--plate-ink); }
.pl-dark__intro { color: var(--plate-ink); }
.pl-dark__note { color: #D7E0D8; }

/* Form */
.pl-brief { display: grid; gap: 18px; margin-top: 24px; }
.pl-brief__row { display: grid; gap: 6px; }
.pl-brief__tag { font-weight: 600; font-size: 0.95rem; color: var(--plate-ink); }
.pl-brief__box {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #4E5E52;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem var(--font-body);
}
.pl-brief__box:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pl-brief__area { resize: vertical; min-height: 120px; }
.pl-brief__agree { display: flex; gap: 10px; align-items: flex-start; color: var(--plate-ink); font-size: 0.95rem; }
.pl-brief__agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.pl-brief__hint { color: #D7E0D8; font-size: 0.95rem; margin: 0; }
.pl-brief__alert { color: #FFDCCF; font-size: 0.95rem; margin: 0; }
.pl-brief__send { border-color: var(--plate-ink); color: var(--plate-ink); }
.pl-brief__send::before { background: var(--plate-ink); }
.pl-brief.is-sending { opacity: 0.6; }
.pl-brief.is-sending .pl-brief__send { pointer-events: none; }

/* Gotab */
.pl-gotab { display: none; }

/* Footer */
.pl-tail {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0 24px;
}
.pl-tail__in {
  display: grid;
  gap: 32px;
}
.pl-tail__brand { font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; }
.pl-tail address { font-style: normal; color: var(--muted); line-height: 1.6; }
.pl-tail address p { margin: 0 0 8px; max-width: none; }
.pl-tail__head { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
.pl-tail ul { list-style: none; margin: 0; padding: 0; }
.pl-tail__links li { margin-bottom: 8px; }
.pl-tail__links a { text-decoration: none; }
.pl-tail__links a:hover { text-decoration: underline; }
.pl-tail ul.pl-tail__in li { color: var(--muted); }
.pl-tail a + span { color: var(--muted); }
.pl-tail__base {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
}
.pl-tail__copy { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Inner pages */
.pl-pagehead { padding: clamp(40px, 6vw, 72px) 0 0; }
.pl-pagehead__intro { color: var(--muted); font-size: 1.05rem; }

.pl-read { max-width: 760px; }
.pl-read h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.2rem); margin-top: 40px; }
.pl-read h3 { margin-top: 28px; }
.pl-read ul, .pl-read ol { padding-left: 24px; margin: 0 0 16px; }
.pl-read li { margin-bottom: 8px; }
.pl-read table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
.pl-read th, .pl-read td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.pl-read th { background: var(--surface); font-family: var(--font-head); }
.pl-read summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 22px;
  cursor: pointer;
}
.pl-read__note {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 14px 20px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pl-contacts { display: grid; gap: 16px; }
.pl-contacts a { font-weight: 600; }
.pl-contacts p { margin: 0; color: var(--muted); }

.pl-done, .pl-404 { text-align: left; max-width: 760px; }

/* Reveal */
html.is-scripted .pl-rise { opacity: 0; transform: translateY(24px); }
html.is-scripted .pl-rise.is-risen { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* Breakpoints */
@media (max-width: 767px) {
  h2 { font-size: clamp(1.75rem, 5vw + 0.6rem, 1.9rem); line-height: 1.2; }
  .pl-band { padding: clamp(56px, 8vw, 64px) 0; }
  .pl-hero__collage { grid-template-columns: 1fr 1fr; align-items: end; gap: 14px; }
  .pl-hero__figure--tall img { max-height: 400px; }
  .pl-hero__figure--square img { aspect-ratio: 4/3; max-height: 320px; }
}

@media (max-width: 479px) {
  .pl-hero__collage { grid-template-columns: 1fr; }
  .pl-hero__figure--tall img { max-height: 360px; }
  .pl-hero__figure--square img { max-height: 300px; }
}

@media (max-width: 639px) {
  .pl-gotab {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: var(--plate-bg);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    text-align: center;
  }
  .pl-gotab .pl-cta { width: 100%; border-color: var(--plate-ink); color: var(--plate-ink); }
  .pl-gotab .pl-cta::before { background: var(--plate-ink); }
}

@media (max-width: 767px) {
  .pl-list__item h3 { order: 1; }
  .pl-list__item p { order: 2; }
  .pl-list__item a { order: 3; display: inline-block; margin-top: 2px; }
  .pl-menu__switch { display: inline-flex; align-items: center; gap: 8px; }
  .pl-menu {
    display: none;
    width: 100%;
  }
  .pl-menu--open { display: block; }
  .pl-menu__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    padding: 8px;
  }
  .pl-menu__item a { display: block; padding: 12px 14px; border-radius: 8px; }
  .pl-menu__link:hover, .pl-menu__link:focus-visible,
  .pl-menu__link[aria-current="page"] { border-bottom-width: 0; background: var(--bg); }
}

@media (min-width: 640px) {
  .pl-duo { grid-template-columns: 1fr 1fr; }
  .pl-steps { grid-template-columns: repeat(3, 1fr); }
  .pl-shots { grid-template-columns: 1fr 1fr; }
  .pl-tail__in { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .pl-list__item {
    grid-template-columns: 280px 1fr 200px;
    align-items: start;
    gap: 20px;
    padding-block: 28px;
  }
}

@media (min-width: 1024px) {
  .pl-hero__grid { grid-template-columns: 1fr 1fr; }
  .pl-tail__in { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .pl-shell { max-width: 1160px; }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.is-scripted .pl-rise { opacity: 1; transform: none; }
}

/* Dark plate links */
.pl-dark a { color: #9FD4B3; }
.pl-dark a:hover { color: #C3E7CF; }
.pl-dark__hint a,
.pl-brief__agree a,
.pl-brief__hint a { color: #9FD4B3; }
