/* Natalia Skorupa Fotografia — wspólne podstawy (strona, galerie, panel) */
:root {
  --ground: #F4EDE4;
  --cream: #FAF6F0;
  --tile: #EADFD2;
  --ink: #3B2F28;
  --muted: #6E5A4D;
  --accent: #7E5B40;
  --decor: #A47E5F;
  --line: #DCCDBB;
  --line-soft: #E6DACB;
  --input: #D8C9B6;
  --dark: #2E241F;
  --on-dark: #EADFD2;
  --on-dark-muted: #D6C8B8;
  --sand: #D9BFA0;
  --panel-bg: #F1E9DE;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; transition: color .3s ease; }
a:hover { color: var(--accent); }
strong, b { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--decor); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(164, 126, 95, .25); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--cream); text-decoration: none; transition: top .2s ease;
}
.skip:focus { top: 12px; color: var(--cream); }

.serif { font-family: var(--serif); }
.eyebrow {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
}

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: var(--cream); text-decoration: none;
  font-family: var(--sans); font-size: 16px; font-weight: 400; letter-spacing: .01em; line-height: 1;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s var(--ease), opacity .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--cream); background: #4A3B32; transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-disabled { background: #A8988A; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-soft { background: transparent; color: var(--ink); border-color: #CDBBA6; }
.btn-soft:hover { background: var(--cream); color: var(--ink); border-color: var(--ink); }
.btn-sand { background: var(--sand); color: var(--ink); font-weight: 500; }
.btn-sand:hover { background: #E4CDB2; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { flex-shrink: 0; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px; color: var(--accent); text-decoration: none; font-weight: 400;
}
.link-more::after { content: '›'; font-size: 1.25em; line-height: 1; transition: transform .35s var(--ease); }
.link-more:hover::after { transform: translateX(3px); }

/* Pola formularzy (jasne) */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--ink); }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 0 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--input);
  font-family: var(--sans); font-size: 17px; font-weight: 300; letter-spacing: normal; color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { padding: 14px 16px; min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--decor); box-shadow: 0 0 0 4px rgba(164, 126, 95, .18);
}
.field .hint { font-size: 13px; letter-spacing: normal; font-weight: 300; color: var(--muted); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px;
  background: var(--tile); font-size: 15px; line-height: 1.55; color: var(--ink);
}
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice.ok { background: #E8E6D6; border: 1px solid #CFCAB0; }
.notice.err { background: #F1DED6; border: 1px solid #DDB8A8; color: #6A3424; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

