/* DDW Designs — Public site (landing + client portal)
   Light, warm aesthetic to match the studio's brand.
*/

:root {
  --bg: #f4ede1;
  --bg-2: #ede5d6;
  --surface: #ffffff;
  --surface-warm: #f9f4ea;
  --border: rgba(26, 22, 18, 0.1);
  --border-strong: rgba(26, 22, 18, 0.22);
  --ink: #1a1612;
  --ink-2: #3a342c;
  --ink-muted: #7a7367;
  --accent: #c47a52;
  --accent-2: #a35f3a;
  --accent-soft: #f0d9c5;
  --shadow-sm: 0 2px 12px rgba(26, 22, 18, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 22, 18, 0.18);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --max-w: 1280px;
  --pad-x: 6vw;
}

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }

/* ============ HEADER / NAV ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 237, 225, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px var(--pad-x);
  box-shadow: 0 1px 0 var(--border);
}

.brand-mark { display: flex; flex-direction: column; line-height: 1; gap: 6px; flex-shrink: 0; }
.brand-mark .brand-logo {
  height: 38px;
  width: auto;
  max-width: none;
  display: block;
  transition: filter 0.3s ease;
}
@media (max-width: 720px) {
  .brand-mark .brand-logo { height: 28px; }
}
.brand-mark .brand-sub {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--ink-muted);
  text-transform: lowercase;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}

/* ============ MOBILE HAMBURGER ============ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.site-header.hero-mode:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

@media (max-width: 720px) {
  .site-header { padding: 14px var(--pad-x); }
  .nav-toggle { display: flex; }

  /* When the mobile nav is open, drop the header's backdrop-filter and any
     other rules that promote it to a containing block — otherwise the
     position:fixed nav inside the header gets clipped to the header's box
     instead of stretching full-viewport. */
  .site-header.nav-open,
  .site-header.nav-open.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 80vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 28px 32px;
    background: var(--bg);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 55;
  }
  .site-header.nav-open .site-nav { transform: translateX(0); }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    font-size: 14px;
    letter-spacing: 2.5px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
  }
  .site-nav a::after { display: none; }
  /* Use higher specificity than the desktop rule (which appears later in source)
     so the mobile button styling actually wins inside the @media block. */
  .site-header .site-nav .login-link {
    margin-top: 12px;
    padding: 18px 24px;
    text-align: center;
    /* letter-spacing pushes the visible text left of true center; nudge it back */
    text-indent: 2.5px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 4px;
  }
  .site-header .site-nav .login-link:hover { background: var(--accent-2); }

  /* In hero mode the menu still uses the cream background, so links read dark */
  .site-header.hero-mode:not(.is-scrolled).nav-open .site-nav a { color: var(--ink); }
  .site-header.hero-mode:not(.is-scrolled).nav-open .site-nav .login-link { color: #fff; }

  /* Animate hamburger into X */
  .site-header.nav-open .nav-toggle span { background: var(--ink); }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Backdrop behind the open menu */
  .site-header.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 54;
  }
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s;
}

.site-nav a:hover::after { transform: scaleX(1); }

.site-nav .login-link {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.site-nav .login-link::after { display: none; }

/* Hero header inverts to light text */
.site-header.hero-mode:not(.is-scrolled) .site-nav a {
  color: #fff;
}
.site-header.hero-mode:not(.is-scrolled) .brand-mark .brand-logo {
  filter: brightness(0) invert(1);
}
.site-header.hero-mode:not(.is-scrolled) .brand-mark .brand-sub {
  color: rgba(255,255,255,0.7);
}
.site-header.hero-mode:not(.is-scrolled) .site-nav .login-link {
  border-bottom-color: #fff;
}
.site-header.hero-mode:not(.is-scrolled) .site-nav a::after {
  background: #fff;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: 0; /* override the global section padding so content sits at the top */
  height: 100vh;
  height: 100svh; /* stable on mobile Safari with collapsing URL bar */
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .hero { min-height: 560px; }
}
@media (max-width: 720px) and (orientation: landscape) {
  .hero { min-height: 420px; height: auto; padding: 80px 0; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 200, 140, 0.5), transparent 60%),
    linear-gradient(180deg, #d4906a 0%, #b97152 40%, #8f4f3a 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* faint chair silhouettes / room suggestion via radial gradients */
    radial-gradient(ellipse 60% 18% at 50% 78%, rgba(0,0,0,0.25), transparent 70%),
    radial-gradient(circle at 50% 38%, rgba(255, 220, 180, 0.3), transparent 35%),
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.25) 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-bg-image.loaded { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(110px, 16vh, 200px) var(--pad-x) 60px;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.2s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 1100px;
  margin-bottom: 48px;
}

/* Mobile stacks the title across 3 lines — give lowercase ascenders/descenders breathing room */
@media (max-width: 720px) {
  .hero-title {
    line-height: 1.08;
    margin-bottom: 36px;
  }
}

.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.5s; }
.hero-title span:nth-child(2) {
  animation-delay: 0.8s;
  font-style: italic;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.2s 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: background 0.3s, color 0.3s;
}

.hero-cta:hover { background: #fff; color: var(--ink); }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============ REVEAL ON SCROLL ============ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.48s; }

/* ============ SECTION ============ */

section {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  position: relative;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.section-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 640px;
}

/* ============ ABOUT ============ */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-photo {
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 220, 180, 0.6), transparent 50%),
    linear-gradient(135deg, #d4a274 0%, #a26b48 50%, #6b4530 100%);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-photo::after {
  content: "Drop project photo here";
  position: absolute;
  inset: auto 0 16px 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */

.services {
  background: var(--bg-2);
}

.services-head { max-width: var(--max-w); margin: 0 auto 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.service-card {
  background: var(--surface-warm);
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.service-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ============ WORK ============ */

.work { background: var(--bg); }

.work-head { display: flex; justify-content: space-between; align-items: end; max-width: var(--max-w); margin: 0 auto 64px; flex-wrap: wrap; gap: 24px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.work-tile {
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-tile:hover { transform: scale(1.02); }

.work-tile.t1 { background: linear-gradient(135deg, #b97152, #6b4530); }
.work-tile.t2 { background: linear-gradient(160deg, #d4a274, #8f6442); }
.work-tile.t3 { background: linear-gradient(180deg, #a37a5a, #5a3d2c); }
.work-tile.t4 { background: linear-gradient(135deg, #c89067, #6e4938); }

.work-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #fff;
}

.work-tile-overlay h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
}

.work-tile-overlay p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.8;
}

/* ============ PROCESS ============ */

.process { background: var(--surface-warm); }

.process-head { max-width: var(--max-w); margin: 0 auto 80px; }

.process-steps {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}

.process-step:last-child { border-bottom: 1px solid var(--border); }

.process-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}

.process-step h4 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
}

.process-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
}

@media (max-width: 800px) {
  .process-step { grid-template-columns: 1fr; gap: 12px; }
  .process-num { font-size: 36px; }
  .process-step h4 { font-size: 24px; }
}

/* ============ CONTACT ============ */

.contact { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.contact-socials {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.contact-socials a {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.contact-socials a:hover { border-color: var(--accent); color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 28px; }

.contact-field {
  position: relative;
  padding-top: 22px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  padding: 8px 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.contact-field textarea { min-height: 60px; }

.contact-field label {
  position: absolute;
  top: 22px;
  left: 0;
  font-size: 16px;
  color: var(--ink-muted);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--ink);
}

.contact-field input:focus + label,
.contact-field textarea:focus + label,
.contact-field input:not(:placeholder-shown) + label,
.contact-field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-submit {
  background: var(--ink);
  color: #fff;
  padding: 22px 56px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s;
}

.contact-submit:hover { background: var(--accent-2); }
.contact-submit:disabled { opacity: 0.6; cursor: progress; }

.contact-status {
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 0;
  min-height: 0;
  transition: padding 0.2s, min-height 0.2s;
}
.contact-status.is-success {
  color: #4a6b3a;
  background: rgba(127, 176, 105, 0.12);
  border-left: 3px solid #7fb069;
  padding: 12px 16px;
  border-radius: 4px;
}
.contact-status.is-error {
  color: #a04a30;
  background: rgba(217, 119, 87, 0.12);
  border-left: 3px solid #d97757;
  padding: 12px 16px;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */

.site-footer {
  padding: 40px var(--pad-x);
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ============ LOGIN MODAL ============ */

.login-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.login-modal {
  background: var(--surface);
  border-radius: 6px;
  width: 100%;
  max-width: 460px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
  opacity: 0;
}

.login-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.login-close:hover { color: var(--ink); }

.login-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 32px;
}

.login-tabs {
  display: flex;
  background: var(--bg-2);
  border-radius: 4px;
  padding: 4px;
  margin-bottom: 32px;
}

.login-tab {
  flex: 1;
  padding: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.login-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.login-field { margin-bottom: 20px; }
.login-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.login-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.login-field input:focus { border-color: var(--accent); }

.login-submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 3px;
  margin-top: 12px;
  transition: background 0.2s;
}
.login-submit:hover { background: var(--accent-2); }

.login-error {
  color: #c44a37;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
  min-height: 18px;
}

.login-hint {
  text-align: center;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 24px;
  line-height: 1.5;
}
